/* The Scoreline gallery: an illuminated image stage, glass dock and contact sheet. */
.gallery-suite{min-width:0;padding:14px;border:1px solid #d5f0f42e;border-radius:28px;background:radial-gradient(ellipse at 5% 0,#bbe3ea13,transparent 60%),linear-gradient(135deg,#ffffff09,#ffffff02);box-shadow:inset 0 1px 1px #e5fafd1c,0 24px 60px #00000014;isolation:isolate}
.gallery-suite-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:7px 6px 20px;color:#bedadf;font-size:12px;line-height:1.6}
.gallery-suite-heading>span:first-child{display:flex;align-items:center;gap:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.gallery-suite-heading i{width:5px;height:5px;border-radius:50%;background:#b0e5ee;box-shadow:0 0 13px #b0e5ee7d}
.gallery-suite-heading>span:last-child{white-space:nowrap;color:#98bdc6}
.gallery-suite .gallery-main{position:relative;aspect-ratio:1;border:1px solid #e5f5f737;border-radius:19px;overflow:hidden;background:#e1edee;touch-action:pan-y;box-shadow:0 8px 24px #010a0f24}
.gallery-image-trigger{display:block;width:100%;height:100%;padding:0;cursor:zoom-in;overflow:hidden;border-radius:inherit}
.gallery-image-trigger>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;user-select:none;-webkit-user-select:none}
.gallery-top-tools{position:absolute;inset:15px 15px auto;display:flex;align-items:center;justify-content:space-between;gap:12px;pointer-events:none}
.gallery-index,.gallery-suite .view-larger{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #fff9;background:linear-gradient(130deg,#f6fdfec2,#f1fcfe78);color:#133140;box-shadow:inset 0 1px 1px #fff,0 4px 16px #05151e10;backdrop-filter:none;-webkit-backdrop-filter:none;border-radius:99px;min-height:42px;padding:9px 14px;font-size:13px;line-height:1.4;pointer-events:auto}
.gallery-index b{font-family:var(--display);font-weight:700;font-size:16px;letter-spacing:-.03em}
.gallery-index>span{color:#375e6d;font-variant-numeric:tabular-nums;font-size:12px}
.gallery-suite .gallery-main .view-larger{position:static;font-weight:600;font-size:13px;border-color:#fff9;background:linear-gradient(130deg,#f6fdfec2,#f1fcfe78);color:#133140}
.gallery-suite .view-larger svg{width:17px;height:17px;stroke-width:1.6}
.gallery-suite .gallery-main .gallery-nav{top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #ffffffb0!important;background:linear-gradient(135deg,#f6fdfeb8,#e7f5f76b)!important;color:#143240;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:inset 0 1px 1px #fff,0 4px 14px #0d232e13;transition:background .2s,box-shadow .2s}
.gallery-suite .gallery-nav svg{width:20px;height:20px;stroke-width:1.7}
.gallery-suite .gallery-nav.prev{left:15px}.gallery-suite .gallery-nav.next{right:15px}
.gallery-suite .gallery-nav:hover,.gallery-suite .view-larger:hover{box-shadow:inset 0 1px 1px #fff,0 4px 20px #08222f24;background:#f3fdfee6!important}
.gallery-loading{position:absolute;bottom:40px;left:50%;transform:translateX(-50%);padding:8px 13px;white-space:nowrap;border-radius:99px;background:#0f2b39b8;color:#f0fcfe;backdrop-filter:none;font-size:13px;pointer-events:none}
.gallery-loading[hidden]{display:none}
/* Use a stable frosted material here: a live backdrop crossing the image edge
   can flicker during scrolling and neighbouring countdown repaints in WebKit. */
.gallery-glass-dock{position:relative;z-index:2;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-24px 18px 0;padding:15px 18px;border:1px solid #dff9fc60;border-radius:18px;background:linear-gradient(150deg,#ffffff1c,transparent 36%),linear-gradient(115deg,#3d6473,#1f3d4a 55%,#2c5161);box-shadow:inset 0 1px 1px #e5fafd57,0 10px 28px #010c1222;backdrop-filter:none;-webkit-backdrop-filter:none;color:#eefcfe}
.gallery-glass-dock>div:first-child{min-width:0;display:flex;flex-direction:column;gap:4px}
.gallery-dock-kicker{font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#bad9df;font-weight:700}
#photo-caption{font:500 16px/1.45 var(--display);letter-spacing:-.025em}
.gallery-position{width:135px;flex-shrink:0;display:flex;flex-direction:column;gap:12px}
.gallery-position-label{font-size:12px;color:#bbd8de;text-align:right}
.gallery-progress{display:flex;gap:5px}
.gallery-progress i{height:3px;flex:1;border-radius:2px;background:#d7f0f336;transition:background .2s}
.gallery-progress i.active{background:#bae9f1;box-shadow:0 0 8px #c5f3fa26}
.gallery-filmstrip{padding:24px 5px 5px}
.gallery-filmstrip-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;font-size:13px;font-weight:500;color:#b8d4d9}
.gallery-swipe-hint{display:none;align-items:center;gap:5px;color:#91bac3;font-size:12px;font-weight:400}
.gallery-swipe-hint svg{width:15px;height:15px}
.gallery-suite .thumbs{display:grid;grid-template-columns:repeat(var(--thumbs),minmax(0,1fr));gap:10px;margin:0}
.gallery-suite .thumbs button{position:relative;min-width:0;min-height:44px;aspect-ratio:1.08;padding:4px;overflow:hidden;border:1px solid #ffffff29;border-radius:12px;background:linear-gradient(135deg,#ffffff0b,#ffffff02);box-shadow:inset 0 1px 1px #fff1;transition:border-color .2s,background .2s}
.gallery-suite .thumbs button[aria-current=true]{border-color:#c0e9f0;background:#beeaf124;box-shadow:inset 0 0 0 1px #cff3f85c,0 4px 12px #020f1633}
.gallery-suite .thumbs button:hover{border-color:#bde6ed99}
.gallery-suite .thumbs img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;border-radius:7px;opacity:.65;transition:opacity .2s;user-select:none}
.gallery-suite .thumbs [aria-current=true] img,.gallery-suite .thumbs button:hover img{opacity:1}
.gallery-suite .thumbs button>span{position:absolute;bottom:7px;right:7px;min-width:22px;padding:2px 4px;border-radius:4px;color:#ecfbfd;background:#081f2bca;backdrop-filter:none;font:500 10px/1.4 var(--body);font-variant-numeric:tabular-nums}

/* Immersive viewer. The full photograph is visible, with optional two-axis zoom. */
#lightbox.gallery-lightbox{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:24px 32px 22px;border:0;border-radius:0;background:radial-gradient(ellipse at 50% 40%,#1d4152 0%,#0d2430 40%,#05131b 90%);color:#ebf6f7;box-shadow:none;overflow:hidden}
#lightbox.gallery-lightbox[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:20px}
#lightbox::backdrop{background:#06161eed;backdrop-filter:none}
.viewer-topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0}
.viewer-topbar>div:first-child{min-width:0}
.viewer-eyebrow{display:block;color:#9bc7d1;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px}
.viewer-topbar h2{margin:0;font:500 22px/1.25 var(--display);letter-spacing:-.035em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:none}
.viewer-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.viewer-actions button,.viewer-stage>.icon{border:1px solid #ffffff4d;background:linear-gradient(130deg,#e7fafd1f,#dff9fc0a);backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:inset 0 1px 1px #ebfbfd2e;color:#ebfbfd}
.viewer-actions .zoom-toggle{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 16px;min-height:44px;border-radius:99px;font-size:13px;font-weight:600}
.zoom-toggle svg{width:18px;height:18px}
.viewer-actions .close-zoom{position:static;width:44px;height:44px;border-radius:50%;font-size:22px}
.viewer-stage{position:relative;min-height:0;min-width:0;display:flex;align-items:center;justify-content:center}
.viewer-viewport{position:relative;width:100%;height:100%;overflow:hidden;cursor:zoom-in;touch-action:pan-y;outline-offset:-3px;border-radius:16px;scrollbar-width:thin;scrollbar-color:#86bac76b transparent}
.viewer-viewport>img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;user-select:none;-webkit-user-select:none;filter:drop-shadow(0 18px 26px #0004)}
.is-zoomed .viewer-viewport{overflow:auto;cursor:grab;touch-action:auto}
.is-zoomed .viewer-viewport:active{cursor:grabbing}
.is-zoomed .viewer-viewport>img{width:200%;height:200%;object-fit:contain;cursor:inherit}
.viewer-stage>.icon{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;z-index:2}
.viewer-stage>.zoom-prev{left:8px}.viewer-stage>.zoom-next{right:8px}
.viewer-bottom{width:min(520px,100%);margin:0 auto}
.viewer-caption{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:13px;color:#d1e7eb;margin-bottom:13px}
#zoom-count{font-family:var(--display);font-variant-numeric:tabular-nums;letter-spacing:.06em;color:#98c3cd}
.viewer-thumbs{display:flex;justify-content:center;gap:10px}
.viewer-thumbs button{width:65px;height:60px;padding:3px;overflow:hidden;border:1px solid #aad8e136;border-radius:10px;background:#ffffff07}
.viewer-thumbs button[aria-current=true]{border-color:#d2f6fb;background:#cbf5fb30;box-shadow:0 0 0 1px #cbf5fb4d}
.viewer-thumbs img{width:100%;height:100%;object-fit:cover;border-radius:6px;opacity:.65}
.viewer-thumbs [aria-current=true] img{opacity:1}
@media(min-width:1100px){.product-layout{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:5%}}
@media(max-width:800px){
 .gallery-suite{padding:11px;border-radius:24px}
 .gallery-suite-heading{padding:6px 4px 15px;font-size:12px;gap:10px}
 .gallery-suite-heading>span:first-child{letter-spacing:.05em}
 .gallery-suite .gallery-main{border-radius:16px}
 .gallery-top-tools{inset:12px 12px auto}
 .gallery-index,.gallery-suite .gallery-main .view-larger{min-height:44px;padding:9px 12px}
 .gallery-suite .gallery-nav.prev{left:12px}.gallery-suite .gallery-nav.next{right:12px}
 .gallery-glass-dock{margin:-22px 12px 0;padding:14px;border-radius:15px;gap:12px}
 .gallery-position{width:108px}.gallery-position-label{font-size:11px}
 .gallery-swipe-hint{display:flex}
 .gallery-filmstrip{padding:22px 3px 3px}
 .gallery-suite .thumbs{gap:8px}
 .gallery-suite .thumbs button{border-radius:10px;padding:3px}
 .gallery-suite .thumbs img{border-radius:6px}
 #lightbox.gallery-lightbox{padding:20px}
 .viewer-topbar h2{font-size:20px}.viewer-actions .zoom-toggle{padding:10px 12px}
}
@media(max-width:520px){
 .gallery-suite{padding:9px;border-radius:22px}
 .gallery-suite-heading{padding:5px 3px 13px;font-size:11px}
 .gallery-suite-heading i{width:4px;height:4px}.gallery-suite-heading>span:first-child{gap:6px;letter-spacing:.035em}
 .gallery-top-tools{inset:10px 10px auto}
 .gallery-index,.gallery-suite .gallery-main .view-larger{min-height:40px;padding:8px 11px;font-size:12px}
 .gallery-suite .gallery-main .view-larger{min-height:44px}
 .gallery-index b{font-size:15px}.gallery-index>span{font-size:11px}
 .gallery-suite .gallery-main .gallery-nav{width:44px;height:44px}
 .gallery-suite .gallery-nav.prev{left:10px}.gallery-suite .gallery-nav.next{right:10px}
 .gallery-glass-dock{margin:-18px 9px 0;padding:12px;gap:10px}
 .gallery-dock-kicker{font-size:9px;letter-spacing:.1em}
 #photo-caption{font-size:14px}
 .gallery-position{width:76px;gap:9px}.gallery-position-label{font-size:10px;line-height:1.4}.gallery-progress{gap:4px}
 .gallery-filmstrip{padding:19px 2px 2px}
 .gallery-filmstrip-heading{font-size:12px;margin-bottom:10px;gap:8px}.gallery-swipe-hint{font-size:11px}
 .gallery-suite .thumbs{gap:6px}.gallery-suite .thumbs button{border-radius:8px;padding:3px;aspect-ratio:1;min-height:44px}
 .gallery-suite .thumbs img{border-radius:4px}.gallery-suite .thumbs button>span{bottom:5px;right:5px;min-width:17px;padding:1px 3px;font-size:9px}
 #lightbox.gallery-lightbox{padding:14px 12px 18px}
 #lightbox.gallery-lightbox[open]{gap:16px}
 .viewer-topbar{gap:12px;align-items:center}
 .viewer-eyebrow{font-size:9px;letter-spacing:.07em;margin-bottom:6px}
 .viewer-topbar h2{font-size:16px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.35}
 .viewer-actions{gap:7px}.viewer-actions .zoom-toggle{width:44px;height:44px;padding:0}.viewer-actions .zoom-toggle>span{display:none}
 .viewer-actions .close-zoom{width:44px;height:44px}
 .viewer-stage>.icon{width:44px;height:44px;background:#123140cc}.viewer-stage>.zoom-prev{left:0}.viewer-stage>.zoom-next{right:0}
 .viewer-caption{font-size:12px;margin:0 5px 12px}.viewer-thumbs{gap:7px}.viewer-thumbs button{width:53px;height:50px;border-radius:8px}.viewer-thumbs img{border-radius:4px}
}
@media(max-width:360px){
 .gallery-suite-heading>span:last-child{font-size:10px}
 .gallery-position{width:65px}.gallery-position-label{display:none}
 .gallery-glass-dock{padding:11px}.gallery-filmstrip-heading{font-size:11px}.gallery-swipe-hint{font-size:10px}
 .gallery-suite .thumbs{gap:5px}.gallery-suite .thumbs button{padding:2px}
 .viewer-thumbs button{width:46px;height:46px}.viewer-thumbs{gap:6px}
}
@media(prefers-reduced-motion:reduce){.gallery-suite .thumbs button,.gallery-suite .thumbs img,.gallery-progress i{transition:none}}
