/* category-stack.css — S1 Category banners on the homepage between About and Best Sellers (spec 2026-10-31 §4, #175: Stack · Scale by default): Stack —
   full-width banners stuck under the header, the next slides over (Effect Scale / Parallax, --p from category-stack.js); Panels — three tall
   photos in a row, the active one wider. Markup — sections/category-stack.liquid. */
/* «Eyebrow and link on top» (Artem 2026-11-07: «a good option, but more room between it and the cards; the button on the right needs a hover
   animation; seen and clear, yet not loud») — 32–56 px above the cards (20 before); setting «Top row style»:
   · Line (default) — the eyebrow, a hairline across, «All products ⁵¹ →»: on hover Concept's reversed-link underline draws under the label, the
     arrow steps on and the hairline fills lime from the eyebrow towards the link;
   · Pill — the eyebrow and Concept's secondary button (glass, a light edge) with its hover-link fill, as «See all» on the banners;
   · Heading — a small title (the eyebrow's text) with «3 categories · 51 products» under it, the link with a lime disc that turns on hover. */
.ext-cats__top { position: relative; z-index: 1; display: flex; align-items: center; gap: 1.5rem; margin-bottom: clamp(2rem, 3.2vw, 3.5rem); }
.ext-cats__top-copy { display: grid; gap: .625rem; min-width: 0; }
.ext-cats__eyebrow { white-space: nowrap; } /* the look: the shared .ext-eyebrow (#200); Heading turns it into a small title below */
.ext-cats__top-sub { display: none; font-size: .9375rem; line-height: 1.3; color: rgb(var(--color-foreground) / .55); }
.ext-cats__top-line { flex: 1; min-width: 1.5rem; height: 1px; background: linear-gradient(to right, rgb(var(--color-highlight)) 50%, rgb(var(--color-foreground) / .18) 50%) 100% 0 / 200% 100% no-repeat; transition: background-position .8s cubic-bezier(.22, 1, .36, 1); }
.ext-cats__top-link { flex: none; display: inline-flex; align-items: center; gap: .125rem; margin-left: auto; font-size: 1rem; font-weight: 500; line-height: 1.2; color: rgb(var(--color-foreground)); text-decoration: none; }
.ext-cats__top-count { position: relative; top: -.45em; margin-left: .125rem; font-size: .6875rem; font-weight: 600; line-height: 1; color: rgb(var(--color-foreground) / .55); }
.ext-cats__top-arrow { display: inline-grid; place-items: center; margin-left: .25rem; transition: transform var(--animation-primary), background-color var(--animation-smooth); }
.ext-cats__top-btn { display: none; }
@media (pointer: fine) {
  .ext-cats__top-link:hover .reversed-link { background-position-x: var(--transform-origin-start); background-size: 100% 1px; }
  .ext-cats__top-link:hover .ext-cats__top-arrow { transform: translateX(.25rem); }
  .ext-cats__top:has(.ext-cats__top-link:hover) .ext-cats__top-line { background-position: 0 0; }
}
.ext-cats__top-link:focus-visible .reversed-link { background-position-x: var(--transform-origin-start); background-size: 100% 1px; }
/* Pill */
.ext-cats__top[data-top-style="pill"] :is(.ext-cats__top-line, .ext-cats__top-link) { display: none; }
.ext-cats__top[data-top-style="pill"] .ext-cats__top-btn { --color-button-background: 245 245 244; --color-button-text: 9 9 11; --color-button-border: 63 63 70; display: inline-flex; flex: none; margin-left: auto; width: auto; height: 2.75rem; padding: 0 1.25rem; overflow: hidden; border-radius: var(--rounded-full, 999px); font-size: .9375rem; font-weight: 600; }
.ext-cats__top[data-top-style="pill"] .ext-cats__top-btn .btn-text { gap: .5rem; }
.ext-cats__top[data-top-style="pill"] .ext-cats__top-btn .ext-cats__top-count { margin-left: -.25rem; color: inherit; opacity: .6; }
/* Heading */
.ext-cats__top[data-top-style="heading"] { align-items: flex-end; }
.ext-cats__top[data-top-style="heading"] .ext-cats__top-line { display: none; }
.ext-cats__top[data-top-style="heading"] .ext-cats__eyebrow { font-family: var(--font-heading-family); font-size: clamp(1.75rem, 1rem + 1.4vw, 2.75rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; text-transform: capitalize; color: rgb(var(--color-foreground)); }
.ext-cats__top[data-top-style="heading"] .ext-cats__eyebrow::before { content: none; }
.ext-cats__top[data-top-style="heading"] .ext-cats__top-sub { display: block; }
.ext-cats__top[data-top-style="heading"] .ext-cats__top-arrow { width: 2.75rem; height: 2.75rem; margin-left: .75rem; border-radius: 50%; background: rgb(var(--color-highlight)); color: rgb(9 9 11); }
@media (pointer: fine) { .ext-cats__top[data-top-style="heading"] .ext-cats__top-link:hover .ext-cats__top-arrow { transform: rotate(-45deg); } }
.ext-cats__list { position: relative; z-index: 1; display: grid; gap: 1.5rem; }

/* the banner (Artem 2026-11-03, after the friend's minimal banners): a plain ground per category — sand / lime / graphite, the About strip's
   Principles trio; sand here is sand-400 #cfc8b6, the friend's beige (Artem 2026-11-03: sand-200 read near white) — the outline title with its count and the line under it top
   left (2026-11-04), the subcategory pills (frosted glass) bottom left, «See all» bottom right; the title's link covers the banner; the veil darkens it under the next one (--p) */
.ext-cats__card { --ext-ground: 207 200 182; --color-foreground: 9 9 11; --ext-pad: clamp(1.5rem, 2.6vw, 3rem); position: relative; isolation: isolate; overflow: hidden; border-radius: var(--rounded-block); background: rgb(var(--ext-ground)); color: rgb(var(--color-foreground)); }
.ext-cats__card[data-ground="lime"] { --ext-ground: 190 242 100; }
.ext-cats__card[data-ground="tan"] { --ext-ground: 192 169 137; } /* Sportswear 2026-11-04: Artem's own frame («Two, One Moment»), colour-corrected by him to a warm tan wall — the ground follows his frame instead of grading it to sand-400 */
.ext-cats__card[data-ground="olive"] { --ext-ground: 148 178 79; } /* Equipment 2026-11-04: Artem's own still life («eq-lime-01»), a deeper olive green than our lime — the ground follows his frame, as tan for Sportswear */
.ext-cats__card[data-ground="graphite"] { --ext-ground: var(--color-placeholder); --color-foreground: 245 245 244; }
.ext-cats__card[data-ground="night"] { --ext-ground: 5 10 13; --color-foreground: 245 245 244; } /* Nutrition 2026-11-04: «The Mix» (round 3, Seedream) on a near-black studio, darker than graphite — kept as shot (lifted to graphite it went flat and the black tubs grey), the ground follows the frame, as tan and olive; the dark grounds share graphite's See all and pills; Artem's retouch (2026-11-04, darker): 7 12 17 → 5 10 13 */
.ext-cats__card[data-ground="carbon"] { --ext-ground: 16 17 19; --color-foreground: 245 245 244; } /* All products 2026-11-04: «The Display» (round 2 · 3, Seedream, its mat fixed in GPT) on a dark studio between night and graphite — the ground follows the frame; Artem's retouch (2026-11-04, a soft vignette): 18 19 22 → 16 17 19 */
.ext-cats__card::after { content: ""; position: absolute; inset: 0; z-index: 3; background: rgb(0 0 0); opacity: calc(var(--p, 0) * .55); pointer-events: none; }
/* the photo is the banner's background (Artem 2026-11-03: «blended into the background, as the friend's» → «the background across the whole card, quiet,
   melting into our ground, the text easy to read»): a scene shot in the card's own colour (prompts/16), graded so its haze is the ground; a veil of the
   ground from the left keeps the title and the text on a calm field */
.ext-cats__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; } /* under the text (the card isolates it) */
.ext-cats__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgb(var(--ext-ground) / .6), rgb(var(--ext-ground) / .25) 30%, rgb(var(--ext-ground) / 0) 52%); pointer-events: none; }
.ext-cats__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--ext-focal, 100% 50%); } /* the block's focal point: heads and products whole */
/* Photo parallax (Artem 2026-11-04: «a parallax on the background photo while scrolling»): while a banner comes in from the bottom of the screen
   its photo lags behind — it starts 14 % larger, anchored at its foot, and settles to its set framing as the banner reaches its stick line
   (--e 0 → 1, category-stack.js): the people sink into place slower than the card moves. A plain shift was tried first: it left a strip of
   the ground at the top that didn't match the wall's light. At rest the frame is exactly as set (the people fill its height — no zoom then).
   Setting «Photo parallax» (on by default) — .ext-cats--still turns it off; reduced motion — off. */
