/* Galerie commune — présentation approuvée par Elsa, 18 octobre 2026. */
body.storefront.polished-site #product-dialog{width:min(1440px,calc(100vw - 48px));height:min(940px,calc(100dvh - 48px));max-width:none;max-height:none;padding:0;border:0;overflow:hidden;background:#faf9f6}
body.storefront.polished-site #product-dialog::backdrop{background:rgba(24,31,27,.68);backdrop-filter:none}
body.storefront.polished-site #product-dialog .dialog-toolbar{position:absolute;right:16px;top:16px;z-index:3;height:44px;margin:0;padding:0;background:transparent}
body.storefront.polished-site #product-dialog .dialog-close{position:static;width:44px;height:44px;background:#faf9f6;border:1px solid #c9d0c4;color:#233632}
body.storefront.polished-site #product-detail{height:100%}
body.storefront.polished-site #product-dialog .detail-grid{height:100%;display:grid;grid-template-columns:minmax(0,2.15fr) minmax(300px,1fr);gap:0;align-items:stretch}
body.storefront.polished-site #product-dialog .detail-photos{min-height:0;min-width:0;display:flex;flex-direction:column;gap:14px;padding:24px 24px 16px;background:#eeeee8}
body.storefront.polished-site #product-dialog .detail-visual{flex:1;min-height:0;height:auto;max-height:none;aspect-ratio:auto;background:transparent;overflow:hidden}
body.storefront.polished-site #product-dialog .detail-visual>img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;padding:0!important;scale:1!important;transform:none!important}
body.storefront.polished-site #product-dialog .detail-photo-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-shrink:0}
body.storefront.polished-site #product-dialog .photo-thumbs{min-width:0;margin:0;padding:0;gap:10px}
body.storefront.polished-site #product-dialog .photo-thumbs button{flex:0 0 66px;width:66px;height:66px;padding:3px;background:transparent;border:2px solid transparent}
body.storefront.polished-site #product-dialog .photo-thumbs button[aria-pressed=true]{border-color:#456f63}
body.storefront.polished-site #product-dialog .photo-thumbs img{width:100%;height:100%;object-fit:contain}
.detail-photo-nav{display:flex;align-items:center;gap:10px;flex-shrink:0}.detail-photo-nav button{width:44px;height:44px;border:1px solid #c9d0c4;background:#faf9f6;color:#233632;font-size:24px}.detail-photo-nav button:disabled{opacity:.4;cursor:default}.detail-photo-count{min-width:42px;text-align:center;font-size:13px;color:#55645e}
body.storefront.polished-site #product-dialog .detail-copy{overflow:auto;min-height:0;padding:80px 36px 36px;align-content:center;color:#233632}
body.storefront.polished-site #product-dialog .detail-copy h2{font:400 clamp(26px,2.3vw,35px)/1.18 var(--sans)!important;letter-spacing:-.025em;margin:0 0 24px;overflow-wrap:anywhere}
body.storefront.polished-site #product-dialog .detail-copy>p{font-size:16px;line-height:1.85;margin:0 0 24px;white-space:pre-line}
body.storefront.polished-site #product-dialog .detail-copy>.eyebrow{font-size:13px;color:#456f63;letter-spacing:0;margin-bottom:20px}
body.storefront.polished-site #product-dialog .detail-copy>.availability-note{font-size:13px;color:#55645e;line-height:1.7;margin-top:26px}
.detail-facts{padding-top:22px;margin:28px 0 0;border-top:1px solid #c9d0c4;font-size:14px}.detail-facts dt{color:#55645e;margin-bottom:8px}.detail-facts dd{margin:0 0 18px;line-height:1.6}
body.storefront.polished-site #product-dialog .detail-copy .button{margin-top:0;font-size:15px;min-height:48px;padding:14px 19px;border-width:1px!important}
/* Même disposition que le formulaire de référence : deux champs, message, Envoi. */
body.storefront.polished-site #contact{display:flex;flex-direction:column;align-items:center;gap:28px;text-align:center;padding-block:72px}
body.storefront.polished-site #contact .contact-copy{max-width:720px}
body.storefront.polished-site #contact .contact-copy h2{font-size:32px!important;line-height:1.3;margin:12px auto}
body.storefront.polished-site #contact .contact-copy>p{margin-inline:auto}
body.storefront.polished-site #contact .contact-panel{border:0;padding:0;max-width:680px}
body.storefront.polished-site #contact .contact-footnote{display:none}
body.storefront.polished-site #contact .contact-actions{justify-content:center;margin:0}
body.storefront.polished-site #contact .socials{justify-content:center;margin:0}
.contact-form-host{width:min(100%,640px)}.visitor-contact-form{scroll-margin-top:100px;text-align:left;color:#233632}.contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.visitor-contact-form label{display:block;min-width:0;margin:0 0 18px}.visitor-contact-form .field-label{display:block;font-size:13px;margin-bottom:8px}.visitor-contact-form input,.visitor-contact-form textarea{box-sizing:border-box;display:block;width:100%;border:1px solid #b9c2b8;border-radius:0;background:#fff;color:#233632;padding:16px;font:400 16px/1.5 var(--sans);min-height:54px}.visitor-contact-form textarea{min-height:170px;resize:vertical}.visitor-contact-form input::placeholder,.visitor-contact-form textarea::placeholder{color:#55645e}.visitor-contact-form :is(input,textarea,button):focus-visible{outline:2px solid #456f63;outline-offset:3px}.contact-submit-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.contact-result{font-size:14px;line-height:1.6;margin:0;color:#334e43}.contact-submit{margin-left:auto;flex-shrink:0;border:1px solid #456f63;background:transparent;color:#335d51;padding:10px 22px;font:400 20px/1.5 var(--sans);min-height:50px}.contact-submit:hover{background:#e6ece4}.contact-submit:disabled{opacity:.6;cursor:wait}.contact-trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.contact-context{font-size:13px;line-height:1.6;color:#55645e;margin:0 0 16px}
@media(max-width:760px){body.storefront.polished-site #product-dialog{width:100vw;height:100dvh;max-height:none;inset:0;transform:none;margin:0}body.storefront.polished-site #product-detail{overflow-y:auto}body.storefront.polished-site #product-dialog .detail-grid{display:block;height:auto}body.storefront.polished-site #product-dialog .detail-photos{height:60dvh;min-height:380px;padding:64px 16px 16px}body.storefront.polished-site #product-dialog .detail-copy{overflow:visible;padding:28px 24px 40px}body.storefront.polished-site #product-dialog .detail-copy h2{font-size:30px!important}body.storefront.polished-site #product-dialog .detail-copy>p{font-size:15px}body.storefront.polished-site #product-dialog .photo-thumbs button{flex-basis:52px;width:52px;height:52px}.detail-photo-nav{gap:5px}body.storefront.polished-site #product-dialog .detail-photo-bar{gap:8px}.contact-fields{grid-template-columns:1fr;gap:0}body.storefront.polished-site #contact{padding-block:48px}.visitor-contact-form{scroll-margin-top:85px}.contact-submit-row{flex-wrap:wrap}}
