/* Immersive kit gallery prototype; original catalog remains the no-JS fallback. */
#kit.kit-gallery{position:relative;isolation:isolate;overflow:hidden;width:100%;max-width:none;padding:64px 24px 56px;background:#24211d;color:#f5f2e9;min-height:920px}
#kit.kit-gallery::before{content:"";position:absolute;inset:0;z-index:-2;background:url('kit-gallery-room-v1.png') center/cover no-repeat}
#kit.kit-gallery::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#15141188,#15141155 45%,#151411d9),linear-gradient(90deg,#14131066,transparent 30%,transparent 70%,#14131066)}
#kit.kit-gallery>.section-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#kit .gallery-toolbar{display:flex;align-items:center;justify-content:space-between;max-width:1120px;margin:0 auto 20px;gap:16px;font-size:12px;letter-spacing:.16em;color:#e6dfd0}
#kit .gallery-pause{font:inherit;letter-spacing:0;color:#eee9df;border:0;background:#ffffff14;padding:10px 16px;border-radius:24px;cursor:pointer}
#kit .gallery-title-wrap{position:relative;text-align:center;min-height:120px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;animation:kit-title-float 8s ease-in-out infinite}
#kit .gallery-counter{font-size:12px;letter-spacing:.18em;color:#d9d1c3;font-variant-numeric:tabular-nums}
#kit .gallery-title{font:600 44px/1.1 Outfit,"Segoe UI",sans-serif;letter-spacing:-.03em;max-width:850px;margin:0;text-wrap:balance;text-shadow:0 3px 20px #0008}
#kit .gallery-viewport{position:relative;max-width:1160px;margin:0 auto;height:460px;perspective:1400px;touch-action:pan-y;cursor:grab;outline-offset:-6px}
#kit .gallery-viewport:active{cursor:grabbing}
#kit .catalog{position:absolute;inset:0;display:block;max-width:none;margin:0;transform-style:preserve-3d}
#kit .catalog .kit{position:absolute;left:50%;top:32px;width:280px;height:398px;min-height:0;padding:0;margin:0;overflow:visible;background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;transform-origin:center;transition:transform 500ms cubic-bezier(.23,1,.32,1),opacity 400ms ease;will-change:transform,opacity;cursor:pointer}
#kit .catalog .kit .kit-visual{display:block;width:100%;height:100%;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;background:transparent;margin:0;filter:drop-shadow(0 22px 18px #0007);pointer-events:none;user-select:none;-webkit-user-drag:none}
#kit .catalog .kit>:not(img){display:none}
#kit .gallery-arrow{position:absolute;top:45%;z-index:20;display:grid;place-items:center;width:48px;height:48px;border:1px solid #ffffff30;border-radius:50%;background:#28251ec9;color:#fff;cursor:pointer;transition:background 180ms ease}
#kit .gallery-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5}
#kit .gallery-prev{left:0}#kit .gallery-next{right:0}
#kit .gallery-description-wrap{position:relative;min-height:132px;max-width:690px;margin:20px auto 0;text-align:center;animation:kit-description-float 9s ease-in-out infinite}
#kit .gallery-description{font-size:19px;line-height:1.65;color:#eee8dc;margin:0;text-wrap:pretty;text-shadow:0 2px 14px #000}
#kit .gallery-dots{display:flex;align-items:center;justify-content:center;gap:4px;margin:18px auto 0}
#kit .gallery-dot{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:50%;padding:0;background:transparent;cursor:pointer}
#kit .gallery-dot::after{content:"";width:5px;height:5px;border-radius:50%;background:#ffffff50;transition:transform 200ms ease,background 200ms ease}
#kit .gallery-dot[aria-current=true]::after{background:#f2dec1;transform:scale(1.7)}
#kit .gallery-title.is-changing,#kit .gallery-description.is-changing{animation:kit-copy-in 300ms cubic-bezier(.23,1,.32,1) both}
#kit .gallery-viewport:focus-visible,#kit button:focus-visible{outline:2px solid #f2dec1;outline-offset:5px}
#kit.is-motion-paused .gallery-title-wrap,#kit.is-motion-paused .gallery-description-wrap{animation-play-state:paused}
#kit.is-keyboard .kit{transition:none}
@keyframes kit-title-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes kit-description-float{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}
@keyframes kit-copy-in{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover) and (pointer:fine){#kit .gallery-arrow:hover,#kit .gallery-pause:hover{background:#ffffff26}}
@media(max-width:700px){#kit.kit-gallery{padding:40px 16px;min-height:820px}#kit .gallery-toolbar{font-size:10px;margin-bottom:18px}#kit .gallery-title{font-size:32px;max-width:90%}#kit .gallery-title-wrap{min-height:115px}#kit .gallery-viewport{height:360px}#kit .catalog .kit{width:220px;height:320px;top:20px}#kit .gallery-arrow{width:36px;height:36px;top:44%}#kit .gallery-prev{left:0}#kit .gallery-next{right:0}#kit .gallery-description-wrap{min-height:170px;max-width:440px;margin-top:10px}#kit .gallery-description{font-size:17px;line-height:1.6}#kit .gallery-dots{gap:0}#kit .gallery-dot{width:24px}}
@media(prefers-reduced-motion:reduce){#kit .gallery-title-wrap,#kit .gallery-description-wrap,#kit .gallery-title.is-changing,#kit .gallery-description.is-changing{animation:none}#kit .catalog .kit,#kit .gallery-dot::after{transition:none}}

/* Rounded artwork; active cover is exactly 1.3x its previous size. */
#kit .gallery-viewport{height:580px}
#kit .catalog .kit{top:92px;display:flex;align-items:center}
#kit .catalog .kit .kit-visual{height:auto;max-height:100%;border-radius:18px}
@media(max-width:700px){#kit .gallery-viewport{height:456px}#kit .catalog .kit{top:68px}}
/* Focus the active product: subdued side covers and a light pool behind the center. */
#kit .gallery-viewport::before{content:"";position:absolute;inset:-8% 5% -6%;pointer-events:none;background:radial-gradient(ellipse at 50% 48%,#f1d7a638 0%,#e9cf9d1f 25%,#e0c8950a 44%,transparent 64%)}
#kit .catalog .kit .kit-visual{transition:filter 500ms cubic-bezier(.23,1,.32,1)}
#kit .catalog .kit[aria-hidden=true] .kit-visual{filter:brightness(.58) saturate(.8) drop-shadow(0 22px 18px #0007)}
#kit .catalog .kit[aria-hidden=false] .kit-visual{filter:brightness(1) saturate(1) drop-shadow(0 22px 18px #0007)}
@media(prefers-reduced-motion:reduce){#kit .catalog .kit .kit-visual{transition:none}}

/* Mobile gallery: only the active product is visible. */
@media(max-width:700px){#kit .catalog .kit[aria-hidden=true]{visibility:hidden;pointer-events:none!important}}
