/* Approved October 21: explicit same-product photo overview, never a slideshow. */
html body #product-gallery[data-gallery-mode]{overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;height:100dvh!important;max-height:100dvh!important}
html body #product-gallery[data-gallery-mode] .gallery-inner{display:flex!important;flex-direction:column!important;height:auto!important;min-height:100%!important}
html body #product-gallery[data-gallery-mode] .gallery-header{position:sticky!important;top:0!important;z-index:5!important;flex:none!important;background:#faf8f4!important;color:#4d1624!important;border-bottom:1px solid #ded3cf}
html body #product-gallery[data-gallery-mode] .gallery-close{position:static!important;transform:none!important;width:auto!important;max-width:none!important;min-height:44px!important;flex:none!important;background:#4d1624!important;color:#fff!important;border:1px solid #4d1624!important}
html body #product-gallery[data-gallery-mode] .gallery-overview{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start;gap:12px;padding:16px 12px;width:100%;max-width:1100px;margin:0 auto;box-sizing:border-box;flex:1 0 auto}
html body #product-gallery[data-gallery-mode] .gallery-overview[data-photo-count="1"]{grid-template-columns:minmax(0,1fr)!important;max-width:650px}
html body #product-gallery[data-gallery-mode] .gallery-overview-photo{position:static!important;transform:none!important;display:flex!important;flex-direction:column;align-items:stretch;width:100%!important;height:auto!important;min-width:0!important;padding:0!important;margin:0!important;border:1px solid #ded3cf!important;border-radius:8px;overflow:hidden;background:#fff!important;color:#4d1624!important;cursor:zoom-in}
html body #product-gallery[data-gallery-mode] .gallery-overview-photo img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;filter:none!important}
html body #product-gallery[data-gallery-mode] .gallery-overview-photo span{display:block;padding:10px 6px;font:600 14px/1.3 Arial,sans-serif;min-height:20px}
html body #product-gallery[data-gallery-mode] .gallery-image-area{display:block!important;position:relative!important;width:100%!important;max-width:1000px!important;margin:0 auto!important;padding:12px 0!important;flex:1 0 auto;background:#faf8f4!important}
html body #product-gallery[data-gallery-mode] .gallery-image{display:block!important;width:100%!important;height:auto!important;max-height:none!important;max-width:100%!important;aspect-ratio:auto!important;object-fit:contain!important;filter:none!important;margin:0 auto!important}
html body #product-gallery[data-gallery-mode] .gallery-footer{flex:none;background:#faf8f4!important;color:#4d1624!important}
html body #product-gallery[data-gallery-mode] .gallery-overview[hidden],html body #product-gallery[data-gallery-mode] .gallery-image-area[hidden],html body #product-gallery[data-gallery-mode] .gallery-thumbnails,html body #product-gallery[data-gallery-mode] .gallery-arrow{display:none!important}
html body #product-gallery[data-gallery-mode] button:focus-visible,html body #product-gallery[data-gallery-mode] a:focus-visible{outline:3px solid #8f5265!important;outline-offset:3px!important}
html body #product-gallery[data-gallery-mode] .gallery-note,html body #product-gallery[data-gallery-mode] .gallery-counter,html body #product-gallery[data-gallery-mode] .gallery-price,html body #product-gallery[data-gallery-mode] .product-contact-label{color:#4d1624!important}

/* Approved image-side product arrows, one control pair in both photo modes. */
html body #product-gallery .gallery-photo-stage{position:relative;width:100%;max-width:960px;margin:0 auto;flex:1 0 auto;padding:0;box-sizing:border-box}
html body #product-gallery .gallery-product-navigation{position:absolute;left:0;right:0;top:min(50%,38dvh);height:0;z-index:6;pointer-events:none}
html body #product-gallery .gallery-product-navigation button{position:absolute!important;top:0!important;transform:translateY(-50%)!important;width:44px!important;height:44px!important;min-height:44px;padding:0!important;border:1px solid #d4c2ba!important;border-radius:50%!important;background:#ffffffdf!important;color:#4d1624!important;font:34px/40px Georgia!important;box-shadow:0 2px 8px #29101722;pointer-events:auto;touch-action:manipulation}
html body #product-gallery .gallery-product-prev{left:7px!important;right:auto!important}
html body #product-gallery .gallery-product-next{right:7px!important;left:auto!important}
html body #product-gallery .gallery-product-navigation button:disabled{opacity:.3;cursor:default}
html body #product-gallery .gallery-product-position{display:block;margin:0 0 10px;font:12px/1.2 Arial,sans-serif;text-align:center;color:#795a61}
/* Approved image-first layout: photographs fill available width, arrows overlay edges. */
html body #product-gallery[data-gallery-mode]{background:#fff!important}
html body #product-gallery .gallery-photo-stage{background:#fff!important}
html body #product-gallery[data-gallery-mode] .gallery-overview{padding:0!important;gap:0!important;max-width:100%!important;background:#fff!important}
html body #product-gallery[data-gallery-mode] .gallery-overview[data-photo-count="1"]{max-width:100%!important}
html body #product-gallery[data-gallery-mode] .gallery-overview-photo{border:0!important;border-radius:0!important;background:#fff!important}
html body #product-gallery[data-gallery-mode] .gallery-overview-photo span{display:none!important}
html body dialog#product-gallery .gallery-photo-stage .gallery-overview[data-photo-count] button.gallery-overview-photo img{height:auto!important;max-height:none!important;width:100%!important;aspect-ratio:auto!important;object-fit:contain!important}
@media(max-width:600px){html body dialog#product-gallery .gallery-photo-stage .gallery-overview{grid-template-columns:minmax(0,1fr)!important}}
