/* Product production sprint. Scoped to product pages; approved homepage unchanged. */
#mm-app .product-detail{align-items:start;min-width:0}
#mm-app .product-detail>*{min-width:0}
#mm-app .mm-gallery{position:sticky;top:28px;align-self:start;min-width:0;width:100%}
#mm-app .mm-gallery-stage{position:relative;background:#eee7da;border:1px solid #ded6c9;border-radius:5px;overflow:hidden}
#mm-app .mm-gallery-rail{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;touch-action:pan-x pan-y pinch-zoom}
#mm-app .mm-gallery-rail::-webkit-scrollbar{display:none}
#mm-app .mm-gallery-slide{flex:0 0 100%;min-width:0;aspect-ratio:1;display:grid;place-items:center;scroll-snap-align:start;scroll-snap-stop:always;background:#eee7da}
#mm-app .mm-gallery-slide>img{display:block;width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain;padding:0;transform:none;filter:none}
#mm-app .mm-gallery-slide.is-cutout>img{width:90%;height:90%;filter:drop-shadow(0 8px 7px #30271916)}
#mm-app .mm-gallery-enlarge{position:absolute;right:12px;bottom:12px;min-width:44px;min-height:44px;border:1px solid #c9bfad;border-radius:4px;background:#f7f4eef2;padding:10px 13px;font-size:14px;display:flex;align-items:center;gap:7px;color:#28251f}
#mm-app .mm-gallery-controls{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:8px}
#mm-app .mm-gallery-controls button,#mm-app .mm-zoom-footer button{width:44px;height:44px;border:1px solid #d1c7b7;background:transparent;border-radius:4px;font-size:20px;color:#322c23}
#mm-app .mm-gallery button:disabled{opacity:.35;cursor:default}
#mm-app .mm-gallery-count{font-size:13px;margin:0;min-width:40px;text-align:center;font-variant-numeric:tabular-nums}
#mm-app .mm-gallery-thumbs{display:flex;gap:9px;margin-top:8px;overflow-x:auto;padding:2px 1px 7px;scrollbar-width:thin}
#mm-app .mm-gallery-thumbs button{flex:0 0 64px;width:64px;height:64px;min-height:44px;padding:3px;border:1px solid #d2c8b7;border-radius:4px;background:#eee7da;overflow:hidden}
#mm-app .mm-gallery-thumbs button[aria-pressed=true]{border:2px solid #8e7247;padding:2px}
#mm-app .mm-gallery-thumbs img{display:block;width:100%;height:100%;object-fit:contain}
#mm-app .mm-gallery-caption{font-size:12px;line-height:1.55;color:#645d51;margin:9px 0 0;min-height:2.5em}
#mm-app .mm-gallery-lightbox{width:min(1100px,94vw);max-width:94vw;max-height:94dvh;padding:14px;border:1px solid #b9ab94;border-radius:5px;background:#eee7da;color:#28251f}
#mm-app .mm-gallery-lightbox::backdrop{background:#171611d9}
#mm-app .mm-zoom-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:10px}
#mm-app .mm-zoom-toolbar button{width:44px;height:44px;border:1px solid #bdaf97;border-radius:4px;background:#f7f4ee;font-size:24px;color:#28251f}
#mm-app .mm-zoom-toolbar [data-zoom-close]{margin-left:auto}
#mm-app .mm-zoom-toolbar output{font-size:13px;min-width:45px;text-align:center}
#mm-app .mm-zoom-viewport{height:min(68dvh,750px);overflow:auto;overscroll-behavior:contain;background:#eee7da;touch-action:pan-x pan-y pinch-zoom}
#mm-app .mm-zoom-viewport img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;margin:0}
#mm-app .mm-zoom-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:10px}
#mm-app .mm-zoom-footer p{flex:1;font-size:12px;line-height:1.5;text-align:center;margin:0}
#mm-app .mm-zoom-footer button{flex-shrink:0}
#mm-app .product-review-fragment{margin:25px 0 0;padding:20px;border:1px solid #d8cfbf;background:#f2ede3;border-radius:4px}
#mm-app .product-review-fragment blockquote{font-size:22px;line-height:1.4;margin:0 0 12px;text-align:left}
#mm-app .product-review-fragment figcaption{font-size:12px;color:#635b4e}
#mm-app .product-review-fragment a{display:inline-flex;min-height:44px;align-items:center;font-size:12px;margin-top:4px;text-decoration:underline;text-underline-offset:4px}
#mm-app .detail-copy h1{overflow-wrap:anywhere}
#mm-app .detail-copy>.button{min-height:50px}
#mm-app .inci{overflow-wrap:anywhere}
@media(max-width:800px){#mm-app .product-detail{grid-template-columns:1fr;gap:26px}#mm-app .mm-gallery{position:relative;top:0;max-width:620px;justify-self:center}#mm-app .mm-gallery-caption{min-height:0}#mm-app .product-page{padding-top:28px}}
@media(max-width:600px){#mm-app .mm-gallery-thumbs button{flex-basis:54px;width:54px;height:54px}#mm-app .mm-gallery-enlarge{right:9px;bottom:9px;font-size:12px}#mm-app .mm-gallery-controls{margin-top:6px}#mm-app .product-detail{gap:24px}#mm-app .detail-copy h1{font-size:48px;line-height:1.06}#mm-app .detail-copy>.button{width:100%;justify-content:space-between}#mm-app .product-review-fragment{padding:18px;margin:22px 0 0}#mm-app .product-review-fragment blockquote{font-size:23px}#mm-app .mm-gallery-lightbox{padding:10px}#mm-app .mm-zoom-viewport{height:66dvh}}
@media(prefers-reduced-motion:reduce){#mm-app .mm-gallery-rail{scroll-behavior:auto}}
