/* MARTIGANE V51 — panier de devis B2B */
.mtg-v51-sr-only{position:absolute!important;clip:rect(0,0,0,0)!important;width:1px!important;height:1px!important;overflow:hidden!important;white-space:nowrap!important}
.mtg-v51-cart-bubble{position:fixed;z-index:10009;left:22px;bottom:22px;display:flex;align-items:center;gap:9px;background:#153a67;color:#fff!important;text-decoration:none!important;border:1px solid rgba(255,255,255,.2);padding:11px 15px;border-radius:100px;font:700 13px/1.3 system-ui,-apple-system,'Segoe UI',sans-serif;box-shadow:0 9px 30px rgba(5,30,60,.21);transition:transform .16s ease,background .16s ease}
.mtg-v51-cart-bubble:hover,.mtg-v51-cart-bubble:focus-visible{transform:translateY(-2px);background:#0d2e56;color:#fff!important}
.mtg-v51-cart-bubble>span:first-child{font-size:22px;line-height:1}.mtg-v51-cart-count{background:#fff;color:#174b79;min-width:25px;height:25px;border-radius:50%;display:inline-flex;justify-content:center;align-items:center;font-size:12px;padding:0 5px}
.mtg-v51-cart-bubble.has-items .mtg-v51-cart-count{background:#ffcb53;color:#172f48}
.mtg-v51-add-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;margin-top:11px;padding:9px 13px;border:1px solid #164777;color:#164777;background:#f7fafc;border-radius:8px;font:700 12px/1.25 system-ui,-apple-system,'Segoe UI',sans-serif;min-height:38px;max-width:100%;transition:background .15s ease,transform .15s ease}
.mtg-v51-add-btn:hover{background:#eaf3fa;transform:translateY(-1px)}.mtg-v51-add-btn:focus-visible{outline:3px solid #f0b62c;outline-offset:3px}
.product-card .mtg-v51-add-btn{width:100%;margin-top:10px}.detail-grid .mini-cta .mtg-v51-add-btn{margin:0 0 0 6px;min-height:46px}
.mtg-v51-page{background:#f5f8fb;padding:42px 0 75px}.mtg-v51-columns{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:27px;align-items:start}.mtg-v51-panel{border:1px solid #e0e9f0;border-radius:15px;background:#fff;padding:26px;box-shadow:0 12px 34px rgba(18,52,84,.045)}
.mtg-v51-panel h2{font-size:clamp(22px,2.6vw,29px);margin:0 0 10px;color:#123452}.mtg-v51-lead{color:#53687e;line-height:1.6;margin:0 0 17px}.mtg-v51-item-list{display:grid;gap:0}
.mtg-v51-quote-item{padding:14px 0;border-bottom:1px solid #e9eef3;display:flex;gap:16px;justify-content:space-between;align-items:center}.mtg-v51-quote-item:last-child{border-bottom:0}.mtg-v51-quote-item-main{min-width:0;flex:1;display:grid;gap:5px}.mtg-v51-product-name{color:#183f68!important;font-weight:700;text-decoration:none;font-size:14px}.mtg-v51-product-name:hover{text-decoration:underline}.mtg-v51-product-ref{color:#718296;font-size:12px}.mtg-v51-quantity{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.mtg-v51-qty,.mtg-v51-unit{border:1px solid #cedbe8;border-radius:7px;background:#fff;padding:9px 7px;color:#21364b;line-height:1.1;font:500 13px system-ui}.mtg-v51-qty{width:72px}.mtg-v51-unit{width:122px}.mtg-v51-remove{border:0;background:none;color:#a02c37;cursor:pointer;font:600 12px system-ui;padding:8px 3px}
.mtg-v51-empty{padding:25px;background:#f3f8fc;border-radius:8px;color:#385a78}.mtg-v51-cta{display:inline-block;margin-top:10px;color:#12456f;font-weight:700}.mtg-v51-count{color:#607b91;font-weight:600;font-size:13px;margin-bottom:9px}.mtg-v51-info{color:#627386;font-size:12px;line-height:1.6;margin-top:15px}
.mtg-v51-form{display:grid;gap:15px}.mtg-v51-form label{display:grid;gap:6px;font-weight:650;color:#263f57;font-size:13px}.mtg-v51-form input:not([type=checkbox]),.mtg-v51-form textarea{border:1px solid #d1dfeb;border-radius:9px;padding:11px 13px;font:400 15px/1.4 system-ui;background:#fff;min-width:0;max-width:100%;width:100%;color:#1d3249;box-sizing:border-box}.mtg-v51-form input:focus,.mtg-v51-form textarea:focus{outline:2px solid #4b9ac4;outline-offset:1px}.mtg-v51-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mtg-v51-form textarea{resize:vertical;min-height:95px}.mtg-v51-consent{display:flex!important;gap:9px;align-items:start;font-size:12px!important;line-height:1.5;font-weight:400!important}.mtg-v51-consent input{margin-top:3px}.mtg-v51-consent a{text-decoration:underline;color:#14507e}.mtg-v51-form .form-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.mtg-v51-status{font-size:13px;min-height:22px}.mtg-v51-guide{margin:18px auto 0;color:#516479;font-size:13px;line-height:1.65}.mtg-v51-guide strong{color:#203d59}
@media(max-width:1050px){.mtg-v51-columns{grid-template-columns:1fr}.mtg-v51-panel{padding:22px}}
@media(max-width:650px){.mtg-v51-page{padding:25px 0 75px}.mtg-v51-form-row{grid-template-columns:1fr}.mtg-v51-quote-item{align-items:flex-start;flex-direction:column}.mtg-v51-quantity{justify-content:flex-start}.mtg-v51-cart-bubble{left:12px;bottom:12px;padding:9px 11px;font-size:12px}.detail-grid .mini-cta .mtg-v51-add-btn{margin:6px 0 0}.mtg-v51-panel{padding:19px}}

/* Consentement analytique GA4 facultatif */
.mtg-v51-consent{position:fixed;z-index:10025;bottom:18px;right:18px;max-width:380px;padding:17px 19px;background:#fff;box-shadow:0 10px 32px #14293c40;border:1px solid #b4c9d8;border-radius:13px;display:grid;gap:9px;font:400 13px/1.4 system-ui;color:#263f57}.mtg-v51-consent strong{font-size:15px}.mtg-v51-consent>div{display:flex;gap:8px}.mtg-v51-consent button{background:#194a77;border:1px solid #194a77;color:white;font:700 12px system-ui;padding:8px 13px;border-radius:7px;cursor:pointer}.mtg-v51-consent button[data-choice=no]{background:white;color:#194a77}@media(max-width:650px){.mtg-v51-consent{left:12px;right:12px;bottom:66px;max-width:none}}
