/* A quiet image stage, with the original WooCommerce gallery underneath. */
body.single-product.woocommerce div.product div.images{
  --gallery-height:clamp(360px,36vw,510px);
  width:58%!important;padding:0;background:transparent;margin-bottom:44px;min-width:0;
}
body.single-product.woocommerce div.product div.summary{width:36%!important;margin-bottom:44px}
body.single-product.woocommerce div.product div.images .flex-viewport{height:var(--gallery-height)!important;background:#edf2f5;border:1px solid #dce5ea}
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image,
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder{height:var(--gallery-height);background:#edf2f5}
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image>a{display:flex;align-items:center;justify-content:center;height:100%;padding:16px;cursor:zoom-in}
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg),
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image--placeholder>img{width:100%;height:100%;max-height:100%;object-fit:contain;mix-blend-mode:normal}
body.single-product.woocommerce div.product div.images .zoomImg{display:none!important}
.athath-gallery-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 16px;color:var(--navy)}
.athath-gallery-heading{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.12em;font-weight:500}
.athath-gallery-heading:before{content:'';width:6px;height:6px;display:block;flex:0 0 6px;background:var(--yellow);border-radius:50%}
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__trigger{position:static;display:inline-flex;align-items:center;justify-content:center;gap:9px;height:38px;width:auto;padding:0 12px;border:1px solid #c9d6df;border-radius:3px;background:white;color:var(--navy);font-size:11px;text-indent:0;line-height:1;box-sizing:border-box;text-decoration:none;white-space:nowrap}
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__trigger:before,
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__trigger:after{display:none}
body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__trigger:hover{background:var(--yellow);border-color:var(--yellow)}
.athath-gallery-topbar svg{width:16px;height:16px}
.athath-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 0;color:var(--navy)}
.athath-gallery-status{font-size:10px;letter-spacing:.04em;display:flex;align-items:center;gap:13px}
.athath-gallery-counter{direction:ltr;font-size:12px;font-variant-numeric:tabular-nums;letter-spacing:.07em}
.athath-gallery-status>span+span{border-inline-start:1px solid #c8d6df;padding-inline-start:13px;color:#556f80}
.athath-gallery-arrows{display:flex;gap:8px;direction:ltr}
.athath-gallery-arrows button{height:40px;width:40px;display:grid;place-items:center;border:1px solid #c8d6df;border-radius:50%;color:var(--navy);background:white;transition:background .2s,border-color .2s}
.athath-gallery-arrows button:not(:disabled):hover{background:var(--yellow);border-color:var(--yellow)}
.athath-gallery-arrows button:disabled{opacity:.3;cursor:default}
.athath-gallery-arrows svg{width:18px;height:18px}
body.single-product.woocommerce div.product div.images .flex-control-thumbs{display:flex;flex-wrap:nowrap;gap:10px;width:100%;margin:0;padding:3px 3px 12px;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a9bdca transparent;list-style:none}
body.single-product.woocommerce div.product div.images .flex-control-thumbs li{float:none!important;flex:0 0 76px;width:76px;height:76px;margin:0!important;padding:0;scroll-snap-align:start;position:relative;background:#f0f4f6;border-radius:3px}
body.single-product.woocommerce div.product div.images .flex-control-thumbs li img{display:block;width:100%!important;height:100%!important;max-height:100%;object-fit:contain;opacity:1!important;mix-blend-mode:normal;border:1px solid #d7e1e7;padding:4px;border-radius:3px;transition:border-color .2s,box-shadow .2s;background:#f1f5f7;cursor:pointer}
body.single-product.woocommerce div.product div.images .flex-control-thumbs li img:hover{border-color:var(--brand)}
body.single-product.woocommerce div.product div.images .flex-control-thumbs li img.flex-active{border-color:var(--navy);box-shadow:inset 0 -3px var(--yellow);background:#fff}
.athath-product-gallery :focus-visible{outline:2px solid var(--navy);outline-offset:3px}
.athath-product-gallery .flex-control-thumbs img:focus-visible{outline-offset:1px}
body.single-product.woocommerce .pswp__bg{background:#102b3d}
body.single-product.woocommerce .pswp__top-bar{background:#102b3de8}
body.single-product.woocommerce .pswp__caption{background:#102b3de8}
body.single-product.woocommerce .pswp__counter{font-family:var(--body);direction:ltr}
[dir=rtl] .athath-gallery-heading{letter-spacing:0;font-size:11px}
[dir=rtl] .athath-gallery-status{letter-spacing:0}
@media(min-width:981px){
  body.single-product.woocommerce div.product div.images{float:left!important}
  body.single-product.woocommerce div.product div.summary{float:right!important}
  [dir=rtl] body.single-product.woocommerce div.product div.images{float:right!important}
  [dir=rtl] body.single-product.woocommerce div.product div.summary{float:left!important}
}
@media(max-width:980px){
  body.single-product.woocommerce div.product div.images{--gallery-height:clamp(300px,67vw,480px);width:100%!important;float:none!important;margin-bottom:30px}
  body.single-product.woocommerce div.product div.summary{width:100%!important;float:none!important}
}
@media(max-width:520px){
  body.single-product.woocommerce div.product div.images{--gallery-height:clamp(280px,85vw,390px)}
  body.single-product.woocommerce div.product div.images .woocommerce-product-gallery__image>a{padding:10px}
  .athath-gallery-topbar{padding-bottom:12px}
  .athath-gallery-status{gap:9px;font-size:9px}
  .athath-gallery-status>span+span{padding-inline-start:9px}
  .athath-gallery-controls{padding-block:10px}
  body.single-product.woocommerce div.product div.images .flex-control-thumbs{gap:8px}
  body.single-product.woocommerce div.product div.images .flex-control-thumbs li{flex-basis:62px;width:62px;height:62px}
}
@media(prefers-reduced-motion:reduce){.athath-product-gallery *{transition:none!important;scroll-behavior:auto!important}}
