/* PDP gallery — main image click-to-zoom (2x, follows pointer), thumbnails as buttons. Replaces WC's flexslider/zoom. */
.wtd-gallery{min-width:0}
@media (min-width:900px){.wtd-gallery{position:sticky;top:var(--wtd-space-5)}}
.wtd-gallery__main{position:relative;aspect-ratio:1/1;overflow:hidden;background:#fff;border:1px solid var(--wtd-color-line-soft);padding:0;width:100%;cursor:zoom-in;display:block}
/* contain, not cover. The worktop shots are square and crop harmlessly,
   but PWS door photography is a 2452x3543 portrait crop of the door face:
   covering a 1/1 box throws away the top and bottom rails and leaves a
   slab of flat colour with one line through it, which is the opposite of
   what the photograph is for. */
.wtd-gallery__main img{width:100%;height:100%;object-fit:contain;transition:transform var(--wtd-motion-base)}
.wtd-gallery__main[aria-pressed="true"]{cursor:zoom-out}
.wtd-gallery__main[aria-pressed="true"] img{transform:scale(2)}
.wtd-gallery__hint{position:absolute;right:10px;bottom:10px;display:flex;gap:6px;align-items:center;background:rgba(38,53,64,.9);color:#fff;font-family:var(--wtd-font-display);font-size:var(--wtd-text-2xs);font-weight:600;letter-spacing:.08em;text-transform:uppercase;padding:8px 10px}
.wtd-gallery__thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:8px 0 0;padding:0;list-style:none}
.wtd-gallery__thumb{display:block;width:100%;aspect-ratio:1/1;padding:0;border:1px solid var(--wtd-color-line-soft);background:#fff;overflow:hidden;min-height:44px}
.wtd-gallery__thumb img{width:100%;height:100%;object-fit:contain}
.wtd-gallery__thumb:hover{border-color:var(--wtd-color-navy)}
.wtd-gallery__thumb[aria-current="true"]{border-color:var(--wtd-color-navy);box-shadow:inset 0 0 0 2px var(--wtd-color-navy)}
.wtd-gallery__badges{position:absolute;top:0;left:0;z-index:2;display:flex;gap:4px}
@media (max-width:639px){.wtd-gallery__thumbs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory}.wtd-gallery__thumbs li{flex:0 0 22%;scroll-snap-align:start}}
