/* Jor's Hacos: product window photo gallery (see gallery.js). Only affects a product that has extra photos. */
.jh-strip{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.jh-strip::-webkit-scrollbar{display:none}
.jh-strip:focus-visible{outline:2px solid var(--gold,#b8892b);outline-offset:-3px}
.jh-strip>.shop-qv__art{position:relative;inset:auto;flex:0 0 100%;height:100%;scroll-snap-align:center;scroll-snap-stop:always}
.jh-slide{position:relative;flex:0 0 100%;height:100%;scroll-snap-align:center;scroll-snap-stop:always;overflow:hidden;background:transparent;display:flex;align-items:center}
.jh-img{position:relative;display:block;width:100%;height:auto;max-height:100%;object-fit:contain;user-select:none;-webkit-user-drag:none}
.jh-nav[hidden]{display:none}
.jh-dots{position:absolute;inset-inline:0;top:calc(min(100%, 100dvh - 2rem) - 2.5rem);display:flex;justify-content:center;gap:.15rem;z-index:3;pointer-events:none}
.jh-dots button{pointer-events:auto;width:1.6rem;height:1.6rem;padding:0;border:0;background:transparent;cursor:pointer;display:grid;place-items:center;-webkit-tap-highlight-color:transparent}
.jh-dots button::before{content:"";width:.5rem;height:.5rem;border-radius:50%;background:rgba(40,30,20,.28);box-shadow:0 0 0 1px rgba(255,255,255,.7);transition:transform .25s,background .25s}
.jh-dots button.is-on::before{background:var(--ink,#1d1d1f);transform:scale(1.35)}
.jh-arrow{position:absolute;top:calc(min(100%, 100dvh - 2rem) / 2);translate:0 -50%;z-index:3;width:2.5rem;height:2.5rem;border-radius:50%;border:0;display:none;place-items:center;background:rgba(255,255,255,.92);color:var(--ink,#1d1d1f);box-shadow:0 2px 10px rgba(0,0,0,.18);cursor:pointer;transition:opacity .2s}
.jh-arrow:disabled{opacity:0;pointer-events:none}
.jh-arrow:focus-visible{outline:2px solid var(--gold,#b8892b);outline-offset:2px}
.jh-arrow--prev{inset-inline-start:.7rem}
.jh-arrow--next{inset-inline-end:.7rem}
.jh-arrow--prev svg{transform:scaleX(-1)}
[dir="rtl"] .jh-arrow--prev svg{transform:none}
[dir="rtl"] .jh-arrow--next svg{transform:scaleX(-1)}
@media (hover:hover) and (min-width:820px){.jh-arrow{display:grid}}
@media (prefers-reduced-motion:reduce){.jh-dots button::before{transition:none}}
/* gloss photos (ids 11350-11359) are square: in the product card they fill the 4:5 frame (cover, no blurred bands); in the product window the blurred copy is replaced by the photo's own edge colour */
.shop-card__media .prod-img[src*="/1135"]{object-fit:cover}
.shop-qv__media:has(.jh-strip.has-gal)::before{display:none}
.jh-strip>.shop-qv__art{display:flex;align-items:center}
/* the whole square photo sits in the middle of the frame on a solid ivory background (no blurred copy of the photo behind it) */
.shop-qv__media:has(.jh-strip.has-gal){background:var(--ivory,#faf6ef)}
.jh-strip>.shop-qv__art{background:transparent}
/* v195: a product WITHOUT extra photos is not inside a scroller. On iPhone (WebKit) a mix-blend-mode:multiply photo (white-background products: masks, scrubs...) inside an overflow scroller loses its blend: a white box on the beige frame, the window repaints badly. Only the gloss gallery (has-gal) keeps the swipe strip. */
.jh-strip:not(.has-gal){overflow:visible;scroll-snap-type:none;overscroll-behavior:auto}
