/* TurboShop homepage candidate v2 — «Студія кольору» (09.10.2026).
   Loaded ONLY on the homepage (header.twig: home_variant == 'v2'); every rule is scoped to .is-home-v2,
   so catalog / product / cart / checkout keep the existing theme untouched.
   Material: deep ink studio + real colourway fields; products are real cutouts from store photos. */

.is-home-v2 {
  --h-ink: #0b0b10; --h-ink-2: #121219; --h-ink-3: #1a1a23; --h-line: rgb(255 255 255 / .1); --h-line-2: rgb(255 255 255 / .18);
  --h-text: #f3f2f7; --h-mute: #a7a6b4; --h-dim: #918fa0;
  --h-fd: "Unbounded", "Onest", system-ui, sans-serif; --h-ft: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --h-ease: cubic-bezier(.16, .84, .24, 1); --h-spring: cubic-bezier(.3, 1.25, .5, 1); --h-out: cubic-bezier(.5, 0, .75, 0);
  --h-r: 24px; --h-gut: clamp(12px, 2.2vw, 28px);
  --h-noise: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background: var(--h-ink); color: var(--h-text); font-family: var(--h-ft);
}
.is-home-v2 .t-main { padding-bottom: 0; }
.h2-wrap { width: 100%; max-width: calc(1600px + 2 * var(--h-gut)); margin-inline: auto; padding-inline: var(--h-gut); }

