/* La charte de la home, avec une galerie carrée et un achat lisible dès le premier écran. */
.mgs-project-help{border-top:1px solid var(--product-line);border-bottom:1px solid var(--product-line);margin-block:12px;color:#191c19}
.mgs-project-help summary{cursor:pointer;min-height:48px;align-content:center;padding:12px 2px;font-size:15px;line-height:1.4;font-weight:700}
.mgs-project-help>div{padding:0 2px 12px}.mgs-project-help p{margin:8px 0;line-height:1.5}
.mgs-project-help a{display:block;width:fit-content;max-width:100%;padding:10px 0;color:#8e123f;text-underline-offset:3px}
.mgs-product-page{--product-pink:#b3164f;--product-line:#e0e3dc;--product-muted:#53604f;color:#191c19}
.mgs-product-page *{box-sizing:border-box}
.mgs-product-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start;margin:0 0 18px}
.mgs-product-gallery,.mgs-product-info{min-width:0}
.mgs-product-media{position:relative;aspect-ratio:1;background:#f5f6f2;border:1px solid var(--product-line);border-radius:10px;overflow:hidden;isolation:isolate}
.mgs-product-stage,.mgs-product-stage>video,.mgs-product-stage>img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.mgs-product-stage video{background:#191c19}
.mgs-product-loading{position:absolute;inset:50% 18px auto;transform:translateY(-50%);padding:10px;background:#191c19d9;color:#fff;border-radius:5px;font-size:13px;text-align:center;pointer-events:none}
.mgs-product-loading[hidden],.mgs-product-media-error[hidden],.mgs-product-play-toggle[hidden]{display:none}
.mgs-product-counter{position:absolute;bottom:12px;left:12px;background:#fff;color:#191c19;border:1px solid #ddd;border-radius:20px;padding:5px 10px;font-size:12px;font-weight:700;line-height:1.4}
.mgs-product-play-toggle{position:absolute;bottom:10px;right:10px;display:grid;place-items:center;width:44px;height:44px;border:1px solid #ffffff70;background:#191c19dc;color:#fff;border-radius:50%;padding:10px;cursor:pointer}
.mgs-product-play-toggle svg,.mgs-product-thumb svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.mgs-product-play-toggle:hover{background:#b3164f}
.mgs-product-badges{position:absolute;top:12px;left:12px;display:flex;gap:5px;align-items:center;pointer-events:none}
.mgs-product-badges>span{font:700 16px/1.4 Eina,Arial,sans-serif;color:#fff;padding:6px 8px;border-radius:4px}
.mgs-product-discount{background:#c8192d}.mgs-product-promo{background:#191c19}
.mgs-product-media-error{position:absolute;inset:0;background:#f5f6f2eF;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:24px;text-align:center;font-size:15px;line-height:1.5}
.mgs-product-media-error button{min-height:44px;padding:10px 18px;border:0;border-radius:5px;background:#191c19;color:white;font:700 14px Eina,Arial,sans-serif;cursor:pointer}
.mgs-product-thumbs{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;padding:10px 2px 5px;scrollbar-width:thin;scroll-snap-type:x proximity}
.mgs-product-thumb{flex:0 0 64px;width:64px;height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:1px solid #cdd2c7;border-radius:6px;padding:3px;background:#fff;color:#191c19;overflow:hidden;cursor:pointer;scroll-snap-align:start}
.mgs-product-thumb[aria-pressed=true]{border:2px solid #d81f64;background:#fff2f7;padding:2px}
.mgs-product-thumb img{width:100%;height:100%;object-fit:contain;display:block}.mgs-product-thumb span{font:700 10px Eina,Arial,sans-serif}
.mgs-product-page .mgs-product-kicker{font-size:11px;font-weight:800;letter-spacing:.7px;line-height:1.5;color:var(--product-pink);margin:0 0 8px}
.mgs-product-page .mgs-product-info h1{font-size:clamp(29px,3vw,40px);line-height:1.12;letter-spacing:-1.05px;margin:0 0 12px;max-width:25ch}
.mgs-product-intro{font-size:16px;line-height:1.6;margin:0 0 12px;color:var(--product-muted)}
.mgs-product-format{font-size:14px;font-weight:700;margin:0 0 10px}
.mgs-product-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px 12px;margin:0 0 12px}
.mgs-product-price strong{font-size:36px;letter-spacing:-1px;line-height:1.1}.mgs-product-price del{font-size:16px;color:#67705f}.mgs-product-price>span{font-size:13px;color:#53604f}
.mgs-product-shipping{display:flex;flex-direction:column;gap:3px;padding:11px 13px;border-left:3px solid #d81f64;background:#fff2f7;margin:0 0 14px;font-size:14px;line-height:1.5}
.mgs-product-shipping span{font-size:13px}
.mgs-product-shipping a{display:inline-flex;align-items:center;min-height:32px;align-self:flex-start;color:var(--product-pink);font-size:13px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.mgs-product-buy{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start;margin:0}
.mgs-product-buy-actions{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:end}
.mgs-product-buy-actions.is-single{grid-template-columns:minmax(0,1fr)}
.mgs-product-buy-actions>.mgs-product-add{white-space:nowrap}
.mgs-product-buy-actions>.mgs-product-quantity{width:auto}
@media(max-width:767.98px){.mgs-product-buy-actions{grid-template-columns:90px minmax(0,1fr);gap:8px}}
.mgs-product-quantity{display:flex;flex-direction:column;gap:5px;width:82px}.mgs-product-quantity label{font-size:12px;font-weight:700}.mgs-product-quantity input{width:100%;height:48px;border:1px solid #a7b19d;border-radius:6px;background:#fff;color:#191c19;padding:10px;font:16px Eina,Arial,sans-serif}
.mgs-product-add{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:48px;border:1px solid #d81f64;border-radius:6px;padding:12px 14px;background:#d81f64;color:#fff;font:700 15px/1.4 Eina,Arial,sans-serif;text-align:center;cursor:pointer}
.mgs-product-add:hover{background:#b41550;border-color:#b41550}.mgs-product-add:disabled{opacity:.6;cursor:not-allowed}
.mgs-product-cart-status{margin:10px 0 0;padding:10px 13px;border:1px solid #d7dcd0;border-radius:5px;background:#f3f6ef;font-size:14px;line-height:1.5}.mgs-product-cart-status:empty{display:none}.mgs-product-cart-status a{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:#b3164f;margin-left:12px}
.mgs-product-availability{font-size:13px;line-height:1.5;margin:12px 0 4px;font-weight:700;color:#b54708}.mgs-product-dev-note,.mgs-product-reference{font-size:12px;line-height:1.5;margin:0 0 12px;color:#65705e}
.mgs-product-included{border-top:1px solid var(--product-line);border-bottom:1px solid var(--product-line);margin:14px 0 8px;padding:0}
.mgs-product-included summary{font-size:15px;line-height:1.4;font-weight:700;padding:13px 3px;cursor:pointer}
.mgs-product-included ul{list-style:none;padding:0;margin:0 0 12px}.mgs-product-included li{display:flex;gap:12px;justify-content:space-between;border-top:1px solid #eceee8;padding:7px 0;font-size:13px;line-height:1.5}.mgs-product-included li b{white-space:nowrap}.mgs-product-included>p{font-size:12px;line-height:1.5;margin:7px 0 10px;color:var(--product-muted)}
.mgs-product-page .mgs-product-details{margin:0 0 30px}.mgs-product-page .mgs-product-details>h2,.mgs-product-page .mgs-product-next h2{font-size:clamp(25px,3vw,34px);line-height:1.15;letter-spacing:-.7px;margin:0 0 18px;max-width:35ch}
.mgs-product-chapter{border-top:1px solid var(--product-line)}.mgs-product-chapter:last-child{border-bottom:1px solid var(--product-line)}
.mgs-product-chapter>summary{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:17px 2px;cursor:pointer;list-style:none}.mgs-product-chapter>summary::-webkit-details-marker{display:none}.mgs-product-chapter>summary:after{content:'+';font-size:25px;line-height:1;color:#b3164f;font-weight:400}.mgs-product-chapter[open]>summary:after{content:'−'}
.mgs-product-page .mgs-product-chapter summary h3{margin:0;font-size:17px;line-height:1.4;letter-spacing:0}
.mgs-product-chapter-body{padding:0 0 18px;max-width:920px;font-size:15px;line-height:1.7}.mgs-product-chapter-body p{margin:0 0 12px}.mgs-product-chapter-body ul,.mgs-product-chapter-body ol{padding-left:23px}.mgs-product-chapter-body h2,.mgs-product-chapter-body h3,.mgs-product-chapter-body h4{font-size:18px;line-height:1.4;margin:18px 0 10px}.mgs-product-chapter-body a{color:#b3164f;text-decoration:underline;text-underline-offset:3px}.mgs-product-chapter-body img{max-width:100%;height:auto}.mgs-product-table{overflow-x:auto;max-width:100%;margin:14px 0}.mgs-product-table table{border-collapse:collapse;min-width:500px;width:100%;font-size:14px}.mgs-product-table td,.mgs-product-table th{padding:11px 12px;text-align:left;border:1px solid #dce0d5}.mgs-product-table th{background:#f4f5f1}
.mgs-product-next{margin:30px 0;padding:24px;border:1px solid #eed5df;border-top:3px solid #d81f64;border-radius:9px;background:#fff3f8}.mgs-product-next>p:not(.mgs-product-kicker){font-size:15px;line-height:1.6;margin:0;max-width:72ch}.mgs-product-next-links{display:flex;flex-wrap:wrap;gap:0 25px;margin-top:9px}.mgs-product-next-links a{display:flex;align-items:center;min-height:44px;padding:6px 0;font-size:14px;font-weight:700;color:#b3164f;text-decoration:none}.mgs-product-next-links a:hover{text-decoration:underline;text-underline-offset:4px}
.mgs-product-page :is(button,a,input,summary):focus-visible{outline:3px solid #d81f64;outline-offset:3px}
.mgs-product-page #assistant-budget{margin-block:32px 0}
.mgs-product-section-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;width:100%;margin:0 auto 28px}
.mgs-product-section-nav a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #191c19;border-radius:5px;background:#fff;color:#191c19;font:700 14px/1.35 Eina,Arial,sans-serif;text-align:center;text-decoration:none}
.mgs-product-section-nav a:is(:hover,:focus-visible){background:#191c19;color:#fff}
.mgs-product-nav-label-short{display:none}
.mgs-product-page :is(#product-description,#product-details,#product-attachments){scroll-margin-top:160px}
.mgs-product-attachments{margin-block:26px;border-block:1px solid var(--product-line)}
.mgs-product-attachments summary{cursor:pointer;padding:15px 2px}
.mgs-product-page .mgs-product-attachments h2{display:inline;font-size:18px;line-height:1.4;letter-spacing:0;margin:0}
.mgs-product-attachments p{font-size:14px;line-height:1.6;margin:0 0 16px;color:var(--product-muted)}
.mgs-product-documents{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 0 16px;margin:0;list-style:none}
.mgs-product-documents li{min-width:0;border:1px solid var(--product-line);border-radius:6px;padding:10px 13px;background:#f7f8f4}
.mgs-product-documents a{display:flex;align-items:center;min-height:44px;color:#b3164f;font:700 14px/1.4 Eina,Arial,sans-serif;text-decoration:underline;text-underline-offset:3px}
.mgs-product-documents span{display:block;font-size:12px;color:var(--product-muted)}
@media(max-width:767.98px){.mgs-product-documents{grid-template-columns:minmax(0,1fr);gap:8px}}
.mgs-product-page .samples-guide{margin-block:30px}
.mgs-product-page .samples-guide>h2{font-size:clamp(25px,3vw,34px);line-height:1.17;letter-spacing:-.7px;max-width:35ch}
.mgs-product-dimensions{min-width:0;border:0;padding:0;margin:0}
.mgs-product-dimensions legend{font-size:15px;font-weight:800;line-height:1.5;padding:0;margin-bottom:9px}
.mgs-product-dimension-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.mgs-product-field{display:flex;flex-direction:column;gap:5px;min-width:0}
.mgs-product-field label{font-size:12px;font-weight:700;line-height:1.45}
.mgs-product-field select,.mgs-product-field input{width:100%;min-width:0;height:48px;border:1px solid #a7b19d;border-radius:6px;background:#fff;color:#191c19;padding:10px;font:16px Eina,Arial,sans-serif}
.mgs-product-roll-quantity{max-width:none}
.mgs-product-cut-hint{font-size:12px;line-height:1.5;color:var(--product-muted);margin:8px 0 0}
.mgs-product-cut-totals{display:grid;gap:8px;padding:12px 14px;background:#f4f5f1;border:1px solid var(--product-line);border-radius:6px}
.mgs-product-cut-totals p{margin:0;font-size:13px;line-height:1.45}
.mgs-product-cut-totals[data-empty=true]{padding-block:10px;gap:0}
.mgs-product-cut-totals p[hidden]{display:none}
.mgs-product-cut-totals .mgs-product-cut-total{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;font-weight:700}
.mgs-product-cut-total strong{font-size:27px;letter-spacing:-.5px;line-height:1.2;white-space:nowrap}
.mgs-product-cut-totals .mgs-product-cut-explanation{font-size:12px;color:var(--product-muted)}
.mgs-product-sample-link{display:inline-flex;align-items:center;min-height:44px;font-size:13px;line-height:1.5;color:var(--product-pink);text-decoration:underline;text-underline-offset:3px}
.mgs-product-shipping .mgs-product-sample-link{min-height:44px;align-self:stretch}
.mgs-product-cart-status[data-error=true]{border-color:#cc6371;background:#fff0f2;color:#8b1228}
.mgs-product-tech-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:14px 0 0;padding:0 0 4px;max-width:100%;scrollbar-width:thin;scrollbar-color:#c9ceca transparent;scroll-padding-inline:0;touch-action:auto}
.mgs-product-tech-summary>div{display:flex;flex-direction:column;justify-content:space-between;gap:7px;min-width:0;min-height:82px;padding:11px;background:#f4f5f1;border:1px solid var(--product-line);border-radius:7px;cursor:default}
.mgs-product-tech-summary dt{margin:0;color:var(--product-muted);font-size:12px;font-weight:400;line-height:1.4}
.mgs-product-tech-summary dd{margin:0;color:#191c19;font-size:15px;font-weight:800;line-height:1.4;overflow-wrap:normal}
.mgs-product-tech-summary:focus-visible{outline:3px solid var(--product-pink);outline-offset:3px}
@media(max-width:899.98px){.mgs-product-tech-summary{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:calc((100% - 36px)/2);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}.mgs-product-tech-summary>div{scroll-snap-align:start}}
.mgs-product-technical{margin-block:26px;border-block:1px solid var(--product-line)}
.mgs-product-technical summary{cursor:pointer;padding:15px 2px}
.mgs-product-page .mgs-product-technical h2{display:inline;font-size:18px;line-height:1.4;letter-spacing:0;margin:0}
.mgs-product-technical .mgs-product-table{margin-top:0}
.mgs-product-technical .mgs-product-table table{min-width:0}
.mgs-product-technical .mgs-product-table th{width:45%;font-weight:700}
.mgs-product-technical caption{text-align:left;font-size:13px;font-weight:700;line-height:1.5;padding-bottom:10px;color:var(--product-muted)}
.mgs-product-page select:focus-visible{outline:3px solid #d81f64;outline-offset:3px}
@media(max-width:767.98px){.mgs-product-dimension-fields{gap:9px}.mgs-product-technical{margin-block:22px}.mgs-product-cut-total strong{font-size:25px}.mgs-product-cut-totals{padding:12px}.mgs-product-technical .mgs-product-table td,.mgs-product-technical .mgs-product-table th{padding:10px;font-size:12px;overflow-wrap:anywhere}}
@media(max-width:767.98px){.mgs-product-section-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:600px;margin-bottom:24px}.mgs-product-nav-label-full{display:none}.mgs-product-nav-label-short{display:inline}.mgs-product-section-nav a{font-size:13px;padding:9px 7px}.mgs-product-page .samples-guide{margin-block:26px}.mgs-product-attachments{margin-block:22px}.mgs-product-page :is(#product-description,#product-details,#product-attachments){scroll-margin-top:125px}}
@media(max-width:767.98px){.mgs-product-badges>span{font-size:12px;line-height:1.35;padding:5px}}
@media(max-width:899.98px){.mgs-product-hero{grid-template-columns:1fr;gap:20px}.mgs-product-gallery{width:100%;max-width:600px;justify-self:center}.mgs-product-info{max-width:700px}.mgs-product-page .mgs-product-info h1{max-width:none;font-size:32px}.mgs-product-included{margin-top:12px}}
@media(max-width:767.98px){.mgs-product-page .dev-crumb{font-size:12px;gap:7px;margin-bottom:12px}.mgs-product-hero{gap:16px;margin-bottom:16px}.mgs-product-media{border-radius:8px}.mgs-product-thumbs{padding-top:8px;gap:6px}.mgs-product-thumb{width:56px;height:56px;flex-basis:56px}.mgs-product-page .mgs-product-info h1{font-size:28px;letter-spacing:-.7px;margin-bottom:10px}.mgs-product-intro{font-size:15px;line-height:1.55;margin-bottom:10px}.mgs-product-price strong{font-size:32px}.mgs-product-price{margin-bottom:10px}.mgs-product-shipping{padding:9px 11px;margin-bottom:12px}.mgs-product-add{font-size:14px;min-width:0;padding-inline:10px}.mgs-product-quantity{width:70px}.mgs-product-page .mgs-product-details>h2,.mgs-product-page .mgs-product-next h2{font-size:25px;line-height:1.17;margin-bottom:14px}.mgs-product-chapter>summary{padding-block:14px}.mgs-product-page .mgs-product-chapter summary h3{font-size:15px}.mgs-product-chapter-body{font-size:14px;line-height:1.65}.mgs-product-next{padding:18px;margin:26px 0}.mgs-product-next-links{gap:0}.mgs-product-next-links a{width:100%}.mgs-product-counter{left:9px;bottom:9px}.mgs-product-badges{left:9px;top:9px}.mgs-product-page #assistant-budget{margin-block:26px 0}}

/* Orange du logo : confirmations lisibles sur fond clair. */
.mgs-product-cart-status:not([data-error=true]){color:#b54708;border-color:#f0c5a8;background:#fff7ed}

/* Formats alternatifs : comparaison volontaire, sans rallonger la fiche fermée. */
.mgs-product-formats{margin-top:12px;border:1px solid #e7a2ba;border-radius:7px;background:#fff;color:#191c19}
.mgs-product-formats>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:12px 14px;cursor:pointer;list-style:none;background:#fff1f6;border-radius:7px;-webkit-tap-highlight-color:transparent;transition:background .15s}
.mgs-product-formats>summary:hover{background:#ffe5ef}
.mgs-product-formats[open]>summary{border-radius:7px 7px 0 0;margin-bottom:10px}
.mgs-product-formats>summary::-webkit-details-marker{display:none}
.mgs-product-formats>summary:after{content:'+';flex:none;width:20px;text-align:center;color:var(--product-pink);font-size:25px;font-weight:700;line-height:1}
.mgs-product-formats[open]>summary:after{content:'−'}
.mgs-product-formats-summary{display:grid;gap:3px;min-width:0;line-height:1.35}
.mgs-product-formats-summary>strong{font-size:14px;font-weight:800}
.mgs-product-formats-summary>span{font-size:12px;color:var(--product-muted)}
.mgs-product-formats-body{padding:0 12px 10px}
.mgs-product-formats-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mgs-product-page .mgs-product-offer{display:grid;grid-template-columns:1fr;gap:9px;min-width:0;padding:11px;border:1px solid var(--product-line);border-radius:5px;text-decoration:none;color:#191c19;background:#f8f8f5;transition:border-color .15s,background .15s}
.mgs-product-offer-copy{display:grid;align-content:start;gap:4px;min-width:0;font-size:12px;line-height:1.4}
.mgs-product-offer-copy>strong{font-size:13px;font-weight:800;line-height:1.35}
.mgs-product-offer-price{display:grid;gap:2px;align-content:end;font-size:12px;line-height:1.4}
.mgs-product-offer-price>strong{font-size:16px;font-weight:800}
.mgs-product-offer-cta{margin-top:3px;color:var(--product-pink);font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.mgs-product-page .mgs-product-offer:is(:hover,:focus-visible){border-color:var(--product-pink);background:#fff}
.mgs-product-offer:focus-visible,.mgs-product-formats>summary:focus-visible{outline:3px solid var(--product-pink);outline-offset:3px}
.mgs-product-page .mgs-product-offer.is-clearance{grid-template-columns:minmax(0,1fr) auto;align-items:center;margin-top:8px;background:#fff}
.mgs-product-offer.is-clearance .mgs-product-offer-price{text-align:right}
.mgs-product-formats-note{margin:9px 0 0;font-size:11px;line-height:1.45;color:var(--product-muted)}
@media(max-width:899.98px){.mgs-product-formats-list{grid-template-columns:1fr}.mgs-product-page .mgs-product-offer{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.mgs-product-offer-price{text-align:right}.mgs-product-offer-copy{max-width:390px}}
@media(max-width:359.98px){.mgs-product-formats>summary{padding:11px 10px;gap:7px}.mgs-product-formats-summary>strong{font-size:13px}.mgs-product-formats-summary>span{font-size:11px}.mgs-product-formats-body{padding-inline:8px}.mgs-product-page .mgs-product-offer{padding:9px;gap:8px}.mgs-product-offer-price>strong{font-size:14px}.mgs-product-offer-copy>strong{font-size:12px}}

/* Équilibrer les titres sans changer leur alignement ni leur taille. */
.mgs-product-page .mgs-product-info h1{text-wrap:balance}

@media (max-width:767.98px){
 .mgs-product-mobile-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center}
 .mgs-product-page .mgs-product-mobile-heading h1{grid-column:1/-1;margin:0;color:#191c19;font:700 clamp(27px,7.6vw,32px)/1.12 Eina,Arial,sans-serif;letter-spacing:-.8px;text-wrap:balance}
 .mgs-product-mobile-heading .mgs-product-price{margin:0}
 .mgs-product-mobile-heading .mgs-product-price strong{font-size:clamp(24px,6.5vw,30px)}
 .mgs-product-mobile-heading .mgs-go-to-cut{display:inline-flex;align-items:center;min-height:44px;padding:6px 2px;color:#b54708;font-weight:700;text-underline-offset:3px}
 .mgs-product-info>.mgs-product-kicker{display:none}
 #mgs-product-configuration{scroll-margin-top:96px}
}