.ext-cats__media img { transform: scale(calc(var(--ext-zoom, 1) + (1 - var(--e, 1)) * .14)); transform-origin: 70% 100%; will-change: transform; }
.ext-cats--still .ext-cats__media img { --e: 1; }
/* «See all» (Artem 2026-11-04, round 3: «on the light banners — Sportswear, Equipment — black by default, white on hover; on Nutrition, inverted,
   white by default and an outline on hover, so it doesn't melt in»): Concept's primary button, its own link over the banner's (z-index 2) with
   Concept's hover-link — the fill (.btn-fill, the button-text colour) rises only under the pointer and the text takes the button colour.
   Light grounds: ink with white text → white with ink text (the ink edge stays). Graphite: white with graphite text → the ground's colour with
   a white edge and white text, which reads as an outline. Panels sit on darkened photos: white → ink with a white edge. */
.ext-cats__cta { --color-button-background: 9 9 11; --color-button-text: 255 255 255; --color-button-border: 9 9 11; position: absolute; right: var(--ext-pad); bottom: var(--ext-pad); z-index: 2; width: auto; height: 3.5rem; padding: 0 1.75rem; overflow: hidden; border-radius: var(--rounded-full, 999px); font-size: 1.0625rem; font-weight: 600; }
.ext-cats__cta .btn-text { gap: .625rem; }
.ext-cats__card:is([data-ground="graphite"], [data-ground="night"], [data-ground="carbon"]) .ext-cats__cta { --color-button-background: 255 255 255; --color-button-text: var(--ext-ground); --color-button-border: 255 255 255; }
.ext-cats[data-layout="panels"] .ext-cats__card .ext-cats__cta { --color-button-background: 255 255 255; --color-button-text: 9 9 11; --color-button-border: 255 255 255; } /* Panels: on the darkened photo — white → ink with a white edge */
.ext-cats__content { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 2rem; height: 100%; max-width: calc(50% - var(--ext-pad)); padding: var(--ext-pad); }
.ext-cats__title { font-size: clamp(3.5rem, 1rem + 5.4vw, 8rem); line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: max(1px, .011em) rgb(var(--color-foreground)); transition: color var(--animation-smooth); }
.ext-cats__title a { color: inherit; text-decoration: none; }
.ext-cats__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* the whole banner opens the collection */
.ext-cats__card:hover .ext-cats__title { color: rgb(var(--color-foreground)); }
.ext-cats__count { position: relative; top: .55em; margin-left: .3em; vertical-align: top; font-family: var(--font-body-family); font-size: max(.875rem, .14em); font-weight: 600; line-height: 1; letter-spacing: 0; -webkit-text-stroke: 0; color: rgb(var(--color-foreground)); }
/* the title and the line under it at the top (Artem 2026-11-04, round 2), the pills alone at the bottom */
.ext-cats__head { display: grid; gap: 1.5rem; }
.ext-cats__text { max-width: 26rem; font-size: 1.125rem; line-height: 1.45; color: rgb(var(--color-foreground) / .75); }
/* the subcategories: frosted-glass pills (Artem 2026-11-03) — a light translucent fill and a blur of what is behind, no edge (2026-11-04: «the outline
   looks thicker on top than below» — the inner highlight); on hover a pill of the foreground rises from below and the label leaves upwards, as the
   header menu's Block items (Concept .btn-duplicate) */