/* ---------- header / footer skin (home only) ---------- */
.is-home-v2 .t-header { background: rgb(11 11 16 / .9); -webkit-backdrop-filter: saturate(140%) blur(16px); backdrop-filter: saturate(140%) blur(16px); color: var(--h-text); font-family: var(--h-ft); }
.is-home-v2 .t-header.is-stuck { box-shadow: 0 1px 0 var(--h-line); }
.is-home-v2 .t-logo { color: #fff; }
.is-home-v2 .t-header__catalog { --b: #fff; --c: var(--h-ink); }
.is-home-v2 .t-header__catalog:hover { --b: #e7e6ee; }
.is-home-v2 .t-header .t-search { background: var(--h-ink-3); border-color: #2a2a35; }
.is-home-v2 .t-header .t-search:focus-within { border-color: #fff; box-shadow: 0 0 0 3px rgb(255 255 255 / .14); }
.is-home-v2 .t-header .t-search__input { color: #fff; }
.is-home-v2 .t-header .t-search__input::placeholder { color: #8d8c9a; }
.is-home-v2 .t-header .t-search__ico { color: #8d8c9a; }
.is-home-v2 .t-header .t-search__submit { background: #fff; color: var(--h-ink); }
.is-home-v2 .t-header__phone-text small { color: var(--h-mute); }
.is-home-v2 .t-header .t-iconbtn:hover { background: #22222c; }
.is-home-v2 .t-header__cart { background: var(--h-ink-3); color: #fff; }
.is-home-v2 .t-header__cart:hover { background: #262632; }
.is-home-v2 .t-header .t-count { background: #fff; color: var(--h-ink); }
.is-home-v2 .t-mega { background: var(--h-ink-2); color: var(--h-text); border-top-color: var(--h-line); }
.is-home-v2 .t-mega__title { color: var(--h-mute); }
.is-home-v2 .t-mega__link:hover { background: var(--h-ink-3); }
.is-home-v2 .t-mega__link small { color: var(--h-dim); }
.is-home-v2 .t-mega__link img { background: #fff; }
.is-home-v2 .t-footer { background: var(--h-ink); color: #d6d5df; border-top: 1px solid var(--h-line); font-family: var(--h-ft); }
.is-home-v2 .t-footer__h, .is-home-v2 .t-footer__lead, .is-home-v2 .t-footer__addr, .is-home-v2 .t-footer__hours, .is-home-v2 .t-footer__base { color: var(--h-mute); }
.is-home-v2 .t-footer .t-logo { color: #fff; }
.is-home-v2 .t-footer a:focus-visible, .is-home-v2 .h2-studio :focus-visible, .is-home-v2 .h2-lineups :focus-visible, .is-home-v2 .h2-brands :focus-visible, .is-home-v2 .h2-facts :focus-visible, .is-home-v2 .h2-tabs :focus-visible { outline: none; box-shadow: 0 0 0 2px var(--h-ink), 0 0 0 4px #fff; }

/* ---------- studio head ---------- */
.h2-studio { padding-top: clamp(14px, 2vw, 26px); }
.h2-studio__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 6px 24px; padding-bottom: clamp(12px, 1.6vw, 20px); }
.h2-studio__title { max-width: 46ch; font: 500 clamp(1rem, .82rem + .7vw, 1.4rem)/1.25 var(--h-fd); letter-spacing: -.01em; text-wrap: balance; }
.h2-studio__meta { display: inline-flex; align-items: center; gap: 10px; color: var(--h-mute); font-size: .875rem; }
.h2-dot { width: 7px; height: 7px; border-radius: 50%; background: #7fe0a9; box-shadow: 0 0 0 4px rgb(127 224 169 / .16); flex: none; }

/* ---------- the deck ---------- */
.h2-deck { padding-inline: var(--h-gut); max-width: calc(1600px + 2 * var(--h-gut)); margin-inline: auto; }
.h2-deck__track { display: flex; gap: 6px; height: clamp(560px, calc(100svh - var(--t-header-h) - 132px), 820px); }
.h2-panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--h-r); overflow: hidden; isolation: isolate; background-color: var(--field); color: #fff; transition: flex-grow .8s var(--h-spring); }
.h2-panel::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background-image: var(--h-noise); opacity: .09; mix-blend-mode: overlay; }
.h2-panel::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgb(255 255 255 / .07), transparent 38%), linear-gradient(0deg, rgb(0 0 0 / .32), transparent 46%); }
.h2-panel.is-active { flex-grow: 6.4; }
@media (hover: hover) and (min-width: 1024px) { .h2-panel:not(.is-active):hover { flex-grow: 1.45; } }

.h2-panel__heading { margin: 0; font: inherit; }
.h2-panel__toggle { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.h2-panel__toggle:focus-visible { outline: none; box-shadow: inset 0 0 0 3px #fff; border-radius: var(--h-r); }
.h2-panel__name { position: absolute; left: 22px; bottom: 26px; font: 600 clamp(1.15rem, .7rem + .9vw, 1.6rem)/1 var(--h-fd); letter-spacing: -.01em; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; transition: opacity .3s var(--h-ease); }
.h2-panel__count { position: absolute; top: 22px; left: 22px; font: 500 .8rem/1 var(--h-ft); padding: 5px 9px; border-radius: 999px; background: rgb(255 255 255 / .14); }
.h2-panel__mini { position: absolute; left: 50%; bottom: 18%; width: auto; height: 34%; max-width: 76%; object-fit: contain; transform: translateX(-50%); filter: drop-shadow(0 14px 18px rgb(0 0 0 / .35)); transition: transform .7s var(--h-spring), opacity .4s; }
.h2-panel__plus { position: absolute; right: 18px; top: 18px; width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; opacity: .8; transition: transform .5s var(--h-spring); }
@media (hover: hover) { .h2-panel:not(.is-active):hover .h2-panel__mini { transform: translateX(-50%) translateY(-8px) scale(1.06); } .h2-panel:not(.is-active):hover .h2-panel__plus { transform: rotate(90deg); } }
/* active: the toggle collapses into the top bar, the body takes the stage */
.h2-panel.is-active .h2-panel__toggle { inset: 0 auto auto 0; width: auto; height: auto; pointer-events: none; }
.h2-panel.is-active .h2-panel__name, .h2-panel.is-active .h2-panel__mini, .h2-panel.is-active .h2-panel__plus, .h2-panel.is-active .h2-panel__count { opacity: 0; }

.h2-panel__body { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.25fr); gap: clamp(12px, 2vw, 32px); padding: clamp(22px, 2.6vw, 40px); }
.h2-panel__body[hidden] { display: none; }
.h2-panel__copy { display: flex; flex-direction: column; gap: 14px; min-width: 0; align-self: stretch; }
.h2-panel__eyebrow { display: inline-flex; gap: 10px; align-items: center; align-self: flex-start; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgb(255 255 255 / .12); font-size: .85rem; text-decoration: none; }
.h2-panel__eyebrow span:first-child { padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--field); font-weight: 600; }
.h2-panel__model { margin: 6px 0 0; font: 600 clamp(2.1rem, .9rem + 3.4vw, 4.4rem)/.94 var(--h-fd); letter-spacing: -.035em; display: flex; flex-wrap: wrap; column-gap: .28em; }
.h2-w { display: inline-block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.h2-w > span { display: inline-block; }
.h2-panel__product { margin: 0; font-size: .95rem; line-height: 1.4; color: rgb(255 255 255 / .82); max-width: 44ch; }
.h2-panel__product a { text-decoration: none; }
.h2-panel__product a:hover { text-decoration: underline; text-underline-offset: 3px; }
.h2-panel__note { margin: 0; font-size: .85rem; color: rgb(255 255 255 / .64); }
.h2-ctl { display: grid; gap: 8px; }
.h2-ctl__label { font-size: .8rem; color: rgb(255 255 255 / .66); }
.h2-ctl__label strong { color: #fff; font-weight: 600; }
.h2-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.h2-seg__item { min-height: 40px; display: inline-grid; place-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .28); font-size: .85rem; font-weight: 500; text-decoration: none; transition: background .25s, color .25s, border-color .25s; }
.h2-seg__item:hover { border-color: #fff; }
.h2-seg__item.is-on { background: #fff; color: var(--field); border-color: #fff; }
.h2-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.h2-chip { position: relative; width: 36px; height: 36px; border-radius: 50%; background: conic-gradient(from 225deg, var(--c2) 0 50%, var(--c1) 50% 100%); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35); transition: transform .35s var(--h-spring); }
.h2-chip::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; transition: border-color .25s; }
.h2-chip:hover { transform: scale(1.1); }
.h2-chip.is-on::after { border-color: #fff; }
.h2-chip[hidden] { display: none; }
.h2-specs { display: flex; gap: 22px; margin: 0; }
.h2-specs div { display: grid; gap: 2px; }
.h2-specs dt { font-size: .75rem; color: rgb(255 255 255 / .62); }
.h2-specs dd { margin: 0; font: 500 1.35rem/1.1 var(--h-fd); font-variant-numeric: tabular-nums; }
.h2-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: auto; padding-top: 6px; }
.h2-price { margin: 0; font: 500 clamp(1.5rem, 1.1rem + 1vw, 2.15rem)/1 var(--h-fd); letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.h2-buy__btns { display: flex; gap: 8px; }
.h2-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; font: 600 1rem/1 var(--h-ft); text-decoration: none; cursor: pointer; transition: transform .2s var(--h-ease), background .2s, box-shadow .3s; }
.h2-btn--buy { background: #fff; color: #111118; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .6); }
.h2-btn--buy:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgb(0 0 0 / .7); }
.h2-btn--buy:active { transform: translateY(0); }
.h2-btn--buy.is-loading { opacity: .7; }
.h2-btn--buy.is-done { background: #c9f7dc; }
.h2-btn--ghost { background: rgb(255 255 255 / .1); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); }
.h2-btn--ghost:hover { background: rgb(255 255 255 / .18); }
.h2-kit { font-size: .85rem; color: rgb(255 255 255 / .82); }
.h2-kit summary { cursor: pointer; list-style: none; display: inline-flex; gap: 8px; align-items: center; min-height: 32px; }
.h2-kit summary::-webkit-details-marker { display: none; }
.h2-kit summary::after { content: "+"; font-size: 1.1rem; transition: transform .3s var(--h-ease); }
.h2-kit[open] summary::after { transform: rotate(45deg); }
.h2-kit summary span { padding: 1px 8px; border-radius: 999px; background: rgb(255 255 255 / .14); }
.h2-kit ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; list-style: disc; max-height: 9.5em; overflow: auto; }
.h2-panel__all { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-size: .9rem; font-weight: 500; text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid rgb(255 255 255 / .35); }
.h2-panel__all span { color: rgb(255 255 255 / .6); }
.h2-panel__all svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform .3s var(--h-ease); }
.h2-panel__all:hover svg { transform: translateX(4px); }

/* stage: studio turntable + light cone + registration marks */
.h2-stage { position: relative; margin: 0; min-width: 0; min-height: 0; display: grid; place-items: center; perspective: 1100px; }
.h2-stage__cone { position: absolute; left: 14%; right: 14%; top: -12%; bottom: 10%; background: linear-gradient(to bottom, rgb(255 255 255 / .2), rgb(255 255 255 / 0) 78%); clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%); filter: blur(14px); opacity: .9; }
.h2-stage__table { position: absolute; left: 50%; bottom: 7%; width: min(78%, 520px); aspect-ratio: 5 / 1; transform: translateX(-50%); border-radius: 50%; border: 1px solid rgb(255 255 255 / .22); background: radial-gradient(closest-side, rgb(0 0 0 / .42), rgb(0 0 0 / .18) 62%, transparent 100%); }
.h2-stage__marks { position: absolute; inset: 6% 8%; pointer-events: none; }
.h2-stage__marks i { position: absolute; width: 18px; height: 18px; border-color: var(--accent); border-style: solid; border-width: 0; opacity: .75; }
.h2-stage__marks i:nth-child(1) { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.h2-stage__marks i:nth-child(2) { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.h2-stage__marks i:nth-child(3) { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.h2-stage__marks i:nth-child(4) { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.h2-stage__frame { position: relative; display: block; height: 86%; aspect-ratio: var(--r, .6); max-width: 92%; max-height: 92%; transform-style: preserve-3d; transition: transform .6s var(--h-ease); will-change: transform; }
.h2-stage__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 28px rgb(0 0 0 / .42)); }
.h2-stage__img:not(.is-on) { opacity: 0; }
.h2-stage__shine { position: absolute; inset: 0; pointer-events: none; -webkit-mask: var(--cut) center / contain no-repeat; mask: var(--cut) center / contain no-repeat; background: linear-gradient(100deg, transparent 38%, rgb(255 255 255 / .55) 48%, rgb(255 255 255 / .1) 54%, transparent 62%); background-size: 260% 100%; background-position: 130% 0; mix-blend-mode: soft-light; opacity: 0; }

/* entrance choreography (JS adds .is-in after the panel opens; first panel is server-rendered in its final state) */
.h2-panel .h2-panel__copy > *, .h2-panel .h2-stage { transition: opacity .55s var(--h-ease), transform .7s var(--h-ease); }
.h2-panel:not(.is-in) .h2-panel__copy > * { opacity: 0; transform: translateY(18px); }
.h2-panel:not(.is-in) .h2-stage { opacity: 0; transform: translateY(24px) scale(.96); }
.h2-panel.is-in .h2-panel__copy > * { transition-delay: calc(var(--d, 0) * 45ms + 120ms); }
.h2-panel.is-in .h2-stage { transition-delay: 60ms; }
.h2-panel:not(.is-in) .h2-w > span { transform: translateY(105%); }
.h2-w > span { transition: transform .8s var(--h-ease); }
.h2-panel.is-in .h2-w:nth-child(2) > span { transition-delay: 70ms; } .h2-panel.is-in .h2-w:nth-child(3) > span { transition-delay: 140ms; }
.h2-panel.is-shining .h2-stage__shine { animation: h2-shine 1.25s var(--h-ease) .35s 1 both; }
@keyframes h2-shine { 0% { opacity: 0; background-position: 130% 0; } 15% { opacity: 1; } 100% { opacity: 0; background-position: -40% 0; } }
.h2-stage__img.is-entering { animation: h2-in .75s var(--h-ease) both; }
@keyframes h2-in { from { opacity: 0; transform: translateY(26px) scale(.94); filter: blur(10px) drop-shadow(0 30px 28px rgb(0 0 0 / .42)); } to { opacity: 1; transform: none; filter: drop-shadow(0 30px 28px rgb(0 0 0 / .42)); } }
.h2-stage__img.is-leaving { animation: h2-out .32s var(--h-out) both; }
@keyframes h2-out { to { opacity: 0; transform: translateY(-14px) scale(.97); filter: blur(6px); } }

/* colour wipe: circle from the clicked chip */
.h2-panel__wipe { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--wipe, var(--field)); clip-path: circle(0 at var(--wx, 50%) var(--wy, 50%)); }
.h2-panel.is-wiping .h2-panel__wipe { clip-path: circle(150% at var(--wx, 50%) var(--wy, 50%)); transition: clip-path .75s var(--h-ease); }

/* ---------- more categories ---------- */
.h2-more { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 16px 0; }
.h2-more__label { color: var(--h-mute); font-size: .85rem; margin-right: 6px; }
.h2-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--h-ink-3); border: 1px solid var(--h-line); text-decoration: none; font-size: .9rem; transition: border-color .2s, background .2s; }
.h2-pill span { color: var(--h-dim); font-size: .8rem; }
.h2-pill:hover { border-color: var(--h-line-2); background: #20202a; }
.h2-pill--quiet { background: none; }

/* ---------- section heads ---------- */
.h2-sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 40px; margin-bottom: clamp(18px, 2.4vw, 32px); }
.h2-sec-title { margin: 0; font: 500 clamp(1.6rem, 1rem + 2.1vw, 3rem)/1 var(--h-fd); letter-spacing: -.03em; }
.h2-sec-lead { margin: 0; max-width: 52ch; color: var(--h-mute); font-size: .95rem; }

/* ---------- lineups ---------- */
.h2-lineups { padding-block: clamp(64px, 8vw, 120px) clamp(24px, 3vw, 40px); }
.h2-line + .h2-line { margin-top: 28px; }
.h2-line__head { margin-bottom: 12px; }
.h2-line__family { margin: 0; font: 500 .95rem/1 var(--h-ft); color: var(--h-mute); }
.h2-line .t-rail__nav .t-iconbtn { background: var(--h-ink-3); color: #fff; }
.h2-line .t-rail__nav .t-iconbtn:disabled { opacity: .3; }
.h2-line__rail { grid-auto-columns: minmax(250px, 1fr); }
@media (min-width: 1200px) { .h2-line__rail { grid-auto-columns: calc((100% - 3 * var(--t-gutter)) / 4); } }
.h2-model { position: relative; display: grid; grid-template-rows: auto auto auto 1fr; gap: 6px; min-height: 380px; padding: 18px 18px 20px; border-radius: var(--h-r); background: var(--field); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; }
.h2-model::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--h-noise); opacity: .08; mix-blend-mode: overlay; }
.h2-model::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 55% at 50% 32%, rgb(255 255 255 / .14), transparent 70%); }
.h2-model__pic { display: grid; place-items: center; height: 220px; }
.h2-model__pic img { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgb(0 0 0 / .4)); transition: transform .6s var(--h-spring); }
.h2-model:hover .h2-model__pic img { transform: translateY(-8px) scale(1.05); }
.h2-model__title { font: 600 1.08rem/1.2 var(--h-fd); letter-spacing: -.015em; margin-top: 8px; }
.h2-model__meta { font-size: .85rem; color: rgb(255 255 255 / .72); }
.h2-model__price { align-self: end; font: 500 1.2rem/1 var(--h-fd); font-variant-numeric: tabular-nums; }
.h2-model__go { position: absolute; right: 18px; bottom: 18px; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: #fff; fill: none; stroke: var(--field); stroke-width: 2; transition: transform .35s var(--h-spring); }
.h2-model:hover .h2-model__go { transform: translateX(4px) rotate(-12deg); }

/* ---------- shelf ---------- */
.h2-shelf { padding-block: clamp(48px, 6vw, 96px); }
.h2-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.h2-tab { display: inline-flex; align-items: baseline; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--h-line); background: none; color: var(--h-mute); font: 500 1rem/1 var(--h-fd); cursor: pointer; transition: color .25s, background .25s, border-color .25s; }
.h2-tab span { font: 500 .75rem/1 var(--h-ft); color: var(--h-dim); }
.h2-tab:hover { color: #fff; border-color: var(--h-line-2); }
.h2-tab.is-on { background: #fff; color: var(--h-ink); border-color: #fff; }
.h2-tab.is-on span { color: #6e6d7a; }
.h2-shelf__panel { outline: none; }
.h2-shelf__grid { display: grid; gap: 10px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.is-home-v2 .h2-shelf .t-card { border-radius: 20px; font-family: var(--h-ft); color: #15151b; }
.is-home-v2 .h2-shelf .t-card:hover { box-shadow: 0 24px 40px -24px rgb(0 0 0 / .8); }
.is-home-v2 .h2-shelf .t-price__now { font-family: var(--h-fd); font-weight: 500; letter-spacing: -.02em; }
.is-home-v2 .h2-shelf .t-btn--accent { --b: #15151b; --c: #fff; }
.h2-shelf__panel.is-in .t-card { animation: h2-card .6s var(--h-ease) both; }
.h2-shelf__panel.is-in .t-card:nth-child(2) { animation-delay: 40ms; } .h2-shelf__panel.is-in .t-card:nth-child(3) { animation-delay: 80ms; } .h2-shelf__panel.is-in .t-card:nth-child(4) { animation-delay: 120ms; } .h2-shelf__panel.is-in .t-card:nth-child(5) { animation-delay: 160ms; } .h2-shelf__panel.is-in .t-card:nth-child(n+6) { animation-delay: 200ms; }
@keyframes h2-card { from { opacity: 0; transform: translateY(22px); } }

/* ---------- facts & brands ---------- */
.h2-facts__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.h2-facts__list li { display: grid; gap: 6px; padding: 22px; border-radius: 20px; background: var(--h-ink-2); border: 1px solid var(--h-line); }
.h2-facts__list .t-ico { width: 26px; height: 26px; color: #fff; margin-bottom: 6px; }
.h2-facts__list strong { font: 500 1rem/1.25 var(--h-fd); letter-spacing: -.01em; }
.h2-facts__list span { color: var(--h-mute); font-size: .9rem; }
.h2-facts__list a { color: #fff; font-size: .9rem; text-underline-offset: 3px; }
.h2-brands { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 28px; padding-block: clamp(48px, 6vw, 90px); }
.h2-brands a { font: 500 clamp(1.4rem, 1rem + 1.6vw, 2.6rem)/1.15 var(--h-fd); letter-spacing: -.03em; color: #8a8998; text-decoration: none; transition: color .25s; }
.h2-brands a sup { font: 500 .8rem/1 var(--h-ft); margin-left: 4px; vertical-align: super; color: var(--h-mute); }
.h2-brands a:hover { color: #fff; }
.h2-brands .h2-brands__all { font: 500 1rem/1 var(--h-ft); color: var(--h-mute); }

/* ---------- tablet & mobile: the deck becomes a vertical stack of bands ---------- */
@media (max-width: 1023px) {
  .h2-deck__track { flex-direction: column; height: auto; gap: 6px; }
  .h2-panel { flex: none; min-height: 76px; transition: none; }
  .h2-panel.is-active { flex: none; }
  .h2-panel__toggle { position: relative; inset: auto; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; min-height: 76px; padding: 12px 16px 12px 20px; }
  .h2-panel__name { position: static; writing-mode: horizontal-tb; transform: none; font-size: 1.2rem; }
  .h2-panel__count { position: static; justify-self: start; grid-column: 2; }
  .h2-panel__mini { position: static; transform: none; height: 54px; width: 54px; max-width: none; grid-column: 3; grid-row: 1; filter: drop-shadow(0 8px 10px rgb(0 0 0 / .35)); }
  .h2-panel__plus { display: none; }
  .h2-panel.is-active .h2-panel__toggle { position: relative; pointer-events: auto; min-height: 0; padding: 0; height: 0; overflow: hidden; }
  .h2-panel__body { position: relative; inset: auto; grid-template-columns: 1fr; padding: 18px 18px 22px; gap: 4px; }
  .h2-stage { order: -1; height: min(46svh, 420px); }
  .h2-panel__model { font-size: clamp(2rem, 1.2rem + 4vw, 3rem); }
  .h2-buy { margin-top: 6px; }
  .h2-facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h2-shelf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .h2-studio__head { padding-inline: 2px; }
  .h2-panel__copy { gap: 12px; }
  .h2-stage { height: min(42svh, 360px); }
  .h2-buy { justify-content: space-between; }
  .h2-buy__btns { flex: 1 1 100%; }
  .h2-buy__btns .h2-btn { flex: 1; }
  .h2-shelf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .h2-facts__list { grid-template-columns: 1fr; }
  .h2-model { min-height: 330px; }
  .h2-model__pic { height: 180px; }
  .h2-tab { min-height: 44px; padding: 0 14px; font-size: .9rem; }
}

/* ---------- reduced motion: final frames only ---------- */
@media (prefers-reduced-motion: reduce) {
  .h2-panel, .h2-panel__mini, .h2-panel__plus, .h2-w > span, .h2-panel .h2-panel__copy > *, .h2-panel .h2-stage, .h2-stage__frame { transition: none !important; }
  .h2-panel:not(.is-in) .h2-panel__copy > *, .h2-panel:not(.is-in) .h2-stage { opacity: 1; transform: none; }
  .h2-panel:not(.is-in) .h2-w > span { transform: none; }
  .h2-stage__img.is-entering, .h2-stage__img.is-leaving, .h2-panel.is-shining .h2-stage__shine, .h2-shelf__panel.is-in .t-card { animation: none !important; }
  .h2-panel.is-wiping .h2-panel__wipe { transition: none; }
}

/* ---------- pass 2: density, fold, mobile order (09.10) ---------- */
@media (min-width: 1200px) { .h2-studio__title { max-width: none; font-size: 1.15rem; } }
.h2-deck__track { height: clamp(540px, calc(100svh - var(--t-header-h) - 176px), 780px); }
.h2-panel__copy { gap: 12px; }
.h2-panel__model { font-size: clamp(2rem, .9rem + 3vw, 4rem); }
.h2-panel__product { font-size: .92rem; font-weight: 500; color: #fff; }
.h2-panel__note { font-size: .8rem; }
.h2-seg__item { min-height: 36px; padding: 0 12px; font-size: .8rem; }
.h2-chip { width: 30px; height: 30px; }
.h2-chips { gap: 7px; }
.h2-buy { gap: 10px 16px; }
.h2-btn { min-height: 48px; padding: 0 22px; }
.h2-panel__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; }
.h2-kit { position: relative; }
.h2-kit[open] ul { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 4; min-width: 260px; padding: 12px 14px 12px 28px; border-radius: 14px; background: rgb(10 10 14 / .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -20px rgb(0 0 0 / .8); }
.h2-panel__mini { top: 14%; bottom: auto; height: 30%; }
.h2-panel__name { bottom: 22px; }
/* quick bar: phones/tablets only */
.h2-quick { display: none; }
@media (max-width: 1023px) {
  .h2-quick { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px var(--h-gut) 12px; scroll-snap-type: x proximity; }
  .h2-quick::-webkit-scrollbar { display: none; }
  .h2-quick__item { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 14px 4px 6px; border-radius: 999px; background: var(--field); color: #fff; text-decoration: none; font: 600 .9rem/1 var(--h-ft); }
  .h2-quick__item img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; background: rgb(255 255 255 / .1); }
  .h2-panel__copy { display: flex; }
  .h2-panel__eyebrow { order: 0; } .h2-panel__model { order: 1; } .h2-panel__product { order: 2; } .h2-buy { order: 3; margin-top: 4px; } .h2-panel__note { order: 4; } .h2-ctl { order: 5; } .h2-specs { order: 5; } .h2-panel__foot { order: 6; }
  .h2-stage { height: min(34svh, 340px); }
  .h2-kit[open] ul { position: static; min-width: 0; background: none; padding: 6px 0 0 18px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (max-width: 599px) { .h2-studio__head { padding-inline: var(--h-gut); } .h2-studio__title { font-size: 1.05rem; } .h2-studio__meta { font-size: .8rem; } }
@media (max-width: 599px) { .h2-stage { height: min(29svh, 300px); } .h2-panel__body { padding-top: 12px; } .h2-studio { padding-top: 10px; } .h2-studio__head { padding-bottom: 10px; } }
/* lineup picture: absolutely contained (percent heights do not resolve inside an auto grid row) */
.h2-model__pic { position: relative; display: block; }
.h2-model__pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }
@media (max-width: 1023px) { .h2-panel__mini { position: static; top: auto; height: 56px; width: 56px; max-width: none; transform: none; } .h2-panel:not(.is-active):hover .h2-panel__mini { transform: none; } }
/* model name always fits its column: size from the column width and the longest word (Unbounded ≈ .74em per glyph) */
.h2-panel__copy { container-type: inline-size; }
.h2-panel__model { font-size: min(clamp(2rem, .9rem + 3vw, 4rem), calc(100cqi / (var(--len, 7) * .74))); }
.h2-panel.is-in .h2-panel__copy > * { transition-delay: calc(var(--d, 0) * 35ms + 30ms); }
.h2-panel.is-in .h2-stage { transition-delay: 0ms; }
.h2-panel .h2-panel__copy > *, .h2-panel .h2-stage { transition-duration: .45s, .6s; }
/* ---------- pass 3: narrow desktops + snap gutter (09.10) ---------- */
/* the stage's grid area equals the stage box, so the frame's max-width/height clamp to the column instead of growing it */
.h2-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.h2-quick { scroll-padding-inline: var(--h-gut); }
@media (min-width: 1024px) and (max-width: 1279px) {
  .h2-panel.is-active { flex-grow: 8.5; }
  .h2-panel__body { grid-template-columns: minmax(290px, 1.25fr) minmax(0, .85fr); gap: 14px; }
  .h2-panel__note { display: none; }
  .h2-panel__plus { display: none; }
  .h2-panel__count { left: 50%; top: 18px; transform: translateX(-50%); }
}
/* the open panel's body is in flow on desktop, so the deck grows to its content instead of clipping the buy row on short screens */
.h2-deck__track { height: auto; min-height: clamp(540px, calc(100svh - var(--t-header-h) - 176px), 780px); }
@media (min-width: 1024px) {
  .h2-panel.is-active { display: flex; }
  .h2-panel.is-active .h2-panel__body { position: relative; inset: auto; flex: 1 1 auto; min-width: 0; }
}
@media (min-width: 1024px) and (max-width: 1599px) {
  .h2-panel__model { font-size: min(clamp(2rem, .4rem + 2.6vw, 3.4rem), calc(100cqi / (var(--len, 7) * .74))); }
  .h2-panel__note { display: none; }
}
/* the open panel's header button keeps its tab stop (accordion pattern); show focus on the whole panel since the button itself has no visible box */
.h2-panel.is-active:has(.h2-panel__toggle:focus-visible) { outline: 3px solid #fff; outline-offset: -3px; }
.h2-price [data-price] { display: inline-block; }

/* release QA (09.10.2026): white overlays on the dark home keep the theme's dark ink — the light home text colour must not
   leak into the menu drawer, the cart drawer and the search suggestions (before: near-white text on white) */
.is-home-v2 .t-drawer__panel, .is-home-v2 .t-cartdrawer__panel, .is-home-v2 .t-search__panel { color: var(--t-ink); }
