/* One scroll surface for the product, including Safari's dynamic viewport. */
#product-dialog[open]{height:min(900px,92dvh);max-height:92dvh!important;width:min(1100px,96vw);border-radius:18px;border:1px solid #e8dfd9}
#product-dialog .customer-product-header{justify-content:space-between;gap:12px}
.detail-dialog-title{font-size:18px;color:#64162e;overflow-wrap:anywhere}
#product-dialog #product-detail{height:0;flex:1 1 0%;padding-bottom:32px;-webkit-overflow-scrolling:touch}
#product-detail .detail{align-items:start}
#product-detail .product-gallery .trial-media{width:100%;height:460px;max-height:52dvh;aspect-ratio:auto;background:#f6f1ec;border-radius:12px;overflow:hidden}
#product-detail .product-gallery .trial-media.single-photo img{object-fit:contain!important}
#product-detail .detail-colour-rail{grid-column:1/-1;display:flex;gap:10px;overflow-x:auto;padding:4px 2px 10px;max-width:100%}
#product-detail .detail-colour-rail button{flex:0 0 86px;display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px;border:1px solid #dfd1d5;border-radius:10px;background:#fff;color:#64162e;font:inherit;font-size:13px;cursor:pointer}
#product-detail .detail-colour-rail button[aria-pressed=true]{border:2px solid #64162e;background:#f5e7ec}
#product-detail .detail-colour-rail img{width:68px;height:86px;object-fit:contain;border-radius:6px;background:#f7f2ef}
#product-detail .product-choice-controls{display:block}
#product-detail .product-choice-controls>label{display:block;margin:12px 0}
#product-detail .product-choice-controls select{width:100%;min-height:44px;border:1px solid #d9c6cd;border-radius:8px;padding:9px;font:inherit;background:#fff}
#product-detail .detail-size-rail{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}
#product-detail .detail-size-rail button{min-width:48px;min-height:44px;border:1px solid #d9c6cd;border-radius:8px;padding:8px 12px;font:inherit;background:white;color:#64162e;cursor:pointer}
#product-detail .detail-size-rail button[aria-pressed=true]{background:#64162e;color:#fff}
#product-detail .detail-size-rail .sold-out{border-style:dashed;opacity:.65}
#product-detail .detail-size-rail small{display:block;font-size:10px}
#product-detail .detail-selection-summary{padding:12px;background:#f5ecef;border-radius:8px;font-size:14px;line-height:1.8;color:#64162e}
#product-detail button:focus-visible{outline:2px solid #64162e;outline-offset:3px}
#product-detail #product-variant-price{display:block;font-size:24px;margin:12px 0}
#product-detail .product-specifications[open] summary{border-bottom:1px solid #e8dfd9}
@media(max-width:700px){
 #product-dialog[open]{height:94dvh;max-height:94dvh!important;width:98vw;margin:auto;border-radius:16px}
 #product-detail .product-gallery .trial-media{height:31dvh;max-height:310px;width:100%}
 #product-detail .product-gallery .thumbs{max-height:86px;gap:7px;order:1}
 #product-detail .product-gallery .thumbs button{flex-basis:58px;min-width:58px;width:58px;height:80px}
 #product-detail .product-gallery .thumbs button img{width:46px;height:52px;max-height:52px}
 #product-detail .product-gallery .product-photos-label{font-size:11px;line-height:1.7}
 #product-detail .detail{gap:14px}
 #product-detail .product-information .eyebrow{display:none}
 #product-detail .product-information h2{font-size:23px;margin:0 0 8px}
 #product-detail .customer-store-link{font-size:13px;padding:8px 10px;margin-bottom:4px}
 .detail-dialog-title{font-size:16px}
}
