/* Product gallery controls: retain thumbnail swipe and hide redundant counters. */
.product-page .product-gallery-dots{display:none!important}
.product-page .product-main-image .product-gallery-count{display:none!important}

/* Gallery navigation: accessible controls for photo/video positions on all screens. */
.product-page .product-main-image .gm-gallery-switch{position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:0 10px;pointer-events:none}
.product-page .gm-gallery-switch-btn{pointer-events:auto;display:grid;place-items:center;width:37px;height:37px;padding:0;border:1px solid #d7e5d8;border-radius:50%;background:rgba(255,255,255,.94);color:#173523;font:700 30px/1 system-ui,sans-serif;box-shadow:0 2px 12px rgba(15,40,25,.13);cursor:pointer;transition:background .15s ease,border-color .15s ease}
.product-page .gm-gallery-switch-btn:hover,.product-page .gm-gallery-switch-btn:focus-visible{background:#eaf5e7;border-color:#95c394}
.product-page .gm-gallery-switch-btn:disabled{visibility:hidden;pointer-events:none}
@media(max-width:780px){
  /* Restore access to images 2 and 3 instead of relying exclusively on swipe. */
  .product-page .product-gallery-thumbs{display:flex!important;align-items:center;justify-content:center;gap:9px;margin-top:10px;flex-wrap:wrap}
  .product-page .product-gallery-thumb{width:61px;height:68px;flex:0 0 61px;border-radius:10px}
  .product-page .product-main-image .gm-gallery-switch{padding:0 7px}
  .product-page .gm-gallery-switch-btn{width:31px;height:31px;font-size:25px}
}
@media(prefers-reduced-motion:reduce){
  .product-page .gm-gallery-switch-btn{transition:none}
}