.ext-cats__links { display: flex; flex-wrap: wrap; gap: .5rem; }
.ext-cats__link { position: relative; z-index: 2; display: inline-flex; align-items: center; height: 2.75rem; padding: 0 1.25rem; overflow: hidden; border-radius: var(--rounded-full, 999px); background: rgb(255 255 255 / .32); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); font-size: .9375rem; font-weight: 500; white-space: nowrap; color: rgb(var(--color-foreground)); text-decoration: none; }
.ext-cats__link [data-text] { display: block; transition: transform var(--animation-primary), opacity var(--animation-primary); }
.ext-cats__link-fill { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: inherit; background: rgb(var(--color-foreground)); color: rgb(var(--ext-ground)); transform: translateY(100%) scale(.6); transition: transform var(--animation-primary); }
.ext-cats__link:focus-visible .ext-cats__link-fill { transform: none; }
.ext-cats__link:focus-visible [data-text] { opacity: 0; transform: translateY(-10%) scale(.6); }
@media (pointer: fine) {
  .ext-cats__link:hover .ext-cats__link-fill { transform: none; }
  .ext-cats__link:hover [data-text] { opacity: 0; transform: translateY(-10%) scale(.6); }
}
.ext-cats__card:is([data-ground="graphite"], [data-ground="night"], [data-ground="carbon"]) .ext-cats__link { background: rgb(255 255 255 / .1); }

/* All products (Artem 2026-11-04: «the "Shop by category · All products" row — take it off the top, do it differently, maybe at the end of the
   section») — setting «All products», one of (the demo panel switches them):
   · Banner at the end (the default until #194, 2026-11-07 — now «Button at the end») — a fourth banner closes the stack: «All Products» with the catalogue's count over its own frame «The Display»
     (2026-11-04: the catalogue on dark plinths, the clothes on a rail behind — ground carbon), the three categories as its pills, «See all products»;
   · Line at the end — after the stack, over a hairline: the outline «All Products» as large as the banners' titles (it fills on hover, as theirs),
     the line under it and a lime arrow disc on the right that turns on hover; the whole line is the link;
   · Button at the end (default since #194) — Concept's secondary button, an outline «See all products» that comes out from under the last banner (below);
   · Eyebrow and link on top — the old row (eyebrow + All products link) above the stack. */
.ext-cats [hidden] { display: none !important; }
.ext-cats[data-layout="panels"] .ext-cats__card--all { display: none; } /* Panels stay three */
.ext-cats__bar { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem 2rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgb(var(--color-foreground) / .12); color: rgb(var(--color-foreground)); text-decoration: none; }
.ext-cats__bar-title { grid-column: 1; font-size: clamp(3.5rem, 1rem + 5.4vw, 8rem); line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: max(1px, .011em) rgb(var(--color-foreground)); transition: color var(--animation-smooth); }
.ext-cats__bar-text { grid-column: 1; font-size: 1.125rem; line-height: 1.45; color: rgb(var(--color-foreground) / .6); }
.ext-cats__bar-arrow { grid-column: 2; grid-row: 1 / span 2; display: grid; place-items: center; width: clamp(4rem, 6vw, 6.5rem); aspect-ratio: 1; border-radius: 50%; background: rgb(var(--color-highlight)); color: rgb(var(--color-background)); transition: transform var(--animation-primary); }
.ext-cats__bar-arrow .icon { width: 40%; height: 40%; }
@media (pointer: fine) {
  .ext-cats__bar:hover .ext-cats__bar-title { color: rgb(var(--color-foreground)); }
  .ext-cats__bar:hover .ext-cats__bar-arrow { transform: rotate(-45deg); }
}
/* Button at the end (Artem 2026-11-07: «the button should come out from behind the last card as you scroll»): under the stack (z-index 0, the list
   is 1), it starts tucked under the last banner — moved up by its height and the gap — and slides down out from under it as the stack's bottom
   edge rises the last ~280 px (--r 0 → 1, eased, category-stack.js); reduced motion — in place */
.ext-cats__more { --ext-more-gap: 3rem; position: relative; z-index: 0; display: flex; justify-content: center; margin-top: var(--ext-more-gap); }
.ext-cats__more > .button { translate: 0 calc((1 - var(--r, 1)) * (-100% - var(--ext-more-gap))); will-change: translate, scale, opacity; } /* translate, not transform: the scale below would shrink a transform's shift too */
/* the button itself (Artem 2026-11-07: «not solid — an outline, white or muted; and no count, just See all products»): Concept's secondary
   button (glass, a 2 px edge, 56 high, 17 semibold, the arrow 20 — as See all on the banners); colours from the section's scheme; setting
   «Button style»: Muted (default) — the edge foreground 25 %, the text 72 % · White — edge and text foreground; on hover Concept's
   hover-link fill (white) rises and the text turns ink */
.ext-cats__more > .button { --color-button-background: var(--color-foreground); --color-button-text: var(--color-background); --color-button-border: var(--color-foreground); --border-opacity: 1; width: auto; height: 3.5rem; padding: 0 1.75rem; overflow: hidden; border-radius: var(--rounded-full, 999px); font-size: 1.0625rem; font-weight: 600; }
.ext-cats__more > .button .btn-text { gap: .625rem; }
.ext-cats__more[data-more-style="muted"] > .button { --border-opacity: .25; color: rgb(var(--color-foreground) / .72); } /* the scheme's foreground at 25 % (Figma Scheme/foreground-25; 72 72 80 in round 2) and text at 72 % */
.ext-cats__more > .button::after { transition: border-color var(--animation-primary); } /* Concept draws the edge on ::after */
.ext-cats__more[data-more-style="muted"] > .button:is(:hover, :focus-visible) { --border-opacity: 1; } /* Artem 2026-11-07: on hover the edge turns white with the fill, not left grey */
/* fade in (Artem 2026-11-07: «as it comes out from under the card — a fade in, it appears»): its opacity follows --r, a little ahead of the
   slide (full by r ≈ .7), and it grows from .94 — it surfaces rather than just moving */
.ext-cats__more > .button { opacity: min(1, calc(var(--r, 1) * 1.4)); scale: calc(.94 + var(--r, 1) * .06); }

/* Compact All products (Artem 2026-11-07: «as a banner it's one too many — hide it, keep a link to All Products, compact, harmonious, not
   distracting»), four for review:
   · Tab under the stack — a fourth card that never opens: tucked under the last banner, only its bottom strip shows (a card further down the
     pile, a little narrower, as the Scale effect leaves them); the title with its count, the line, a strip of «The Display» on the right and a
     lime disc; on hover it slides out a little, the photo comes up and the disc turns;
   · Sum line — the banners' counts as a sum, 24 + 16 + 11 = 51: each term opens its category, the total opens All products;
   · Quiet link — «Or browse all 51 products» between two hairlines;
   · Floating index — a frosted pill that rides at the bottom of the screen while the stack scrolls (the banner on top lit, a tap brings that
     banner up) and docks under the stack; All products at its end. */
.ext-cats__tab { --ext-ground: 24 25 29; --color-foreground: 245 245 244; --ext-tab-r: var(--rounded-block, 1.5rem); position: relative; z-index: 0; display: flex; align-items: center; gap: 1.5rem 2rem; margin: calc(var(--ext-tab-r) * -1) 2.5% 0; padding: calc(var(--ext-tab-r) + 1.375rem) clamp(1.5rem, 2.6vw, 3rem) 1.375rem; overflow: hidden; isolation: isolate; border-radius: 0 0 var(--ext-tab-r) var(--ext-tab-r); background: rgb(var(--ext-ground)); color: rgb(var(--color-foreground)); text-decoration: none; transition: transform var(--animation-primary); }
.ext-cats__tab[data-ground="sand"] { --ext-ground: 207 200 182; --color-foreground: 9 9 11; }
.ext-cats__tab[data-ground="carbon"] { --ext-ground: 16 17 19; }
.ext-cats__tab-media { position: absolute; inset: 0 0 0 auto; z-index: -1; width: min(46%, 40rem); overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 10%, #000 62%, #000 82%, rgb(0 0 0 / .35)); mask-image: linear-gradient(to right, transparent 10%, #000 62%, #000 82%, rgb(0 0 0 / .35)); opacity: .55; transition: opacity var(--animation-smooth); }
.ext-cats__tab-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 62%; transform: scale(1.45); transform-origin: 100% 62%; transition: transform-origin .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1); } /* larger, from the right: the rail's post slips into the fade */
.ext-cats__tab[data-ground="sand"] .ext-cats__tab-media { opacity: .9; mix-blend-mode: multiply; }
.ext-cats__tab-title { flex: none; font-size: clamp(1.75rem, 1rem + 1.4vw, 2.5rem); line-height: 1; letter-spacing: -.03em; }
.ext-cats__tab-title .ext-cats__count { font-size: .8125rem; top: .2em; }
.ext-cats__tab-text { min-width: 0; font-size: 1rem; line-height: 1.4; color: rgb(var(--color-foreground) / .6); }
.ext-cats__tab-arrow { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; margin-left: auto; border-radius: 50%; background: rgb(var(--color-highlight)); color: rgb(9 9 11); transition: transform var(--animation-primary); }
@media (pointer: fine) {
  .ext-cats__tab:hover { transform: translateY(.5rem); }
  .ext-cats__tab:hover .ext-cats__tab-media { opacity: .85; }
  .ext-cats__tab:hover .ext-cats__tab-media img { transform: scale(1.35); transform-origin: 100% 40%; }
  .ext-cats__tab:hover .ext-cats__tab-arrow { transform: rotate(-45deg); }
}
.ext-cats__tab:focus-visible .ext-cats__tab-arrow { transform: rotate(-45deg); }

.ext-cats__sum { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 2.25rem; border-top: 1px solid rgb(var(--color-foreground) / .12); }
.ext-cats__sum-term { display: grid; justify-items: start; gap: .75rem; color: rgb(var(--color-foreground)); text-decoration: none; }
.ext-cats__sum-num, .ext-cats__sum-op { font-size: clamp(3rem, 1rem + 4.2vw, 6rem); line-height: .85; letter-spacing: -.04em; }
.ext-cats__sum-num { color: transparent; -webkit-text-stroke: max(1px, .011em) rgb(var(--color-foreground)); transition: color var(--animation-smooth); }
.ext-cats__sum-op { font-family: var(--font-heading-family); font-weight: 800; color: rgb(var(--color-foreground) / .28); }
.ext-cats__sum-label { display: inline-flex; align-items: center; gap: .375rem; font-size: .8125rem; font-weight: 500; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--color-foreground) / .6); transition: color var(--animation-smooth); }
.ext-cats__sum-term--all .ext-cats__sum-num { color: rgb(var(--color-foreground)); -webkit-text-stroke: 0; }
.ext-cats__sum-term--all .ext-cats__sum-label { color: rgb(var(--color-highlight)); }
.ext-cats__sum-term--all .ext-cats__sum-label .icon { transition: transform var(--animation-primary); }
@media (pointer: fine) {
  .ext-cats__sum-term:hover .ext-cats__sum-num { color: rgb(var(--color-foreground)); }
  .ext-cats__sum-term:hover .ext-cats__sum-label { color: rgb(var(--color-foreground)); }
  .ext-cats__sum-term--all:hover .ext-cats__sum-num { color: rgb(var(--color-highlight)); }
  .ext-cats__sum-term--all:hover .ext-cats__sum-label { color: rgb(var(--color-highlight)); }
  .ext-cats__sum-term--all:hover .ext-cats__sum-label .icon { transform: translateX(.25rem); }
}

.ext-cats__note { position: relative; z-index: 1; display: flex; align-items: center; gap: 1.5rem; margin-top: 2.5rem; }
.ext-cats__note::before, .ext-cats__note::after { content: ""; flex: 1; height: 1px; background: rgb(var(--color-foreground) / .12); }
.ext-cats__note-link { display: inline-flex; align-items: center; gap: .5rem; font-size: 1rem; font-weight: 500; color: rgb(var(--color-foreground) / .75); text-decoration: underline; text-decoration-color: rgb(var(--color-foreground) / .3); text-underline-offset: .3em; transition: color var(--animation-smooth), text-decoration-color var(--animation-smooth); }
.ext-cats__note-link .icon { transition: transform var(--animation-primary); }
@media (pointer: fine) {
  .ext-cats__note-link:hover { color: rgb(var(--color-foreground)); text-decoration-color: rgb(var(--color-highlight)); }
  .ext-cats__note-link:hover .icon { transform: translateX(.25rem); }
}

.ext-cats__index { position: sticky; bottom: 1.5rem; z-index: 4; display: flex; align-items: center; gap: .375rem; width: max-content; max-width: 100%; margin: 2rem auto 0; padding: .375rem; border-radius: var(--rounded-full, 999px); background: rgb(24 25 29 / .72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), 0 12px 32px rgb(0 0 0 / .35); color: rgb(245 245 244); }
.ext-cats__index-list { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.ext-cats__index-item { display: inline-flex; align-items: center; gap: .5rem; height: 2.5rem; padding: 0 1rem; border-radius: inherit; border-radius: 999px; font-size: .875rem; font-weight: 500; white-space: nowrap; color: rgb(245 245 244 / .7); text-decoration: none; transition: background-color var(--animation-smooth), color var(--animation-smooth); }
.ext-cats__index-num { font-size: .75rem; font-variant-numeric: tabular-nums; color: rgb(245 245 244 / .45); transition: color var(--animation-smooth); }
.ext-cats__index-item[aria-current="true"] { background: rgb(245 245 244); color: rgb(9 9 11); }
.ext-cats__index-item[aria-current="true"] .ext-cats__index-num { color: rgb(9 9 11 / .5); }
.ext-cats__index-all { display: inline-flex; align-items: center; gap: .375rem; height: 2.5rem; margin-left: .25rem; padding: 0 1.125rem; border-radius: 999px; background: rgb(var(--color-highlight)); font-size: .875rem; font-weight: 600; white-space: nowrap; color: rgb(9 9 11); text-decoration: none; }
.ext-cats__index-count { position: relative; top: -.35em; font-size: .6875rem; font-weight: 600; }
.ext-cats__index-all .icon { transition: transform var(--animation-primary); }
@media (pointer: fine) {
  .ext-cats__index-item:not([aria-current="true"]):hover { background: rgb(245 245 244 / .1); color: rgb(245 245 244); }
  .ext-cats__index-all:hover .icon { transform: translateX(.25rem); }
}
.ext-cats[data-layout="panels"] .ext-cats__index { display: none; } /* Panels are one screen — nothing to index */

/* Stack: each banner sticks a step lower than the one before (the edges peek out), as high as the screen allows */
.ext-cats[data-layout="stack"] .ext-cats__card { position: sticky; top: calc(var(--ext-cats-top, 92px) + var(--i) * 16px); height: clamp(32rem, calc(100svh - var(--ext-cats-top, 92px) - 64px), 52rem); transform-origin: 50% 0; will-change: transform; }
.ext-cats[data-layout="stack"][data-effect="scale"] .ext-cats__card { transform: scale(calc(1 - .06 * var(--p, 0))); }
/* Parallax (Osmo): the banners scroll; the one below moves down by half its height as the next covers it — it lags — its photo zooms, its text fades */
.ext-cats[data-layout="stack"][data-effect="parallax"] .ext-cats__list { gap: 0; }
.ext-cats[data-layout="stack"][data-effect="parallax"] .ext-cats__card { position: relative; top: auto; z-index: var(--i); transform: translate3d(0, calc(var(--p, 0) * 50%), 0); }
.ext-cats[data-layout="stack"][data-effect="parallax"] .ext-cats__card + .ext-cats__card { margin-top: calc(var(--rounded-block) * -1); }
.ext-cats[data-effect="parallax"] .ext-cats__media img { --ext-zoom: calc(1 + .12 * var(--p, 0)); }
.ext-cats[data-effect="parallax"] :is(.ext-cats__content, .ext-cats__cta) { opacity: calc(1 - var(--p, 0) * 1.2); }

/* Panels: one screen, three tall photos; the active one (hover / focus; the first by default) widens and shows its text and links */
.ext-cats[data-layout="panels"] .ext-cats__list { display: flex; gap: 1rem; height: clamp(32rem, calc(100svh - var(--ext-cats-top, 92px) - 96px), 46rem); }
.ext-cats[data-layout="panels"] .ext-cats__card { --color-foreground: 245 245 244; flex: 1 1 0; min-width: 0; container-type: inline-size; transition: flex-grow .6s cubic-bezier(.22, 1, .36, 1); }
.ext-cats[data-layout="panels"] .ext-cats__card[data-active] { flex-grow: 2.4; }
.ext-cats[data-layout="panels"] .ext-cats__media { z-index: -1; }
.ext-cats[data-layout="panels"] .ext-cats__media::before { content: none; }
.ext-cats[data-layout="panels"] .ext-cats__media img { object-position: 75% 50%; }
.ext-cats[data-layout="panels"] .ext-cats__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .7), rgb(0 0 0 / .1) 55%, rgb(0 0 0 / .25)); }
.ext-cats[data-layout="panels"] .ext-cats__content { max-width: none; }
/* the title follows the panel's width (a narrow panel keeps «Equipment» whole), solid in the active one */
.ext-cats[data-layout="panels"] .ext-cats__title { font-size: clamp(2rem, 12.5cqi, 5.5rem); white-space: nowrap; transition: color var(--animation-smooth), font-size .6s cubic-bezier(.22, 1, .36, 1); }
.ext-cats[data-layout="panels"] .ext-cats__card[data-active] .ext-cats__title { color: rgb(var(--color-foreground)); }
.ext-cats[data-layout="panels"] :is(.ext-cats__text, .ext-cats__links, .ext-cats__cta) { transition: opacity .4s; }
.ext-cats[data-layout="panels"] .ext-cats__card:not([data-active]) :is(.ext-cats__text, .ext-cats__links, .ext-cats__cta) { opacity: 0; visibility: hidden; }

@media screen and (max-width: 767px) {
  .ext-cats__list { gap: 1rem; }
  /* phones: the title and the line, the links, then the photo full width and flush with the card's bottom (the figures cut by it, as on desktop) */
  .ext-cats__card { --ext-pad: 1.25rem; display: flex; flex-direction: column; gap: 1rem; padding: var(--ext-pad) var(--ext-pad) 0; }
  .ext-cats__content { display: contents; }
  .ext-cats__title { font-size: clamp(2.75rem, 13vw, 4rem); }
  .ext-cats__title, .ext-cats__bar-title { color: rgb(var(--color-foreground)); } /* #188 (Artem 2026-11-05): filled on phones — the hover state (no hover there) */
  .ext-cats__head { order: 1; gap: 1rem; }
  .ext-cats__links { order: 2; }
  .ext-cats__media { position: relative; inset: auto; order: 3; width: calc(100% + var(--ext-pad) * 2); margin: 0 calc(var(--ext-pad) * -1); aspect-ratio: 4 / 3; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%); mask-image: linear-gradient(to bottom, transparent, #000 8%); }
  .ext-cats__media::before { content: none; }
  .ext-cats__links { gap: .375rem; }
  .ext-cats__link { height: 2.375rem; padding: 0 1rem; font-size: .875rem; }
  .ext-cats__media img { object-position: 78% 100%; }
  .ext-cats__cta { display: none; } /* it would sit on a face; the whole banner opens the collection */
  .ext-cats__text { font-size: 1rem; }
  .ext-cats[data-layout="stack"] .ext-cats__card { height: auto; top: calc(var(--ext-cats-top, 64px) + var(--i) * 10px); }
  /* «Mobile layout» Photo on top (default; Artem 2026-11-04: «the photo on top, then a light divider, below it the title and the subcategories —
     the pills a little smaller»; round 2: «the divider against the picture, bigger paddings where the title is»): the photo flush with the
     banner's top and sides (no fade), a hairline of the foreground along its bottom edge, full width; under it the title, the line and the pills
     (32 px, 13 px text — 38 / 14 before) with 28 px at the sides and 32 px above and below; Text on top — the order above (the photo at the bottom) */
  .ext-cats[data-layout="stack"][data-mobile="photo-top"] .ext-cats__card { --ext-pad: 1.75rem; gap: 0; padding: 0 var(--ext-pad) 2rem; }
  .ext-cats[data-layout="stack"][data-mobile="photo-top"] .ext-cats__media { order: 0; border-bottom: 1px solid rgb(var(--color-foreground) / .16); -webkit-mask-image: none; mask-image: none; }
  .ext-cats[data-layout="stack"][data-mobile="photo-top"] .ext-cats__head { order: 1; padding-top: 2rem; }
  .ext-cats[data-layout="stack"][data-mobile="photo-top"] .ext-cats__title { font-size: clamp(2.5rem, 12vw, 3.75rem); } /* the wider padding: «All Products» and its count stay on one line (46.8 px at 390; 50.7 before) */
  @media (max-width: 349px) { .ext-cats[data-layout="stack"][data-mobile="photo-top"] .ext-cats__title { font-size: 11vw; } } /* 320: 35 px, still one line */
  .ext-cats[data-layout="stack"][data-mobile="photo-top"] .ext-cats__links { order: 2; margin-top: 1rem; }
  .ext-cats[data-layout="stack"][data-mobile="photo-top"] .ext-cats__link { height: 2rem; padding: 0 .875rem; font-size: .8125rem; }
  /* Panels on a phone: the photos one under another, each with its text */
  .ext-cats[data-layout="panels"] .ext-cats__list { flex-direction: column; height: auto; }
  .ext-cats[data-layout="panels"] .ext-cats__card { display: block; aspect-ratio: 4 / 5; flex: none; padding: 0; }
  .ext-cats[data-layout="panels"] .ext-cats__content { display: flex; height: 100%; padding: var(--ext-pad); }
  .ext-cats[data-layout="panels"] .ext-cats__media { position: absolute; inset: 0; width: auto; margin: 0; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
  .ext-cats[data-layout="panels"] .ext-cats__card:not([data-active]) :is(.ext-cats__text, .ext-cats__links) { opacity: 1; visibility: visible; }
}
@media screen and (max-width: 767px) {
  .ext-cats__bar { margin-top: 2rem; padding-top: 1.5rem; gap: .75rem 1rem; }
  .ext-cats__bar-title { font-size: clamp(2.25rem, 10vw, 4rem); white-space: nowrap; } /* «All Products» on one line beside the disc */
  .ext-cats__bar-text { font-size: 1rem; }
  .ext-cats__more { --ext-more-gap: 2rem; }
  .ext-cats__top { gap: 1rem; margin-bottom: 1.75rem; }
  .ext-cats__top-link { font-size: .9375rem; }
  .ext-cats__top[data-top-style="pill"] .ext-cats__top-btn { height: 2.5rem; padding: 0 1rem; font-size: .875rem; }
  .ext-cats__top[data-top-style="heading"] .ext-cats__eyebrow { font-size: 1.75rem; }
  .ext-cats__top[data-top-style="heading"] .ext-cats__top-sub { font-size: .875rem; }
  .ext-cats__top[data-top-style="heading"] .ext-cats__top-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* phones: the disc alone (the counts say what it opens), the label for screen readers */
  .ext-cats__top[data-top-style="heading"] .ext-cats__top-count { display: none; }
  .ext-cats__top[data-top-style="heading"] .ext-cats__top-arrow { width: 3rem; height: 3rem; margin: 0; }
  .ext-cats__more { margin-bottom: 2.25rem; } /* Artem 2026-11-08: «more room after it before the next section» */
  .ext-cats__more > .button { height: 3rem; padding: 0 1.5rem; font-size: 1rem; } /* Artem 2026-11-08: «too big on phones — not full width» (was width: 100%): as wide as its text, a step smaller */
  /* compact All products on phones: the tab — the title, the photo strip and the disc (no line); the sum — the numbers on one line, only the
     total keeps its label; the index — numbers only, the banner on top shows its name */
  .ext-cats__tab { gap: 1rem; margin-inline: 4%; padding: calc(var(--ext-tab-r) + 1.125rem) 1.25rem 1.125rem; }
  .ext-cats__tab-text { display: none; }
  .ext-cats__tab-media { width: 62%; }
  .ext-cats__tab-title { font-size: 1.625rem; }
  .ext-cats__tab-arrow { width: 2.5rem; height: 2.5rem; }
  .ext-cats__sum { gap: .25rem; margin-top: 2rem; padding: 1.5rem 0 1.75rem; }
  .ext-cats__sum-num, .ext-cats__sum-op { font-size: 11vw; white-space: nowrap; }
  .ext-cats__sum-term:not(.ext-cats__sum-term--all) .ext-cats__sum-label { display: none; }
  .ext-cats__sum-term--all { position: relative; }
  .ext-cats__sum-term--all .ext-cats__sum-label { position: absolute; top: calc(100% + .625rem); right: 0; font-size: .75rem; white-space: nowrap; } /* under the total, right-aligned — it doesn't widen the term */
  .ext-cats__note { gap: 1rem; margin-top: 2rem; }
  .ext-cats__note-link { font-size: .9375rem; }
  .ext-cats__index { bottom: 1rem; margin-top: 1.5rem; transition: bottom var(--animation-primary); }
  :is(.header-sticky.header-hidden ~ .mobile-dock-section, .mobile-dock-section.active) ~ .page-container .ext-cats__index { bottom: calc(.75rem + var(--mobile-dock-height, 0px)); } /* above Concept's mobile dock when it slides in, as its own sticky bars (mobile-dock.css) */
  .ext-cats__index-item { height: 2.25rem; padding: 0 .75rem; }
  .ext-cats__index-item:not([aria-current="true"]) .ext-cats__index-name { display: none; }
  .ext-cats__index-all { height: 2.25rem; padding: 0 .875rem; font-size: .8125rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ext-cats__card { transform: none !important; }
  .ext-cats__card::after { opacity: 0; }
}
