/** Shopify CDN: Minification failed

Line 26:2 Unexpected "}"

**/
/* Theme styles (moved out of snippets/theme-styles.liquid so browsers cache them between pages instead of reading ~250 KB inline on every page). Plain CSS, no Liquid: settings-driven variables stay inline in that snippet. */
  :root[data-color-mode='light'] {
    color-scheme: light;
    --color-surface: #f1f1f1;
    --color-surface-secondary: #ffffff;
    --color-on-surface: #1a1a1a;
    --color-on-surface-secondary: #616161;
    --color-border: #e3e3e3;
    --color-accent: var(--color-ripsaw-red);
    --color-sale: var(--color-success);
    --color-critical: var(--color-ripsaw-red);
    --color-compare: #6b7280;
    --color-success-surface: #cdfee1;
    --color-on-success-surface: #0c5132;
    --color-info-surface: #e0f0ff;
    --color-on-info-surface: #00527c;
    --color-critical-surface: #fedad9;
    --color-on-critical-surface: #8e0b21;
    --shadow-card: 0 1px 0 0 rgb(26 26 26 / 0.07), inset 0 -1px 0 0 rgb(0 0 0 / 0.08), inset 0 0 0 1px rgb(0 0 0 / 0.05);
  }
  }
  /* iPhone/iPad light/dark switch (s-color-mode-toggle): an in-page colour cross-fade instead of a view transition,
     so no strip of the other mode shows behind Safari's address bar. The palette colours themselves fade on <html>
     (registered as colours so they can animate), so every element, icons included, shows the same in-between colour
     each frame and nothing lags behind. Elements' own transitions are paused for the moment so none add a delay. */
  @property --color-surface { syntax: '<color>'; inherits: true; initial-value: #111111; }
  @property --color-surface-secondary { syntax: '<color>'; inherits: true; initial-value: #1c1c1c; }
  @property --color-on-surface { syntax: '<color>'; inherits: true; initial-value: #f1f1f1; }
  @property --color-on-surface-secondary { syntax: '<color>'; inherits: true; initial-value: #a1a1a1; }
  @property --color-border { syntax: '<color>'; inherits: true; initial-value: #303030; }
  @property --color-success-surface { syntax: '<color>'; inherits: true; initial-value: transparent; }
  @property --color-on-success-surface { syntax: '<color>'; inherits: true; initial-value: #000000; }
  @property --color-info-surface { syntax: '<color>'; inherits: true; initial-value: transparent; }
  @property --color-on-info-surface { syntax: '<color>'; inherits: true; initial-value: #000000; }
  @property --color-critical-surface { syntax: '<color>'; inherits: true; initial-value: transparent; }
  @property --color-on-critical-surface { syntax: '<color>'; inherits: true; initial-value: #000000; }
  html.color-mode-fade {
    transition: --color-surface 0.4s ease, --color-surface-secondary 0.4s ease, --color-on-surface 0.4s ease,
      --color-on-surface-secondary 0.4s ease, --color-border 0.4s ease, --color-success-surface 0.4s ease,
      --color-on-success-surface 0.4s ease, --color-info-surface 0.4s ease, --color-on-info-surface 0.4s ease,
      --color-critical-surface 0.4s ease, --color-on-critical-surface 0.4s ease;
  }
  html.color-mode-fade *,
  html.color-mode-fade *::before,
  html.color-mode-fade *::after {
    transition: none !important;
  }
  /* Collection header card: no rise-in on a refresh or back/forward visit (the page opens where you were). It
     moves the whole card, and the pinned mini bar inside it, so a collapsed bar would slide and then snap. */
  html[data-restored] s-sticky-panel:has([data-cap-box]) {
    animation: none !important;
  }
  /* Phone / tablet filter drawer: sized to the screen you can actually see, so Safari's toolbar never covers its
     Show results button, and as wide as the page beside any scroll bar (100vw could push the close X off screen). */
  @media (max-width: 63.98rem) {
    dialog[id$='filter-drawer'] {
      height: 100dvh !important;
      max-height: 100dvh !important;
    }
  }
  @media (max-width: 479.98px) {
    dialog[id$='filter-drawer'] {
      width: 100% !important;
      max-width: 100% !important;
    }
  }
  /* Phone cart drawer: it's screen-wide, but pinned to the right it lined up with the page's right edge, and iOS Safari
     puts that edge past the screen whenever anything on the page is slightly too wide, pushing the close X off screen.
     Pinned left at 100% (the width beside any scroll bar, unlike 100vw which ran under it) it fits exactly; it still slides in from the right. */
  @media (max-width: 479.98px) {
    #cart-drawer {
      /* A little inside the screen's edges (0.5rem each side), so it reads as a card over the page. The exact px come
         from s-cart-pop.js (same values, so its pointer still lines up with the bag icon). */
      inset-inline-start: var(--pop-left, 0.5rem) !important;
      inset-inline-end: auto !important;
      width: var(--pop-w, calc(100% - 1rem)) !important;
      max-width: calc(100% - 1rem) !important;
    }
  }
  /* Compact collection bar: page-coloured fill around the frosted card's rounded top corners (with the strip
     above it), so nothing scrolling underneath ever shows between the header and the bar. */
  .pin-corner {
    position: absolute;
    top: 0.375rem;
    width: var(--radius-xl, 0.75rem);
    height: var(--radius-xl, 0.75rem);
    pointer-events: none;
    opacity: 0;
  }
  .pin-corner-start {
    left: 0;
    background: radial-gradient(circle at 100% 100%, transparent calc(var(--radius-xl, 0.75rem) - 0.5px), var(--color-surface) var(--radius-xl, 0.75rem));
  }
  .pin-corner-end {
    right: 0;
    background: radial-gradient(circle at 0 100%, transparent calc(var(--radius-xl, 0.75rem) - 0.5px), var(--color-surface) var(--radius-xl, 0.75rem));
  }
  /* Until the page has settled after a load / reload, the filter sidebar doesn't animate its pinned position. */
  :root:not([data-pin-ready]) s-dialog[data-filter-sidebar] {
    transition: none !important;
  }
  /* The filter sidebar stays invisible until it has been sized (inline script right after the products in
     templates/collection.liquid, then s-filter-panel.js), so the first paint never shows it too tall. Failsafe 1.5s. */
  @media (min-width: 64rem) {
    s-dialog[data-filter-sidebar]:not([data-fitted]) {
      opacity: 0;
      animation: filter-sidebar-failsafe 0s 1.5s forwards;
    }
  }
  @keyframes filter-sidebar-failsafe {
    to {
      opacity: 1;
    }
  }
  /* Glass dropdowns (s-glass-select.js): the real select stays (invisible, same size) under a button that
     opens a frosted macOS / iOS style menu in the top layer. */
  .glass-select-native {
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .glass-select-trigger {
    position: absolute;
    inset: 0;
    width: 100%;
    display: flex;
    align-items: center;
    text-align: start;
    white-space: nowrap;
    /* No grey flash or pressed look when a finger just scrolls across it: on touch it reacts only to a real tap
       (its menu opening is the feedback). */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  }
  @media (hover: hover) and (pointer: fine) {
    .glass-select-trigger:hover {
      border-color: var(--color-on-surface-secondary);
    }
    .glass-select-trigger:active {
      transform: scale(0.97);
    }
  }
  s-glass-select[data-open] .glass-select-trigger {
    border-color: var(--color-accent);
    box-shadow: none; /* just the red outline: no second glow ring around it */
  }
  s-glass-select > span[aria-hidden='true'] {
    z-index: 1;
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  }
  s-glass-select[data-open] > span[aria-hidden='true'] {
    transform: rotate(180deg);
  }
  .glass-select-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .glass-menu {
    /* Sits inside its button's box (s-glass-select.js places it), so it moves with the button in the same frame. It stays drawn while the mini bar swaps the button (visibility), then moves into the twin. */
    position: absolute;
    z-index: 60;
    visibility: visible;
    pointer-events: auto;
    inset: auto;
    margin: 0;
    max-width: min(20rem, calc(100vw - 1rem));
    overflow: hidden; /* the inner list scrolls (.glass-menu-scroll), so the scroll bar can sit on the glass */
    padding: 0;
    border-radius: 14px;
    border: 0.5px solid color-mix(in srgb, #fff 16%, transparent);
    background: color-mix(in srgb, var(--color-surface-secondary) 48%, transparent);
    -webkit-backdrop-filter: blur(13px) saturate(180%);
    backdrop-filter: blur(13px) saturate(180%);
    box-shadow:
      inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent),
      inset 0 0 0 0.5px color-mix(in srgb, #fff 6%, transparent),
      0 1px 2px rgb(0 0 0 / 0.25),
      0 18px 48px -10px rgb(0 0 0 / 0.55);
    color: var(--color-on-surface);
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
    scrollbar-width: none;
  }
  /* Home hero height: near-square on phones so wide photos and the video crop much less; tall (78svh) from 40rem up. Content can still grow a slide. */
  /* Compact (phone) hero whenever the tall slide would be too narrow for the video: below 40rem, or on any screen
     narrower than about 21:20 (tablets in portrait, narrow windows), where a 78svh slide would crop the sides of a
     16:9 video and cut off the RIPSAW logo at its end. Compact = shorter (about 2:1 on tablets, near-square on phones),
     no pillar panel, no arrows (swipe and dots stay). Tall from 40rem up on screens wider than 21:20. */
  .home-hero { --hero-h: min(78svh, max(22rem, 50vw)); }
  @media (min-width: 40rem) and (min-aspect-ratio: 21/20) { .home-hero { --hero-h: 78svh; } }
  /* Desktop / landscape tablet hero: every text size about 12% larger (headings, body, labels, pillar panel, buttons).
     Phones and the compact layout keep their sizes. */
  @media (min-width: 40rem) and (min-aspect-ratio: 21/20) {
    .home-hero .type-display { font-size: 3.375rem; }
    .home-hero .type-body-lg { font-size: calc(var(--type-paragraph-lg-size) * 1.12); }
    .home-hero .type-body { font-size: calc(var(--type-paragraph-size) * 1.12); }
    .home-hero .type-body-sm { font-size: calc(var(--type-paragraph-sm-size) * 1.12); }
    .home-hero :is(a, button).text-sm { font-size: 0.98rem; }
  }
  @media (min-width: 64rem) and (min-aspect-ratio: 21/20) {
    .home-hero .type-display { font-size: 5rem; }
  }
  /* Hero collages (snippets/hero-collage, s-hero-collage.js): 3 to 6 photos laid out on a 12 x 6 grid in one of
     several uneven arrangements (picked per visit by the script), each photo covering its tile. Tiles are tilted a
     little (--rot), slightly enlarged so they overlap their neighbours and the card's edges (no gaps), stacked
     (--z), and framed with a thin light border and a shadow, like prints laid on a table. Static: only the photo
     inside drifts and pops. */
  .home-hero .hero-collage > .hero-tile {
    rotate: var(--rot, 0deg);
    scale: var(--grow, 1.07);
    z-index: var(--z, 1);
    border-radius: 0.5rem;
    box-shadow: 0 0 0 3px rgb(255 255 255 / 0.85), 0 10px 28px rgb(0 0 0 / 0.45);
  }
  /* Solid white backing on each collage tile and photo, so a transparent (cut-out PNG) photo never shows the
     overlapping tile or the card behind it, and during a pop-in a transparent incoming photo hides the outgoing one.
     White matches the backgrounds of the store's product photography. */
  .home-hero .hero-collage > .hero-tile, .home-hero .hero-tile > img { background-color: #fff; }
  .home-hero [data-collage-tile][hidden] { display: none !important; }
  /* Phones: smaller tiles, so less enlargement (less zoom) and a gentler tilt, still enough to cover the edges. */
  @media (width < 48rem) { .home-hero .hero-collage > .hero-tile { scale: var(--grow-sm, 1.035); rotate: calc(var(--rot, 0deg) * 0.6); } }
  /* Slow drift on every collage photo while its slide is on screen (`scale`, so the pop-in's transform can't clash);
     tiles start at different points so they never move in step. */
  @keyframes hero-collage-drift { from { scale: 1; } to { scale: 1.07; } }
  @media (prefers-reduced-motion: no-preference) {
    .home-hero .hero-tile > img { animation: hero-collage-drift 14s ease-in-out infinite alternate; animation-delay: calc(var(--tile, 0) * -4.5s); animation-play-state: paused; }
    .home-hero s-hero-collage[data-visible] .hero-tile > img { animation-play-state: running; }
  }
  @media (max-width: 39.999rem), (max-aspect-ratio: 20.99/20) {
    /* Collage slides: the collage is the picture area itself. It grows to fill all the space above the text (the
       panel keeps its natural height at the bottom) and runs 4.5rem down behind the panel s clear top, so the photos
       reach right down to the label and title instead of stopping at a fixed band. Same pattern as the video slide. */
    .home-hero .hero-card:has(> s-hero-collage)::before { display: none; }
    .home-hero .hero-card.hero-card > s-hero-collage.hero-collage.hero-collage { position: relative !important; inset: auto !important; z-index: 0; flex: 1 1 auto; height: auto !important; min-height: calc(var(--hero-band) + 2rem); margin-bottom: -4.5rem; }
    .home-hero .hero-card:has(> s-hero-collage) > div.relative { flex: none; }
  }
  /* "The Ripsaw standard" (templates/index.liquid, slide 1): an inline R / I / P tagline under the button, no panel.
     Wide screens: small label, then three items in a row (red letter, title, short description). Below 64rem and in the
     compact layout: one slim line of the same three columns (letter + title), label and descriptions hidden. */
  .home-hero .hero-rip { display: flex; flex-direction: column; gap: 0.625rem; padding-top: 0.75rem; }
  .home-hero .hero-rip__label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--color-interactive-text) 70%, transparent); }
  /* Three equal columns (letters, titles and descriptions line up), as wide as the description above. Each item is a
     fixed letter column + text, so every title starts at the same offset from its letter. */
  .home-hero .hero-rip { max-width: 38rem; }
  .home-hero .hero-rip__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.5rem; }
  .home-hero .hero-rip__list > li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); column-gap: 0.5rem; align-items: baseline; }
  .home-hero .hero-rip__letter { font-family: var(--font-heading); font-weight: 700; font-size: 1.75rem; line-height: 1; letter-spacing: -0.02em; color: var(--color-accent); text-align: center; }
  .home-hero .hero-rip__text { display: flex; flex-direction: column; gap: 0.125rem; min-width: 0; }
  .home-hero .hero-rip__title { font-weight: 600; line-height: 1.2; color: var(--color-interactive-text); }
  .home-hero .hero-rip__body { line-height: 1.35; color: color-mix(in srgb, var(--color-interactive-text) 78%, transparent); }
  @media (max-width: 63.999rem), (max-aspect-ratio: 20.99/20) {
    .home-hero .hero-rip { padding-top: 0.125rem; }
    .home-hero .hero-rip__label, .home-hero .hero-rip__body { display: none; }
    .home-hero .hero-rip { max-width: 24rem; }
    .home-hero .hero-rip__list { column-gap: 0.75rem; }
    .home-hero .hero-rip__list > li { grid-template-columns: 0.75rem minmax(0, 1fr); column-gap: 0.3125rem; }
    .home-hero .hero-rip__letter { font-size: 0.875rem; }
    .home-hero .hero-rip__title { font-size: 0.8125rem; font-weight: 500; }
  }
  /* Very narrow phones (under ~350px): a touch smaller so "Performance" still fits its column. */
  @media (max-width: 21.9rem) {
    .home-hero .hero-rip__list { column-gap: 0.5rem; }
    .home-hero .hero-rip__list > li { grid-template-columns: 0.625rem minmax(0, 1fr); column-gap: 0.25rem; }
    .home-hero .hero-rip__title { font-size: 0.75rem; }
  }
  /* Phone panel in light mode: Ripsaw red letters (stronger contrast on the light panel than signal red). */
  @media (max-width: 39.999rem), (max-aspect-ratio: 20.99/20) {
    :root[data-color-mode='light'] .home-hero .hero-rip__letter { color: var(--color-interactive); }
  }
  .home-hero .hero-card { min-height: var(--hero-h); }
  /* Video sound button: starts centred on the video as a labelled pill so visitors see there's audio; the first unmute
     moves it to the corner (s-video-sound removes data-centered and glides it there with a transform). */
  .home-hero s-video-sound[data-centered] { inset: 0; margin: auto; width: max-content; height: max-content; }
  .home-hero s-video-sound [data-sound-hint] { display: none; }
  .home-hero s-video-sound[data-centered] [data-sound-hint] { display: inline; }
  .home-hero s-video-sound[data-centered] button { width: auto !important; height: 3.25rem !important; padding-inline: 1.25rem 1.375rem; gap: 0.5rem; font-weight: 600; font-size: 0.9375rem; display: inline-flex; align-items: center; }
  /* Compact hero (same switch as --hero-h): the copy fills most of the short slide, so the pill sits top-centre, smaller, clear of the heading. */
  @media (max-width: 39.999rem), (max-aspect-ratio: 20.99/20) {
    .home-hero s-video-sound[data-centered] { inset: 0.75rem 0 auto 0; }
    .home-hero s-video-sound[data-centered] button { height: 2.5rem !important; padding-inline: 0.875rem 1rem; gap: 0.375rem; font-size: 0.8125rem; }
    .home-hero s-video-sound[data-centered] svg { width: 1.125rem; height: 1.125rem; }
  }
  /* Hero video wrapper: on desktop it simply covers the card behind the copy (as the video did before). */
  .home-hero .hero-video-area { position: absolute; inset: 0; z-index: -10; }
  .home-hero .hero-video-glow { display: none; }
  /* Compact hero (phones, portrait tablets, narrow windows): the card fills the screen under the header, leaving just
     the top of the next section's title peeking in (--hero-peek = that section's top padding + card padding + ~1.25rem
     of title). The photo/video fills the whole card; the text sits at the bottom on a panel that fades in from clear,
     so the picture runs into and under the title like on desktop, while the full description and buttons stay on
     solid ground. A slide with more copy than fits grows. */
  @media (max-width: 39.999rem), (max-aspect-ratio: 20.99/20) {
    /* Card height is set by the hero video: its full 16:9 frame at the card's width (so the RIPSAW logo at the end is
       always in view), with the text panel starting where the video's last part fades out. The other slides share that
       height and keep the same full-bleed photo + fade styling. Extra copy height goes to the panel bottom (dots). */
    .home-hero s-slideshow { container-type: inline-size; }
    .home-hero { --hero-h: 0px; --hero-fade: 6rem; --hero-band: calc(100cqw * 9 / 16); }
    .home-hero .hero-card { justify-content: flex-start !important; background-color: var(--color-surface-secondary); }
    .home-hero .hero-card::before { content: ""; display: block; flex: none; width: 100%; height: max(0px, calc(var(--hero-band) - var(--hero-fade) + 2rem)); }
    .home-hero .hero-card > :is(img, [class*="inset-0"]):not(div.pointer-events-none) { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; min-height: 0; z-index: 0; }
    .home-hero .hero-card > s-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    /* The video box fills the whole card like the photos (cover; sides crop), running down behind the text into the dark bottom.
       (Earlier: exactly the 16:9 band.) Must outrank the full-card media rule above (doubled
       .hero-card), and keys off the video itself so the touch-loop copies (which drop data-hero-video) match too. */
    .home-hero .hero-card.hero-card > s-video:has(video):not(div.pointer-events-none) { inset: 0 !important; height: 100% !important; }
    .home-hero .hero-card > div.pointer-events-none[aria-hidden] { display: none; }
    /* Panel: clear at its top, eased to solid over --hero-fade; the title sits in the lower part of that fade. */
    .home-hero .hero-card > div.relative { flex: 1 1 auto; padding: calc(var(--hero-fade) - 2rem) 1.25rem 3.25rem !important; gap: 0.75rem; text-shadow: none; max-width: none; z-index: 1;
      background: linear-gradient(to bottom,
        color-mix(in srgb, var(--color-surface-secondary) 0%, transparent) 0,
        color-mix(in srgb, var(--color-surface-secondary) 12%, transparent) calc(var(--hero-fade) * 0.25),
        color-mix(in srgb, var(--color-surface-secondary) 38%, transparent) calc(var(--hero-fade) * 0.5),
        color-mix(in srgb, var(--color-surface-secondary) 70%, transparent) calc(var(--hero-fade) * 0.72),
        color-mix(in srgb, var(--color-surface-secondary) 92%, transparent) calc(var(--hero-fade) * 0.9),
        var(--color-surface-secondary) calc(var(--hero-fade) + 1rem)); }
    .home-hero .hero-card > div.relative :is(h1, h2, h3, p, div):not(a, a *, button, button *) { color: var(--color-on-surface); text-shadow: none; }
    /* Lighter panel: the picture stays visible behind the title and description and only turns near-solid toward the
       buttons/dots; a soft halo in the panel colour keeps the text readable over it. Card size unchanged. */
    .home-hero .hero-card.hero-card > div.relative {
      background: linear-gradient(to bottom,
        color-mix(in srgb, var(--color-surface-secondary) 0%, transparent) 0,
        color-mix(in srgb, var(--color-surface-secondary) 15%, transparent) calc(var(--hero-fade) * 0.6),
        color-mix(in srgb, var(--color-surface-secondary) 35%, transparent) var(--hero-fade),
        color-mix(in srgb, var(--color-surface-secondary) 55%, transparent) calc(var(--hero-fade) + 4rem),
        color-mix(in srgb, var(--color-surface-secondary) 72%, transparent) calc(var(--hero-fade) + 8rem),
        color-mix(in srgb, var(--color-surface-secondary) 85%, transparent) 100%); }
    .home-hero .hero-card.hero-card > div.relative :is(h1, h2, h3, p, div):not(a, a *, button, button *) {
      text-shadow: 0 0 2px color-mix(in srgb, var(--color-surface-secondary) 80%, transparent), 0 1px 14px color-mix(in srgb, var(--color-surface-secondary) 90%, transparent); }
    .home-hero .hero-card > div.relative [class*="type-display"] { text-shadow: 0 1px 12px color-mix(in srgb, var(--color-surface-secondary) 70%, transparent); }
    @media (max-width: 39.999rem) { .home-hero .hero-card > div.relative [class*="type-display"] { font-size: 2rem; line-height: 1.05; } }
    .home-hero .hero-card > div.relative :is(p, div)[class*="max-w-xl"] { color: var(--color-on-surface-secondary); -webkit-line-clamp: unset; line-clamp: unset; display: block; overflow: visible; }
    /* Label pills keep the desktop look on phones too (dark see-through glass, white text): no red tint. */
    .home-hero .slide-bar { bottom: 0.25rem; display: flex; justify-content: center; align-items: center; column-gap: 0.25rem; }
    .home-hero .slide-bar > :is([data-slideshow-pause], [data-slideshow-play]) { justify-self: auto; }
    .home-hero .slide-bar > [hidden] { display: none !important; }
    /* Text sits low in each card: extra height goes above the title, not below the buttons. */
    .home-hero .hero-card.hero-card > div.relative { justify-content: flex-end; }
    /* Video slide: the video area is a normal block filling the space above the text (flex 1), reaching 3rem under the
       text's clear top so it ends ~1rem above the title; the video sits absolutely inside it (iPhone-safe: no
       stretched flex/grid video). Less tall than the full card, so less of the sides crops. */
    .home-hero .hero-card:has(> .hero-video-area)::before { display: none; }
    .home-hero .hero-card > .hero-video-area { position: relative; inset: auto; z-index: 0; flex: 1 1 auto; min-height: calc(var(--hero-band) - var(--hero-fade) + 2rem); margin-bottom: -7.5rem; }
    .home-hero .hero-card:has(> .hero-video-area) > div.relative { flex: none; }
    .home-hero .hero-card:has(> .hero-video-area) > div.relative > [class*="rounded-full"][class*="bg-overlay-strong"] { margin-top: calc(-1lh - 0.5rem - 1.25rem); }
    .home-hero .hero-video-area > s-video { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; z-index: 0; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 6.5em), rgb(0 0 0 / 0.88) calc(100% - 5.25em), rgb(0 0 0 / 0.68) calc(100% - 4em), rgb(0 0 0 / 0.44) calc(100% - 2.75em), rgb(0 0 0 / 0.22) calc(100% - 1.5em), rgb(0 0 0 / 0.07) calc(100% - 0.5em), transparent 100%); mask-image: linear-gradient(to bottom, #000 calc(100% - 6.5em), rgb(0 0 0 / 0.88) calc(100% - 5.25em), rgb(0 0 0 / 0.68) calc(100% - 4em), rgb(0 0 0 / 0.44) calc(100% - 2.75em), rgb(0 0 0 / 0.22) calc(100% - 1.5em), rgb(0 0 0 / 0.07) calc(100% - 0.5em), transparent 100%); }
    .home-hero .hero-video-area > s-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
    /* Colour glow: the mirrored bottom strip of the video, stretched below it behind the text, heavily blurred and
       fading out, so the fade under the video picks up its colours. Sits under the video and under the text's shading. */
    .home-hero .hero-video-area > .hero-video-glow { display: block; position: absolute; left: -15%; width: 130%; top: calc(100% - 7.5em); height: 20em; z-index: -1; pointer-events: none;
      filter: blur(22px) saturate(1.25); opacity: 0.9;
      -webkit-mask-image: linear-gradient(to bottom, #000 0, rgb(0 0 0 / 0.6) 45%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, rgb(0 0 0 / 0.6) 45%, transparent 100%); }
    /* Video's bottom edge fades into the gray card instead of ending on a hard line. */
    .home-hero .hero-card.hero-card > s-video:has(video):not(div.pointer-events-none) { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 3rem), rgb(0 0 0 / 0.5) calc(100% - 1.25rem), transparent 100%); mask-image: linear-gradient(to bottom, #000 calc(100% - 3rem), rgb(0 0 0 / 0.5) calc(100% - 1.25rem), transparent 100%); }
    /* Darker bottom: the shading deepens toward the buttons and dots, near black in dark mode (solid panel colour in light mode, so dark text stays readable). */
    :root:not([data-color-mode='light']) .home-hero .hero-card.hero-card > div.relative {
      background: linear-gradient(to bottom,
        color-mix(in srgb, var(--color-surface-secondary) 0%, transparent) 0,
        color-mix(in srgb, var(--color-surface-secondary) 15%, transparent) calc(var(--hero-fade) * 0.6),
        color-mix(in srgb, var(--color-surface-secondary) 35%, transparent) var(--hero-fade),
        color-mix(in srgb, var(--color-surface-secondary) 55%, transparent) calc(var(--hero-fade) + 4rem),
        color-mix(in srgb, color-mix(in srgb, var(--color-surface-secondary) 70%, #000) 85%, transparent) calc(100% - 6rem),
        color-mix(in srgb, var(--color-surface-secondary) 35%, #000) 100%); }
    :root[data-color-mode='light'] .home-hero .hero-card.hero-card > div.relative {
      background: linear-gradient(to bottom,
        color-mix(in srgb, var(--color-surface-secondary) 0%, transparent) 0,
        color-mix(in srgb, var(--color-surface-secondary) 15%, transparent) calc(var(--hero-fade) * 0.6),
        color-mix(in srgb, var(--color-surface-secondary) 35%, transparent) var(--hero-fade),
        color-mix(in srgb, var(--color-surface-secondary) 60%, transparent) calc(var(--hero-fade) + 4rem),
        color-mix(in srgb, var(--color-surface-secondary) 92%, transparent) calc(100% - 6rem),
        var(--color-surface-secondary) 100%); }
    /* Arrows on phones: vertically centred on the whole card. */
    .home-hero [data-slideshow-prev], .home-hero [data-slideshow-next] { top: calc(100cqw * 9 / 32); }
    /* A long press on a slide photo must not open the save-image menu (it would cancel the hold and restart the timer). */
    .home-hero .hero-card img, .home-hero .hero-card video { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
    .home-hero .slide-bar :is([data-slideshow-pause], [data-slideshow-play]) { color: var(--color-on-surface-secondary); }
    /* The next section's card peeks in under the hero, so it must be fully drawn already (no scroll fade-in). */
    [data-hero-peek] { animation: none !important; }
  }
  /* Tall hero (landscape tablets, desktop): the same bottom treatment as the phone cards. Over the lower part of the
     card the picture turns frosted (a blur that fades in) and the shading deepens to near black at the bottom, under
     the text, buttons and dots. One layer between the picture (-10 and below) and the existing shading / text; the
     layout, text and the rest of the card are unchanged. Near black in light mode too, since the text here stays white. */
  @media (min-width: 40rem) and (min-aspect-ratio: 21/20) {
    .home-hero .hero-card::before {
      content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: -1; pointer-events: none;
      -webkit-backdrop-filter: blur(22px) saturate(1.25); backdrop-filter: blur(22px) saturate(1.25);
      background: linear-gradient(to bottom,
        color-mix(in srgb, var(--color-surface-secondary) 0%, transparent) 0,
        color-mix(in srgb, var(--color-surface-secondary) 10%, transparent) 35%,
        color-mix(in srgb, var(--color-surface-secondary) 25%, transparent) 60%,
        color-mix(in srgb, color-mix(in srgb, var(--color-surface-secondary) 70%, #000) 70%, transparent) 88%,
        color-mix(in srgb, var(--color-surface-secondary) 35%, #000) 100%);
      /* Strong blur (and the dark shading) fills in toward the bottom only... */
      -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgb(0 0 0 / 0.25) 35%, rgb(0 0 0 / 0.6) 60%, #000 85%);
      mask-image: linear-gradient(to bottom, transparent 0, rgb(0 0 0 / 0.25) 35%, rgb(0 0 0 / 0.6) 60%, #000 85%);
    }
    /* ...over a light blur that reaches the top of the area, so the blur gets weaker going up (strong at the bottom,
       light above, clear picture at the top) instead of a sharp picture fading over a blurred one. */
    .home-hero .hero-card::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: -1; pointer-events: none;
      -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
      -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgb(0 0 0 / 0.5) 20%, #000 45%);
      mask-image: linear-gradient(to bottom, transparent 0, rgb(0 0 0 / 0.5) 20%, #000 45%);
    }
    /* Photo and collage slides (every slide except the videos): no extra shading (too dark), and a solid fade (no
       frosted blur) from the bottom that reaches further up, behind the headline, so the text reads even over a white photo. */
    .home-hero .hero-card:not(:has(> .hero-video-area))::after { display: none; }
    .home-hero .hero-card:not(:has(> .hero-video-area))::before {
      height: 68%; -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask-image: none; mask-image: none;
      background: linear-gradient(to bottom,
        transparent 0,
        color-mix(in srgb, color-mix(in srgb, var(--color-surface-secondary) 35%, #000) 18%, transparent) 30%,
        color-mix(in srgb, color-mix(in srgb, var(--color-surface-secondary) 35%, #000) 45%, transparent) 55%,
        color-mix(in srgb, color-mix(in srgb, var(--color-surface-secondary) 35%, #000) 75%, transparent) 78%,
        color-mix(in srgb, var(--color-surface-secondary) 35%, #000) 100%);
    }
    .home-hero .hero-card:has(> .hero-video-area)::after { height: 20%; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
    /* Video slide: a subtler blur than the photo slides (strong layer 12px instead of 22px, light layer 4px). */
    .home-hero .hero-card:has(> .hero-video-area)::before { -webkit-backdrop-filter: blur(12px) saturate(1.15); backdrop-filter: blur(12px) saturate(1.15); }
    /* Video slide: its black sits lower. Its two own shading bands are shorter (were a quarter and a fifth of the card;
       the lower one still covers the video's very bottom edge) and the frosted fade darkens only near the bottom. */
    .home-hero .hero-card:has(> .hero-video-area) > div.pointer-events-none[aria-hidden][class~="h-1/4"] { height: 14%; }
    .home-hero .hero-card:has(> .hero-video-area) > div.pointer-events-none[aria-hidden][class~="h-1/5"] { height: 9%; }
    .home-hero .hero-card:has(> .hero-video-area)::before {
      height: 20%; /* lower than the photo slides' 30% */
      background: linear-gradient(to bottom,
        color-mix(in srgb, var(--color-surface-secondary) 0%, transparent) 0,
        color-mix(in srgb, var(--color-surface-secondary) 8%, transparent) 45%,
        color-mix(in srgb, var(--color-surface-secondary) 20%, transparent) 72%,
        color-mix(in srgb, color-mix(in srgb, var(--color-surface-secondary) 70%, #000) 65%, transparent) 93%,
        color-mix(in srgb, var(--color-surface-secondary) 35%, #000) 100%);
    }
    /* Video slide: the same live colour glow as phones (the hero script redraws it from the video every frame), here
       over the bottom 30% of the video, under the dark shading, frosted fade and text: blurred, a little more
       saturated, fading in from the top. Flipped back (the canvas is drawn mirrored for phones), so it lines up with
       the frame it covers; the flip also turns its mask, so "to top" fades in down the screen. */
    .home-hero .hero-video-area > .hero-video-glow {
      display: block; position: absolute; left: -5%; width: 110%; bottom: 0; height: 20%; z-index: 1; pointer-events: none; /* matches the video slide's 20% frosted fade */
      transform: scaleY(-1); filter: blur(40px) saturate(1.25); opacity: 0.55; /* softer than phones' 0.9: keeps the blur subtle here */
      -webkit-mask-image: linear-gradient(to top, transparent 0, rgb(0 0 0 / 0.6) 30%, #000 60%);
      mask-image: linear-gradient(to top, transparent 0, rgb(0 0 0 / 0.6) 30%, #000 60%);
    }
    /* Play / pause like on phones: right beside the dots as one centred group, in the soft grey phones use on the dark
       bottom (light grey in both modes here, since the bottom stays near black). */
    .home-hero .slide-bar { display: flex; justify-content: center; align-items: center; column-gap: 0.25rem; }
    .home-hero .slide-bar > :is([data-slideshow-pause], [data-slideshow-play]) { justify-self: auto; color: rgb(255 255 255 / 0.6); }
    @media (hover: hover) { .home-hero .slide-bar > :is([data-slideshow-pause], [data-slideshow-play]):hover { color: rgb(255 255 255 / 0.85); } }
    .home-hero .slide-bar > [hidden] { display: none !important; }
  }
  /* Phones: the hero card scales like a picture. Reference = iPhone 16 Pro Max (440px screen, 408px card), where the
     merchant signed off the proportions. The card's type size is its width / 25.5 (exactly 16px there), and the text,
     spacing, fade and video overlap below are in em, so on every phone the lines break in the same places and the
     video/text split stays the same. Clamped (13-17px) so text never gets too small or large. */
  @media (max-width: 39.999rem) {
    .home-hero .hero-card { font-size: clamp(13px, calc(100cqw / 25.5), 17px); --hero-fade: 6em; }
    .home-hero .hero-card::before { height: max(0px, calc(var(--hero-band) - var(--hero-fade) + 2em)); }
    .home-hero .hero-card > .hero-video-area { min-height: calc(var(--hero-band) - var(--hero-fade) + 2em); margin-bottom: -7.5em; }
    .home-hero .hero-card > div.relative { padding: calc(var(--hero-fade) - 2em) 1.25em 3.25em !important; gap: 0.75em; }
    .home-hero .hero-card > div.relative [class*="type-display"] { font-size: 2em !important; line-height: 1.05; }
    .home-hero .hero-card > div.relative :is(p, div)[class*="max-w-xl"] { font-size: 1em !important; line-height: 1.5; }
    .home-hero .hero-card > div.relative [class*="rounded-full"][class*="bg-overlay-strong"] { font-size: 0.875em !important; padding: 0.25em 0.75em !important; }
    /* Video slide pill (Preferred Husqvarna Dealer): pulled up by its own height + the gap (0.75em of the card = 0.857em
       of the pill), so it sits in the text block's empty top padding and adds no height: the video keeps its size. */
    .home-hero .hero-card:has(> .hero-video-area) > div.relative > [class*="rounded-full"][class*="bg-overlay-strong"] { margin-top: calc(-1lh - 0.5em - 0.857em); }
    /* The 2026-11 description runs one line (1.5em) longer than the one the video size was signed off with; the text
       block rises into the fade by that line instead, so the video keeps its size. Remove if the copy shrinks back. */
    .home-hero .hero-card:has(> .hero-video-area) > div.relative { margin-top: -1.5em; }
    /* Video slide on phones: the pill (Preferred Husqvarna Dealer) sits beside the title, not above it. Title row:
       title | pill (wraps to two short lines, line height trimmed so the row is no taller than the title, so the
       video keeps its size). Everything else spans the full width below, as before. */
    .home-hero .hero-card:has(> .hero-video-area) > div.relative { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 0.75em; }
    .home-hero .hero-card:has(> .hero-video-area) > div.relative > * { grid-column: 1 / -1; }
    .home-hero .hero-card:has(> .hero-video-area) > div.relative > [class*="type-display"] { grid-column: 1; grid-row: 1; }
    .home-hero .hero-card:has(> .hero-video-area) > div.relative > [class*="rounded-full"][class*="bg-overlay-strong"] {
      grid-column: 2; grid-row: 1; justify-self: start; margin-top: 0 !important;
      font-size: 0.75em !important; line-height: 1.15; text-wrap: balance; border-radius: 0.75em; padding: 0.3em 0.7em !important;
    }
    /* TEST 2026-11-07 (phones): bare see-through chevrons instead of glass arrow buttons, halfway down the card and
       hanging a little off its sides (hints there's more). The slides clip themselves to the rounded corners, so the
       slideshow itself no longer clips and the chevrons can overhang. Remove this block to undo. */
    .home-hero s-slideshow { overflow: visible; }
    .home-hero s-slideshow > [data-slideshow-track] { border-radius: inherit; }
    /* The liquid glass itself (frosted, see-through, moving light) cut to the shape of a tall chevron: no button
       outline around it, only the chevron. A thin bright line runs down its middle as the glass highlight. */
    .home-hero s-slideshow > :is([data-slideshow-prev], [data-slideshow-next]).glass-btn {
      top: 50% !important; width: 2.25rem; height: 5rem; border-radius: 0;
      -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    }
    .home-hero s-slideshow > [data-slideshow-prev].glass-btn { inset-inline-start: -0.9rem !important; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 80'%3E%3Cpath d='M25 8 10 40l15 32' fill='none' stroke='%23000' stroke-width='7.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 80'%3E%3Cpath d='M25 8 10 40l15 32' fill='none' stroke='%23000' stroke-width='7.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
    .home-hero s-slideshow > [data-slideshow-next].glass-btn { inset-inline-end: -0.9rem !important; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 80'%3E%3Cpath d='M11 8l15 32-15 32' fill='none' stroke='%23000' stroke-width='7.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 80'%3E%3Cpath d='M11 8l15 32-15 32' fill='none' stroke='%23000' stroke-width='7.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
    .home-hero s-slideshow > :is([data-slideshow-prev], [data-slideshow-next]).glass-btn svg { opacity: 0; }
    .home-hero s-slideshow > :is([data-slideshow-prev], [data-slideshow-next]).glass-btn::after {
      content: ''; position: absolute; inset: 0; pointer-events: none; background: no-repeat center / 100% 100%;
    }
    .home-hero s-slideshow > [data-slideshow-prev].glass-btn::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 80'%3E%3Cpath d='M25 8 10 40l15 32' fill='none' stroke='%23fff' stroke-opacity='0.6' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
    .home-hero s-slideshow > [data-slideshow-next].glass-btn::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 80'%3E%3Cpath d='M11 8l15 32-15 32' fill='none' stroke='%23fff' stroke-opacity='0.6' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
    /* END TEST chevrons */
    .home-hero .hero-card > div.relative a[class*="button"] { height: 2.75em !important; padding-inline: 1.25em !important; font-size: 0.875em !important; }
    .home-hero .hero-card > div.relative > div:has(> a) { gap: 0.75em; padding-top: 0.25em; }
    /* Photo slides get the video slide's look: the photo runs down to the text and melts into a blurred, mirrored copy
       of its own lower part (var --hero-photo, set from the photo by the hero script), under the same dark shading.
       Text block sized to its copy and sitting at the bottom (spacer above it grows), like the video slide.
       Layering inside the card: photo (-2) < glow (-1, escapes the text block, which has no z-index here) < text. */
    .home-hero .hero-card:not(:has(> .hero-video-area))::before { flex: 1 1 auto; }
    .home-hero .hero-card.hero-card:not(:has(> .hero-video-area)) > div.relative { flex: none; z-index: auto; }
    .home-hero .hero-card:not(:has(> .hero-video-area)) > :is(img, [class*="inset-0"]):not(div.pointer-events-none) { z-index: -2 !important; }
    /* Same on-screen heights as the video slide, measured from the top of the card: --hero-video-bottom is where the
       video ends on its card (set by the hero script; all cards share one height). The video fades out over the 6.5em
       above that line and its glow starts 7.5em above it. The text block is made static here so these layers are
       placed against the card itself: ::before hides the photo with the card colour over that same fade, ::after is the
       glow, seen only where the photo has faded (fade-in x glow falloff, intersected). */
    .home-hero .hero-card[style*="--hero-photo"]:not(:has(> .hero-video-area)) > div.relative { position: static !important; }
    .home-hero .hero-card[style*="--hero-photo"]:not(:has(> .hero-video-area)) > div.relative::before {
      content: ""; position: absolute; z-index: -1; pointer-events: none; left: 0; right: 0; bottom: 0;
      top: calc(var(--hero-video-bottom, 60%) + var(--hero-photo-shift, 2em) - 6.5em);
      background: var(--color-surface-secondary);
      -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgb(0 0 0 / 0.12) 1.25em, rgb(0 0 0 / 0.32) 2.5em, rgb(0 0 0 / 0.56) 3.75em, rgb(0 0 0 / 0.78) 5em, rgb(0 0 0 / 0.93) 6em, #000 6.5em); mask-image: linear-gradient(to bottom, transparent 0, rgb(0 0 0 / 0.12) 1.25em, rgb(0 0 0 / 0.32) 2.5em, rgb(0 0 0 / 0.56) 3.75em, rgb(0 0 0 / 0.78) 5em, rgb(0 0 0 / 0.93) 6em, #000 6.5em); }
    .home-hero .hero-card[style*="--hero-photo"]:not(:has(> .hero-video-area)) > div.relative::after {
      content: ""; position: absolute; z-index: -1; pointer-events: none; left: -15%; right: -15%;
      top: calc(var(--hero-video-bottom, 60%) + var(--hero-photo-shift, 2em) - 7.5em); height: 20em;
      background: var(--hero-photo) center bottom / cover no-repeat; transform: scaleY(-1);
      filter: blur(22px) saturate(1.25); opacity: 0.9;
      /* flipped layer: "to top" runs down the screen */
      -webkit-mask-image: linear-gradient(to top, transparent 0, transparent 1em, rgb(0 0 0 / 0.12) 2.25em, rgb(0 0 0 / 0.32) 3.5em, rgb(0 0 0 / 0.56) 4.75em, rgb(0 0 0 / 0.78) 6em, rgb(0 0 0 / 0.93) 7em, #000 7.5em), linear-gradient(to top, #000 0, rgb(0 0 0 / 0.6) 9em, transparent 20em);
      -webkit-mask-composite: source-in;
      mask-image: linear-gradient(to top, transparent 0, transparent 1em, rgb(0 0 0 / 0.12) 2.25em, rgb(0 0 0 / 0.32) 3.5em, rgb(0 0 0 / 0.56) 4.75em, rgb(0 0 0 / 0.78) 6em, rgb(0 0 0 / 0.93) 7em, #000 7.5em), linear-gradient(to top, #000 0, rgb(0 0 0 / 0.6) 9em, transparent 20em);
      mask-composite: intersect; }
  }
  @media (min-width: 40rem) and (max-aspect-ratio: 20.99/20) {
    .home-hero { --hero-fade: 7rem; }
    .home-hero .hero-card > div.relative { padding: calc(var(--hero-fade) - 2rem) 2rem 3.5rem !important; }
  }
  /* Slide entrance animations (text rise, photo zoom) play once on page load. Wrapping from the last slide to the
     first moves slides in the DOM, which would restart them (a double load and flash), so once the intro is done
     they are switched off for good (data-intro-done, set in templates/index.liquid). Their end state equals the resting state. */
  /* Shop Pay Installments banner (templates/product.liquid): its script fills it in just after load, so its height is
     held in advance when the price qualifies: two lines in a narrow column, one when there's room. No fade (it sits
     above the fold), just no jump. */
  [data-installments] { container-type: inline-size; }
  [data-installments][data-installments-eligible] > form { min-height: 2.75rem; }
  @container (min-width: 32rem) { [data-installments][data-installments-eligible] > form { min-height: 1.5rem; } }
  /* Variant pills (blocks/variant-picker): small / medium / large widths per option group (--pill-ch on each pill
     from Liquid: the smallest size its label fits; long labels stack on two lines), plus even side padding and border,
     never wider than the row. Rows are centred, so full rows sit on top and a shorter last row sits centred below: an upside-down pyramid.
     When any label stacks (--tall), every pill gets the two-line height so all rows match. */
  /* Compact: 13px labels, 32px pills (44px when two-line), 6px gaps, tighter option-group spacing. */
  .variant-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
  }
  .variant-pills > label { flex: 0 0 min(100%, max(2.25rem, calc(var(--pill-ch, 4) * 1.02ch + 0.75rem + 2px))); }
  .variant-pills > label > span { text-wrap: balance; min-height: 2rem; padding: 0.25rem 0.375rem; font-size: 0.8125rem; line-height: 1.15; }
  .variant-pills--tall > label > span { min-height: 2.75rem; }
  s-variant-picker.buy-options > * + * { margin-top: 0.75rem !important; }
  s-variant-picker.buy-options > :not(:last-child) { margin-bottom: 0 !important; }
  s-variant-picker.buy-options fieldset > * + * { margin-top: 0.375rem !important; }
  s-variant-picker.buy-options fieldset > :not(:last-child) { margin-bottom: 0 !important; }
  /* A little more breathing room under the variant pills (before Quantity) and under the Quantity title. */
  s-variant-picker.buy-options ~ .buy-qty { margin-top: 0.75rem; }
  .buy-qty label[for='product-quantity'] { margin-bottom: 0.75rem; }
  .home-hero[data-intro-done] [data-slide] * { animation: none !important; }
  /* Touch-screen loop copies (s-slideshow): a still picture of the real slide, never animating in on their own. */
  s-slideshow [data-slide-clone] * { animation: none !important; }
  /* Header logo in light mode: the small grey tagline washes out on white, so the mark gets a thin dark outline and a touch more contrast. Leaf image only (no backdrop-blur inside it). */
  /* The live-site logo has a white tagline. In light mode #logo-on-light (layout/theme.liquid) turns near-white pixels dark grey; the red and mid-grey RIPSAW letters keep their colour. */
  /* Phones: the search bar sits dead centre. The logo side is as wide as the icon side (account, cart, menu:
     one touch target each; two without accounts), and the logo scales down to fit it (keeps its shape, never
     taller than 40px). Pure CSS sizes, so nothing shifts on load. */
  @media (width < 48rem) {
    /* Phones: the cart and menu buttons are 40px wide (still 44px tall) to give the logo room; icons keep 20px+ apart
       and the cart badge keeps ~10px clear of the menu icon. The account button keeps its own 44px (built-in size). */
    [data-header-nav-group] { --hdr-icon: 2.5rem; --hdr-side: calc(var(--hdr-icon) * 2); }
    [data-header-nav-group]:has(> [data-header-end] shopify-account) { --hdr-side: calc(var(--spacing-touch-target) + var(--hdr-icon) * 2); }
    [data-header-nav-group] > [data-header-end] .size-touch-target { width: var(--hdr-icon); min-width: var(--hdr-icon); }
    /* The logo side matches the icon side while there is room (search and chat dead centre); on narrow phones it gives way first and the logo scales down, so the search and chat boxes never run over the logo or the icons. */
    [data-header-nav-group] > [data-header-start] { flex: 0 1 var(--hdr-side); width: auto; min-width: 0; }
    [data-header-nav-group] > [data-header-end] { flex: 0 0 var(--hdr-side); width: var(--hdr-side); justify-content: flex-end; }
    [data-header-nav-group] > [data-search-bar] { flex: 1 0 auto; }
    /* Phones: the search field rests as a compact magnifier box beside the chat box (same outline as the bar). Tapping
       it focuses the field, which then glides out over the whole header exactly as before ([data-wide], above);
       while it is out, the chat box steps aside with the logo and icons. */
    /* The magnifier sits 14px in from the left in both states (centred in the 44px box), so it never jumps as the
       field glides out or back. */
    [data-search-bar] .header-search-field { padding-inline-start: 0.875rem; }
    [data-search-bar] .header-search-field:not([data-wide]) > span.relative { position: absolute; inset: 0; opacity: 0; }
    /* Text, placeholder and X fade out the moment the bar starts closing (they would otherwise spill past the shrinking
       box) and fade back in as it opens; the magnifier alone rides the glide back into the box. */
    [data-search-bar] .header-search-field > span.relative { transition: opacity 140ms ease; }
    :root:not([data-search-expanded]) [data-search-bar] .header-search-field > span.relative { opacity: 0; }
    :root[data-search-expanded] [data-search-bar] .header-search-field > span.relative { transition-delay: 80ms; }
    [data-search-bar] [data-chat-icon] { transition: opacity 160ms ease, visibility 0s linear 0s; }
    :root[data-search-expanded] [data-search-bar] [data-chat-icon] { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 120ms ease, visibility 0s linear 160ms; }
    /* Phone chat bar (assets/s-chat-bar.js, [data-chat-expand]): the chat box glides out over the whole header like the
       search box. The bar is placed on the header row's inner edges by the script and revealed with a clip-path glide;
       the chat icon starts exactly where it sat in the box (1px border + 11px = the 44px box's 12px inset). While it is out
       (:root[data-chat-expanded]) the logo, icons and both boxes fade aside, as for search. */
    [data-header-nav-group] { position: relative; }
    .chat-overlay {
      position: absolute;
      z-index: 6;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      box-sizing: border-box;
      padding-inline: 11px 2px;
      border: 1px solid transparent; /* the visible outline is .chat-overlay__ring (below) */
      border-radius: 0.5rem;
      background: var(--color-surface);
    }
    /* The outline rides the glide as its own closed rounded box (s-chat-bar.js moves its left/right edges in step with
       the clip-path reveal), so it never shows as two loose lines mid-glide. Red while the bar is out (typing, or the
       chat it opened is open), like the search bar; grey the moment it starts closing, with a short colour fade. */
    .chat-overlay__ring {
      position: absolute;
      inset: -1px;
      border: 1px solid var(--color-border);
      border-radius: 0.5rem;
      pointer-events: none;
      transition: border-color 150ms ease, box-shadow 150ms ease;
    }
    :root[data-chat-expanded] .chat-overlay__ring { border-color: var(--color-accent); box-shadow: inset 0 0 0 0.5px var(--color-accent); }
    /* While gliding ([data-animating], s-chat-bar.js) the bar is drawn like the search bar's glide: the same three-piece
       layer (.hsf-bg: end caps slide, middle stretches; transform only, so iPhone runs it off the main thread). The
       bar's own background and outline step aside until it lands. */
    .chat-overlay > .hsf-bg { display: none; }
    .chat-overlay[data-animating] { background: transparent; }
    .chat-overlay[data-animating] > .chat-overlay__ring { visibility: hidden; }
    .chat-overlay[data-animating] > .hsf-bg { display: block; position: absolute; inset: -1px; z-index: -1; pointer-events: none; }
    [data-search-bar] s-header-search { transition: opacity 160ms ease, visibility 0s linear 0s; }
    :root[data-chat-expanded] [data-search-bar] :is(s-header-search, [data-chat-icon]) { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 120ms ease, visibility 0s linear 160ms; }
    /* The small chat icon drops its focus outline the instant the bar starts gliding out (it was lingering red while
       the icon faded); the bar's own red outline takes over from the same spot. */
    :root:is([data-chat-expanded], [data-search-expanded]) [data-chat-icon] { outline: none !important; }
    :root[data-chat-expanded] [data-header-nav-group] > :is([data-header-start], [data-header-end]) {
      opacity: 0;
      pointer-events: none;
      visibility: hidden;
      transition: opacity 160ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 300ms;
    }
    :root[data-chat-expanded] [data-header-nav-group] > [data-header-start] { transform: translateX(-10px); }
    :root[data-chat-expanded] [data-header-nav-group] > [data-header-end] { transform: translateX(10px); }
    [data-header-start] .site-logo { min-width: 0; max-width: 100%; }
    [data-header-start] .site-logo img { width: auto; height: auto !important; max-width: 100%; max-height: 40px; min-width: 0; }
    /* While searching (field in use or results open; :root[data-search-expanded] from s-header-search.js) the search
       field glides out over the whole header: the header's layout never changes (no squeezing logo/icons every frame);
       the field just grows its margins to the header's edges (--grow-l / --grow-r, measured in px), drawn above, while
       the logo and icons fade and ease aside underneath. Reverses on close. */
    /* The field's widened layout is switched on at once ([data-wide], set by s-header-search.js: auto width + margins
       out to the header's edges, --grow-l / --grow-r px) and the glide itself is transform-only, which iPhone runs
       smoothly even while the keyboard slides up: a background layer (.hsf-bg) stretches from the bar's old spot,
       and the icon, text and X slide with its edges ([data-animating] hands the field's look to that layer). */
    [data-header-nav-group] .header-search-field {
      position: relative;
      z-index: 2;
      isolation: isolate;
      /* No fade on the outline: handing over from the gliding layer to the field's own outline must be instant, or the
         outline fades back in (a flash) right after the bar reaches full size. */
      transition: none !important;
    }
    [data-header-nav-group] .header-search-field[data-wide] {
      width: auto;
      margin-inline: calc(var(--grow-l, 0px) * -1) calc(var(--grow-r, 0px) * -1);
    }
    /* The gliding layer is three slices so the outline never distorts: rounded end caps that only slide (.hsf-l /
       .hsf-r) and a middle (.hsf-m) that stretches; it carries only top/bottom lines, which a sideways stretch can't
       thin. --hsf-w / --hsf-ring (set per glide) match the outline the bar is heading to (red while searching, the
       normal grey line when closing), so it never flashes a different colour at the end. */
    .header-search-field > .hsf-bg { display: none; }
    .header-search-field[data-animating] { background: transparent !important; box-shadow: none !important; }
    .header-search-field[data-animating] > .hsf-bg {
      display: block;
      position: absolute;
      inset: 0;
      z-index: -1;
      pointer-events: none;
    }
    .hsf-bg > span {
      position: absolute;
      top: calc(var(--hsf-w, 1.5px) * -1);
      bottom: calc(var(--hsf-w, 1.5px) * -1);
      background: var(--color-surface);
      border: var(--hsf-w, 1.5px) solid var(--hsf-ring, var(--color-accent));
      will-change: transform;
    }
    .hsf-bg > .hsf-l {
      left: calc(var(--hsf-w, 1.5px) * -1);
      width: calc(var(--hsf-cap, 10px) + var(--hsf-w, 1.5px));
      border-right: 0;
      border-radius: calc(var(--hsf-r, 0.5rem) + var(--hsf-w, 1.5px)) 0 0 calc(var(--hsf-r, 0.5rem) + var(--hsf-w, 1.5px));
    }
    .hsf-bg > .hsf-r {
      right: calc(var(--hsf-w, 1.5px) * -1);
      width: calc(var(--hsf-cap, 10px) + var(--hsf-w, 1.5px));
      border-left: 0;
      border-radius: 0 calc(var(--hsf-r, 0.5rem) + var(--hsf-w, 1.5px)) calc(var(--hsf-r, 0.5rem) + var(--hsf-w, 1.5px)) 0;
    }
    .hsf-bg > .hsf-m {
      left: calc(var(--hsf-cap, 10px) - 0.5px);
      right: calc(var(--hsf-cap, 10px) - 0.5px);
      border-left: 0;
      border-right: 0;
      transform-origin: 0 50%;
    }
    [data-header-nav-group] > :is([data-header-start], [data-header-end]) {
      transition: opacity 220ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
    }
    :root[data-search-expanded] [data-header-nav-group] > :is([data-header-start], [data-header-end]) {
      opacity: 0;
      pointer-events: none;
      visibility: hidden;
      transition: opacity 160ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 300ms;
    }
    :root[data-search-expanded] [data-header-nav-group] > [data-header-start] { transform: translateX(-10px); }
    :root[data-search-expanded] [data-header-nav-group] > [data-header-end] { transform: translateX(10px); }
    @media (prefers-reduced-motion: reduce) {
      [data-header-nav-group] .header-search-field,
      [data-header-nav-group] > :is([data-header-start], [data-header-end]),
      :root[data-search-expanded] [data-header-nav-group] > :is([data-header-start], [data-header-end]) { transition-duration: 0s; transition-delay: 0s; }
    }
  }
  /* Tablet/desktop: the top row (logo, search bar, icons) sits centred between the header's top edge and the menu row:
     its 6px of top padding is split 3px above and 3px below the row (same header height), so nothing sits low. */
  @media (min-width: 48rem) {
    [data-header-nav-group] { padding-top: 0; }
    [data-header-nav-group] > :is([data-header-start], [data-search-bar], [data-header-end]) { padding-block: 3px; }
  }
  :root[data-color-mode='light'] .glass-menu {
    border-color: rgb(0 0 0 / 0.08);
    background: color-mix(in srgb, #fff 54%, transparent);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 0.7),
      0 1px 2px rgb(0 0 0 / 0.08),
      0 18px 44px -12px rgb(0 0 0 / 0.28);
  }
  .glass-menu-option {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 6px 12px 6px 6px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    outline: none;
    transition: background-color 0.12s ease, color 0.12s ease;
  }
  .glass-menu-scroll {
    max-height: min(24rem, calc(100svh - 2rem));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 5px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .glass-menu-scroll::-webkit-scrollbar { display: none; }
  /* Phone menu (mobile-nav-drawer with .mobile-glass-menu): the Sort-by glass menu instead of a side pane. It drops
     from the menu button at the top right: unfolds from a sliver at the button (transform only, so Safari stays smooth;
     the glass never fades), the rows drop in one after another, and it folds back into the button on close. Tapping
     outside closes it (s-dialog); nested menus still slide in inside it. Frosted like .glass-menu, no dimmed page. */
  .overlay-panel.mobile-glass-menu {
    /* Right edge in line with the burger button's right edge; most of the screen wide. A speech-bubble pointer comes
       out of the burger icon (::before/::after). */
    --menu-tail: 16px;
    --menu-edge: color-mix(in srgb, #fff 24%, transparent); /* the menu's outline, carried around the pointer */
    --menu-top: calc(var(--menu-anchor-top, calc(max(0px, calc(var(--safe-area-inset-top, 0px) - 0.375rem)) + 3rem)) + var(--menu-tail));
    /* --menu-anchor-right: the burger icon's centre from the screen's right edge (inline script after the header). */
    --menu-anchor-x: var(--menu-anchor-right, calc(var(--spacing-margin) + var(--spacing-touch-target) / 2));
    --menu-right: max(0.5rem, calc(var(--menu-anchor-x) - var(--spacing-touch-target) / 2));
    --menu-w: min(30rem, calc(100vw - var(--menu-right) - 0.75rem));
    --menu-tail-x: calc(var(--menu-anchor-x) - var(--menu-right));
    inset: var(--menu-top) var(--menu-right) auto auto;
    margin-inline: 0;
    width: var(--menu-w);
    /* Sized to its content: ends just after the currency/light-dark line, grows as sections open, and scrolls only
       once it reaches --menu-max. */
    --menu-max: min(44rem, calc(100svh - var(--menu-top) - 1rem));
    height: auto;
    max-height: var(--menu-max);
    padding: 0;
    overflow: visible;
    border-radius: 14px 8px 14px 14px; /* tighter top-right corner, where the pointer sits */
    border: 1px solid var(--menu-edge);
    background: color-mix(in srgb, var(--color-surface-secondary) 48%, transparent);
    -webkit-backdrop-filter: blur(22px) saturate(180%); /* a touch more than the Sort by menu's 13px */
    backdrop-filter: blur(22px) saturate(180%);
    box-shadow:
      inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent),
      0 1px 2px rgb(0 0 0 / 0.25),
      0 18px 48px -10px rgb(0 0 0 / 0.55);
    opacity: 1;
    transform-origin: calc(100% - var(--menu-tail-x)) calc(var(--menu-tail) * -1);
    transform: scale(0.14, 0.06);
    transition: transform 200ms cubic-bezier(0.2, 0.45, 0.7, 0.7), display 200ms allow-discrete, overlay 200ms allow-discrete;
  }
  /* Compact header on wider screens (data-compact-nav, set by the inline script after the header when the main menu
     would wrap onto 3+ rows): the menu row is taken out (kept laid out, invisible, so the script can keep measuring
     it) and the burger + glass menu take over, as on phones. The glass menu then hangs from the button, right-aligned. */
  @media (min-width: 48rem) {
    :root[data-compact-nav] [data-header-nav-group] { position: relative; }
    :root[data-compact-nav] [data-desktop-nav] {
      position: absolute;
      inset-inline: var(--spacing-margin);
      top: 0;
      visibility: hidden;
      pointer-events: none;
    }
    :root[data-compact-nav] [data-menu-button-wrap] { display: block; }
    /* Wherever the burger shows, the full search bar shows too (as on phones), not the search icon. */
    :root[data-compact-nav] [data-search-bar] { display: flex; }
    :root[data-compact-nav] :is([data-search-icon], [data-chat-icon]) { display: none; }
    /* The currency/language picker and the light/dark button move into the burger menu (it already has both). */
    :root[data-compact-nav] :is(.header-loc, .header-mode-toggle) { display: none; }
    :root[data-compact-nav] .overlay-panel.mobile-glass-menu {
      --menu-w: min(24rem, calc(100vw - var(--menu-right) - 0.75rem));
      --menu-max: min(36rem, calc(100svh - var(--menu-top) - 1rem));
    }
  }
  /* Cart drop-down (every screen size; .cart-glass-pop is added by s-cart-pop.js): the burger menu's glass and
     motion, hanging from the cart icon. In the page (non-modal), right edge in line with the cart button, a
     speech-bubble pointer out of the icon; sized to its content up to --pop-max, its list scrolling inside. Grows
     out of the icon, folds back into it ([data-closing]), leans on a flick ([data-dragging]). Transform only; the
     glass never fades. --pop-anchor-top / --pop-anchor-x are measured from the icon when it opens. */
  .overlay-panel.cart-glass-pop {
    --pop-tail: 16px;
    --pop-edge: color-mix(in srgb, #fff 24%, transparent);
    --pop-top: calc(var(--pop-anchor-top, 3.5rem) + var(--pop-tail));
    --pop-anchor: var(--pop-anchor-x, calc(var(--spacing-margin) + var(--spacing-touch-target) * 1.5));
    --pop-right: max(0.5rem, calc(var(--pop-anchor) - var(--spacing-touch-target) / 2));
    --pop-w: min(26rem, calc(100vw - var(--pop-right) - 0.75rem));
    --pop-tail-x: calc(var(--pop-anchor) - var(--pop-right));
    --pop-max: min(40rem, calc(100svh - var(--pop-top) - 1rem));
    position: fixed;
    z-index: 2147483647; /* in front of floating app widgets such as the chat button */
    /* Placed from the left in px by s-cart-pop.js (straight off the cart icon); the right-based value is only a
       fallback before the script runs. */
    inset: var(--pop-top) auto auto var(--pop-left, calc(100vw - var(--pop-right) - var(--pop-w)));
    margin: 0;
    width: var(--pop-w);
    height: auto;
    max-height: var(--pop-max);
    padding: 0;
    overflow: visible;
    border-radius: 14px 8px 14px 14px;
    border: 1px solid var(--pop-edge);
    background: color-mix(in srgb, var(--color-surface-secondary) 48%, transparent);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    box-shadow:
      inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent),
      0 1px 2px rgb(0 0 0 / 0.25),
      0 18px 48px -10px rgb(0 0 0 / 0.55);
    opacity: 1;
    transform-origin: calc(100% - var(--pop-tail-x)) calc(var(--pop-tail) * -1);
    transform: scale(0.14, 0.06);
    transition: none;
  }
  /* Bigger screens: wider (set in s-cart-pop.js) and taller. */
  @media (min-width: 64rem) {
    .overlay-panel.cart-glass-pop {
      --pop-w: min(30rem, calc(100vw - var(--pop-right) - 0.75rem));
      --pop-max: min(48rem, calc(100svh - var(--pop-top) - 1.5rem));
    }
  }
  @media (min-width: 80rem) {
    .overlay-panel.cart-glass-pop {
      --pop-w: min(34rem, calc(100vw - var(--pop-right) - 0.75rem));
      --pop-max: min(54rem, calc(100svh - var(--pop-top) - 1.5rem));
    }
  }
  :root[data-color-mode='light'] .overlay-panel.cart-glass-pop {
    --pop-edge: rgb(0 0 0 / 0.14);
    background: color-mix(in srgb, #fff 54%, transparent);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), 0 1px 2px rgb(0 0 0 / 0.08), 0 18px 44px -12px rgb(0 0 0 / 0.28);
  }
  .overlay-panel.cart-glass-pop[open] {
    transform: none;
    transition: transform 420ms cubic-bezier(0.34, 1.36, 0.64, 1);
  }
  @starting-style {
    .overlay-panel.cart-glass-pop[open] { transform: scale(0.14, 0.06); }
  }
  .overlay-panel.cart-glass-pop[open][data-dragging] { transition: none; }
  .overlay-panel.cart-glass-pop[open][data-closing] {
    transform: scale(0.04, 0.02);
    transition: transform 200ms cubic-bezier(0.4, 0, 0.8, 0.6);
  }
  @media (prefers-reduced-motion: reduce) {
    .overlay-panel.cart-glass-pop[open], .overlay-panel.cart-glass-pop[open][data-closing] { transition-duration: 0s; }
  }
  .overlay-panel.cart-glass-pop > div {
    height: auto;
    max-height: calc(var(--pop-max) - 2px);
    overflow: hidden;
    border-radius: 13px 7px 13px 13px;
  }
  .overlay-panel.cart-glass-pop > div > .flex-1 {
    flex: 1 1 auto;
    min-height: 0;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--color-on-surface) 22%, transparent) transparent;
  }
  .overlay-panel.cart-glass-pop > div > .shrink-0.border-t { border-top-color: var(--pop-edge); }
  /* Empty cart: the footer has no summary/checkout, so drop the band (and its line) entirely; live updates keep it right. */
  #cart-drawer > div > .shrink-0.border-t:not(:has(s-cart, form)) { display: none; }
  /* Removing the last item: straight to the empty cart (s-cart.js sets data-emptying at once; the real empty cart
     replaces it when the store answers). */
  [data-cart-instant-empty] { display: none; }
  /* Empty cart: "Keep shopping for" row of links (snippets/cart-keep-shopping.liquid). */
  .cart-keep-shopping { margin-top: 1.25rem; text-align: center; }
  .cart-keep-shopping__title { margin: 0 0 0.625rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-on-surface-secondary); }
  /* One row that scrolls sideways (swipe, trackpad, Shift+wheel) instead of wrapping onto more lines. Centred while
     the pills fit (auto margins on the first and last, so nothing is cut off once they overflow); the row reaches the
     panel's edges and fades out there, so it's clear there's more to swipe to. The small top/bottom padding leaves room
     for the focus ring and press-in. */
  .cart-keep-shopping__row {
    margin: 0 -1rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 1rem, #000 calc(100% - 1rem), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 1rem, #000 calc(100% - 1rem), transparent 100%);
  }
  .cart-keep-shopping__links {
    display: flex; flex-wrap: nowrap; gap: 0.375rem; margin: 0; padding: 0.25rem 1rem; list-style: none;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; touch-action: pan-x pan-y;
  }
  .cart-keep-shopping__links::-webkit-scrollbar { display: none; }
  .cart-keep-shopping__links > li { flex: none; }
  .cart-keep-shopping__links > li:first-child { margin-inline-start: auto; }
  .cart-keep-shopping__links > li:last-child { margin-inline-end: auto; }
  .cart-keep-shopping__links a { white-space: nowrap; }
  /* Gliding (s-trust-marquee.js sets [data-marquee]): the script moves the row with transform and loops it with
     copies, so no native scrolling, no centring; mouse shows a grab hand. Reduced motion keeps the scroller above. */
  .cart-keep-shopping__row[data-marquee] { overflow: hidden; touch-action: pan-y; }
  .cart-keep-shopping__row[data-marquee] > .cart-keep-shopping__links { overflow: visible; will-change: transform; }
  .cart-keep-shopping__row[data-marquee] > .cart-keep-shopping__links > li { margin-inline: 0; }
  @media (hover: hover) and (pointer: fine) {
    .cart-keep-shopping__row[data-marquee] { cursor: grab; }
    .cart-keep-shopping__row[data-marquee][data-dragging] { cursor: grabbing; }
  }
  .cart-keep-shopping__row[data-marquee][data-dragging] { user-select: none; -webkit-user-select: none; }
  .cart-keep-shopping__row[data-marquee][data-dragging] a { pointer-events: none; }
  .cart-keep-shopping__links a {
    display: inline-flex; align-items: center; min-height: 1.875rem; padding: 0 0.6875rem;
    border-radius: 9999px; border: 1px solid color-mix(in srgb, var(--color-on-surface) 22%, transparent);
    background: color-mix(in srgb, var(--color-on-surface) 6%, transparent);
    color: var(--color-on-surface); font-size: 0.8125rem; font-weight: 500; text-decoration: none;
    transition: border-color 150ms, background-color 150ms, transform 120ms;
  }
  /* Empty cart drop-down: the pills sit low, just above the panel's bottom edge, as a footer row under the message
     (less padding below, a little more space above). */
  .cart-empty-drawer { padding-bottom: 0; }
  .cart-empty-drawer .cart-keep-shopping { margin-top: 2rem; margin-bottom: -0.5rem; }
  @media (hover: hover) { .cart-keep-shopping__links a:hover { border-color: var(--color-accent); } }
  /* Product details: alternating row shades (every other row a touch lighter in dark mode, darker in light mode).
     Rows get side padding and the list pulls out by the same amount, so the text stays lined up with the card title. */
  .details-rows { margin-inline: -0.625rem; }
  .details-rows > div { padding-inline: 0.625rem; border-radius: 0.5rem; }
  .details-rows > div:nth-child(even) { background-color: color-mix(in srgb, var(--color-on-surface) 2.5%, transparent); }
  :root[data-color-mode='light'] .details-rows > div:nth-child(even) { background-color: color-mix(in srgb, var(--color-on-surface) 4.5%, transparent); }
  /* Product details groups (Overview, Powerhead, Bar, Chain, Sharpening, Mowing; snippets/product-details-list):
     a hairline between groups and a small caps title with the logo's slanted red mark. Rows alternate within each group. */
  .details-group + .details-group { margin-top: 0.5rem; padding-top: 0.75rem; border-top: 1px solid var(--color-border); }
  .details-group__title {
    display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.25rem;
    font-size: 0.6875rem; font-weight: 700; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-on-surface);
  }
  .details-group__title::before {
    content: ''; flex: none; width: 0.75rem; height: 0.1875rem; border-radius: 1px; transform: skewX(-20deg);
    background: var(--color-interactive);
  }
  .cart-keep-shopping__links a:active { transform: scale(0.96); }
  .cart-keep-shopping__links a:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
  [data-cart-count][hidden] { display: none; } /* header count bubble: always rendered, shown by count (s-cart-pop.js raises it as the dot lands) */
  #cart-drawer[data-emptying] [data-cart-instant-empty],
  s-cart[data-emptying] [data-cart-instant-empty] { display: block; }
  #cart-drawer[data-emptying] [data-cart-rows],
  #cart-drawer[data-emptying] > div > .shrink-0.border-t,
  s-cart[data-emptying] form,
  s-cart[data-emptying] [data-cart-badge] { display: none; }
  /* Cart quantity selector: clearer outline, tinted fill, full-strength − / + and a bolder number. */
  .cart-qty {
    border-color: color-mix(in srgb, var(--color-on-surface) 38%, transparent);
    background: color-mix(in srgb, var(--color-on-surface) 7%, transparent);
  }
  .cart-qty > button { color: var(--color-on-surface); }
  @media (hover: hover) { .cart-qty > button:hover { background: color-mix(in srgb, var(--color-on-surface) 10%, transparent); } }
  .cart-qty > button > span { width: 1rem; height: 1rem; }
  .cart-qty > [data-quantity-display] { font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
  .overlay-panel.cart-glass-pop::before,
  .overlay-panel.cart-glass-pop::after {
    content: '';
    position: absolute;
    bottom: 100%;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    pointer-events: none;
  }
  .overlay-panel.cart-glass-pop::before {
    right: calc(var(--pop-tail-x) - 1px - 12px);
    width: 24px;
    height: var(--pop-tail);
    background: var(--pop-edge);
  }
  .overlay-panel.cart-glass-pop::after {
    right: calc(var(--pop-tail-x) - 1px - 10.75px);
    width: 21.5px;
    height: calc(var(--pop-tail) - 1.7px);
    background: inherit;
  }
  /* Search drop-down (header search bar; .search-glass-pop is added by s-header-search.js while shoppers type in the
     bar): the cart's glass, outline, shadow and pointer, hanging right under the bar instead of opening a second
     search box. In the page (non-modal). --sp-top / --sp-left / --sp-w / --sp-tail-x / --sp-max are measured from the
     bar (px). The dialog's own search row is hidden: the header bar is the search field. Grows out of the bar. */
  .overlay-panel.search-glass-pop {
    --pop-tail: 10px;
    --pop-edge: color-mix(in srgb, #fff 24%, transparent);
    --sp-solid: color-mix(in srgb, var(--color-surface-secondary) 48%, var(--color-surface));
    position: fixed;
    z-index: 60;
    inset: var(--sp-top, 4rem) auto auto var(--sp-left, 0.75rem);
    margin: 0;
    width: var(--sp-w, min(36rem, calc(100vw - 1.5rem)));
    height: auto;
    max-height: var(--sp-max, 70svh);
    padding: 0;
    overflow: visible;
    border-radius: 14px;
    border: 1px solid var(--pop-edge);
    color: var(--color-on-surface);
    background: color-mix(in srgb, var(--color-surface-secondary) 48%, transparent);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    box-shadow:
      inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent),
      0 1px 2px rgb(0 0 0 / 0.25),
      0 18px 48px -10px rgb(0 0 0 / 0.55);
    opacity: 1;
    transform-origin: var(--sp-tail-x, 50%) calc(var(--pop-tail) * -1);
    transform: scale(0.5, 0.1);
    transition: none;
  }
  :root[data-color-mode='light'] .overlay-panel.search-glass-pop {
    --pop-edge: rgb(0 0 0 / 0.14);
    --sp-solid: color-mix(in srgb, #fff 54%, var(--color-surface));
    background: color-mix(in srgb, #fff 54%, transparent);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), 0 1px 2px rgb(0 0 0 / 0.08), 0 18px 44px -12px rgb(0 0 0 / 0.28);
  }
  .overlay-panel.search-glass-pop[open] {
    transform: none;
    transition: transform 380ms cubic-bezier(0.34, 1.36, 0.64, 1);
  }
  @starting-style {
    .overlay-panel.search-glass-pop[open] { transform: scale(0.5, 0.1); }
  }
  /* Closing (X, Escape, tapping outside, emptying the field): folds back up into the bar ([data-closing], set by
     s-header-search.js, which really closes it once the fold ends). */
  .overlay-panel.search-glass-pop[open][data-dragging] { transition: none; }
  .overlay-panel.search-glass-pop[open]:not([data-dragging]):not([data-closing]) { transition: transform 380ms cubic-bezier(0.34, 1.36, 0.64, 1); }
  .overlay-panel.search-glass-pop[open][data-closing] {
    transform: scale(0.5, 0.1);
    opacity: 0;
    transition: transform 200ms cubic-bezier(0.4, 0, 0.8, 0.6), opacity 160ms ease 40ms;
    pointer-events: none;
  }
  @media (prefers-reduced-motion: reduce) {
    .overlay-panel.search-glass-pop[open], .overlay-panel.search-glass-pop[open][data-closing] { transition-duration: 0s; transition-delay: 0s; }
  }
  /* Related searches (chips) and collections (rows with a small image), above the products in the results
     (s-search-suggest.js). A picked one (arrow keys) gets the same highlight as a picked product. */
  [data-ps-extras] { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 0.875rem; }
  [data-ps-extras]:empty { display: none; }
  .ps-heading { margin: 0 0 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--color-on-surface); }
  .ps-chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 0; padding: 0; list-style: none; }
  .ps-collections { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.125rem; margin: 0; padding: 0; list-style: none; }
  @media (min-width: 40rem) { .ps-collections { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .ps-collection > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* Header search X: shown while there's text in the field. */
  .header-search-field input:placeholder-shown ~ [data-header-search-clear] { display: none; }
  /* Phones: while the bar has taken the whole header, the X is always there (even before typing) as the way out. */
  :root[data-search-expanded] .header-search-field [data-header-search-clear] { display: inline-flex; }
  .header-search-clear {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    margin-inline-end: -0.5rem;
    border-radius: 9999px;
    color: var(--color-on-surface-secondary);
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease, transform 140ms ease-out;
  }
  @media (hover: hover) { .header-search-clear:hover { color: var(--color-on-surface); background: color-mix(in srgb, var(--color-on-surface) 8%, transparent); } }
  .header-search-clear:active { transform: scale(0.9); transition-duration: 30ms; }
  /* Autocomplete ghost: the typed text (invisible, for spacing) + the rest of the suggestion, faint, behind the input. */
  .header-search-ghost {
    position: absolute;
    inset: 0 1.75rem 0 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: pre;
    pointer-events: none;
    font-size: 1rem;
    line-height: normal;
  }
  @media (min-width: 48rem) { .header-search-ghost { font-size: 0.875rem; } }
  .header-search-ghost [data-ghost-typed] { color: transparent; }
  .header-search-ghost [data-ghost-rest] { color: var(--color-on-surface-secondary); opacity: 0.75; }
  /* Results open on the first keystroke: until the first results arrive, a soft loading shimmer. */
  .overlay-panel.search-glass-pop #predictive-search-listbox:not(:has(> *))::before {
    content: '';
    display: block;
    height: 5.5rem;
    border-radius: 10px;
    background: linear-gradient(90deg,
      color-mix(in srgb, var(--color-on-surface) 6%, transparent) 20%,
      color-mix(in srgb, var(--color-on-surface) 12%, transparent) 50%,
      color-mix(in srgb, var(--color-on-surface) 6%, transparent) 80%);
    background-size: 200% 100%;
    animation: ps-shimmer 1.1s linear infinite;
  }
  @keyframes ps-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
  @media (prefers-reduced-motion: reduce) {
    .overlay-panel.search-glass-pop #predictive-search-listbox:not(:has(> *))::before { animation: none; }
  }
  .ps-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 2rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    color: var(--color-on-surface);
    box-shadow: inset 0 0 0 1px var(--color-border);
    cursor: pointer;
    transition: box-shadow 0.15s ease, color 0.15s ease, transform 140ms ease-out;
  }
  @media (hover: hover) { .ps-chip:hover { box-shadow: inset 0 0 0 1px var(--color-on-surface-secondary); } }
  .ps-chip:active { transform: scale(0.96); transition-duration: 30ms; }
  .ps-collection {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-height: 2.75rem;
    padding: 0.25rem 0.5rem 0.25rem 0.25rem;
    border-radius: 0.625rem;
    color: var(--color-on-surface);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease;
  }
  @media (hover: hover) { .ps-collection:hover { background: color-mix(in srgb, var(--color-on-surface) 8%, transparent); } }
  .ps-collection img, .ps-collection .ps-collection-blank {
    flex: none;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    object-fit: cover;
    background: color-mix(in srgb, var(--color-on-surface) 8%, transparent);
  }
  [data-ps-extras] [role='option'][aria-selected='true'] > :is(.ps-chip, .ps-collection) {
    box-shadow: inset 0 0 0 2px var(--color-accent);
  }
  /* Bigger screens: three columns, Collections | Products | Related searches, split by thin lines. A column with
     nothing in it is dropped. [data-ps-extras] dissolves (display: contents) so its groups become grid columns. */
  @media (min-width: 64rem) {
    .overlay-panel.search-glass-pop #predictive-search-listbox:has([data-ps-extras]:not(:empty)) {
      display: grid;
      grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr) minmax(12rem, 15rem);
      grid-template-areas: 'collections products suggestions';
      align-content: start;
      align-items: start;
      padding: 1rem 1.25rem 4.5rem;
    }
    .overlay-panel.search-glass-pop #predictive-search-listbox:has([data-ps-extras]:not(:empty)):not(:has([aria-labelledby='ps-heading-collections'])) {
      grid-template-columns: minmax(0, 1fr) minmax(12rem, 15rem);
      grid-template-areas: 'products suggestions';
    }
    .overlay-panel.search-glass-pop #predictive-search-listbox:has([data-ps-extras]:not(:empty)):not(:has([aria-labelledby='ps-heading-suggestions'])) {
      grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
      grid-template-areas: 'collections products';
    }
    .overlay-panel.search-glass-pop [data-ps-extras] { display: contents; }
    .overlay-panel.search-glass-pop [aria-labelledby='ps-heading-collections'] {
      grid-area: collections;
      padding-inline-end: 1.25rem;
      margin-inline-end: 1.25rem;
      border-inline-end: 1px solid var(--pop-edge);
      align-self: stretch;
    }
    .overlay-panel.search-glass-pop [aria-labelledby='ps-heading-products'],
    .overlay-panel.search-glass-pop [data-ps-empty] { grid-area: products; min-width: 0; }
    .overlay-panel.search-glass-pop [aria-labelledby='ps-heading-suggestions'] {
      grid-area: suggestions;
      padding-inline-start: 1.25rem;
      margin-inline-start: 1.25rem;
      border-inline-start: 1px solid var(--pop-edge);
      align-self: stretch;
    }
    .overlay-panel.search-glass-pop .ps-collections { grid-template-columns: minmax(0, 1fr); }
    .overlay-panel.search-glass-pop .ps-heading { margin-bottom: 0.75rem; }
  }
  /* Smaller product cards in the search drop-down: 3 across on phones, as many ~8rem cards as fit on bigger
     screens; tighter title and price text. */
  .overlay-panel.search-glass-pop [aria-labelledby='ps-heading-products'] > ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 0.5rem;
    row-gap: 0.875rem;
  }
  @media (min-width: 48rem) {
    .overlay-panel.search-glass-pop [aria-labelledby='ps-heading-products'] > ul {
      grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
      column-gap: 0.625rem;
    }
  }
  .overlay-panel.search-glass-pop [aria-labelledby='ps-heading-products'] h3:not(#ps-heading-products) {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  .overlay-panel.search-glass-pop [aria-labelledby='ps-heading-products'] li :is(.text-sm, [class*='price']) { font-size: 0.75rem; }
  /* Small screens (below 64rem): products down the left; a slim compact column on the right with related searches
     on top and collections under them. Placed by explicit row/column (area names were mis-placed by Safari with
     display: contents). With no products, everything stacks full width. */
  @media (width < 64rem) {
    .overlay-panel.search-glass-pop #predictive-search-listbox:has([data-ps-extras]:not(:empty)) {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 8.5rem;
      /* Row 1 hugs the related searches; the tall products list (spanning both rows) grows row 2 instead, so the
         collections sit right below the related searches with no gap. */
      grid-template-rows: min-content 1fr;
      column-gap: 0.75rem;
      row-gap: 0;
      align-content: start;
    }
    .overlay-panel.search-glass-pop [data-ps-extras] { display: contents; }
    .overlay-panel.search-glass-pop #predictive-search-listbox [aria-labelledby='ps-heading-products'],
    .overlay-panel.search-glass-pop #predictive-search-listbox [data-ps-empty] {
      grid-column: 1;
      grid-row: 1 / span 2;
      min-width: 0;
    }
    .overlay-panel.search-glass-pop #predictive-search-listbox :is([aria-labelledby='ps-heading-suggestions'], [aria-labelledby='ps-heading-collections']) {
      grid-column: 2;
      min-width: 0;
      padding-inline-start: 0.75rem;
      border-inline-start: 1px solid var(--pop-edge);
    }
    /* Collections on top, related searches right under them. */
    .overlay-panel.search-glass-pop #predictive-search-listbox [aria-labelledby='ps-heading-collections'] { grid-row: 1; padding-bottom: 0.75rem; }
    .overlay-panel.search-glass-pop #predictive-search-listbox [aria-labelledby='ps-heading-suggestions'] { grid-row: 2; align-self: stretch; align-content: start; padding-bottom: 0; }
    .overlay-panel.search-glass-pop #predictive-search-listbox:not(:has([aria-labelledby='ps-heading-collections'])) [aria-labelledby='ps-heading-suggestions'] { grid-row: 1 / span 2; }
    .overlay-panel.search-glass-pop #predictive-search-listbox:not(:has([aria-labelledby='ps-heading-suggestions'])) [aria-labelledby='ps-heading-collections'] { grid-row: 1 / span 2; align-self: stretch; }
    /* No products: one column, related searches then collections. */
    .overlay-panel.search-glass-pop #predictive-search-listbox:has([data-ps-extras]:not(:empty)):not(:has([aria-labelledby='ps-heading-products'])) {
      grid-template-columns: minmax(0, 1fr);
    }
    .overlay-panel.search-glass-pop #predictive-search-listbox:not(:has([aria-labelledby='ps-heading-products'])) :is([aria-labelledby='ps-heading-suggestions'], [aria-labelledby='ps-heading-collections']) {
      grid-column: 1;
      grid-row: auto;
      padding-inline-start: 0;
      border-inline-start: 0;
    }
    .overlay-panel.search-glass-pop .ps-heading { font-size: 0.75rem; margin-bottom: 0.375rem; }
    .overlay-panel.search-glass-pop .ps-chips { flex-direction: column; flex-wrap: nowrap; gap: 0.25rem; }
    .overlay-panel.search-glass-pop .ps-chips > li { min-width: 0; }
    .overlay-panel.search-glass-pop .ps-chip {
      display: block;
      width: 100%;
      min-height: 0;
      padding: 0.375rem 0.5rem;
      border-radius: 0.5rem;
      font-size: 0.75rem;
      line-height: 1.25;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    /* Compact collections for the narrow column: small photo + up to two lines of title. */
    .overlay-panel.search-glass-pop .ps-collections { grid-template-columns: minmax(0, 1fr); gap: 0.25rem; }
    .overlay-panel.search-glass-pop .ps-collection {
      gap: 0.5rem;
      min-height: 2.5rem;
      padding: 0.25rem;
      font-size: 0.75rem;
      line-height: 1.25;
    }
    .overlay-panel.search-glass-pop .ps-collection :is(img, .ps-collection-blank) { width: 2rem; height: 2rem; border-radius: 0.375rem; }
    .overlay-panel.search-glass-pop .ps-collection > span:last-child {
      white-space: normal;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
    }
  }
  /* Phones: products as a compact list (small photo beside title + price), so many more results fit on screen
     than with picture-first cards; the related searches / collections column stays on the right. */
  @media (width < 48rem) {
    .overlay-panel.search-glass-pop #predictive-search-listbox [aria-labelledby='ps-heading-products'] > ul {
      grid-template-columns: minmax(0, 1fr);
      row-gap: 0.25rem;
    }
    .overlay-panel.search-glass-pop #predictive-search-listbox [aria-labelledby='ps-heading-products'] li article {
      flex-direction: row;
      align-items: center;
      gap: 0.5rem;
      padding: 0.125rem 0;
    }
    .overlay-panel.search-glass-pop #predictive-search-listbox [aria-labelledby='ps-heading-products'] li article > a:first-child {
      flex: none;
      width: 3.25rem;
      border-radius: 0.5rem;
    }
    .overlay-panel.search-glass-pop #predictive-search-listbox [aria-labelledby='ps-heading-products'] li article > div {
      min-width: 0;
      flex: 1 1 auto;
    }
  }
  /* Before typing (empty bar tapped; [data-idle] on the panel): recent + popular searches as wrapping chips instead
     of the results. */
  .overlay-panel.search-glass-pop[data-idle] [data-dialog-body] > :has(> #predictive-search-listbox) { display: none; }
  .ps-idle {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.875rem;
    max-height: calc(var(--sp-max, 70svh) - 2px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .ps-idle[hidden] { display: none; }
  .overlay-panel:not(.search-glass-pop) .ps-idle { display: none; }
  .ps-idle-group[hidden] { display: none; }
  .ps-idle-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
  .ps-idle-clear {
    font-size: 0.75rem;
    color: var(--color-on-surface-secondary);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
  }
  @media (hover: hover) { .ps-idle-clear:hover { color: var(--color-on-surface); } }
  /* Symmetrical but snug: pills only as wide as their text, every row centred with even spacing. */
  .overlay-panel.search-glass-pop .ps-idle .ps-chips {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .overlay-panel.search-glass-pop .ps-idle .ps-chips > li { flex: none; max-width: 100%; min-width: 0; }
  .overlay-panel.search-glass-pop .ps-idle .ps-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    min-height: 2.25rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* Small screens: each set of searches is one line that swipes sideways (centred when it all fits). */
  @media (width < 48rem) {
    .overlay-panel.search-glass-pop .ps-idle .ps-chips {
      flex-wrap: nowrap;
      justify-content: flex-start;
      overflow-x: auto;
      overscroll-behavior-x: contain;
      scroll-snap-type: x proximity;
      scrollbar-width: none;
      touch-action: pan-x;
      margin-inline: -0.875rem;
      padding-inline: 0.875rem;
      scroll-padding-inline: 0.875rem;
    }
    .overlay-panel.search-glass-pop .ps-idle .ps-chips::-webkit-scrollbar { display: none; }
    /* Ends fade where there's more to swipe to (data-more-left / -right), so a pill never looks chopped off. */
    .overlay-panel.search-glass-pop .ps-idle .ps-chips {
      --row-fade-l: 0px;
      --row-fade-r: 0px;
      -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--row-fade-l), #000 calc(100% - var(--row-fade-r)), transparent 100%);
      mask-image: linear-gradient(to right, transparent 0, #000 var(--row-fade-l), #000 calc(100% - var(--row-fade-r)), transparent 100%);
    }
    .overlay-panel.search-glass-pop .ps-idle .ps-chips[data-more-left] { --row-fade-l: 2.25rem; }
    .overlay-panel.search-glass-pop .ps-idle .ps-chips[data-more-right] { --row-fade-r: 2.25rem; }
    .overlay-panel.search-glass-pop .ps-idle .ps-chips > li { scroll-snap-align: start; max-width: none; }
    .overlay-panel.search-glass-pop .ps-idle .ps-chips > li:first-child { margin-inline-start: auto; }
    .overlay-panel.search-glass-pop .ps-idle .ps-chips > li:last-child { margin-inline-end: auto; }
    .overlay-panel.search-glass-pop .ps-idle .ps-chip { max-width: none; }
  }
  /* While the results for what's typed are still coming in ([data-pending], s-header-search.js), show only the
     loading shimmer: never the previous search's results or a half-built layout that then jumps. */
  .overlay-panel.search-glass-pop[data-pending] #predictive-search-listbox > * { display: none !important; }
  .overlay-panel.search-glass-pop[data-pending] [data-fade-overlay] { visibility: hidden; }
  /* Product page availability pill: a smaller dot to match its 10px text. */
  :is([data-product-stock], [data-variant-stocks]) [data-product-status] > span.rounded-full:first-child { width: 0.3125rem; height: 0.3125rem; }
  /* A bit bigger on larger screens: 11px on tablets, 12px on desktops. */
  @media (min-width: 48rem) {
    :is([data-product-stock], [data-variant-stocks]) [data-product-status] {
      gap: 0.3125rem;
      padding: 0.125rem 0.5rem;
      font-size: 0.6875rem;
      line-height: 1rem;
    }
    :is([data-product-stock], [data-variant-stocks]) [data-product-status] > span.rounded-full:first-child { width: 0.375rem; height: 0.375rem; }
  }
  @media (min-width: 64rem) {
    :is([data-product-stock], [data-variant-stocks]) [data-product-status] {
      gap: 0.375rem;
      padding: 0.1875rem 0.625rem;
      font-size: 0.75rem;
    }
  }
  /* Phones: pinned strip in the header's colour (same as the announcement bar and the theme-color meta), so Safari's
     clock area keeps the header colour even though the announcement bar now sits at the very top. Under the header
     (z-40) and the bar (z-50 but same colour), so invisible. */
  .safari-top-tint { display: none; }
  @media (width < 48rem) {
    .safari-top-tint {
      display: block;
      position: fixed;
      inset: 0 0 auto 0;
      height: calc(var(--safe-area-inset-top, 0px) + 0.5rem);
      z-index: 30;
      pointer-events: none;
      background: color-mix(in srgb, var(--color-surface-secondary) 75%, var(--color-surface));
    }
    /* Chat open: the chat covers the whole screen up to the top edge (see-through there), which left Safari's clock
       area unpainted. The same strip goes above the chat (it only reaches 0.5rem past the clock area), and stays
       there through the open/close animations, so nothing from the chat can ever colour the clock area. */
    html:has(shopify-chat[open]) .safari-top-tint,
    html:has(shopify-chat[data-kb-closing]) .safari-top-tint,
    html:has(.chat-launcher-morph) .safari-top-tint {
      z-index: 2147483001;
    }
    /* Header already at the very top (scrolled past the announcement bar): the open chat sits under the header, so
       Safari colours the clock area from the header itself. The strip stays tucked under the header then, instead of
       sitting over its top edge and cutting it off (assets/chat-keyboard-fit.js sets [data-kb-header-top]). With the
       announcement bar on screen it stays raised over the bar's top (same colour), so the clock area never goes black. */
    html:has(shopify-chat[data-kb-header-top]) .safari-top-tint { z-index: 30; }
  }
  /* "Inside Ripsaw" video card: its label always sits on its own line right above the title (the first video card's
     phone rules lift the label into the video or beside the title; not on this card). */
  .home-hero .hero-card > div.relative[data-hero-label-above] > [class*="rounded-full"][class*="bg-overlay-strong"] {
    margin-top: 0 !important;
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    justify-self: start;
  }
  .home-hero .hero-card > div.relative[data-hero-label-above] > [class*="type-display"] {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }
  /* Hero photo zoom replays every time a slide comes into view (it used to run once on page load, while the first
     slide, a video, was showing, so the photo slides had already finished zooming before anyone saw them). Grows
     around the image's focal point (transform-origin set inline by the focal-point snippet). Transform only. */
  @media (prefers-reduced-motion: no-preference) {
    .home-hero [data-slide] .hero-card > img { animation: none; }
    .home-hero [data-slide]:not([aria-hidden="true"]) .hero-card > img { animation: ken-burns 1.6s var(--ease-drawer) both; }
  }
  /* Large screens (the opposite of the phone hero layout's media query): no dark layers over the photo slides, so the
     photos are as bright as on phones. A soft shadow on the copy keeps it readable on light parts of a photo. */
  @media (min-width: 40rem) and (min-aspect-ratio: 21/20) {
    .home-hero .hero-card > div.pointer-events-none[aria-hidden][class~="inset-0"] { display: none; }
    .home-hero .hero-card:not(:has(> .hero-video-area)) > div.relative :is(h2, p):not([class*="bg-surface"] *):not([class*="rounded-full"]) { text-shadow: 0 1px 2px rgb(0 0 0 / 0.45), 0 2px 16px rgb(0 0 0 / 0.35); }
  }
  /* Trust cards line up with each other: each card spans two rows of the list's grid (icon + title row, text row)
     as a subgrid, so every title row is as tall as the tallest title and every text row as tall as the tallest text;
     icons, titles and descriptions are each centred in their row, so they sit at the same height across cards. */
  .trust-row > ul { grid-auto-rows: auto; }
  .trust-row > ul > li.trust-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0.375rem; align-content: start; }
  .trust-row > ul > li.trust-card > * { align-self: center; justify-self: stretch; }
  /* Text is left-aligned but the block is centred: the card has one column as wide as its widest line (title row or
     description), centred in the card, so the icon, title and description share a left edge. */
  .trust-row > ul > li.trust-card { grid-template-columns: minmax(0, max-content); justify-content: center; }
  @media (width >= 48rem) {
    .trust-row > ul > li.trust-card { row-gap: 0.75rem; }
    /* Larger screens: no centring. The text starts at the card left padding and uses the full card width. */
    .trust-row > ul > li.trust-card { grid-template-columns: minmax(0, 1fr); justify-content: normal; }
  }
  /* Trust cards under the hero, phones: one sideways row. s-trust-marquee.js glides it one way and lets it be swiped
     forever without stopping (copies of the cards make the loop seamless); with reduced motion it just scrolls by hand. No snap
     points, so the glide stays smooth. */
  @media (width < 48rem) {
    .trust-row {
      overflow-x: auto;
      overflow-y: hidden;
      overscroll-behavior-x: contain;
      scrollbar-width: none;
      padding-block: 0.25rem;
      margin-block: -0.25rem;
      -webkit-mask-image: linear-gradient(90deg, transparent, #000 0.75rem, #000 calc(100% - 0.75rem), transparent);
      mask-image: linear-gradient(90deg, transparent, #000 0.75rem, #000 calc(100% - 0.75rem), transparent);
    }
    .trust-row::-webkit-scrollbar { display: none; }
    .trust-row > ul { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: auto auto; grid-auto-columns: 9.75rem; width: max-content; column-gap: 0.5rem; row-gap: 0; padding-inline: 0.125rem; }
    /* Every card, copies included, is exactly one 9.75rem column (the listx27s 2-column tablet grid is switched off). */
    .trust-row > ul > li { width: auto; min-width: 0; }
    @media (pointer: fine) {
      .trust-row { cursor: grab; }
      .trust-row[data-dragging] { cursor: grabbing; user-select: none; -webkit-user-select: none; }
    }
    /* Gliding (s-trust-marquee.js sets [data-marquee]): the script moves the row with transform, so no native
       scrolling; vertical swipes still scroll the page. */
    .trust-row[data-marquee] { overflow: hidden; touch-action: pan-y; }
    .trust-row[data-marquee] > ul { will-change: transform; }
    .trust-row[data-marquee][data-dragging] { user-select: none; -webkit-user-select: none; }
  }
  @media (width >= 48rem) {
    .trust-row [data-trust-copy] { display: none; }
  }
  /* Never wider than the screen, whatever was measured. */
  .overlay-panel.search-glass-pop { max-width: calc(100vw - 1.5rem) !important; }
  /* Edge fades on the results: the top edge fades while there are products above, the bottom edge while there are
     more below (data-more-above / data-more-below from s-header-search.js; off until measured, so no flash). A mask on the scrolling box, so the products
     dissolve into the glass with no solid band, and the fades ease in and out. */
  @property --ps-fade-top { syntax: '<length>'; inherits: false; initial-value: 0px; }
  @property --ps-fade-bottom { syntax: '<length>'; inherits: false; initial-value: 0px; }
  .overlay-panel.search-glass-pop [data-dialog-body] #predictive-search-listbox {
    --ps-fade-top: 0px;
    --ps-fade-bottom: 0px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 var(--ps-fade-top), #000 calc(100% - var(--ps-fade-bottom)), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 var(--ps-fade-top), #000 calc(100% - var(--ps-fade-bottom)), transparent 100%);
    transition: --ps-fade-top 0.2s ease, --ps-fade-bottom 0.2s ease;
  }
  .overlay-panel.search-glass-pop[data-more-above] [data-dialog-body] #predictive-search-listbox { --ps-fade-top: 2rem; }
  .overlay-panel.search-glass-pop[data-more-below] [data-dialog-body] #predictive-search-listbox { --ps-fade-bottom: 2.5rem; }
  /* Mouse drag on a line of searches (s-header-search.js): grab cursor, no snapping or text selection mid-drag. */
  @media (hover: hover) and (pointer: fine) {
    .overlay-panel.search-glass-pop .ps-idle .ps-chips:is(:hover) { cursor: grab; }
  }
  .overlay-panel.search-glass-pop .ps-idle .ps-chips[data-row-dragging] {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
  }
  .overlay-panel.search-glass-pop .ps-idle .ps-chips[data-row-dragging] * { cursor: grabbing; }
  .overlay-panel.search-glass-pop[data-pending] #predictive-search-listbox::before {
    content: '';
    display: block;
    grid-column: 1 / -1;
    height: 5.5rem;
    border-radius: 10px;
    background: linear-gradient(90deg,
      color-mix(in srgb, var(--color-on-surface) 6%, transparent) 20%,
      color-mix(in srgb, var(--color-on-surface) 12%, transparent) 50%,
      color-mix(in srgb, var(--color-on-surface) 6%, transparent) 80%);
    background-size: 200% 100%;
    animation: ps-shimmer 1.1s linear infinite;
  }
  .overlay-panel.search-glass-pop .ps-idle .ps-heading { text-align: center; }
  .overlay-panel.search-glass-pop .ps-idle .ps-idle-head { justify-content: center; position: relative; }
  .overlay-panel.search-glass-pop .ps-idle .ps-idle-clear { position: absolute; right: 0; top: 0; }
  /* No matching products but collections or related searches: drop the "No results" line (they are results). */
  #predictive-search-listbox:has([data-ps-extras]:not(:empty)) [data-ps-empty] { display: none; }
  .overlay-panel.search-glass-pop > [data-dialog-body] {
    height: auto;
    max-height: calc(var(--sp-max, 70svh) - 2px);
    overflow: hidden;
    border-radius: 13px;
  }
  .overlay-panel.search-glass-pop [data-ps-bar] { display: none; }
  /* The page stays put while search is open (drop-down or the full search window), every device; the gutter is
     kept so nothing shifts sideways on desktop. iPhone also gets a touch guard in s-header-search.js. */
  html:has(#predictive-search[open]) {
    overflow: hidden;
    overscroll-behavior: none;
    scrollbar-gutter: stable;
  }
  /* Not overflow: hidden on body: with html's overflow set, that makes body its own scroll box, which un-sticks the
     sticky header (it jumps back to its spot at the top of the page when the shopper is scrolled down, and the
     drop-down with it). The html lock above already stops the page scrolling. */
  html:has(#predictive-search[open]) body { overscroll-behavior: none; }
  /* The results scroll on their own, inside the panel. */
  .overlay-panel.search-glass-pop #predictive-search-listbox {
    height: auto;
    max-height: calc(var(--sp-max, 70svh) - 2px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  .overlay-panel.search-glass-pop #predictive-search-listbox {
    padding: 0.75rem 0.75rem 4.5rem;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--color-on-surface) 22%, transparent) transparent;
  }
  .overlay-panel.search-glass-pop [data-dialog-body]:not(:has([data-fade-overlay])) #predictive-search-listbox { padding-bottom: 0.75rem; }
  /* With the floating "View all results" button: room under the last row for the whole button area (fade + button +
     its spacing + the phone's home-bar inset), at every size and layout, so the bottom results scroll fully clear. */
  /* "View all results" is its own bar under the results (not floating over them), so the last product always
     scrolls fully into view above it. The results area shrinks to make room (flex column inside the panel's height
     limit). A soft fade above the bar hints at more below and goes away once scrolled to the end ([data-at-end], from
     s-header-search.js). */
  .overlay-panel.search-glass-pop [data-dialog-body] > :has(> #predictive-search-listbox) {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
  }
  .overlay-panel.search-glass-pop [data-dialog-body] #predictive-search-listbox {
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: 0.875rem !important;
  }
  .overlay-panel.search-glass-pop [data-dialog-body] [data-fade-overlay] {
    position: relative;
    inset: auto;
    flex: none;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding: 0.5rem 0.75rem calc(0.625rem + var(--safe-area-inset-bottom, 0px) * 0.5);
    background: none;
    border-top: 0;
  }
  .overlay-panel.search-glass-pop [data-dialog-body] [data-fade-overlay]::before {
    display: none; /* no band behind the button: the glass shows straight through */
    content: '';
    position: absolute;
    inset: auto 0 100% 0;
    height: 2.5rem;
    background: linear-gradient(to top, var(--sp-solid), transparent);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.2s ease;
  }
  .overlay-panel.search-glass-pop[data-at-end] [data-dialog-body] [data-fade-overlay]::before { opacity: 0; }
  .overlay-panel.search-glass-pop [data-fade-overlay] {
    position: absolute;
    inset: auto 0 0;
    padding: 2.5rem 0.75rem 0.75rem;
    background: linear-gradient(to top, var(--sp-solid) 40%, transparent);
  }
  /* "View all results" in the drop-down: not a red call-to-action, a quiet glass pill that belongs to the panel
     (same outline as the panel's edge, text in the normal colour, a faint fill on hover). */
  .overlay-panel.search-glass-pop [data-fade-overlay] :is(a, button) {
    height: 2.5rem;
    padding-inline: 1.75rem;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--color-on-surface) 6%, transparent);
    color: var(--color-on-surface);
    border: 1px solid var(--pop-edge);
    box-shadow: none;
    font-weight: 500;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: background-color 0.15s ease, transform 140ms ease-out;
  }
  @media (hover: hover) {
    .overlay-panel.search-glass-pop [data-fade-overlay] :is(a, button):hover {
      background: color-mix(in srgb, var(--color-on-surface) 12%, transparent);
      color: var(--color-on-surface);
    }
  }
  .overlay-panel.search-glass-pop [data-fade-overlay] :is(a, button):active { transform: scale(0.97); transition-duration: 30ms; }
  .overlay-panel.search-glass-pop::before,
  .overlay-panel.search-glass-pop::after {
    content: '';
    position: absolute;
    bottom: 100%;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    pointer-events: none;
  }
  .overlay-panel.search-glass-pop::before {
    left: calc(var(--sp-tail-x, 50%) - 1px - 10px);
    width: 20px;
    height: var(--pop-tail);
    background: var(--pop-edge);
  }
  .overlay-panel.search-glass-pop::after {
    left: calc(var(--sp-tail-x, 50%) - 1px - 8.75px);
    width: 17.5px;
    height: calc(var(--pop-tail) - 1.5px);
    background: inherit;
  }
  /* The header search field itself: typing goes straight in; the ring firms up while it's in use. */
  .header-search-field:focus-within { box-shadow: 0 0 0 1px var(--color-on-surface-secondary); color: var(--color-on-surface); }
  .header-search-field input::-webkit-search-cancel-button { display: none; }
  /* A clearly visible cursor: brand red, and the placeholder fades back once the field is in use so the cursor isn't
     lost against it. caret-shape (where supported) makes it a touch bolder. */
  .header-search-field input { caret-color: var(--color-accent); caret-shape: bar; }
  /* The field fills the bar's full height with a sensible line height and a hair of room at the start, so the
     cursor is never clipped top/bottom or at the left edge (it was cut off with zero padding and a tight box). */
  .header-search-field > span.relative { align-self: stretch; }
  .header-search-field input {
    height: 100%;
    min-height: 1.5rem;
    line-height: 1.5;
    padding: 0 0 0 3px;
    margin: 0;
    overflow: visible;
  }
  .header-search-ghost { padding-left: 3px; line-height: 1.5; }
  .header-search-field input::placeholder { transition: opacity 0.15s ease; }
  .header-search-field input:focus::placeholder { opacity: 0.45; }
  /* Red while the box is in use or its drop-down is open; s-header-search.js drops [data-results-open] the moment the
     drop-down starts closing, so the red goes at once rather than after the closing animation. */
  s-header-search[data-results-open] .header-search-field,
  .header-search-field:focus-within { box-shadow: 0 0 0 1.5px var(--color-accent); color: var(--color-on-surface); }
  /* Header Shop with chat box: the same solid red ring as the search box while typing in it (phones: .chat-overlay). */
  .header-chat-field:focus-within { box-shadow: 0 0 0 1.5px var(--color-accent); color: var(--color-on-surface); }
  @media (width < 64rem) { html:has(shopify-chat[open]) .header-chat-field { box-shadow: 0 0 0 1.5px var(--color-accent); color: var(--color-on-surface); } }
  /* Filters drop-down (below 64rem, where the Filter button replaces the sidebar card; search page at every size):
     the burger menu's glass and motion, hanging from the Filter button that opened it (toolbar or the compact bar's
     copy). s-filter-pop.js adds .filter-glass-pop and measures --pop-left / --pop-w / --pop-tail-x / --pop-anchor-top
     (px) when it opens; the pointer is near the LEFT edge (the button sits on the left). In the page (non-modal),
     grows out of the button, folds back into it ([data-closing]), leans on a flick ([data-dragging]). Transform only;
     the glass never fades. The page behind stays still while it is open (CSS on computers, touch block on iPhone). */
  .overlay-panel.filter-glass-pop {
    --filter-safe-bottom: env(safe-area-inset-bottom, 0px);
    --pop-tail: 16px;
    --pop-edge: color-mix(in srgb, #fff 24%, transparent);
    --pop-max: min(30rem, calc(100svh - var(--pop-y, 10rem) - 1.5rem));
    position: fixed;
    z-index: 60;
    /* --pop-y / --pop-left: the box's own top-left corner in px, set by s-filter-pop.js. */
    inset: var(--pop-y, 10rem) auto auto var(--pop-left, 0.5rem);
    margin: 0;
    width: var(--pop-w, min(26rem, calc(100vw - 1rem)));
    height: auto !important; /* wraps its contents; the filter list inside carries the height limit */
    max-height: none;
    padding: 0;
    overflow: visible;
    border-radius: 14px;
    border: 1px solid var(--pop-edge);
    color: var(--color-on-surface);
    background: color-mix(in srgb, var(--color-surface-secondary) 48%, transparent);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    box-shadow:
      inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent),
      0 1px 2px rgb(0 0 0 / 0.25),
      0 18px 48px -10px rgb(0 0 0 / 0.55);
    opacity: 1;
    transform-origin: var(--pop-tail-x, 1.5rem) calc(var(--pop-tail) * -1);
    transform: scale(0.14, 0.06);
    transition: none;
  }
  /* Pointer near the top-left corner: that corner tightens so the pointer joins cleanly. */
  .overlay-panel.filter-glass-pop[data-pop-corner] { border-radius: 8px 14px 14px 14px; }
  .overlay-panel.filter-glass-pop[data-pop-corner] > s-filter-panel { border-radius: 7px 13px 13px 13px; }
  /* Beside the toolbar's Filter button (to its right): grows out sideways from the pointer, which faces left. */
  .overlay-panel.filter-glass-pop[data-pop-side='right'] {
    transform-origin: calc(var(--pop-tail) * -1) var(--pop-tail-y, 1.25rem);
    transform: scale(0.06, 0.14);
  }
  .overlay-panel.filter-glass-pop[data-pop-side='right'][open] { transform: none; }
  @starting-style {
    .overlay-panel.filter-glass-pop[data-pop-side='right'][open] { transform: scale(0.06, 0.14); }
  }
  .overlay-panel.filter-glass-pop[data-pop-side='right'][open][data-closing] { transform: scale(0.02, 0.04); }
  /* Beside the toolbar's Filter button at the far right (collections below 64rem), to its LEFT: grows out sideways
     from the pointer, which faces right; nearly full height (s-filter-pop.js). */
  .overlay-panel.filter-glass-pop[data-pop-side='left'] {
    transform-origin: calc(100% + var(--pop-tail)) var(--pop-tail-y, 1.25rem);
    transform: scale(0.06, 0.14);
  }
  .overlay-panel.filter-glass-pop[data-pop-side='left'][open] { transform: none; }
  @starting-style {
    .overlay-panel.filter-glass-pop[data-pop-side='left'][open] { transform: scale(0.06, 0.14); }
  }
  .overlay-panel.filter-glass-pop[data-pop-side='left'][open][data-closing] { transform: scale(0.02, 0.04); }
  .overlay-panel.filter-glass-pop[data-pop-side='left'][data-pop-corner] { border-radius: 14px 8px 14px 14px; }
  .overlay-panel.filter-glass-pop[data-pop-side='left'][data-pop-corner] > s-filter-panel { border-radius: 13px 7px 13px 13px; }
  :root[data-color-mode='light'] .overlay-panel.filter-glass-pop {
    --pop-edge: rgb(0 0 0 / 0.14);
    background: color-mix(in srgb, #fff 54%, transparent);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), 0 1px 2px rgb(0 0 0 / 0.08), 0 18px 44px -12px rgb(0 0 0 / 0.28);
  }
  .overlay-panel.filter-glass-pop[open] {
    transform: none;
    transition: transform 420ms cubic-bezier(0.34, 1.36, 0.64, 1);
  }
  @starting-style {
    .overlay-panel.filter-glass-pop[open] { transform: scale(0.14, 0.06); }
  }
  .overlay-panel.filter-glass-pop[open][data-dragging] { transition: none; }
  .overlay-panel.filter-glass-pop[open][data-closing] {
    transform: scale(0.04, 0.02);
    transition: transform 200ms cubic-bezier(0.4, 0, 0.8, 0.6);
  }
  @media (prefers-reduced-motion: reduce) {
    .overlay-panel.filter-glass-pop[open], .overlay-panel.filter-glass-pop[open][data-closing] { transition-duration: 0s; }
  }
  /* The filter list carries the height limit and scrolls; the box wraps it (s-filter-pop.js sets the exact px).
     Fallback before the script measures: room under the box minus the title and Show results, at most 22rem. */
  .overlay-panel.filter-glass-pop > s-filter-panel > [data-filter-body] {
    max-height: min(22rem, calc(100svh - var(--pop-y, 10rem) - 9rem));
    overflow-y: auto;
  }
  .overlay-panel.filter-glass-pop > s-filter-panel {
    height: auto !important;
    min-height: 0;
    max-height: none !important;
    overflow: hidden;
    border-radius: 13px;
  }
  .overlay-panel.filter-glass-pop [data-filter-body] {
    flex: 1 1 auto;
    min-height: 0;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--color-on-surface) 22%, transparent) transparent;
  }
  /* The box ends right under Show results: an even 0.5rem round the button, nothing below it. */
  .overlay-panel.filter-glass-pop > s-filter-panel > .shrink-0.border-t { border-top-color: var(--pop-edge); padding: 0.5rem; }
  .overlay-panel.filter-glass-pop > s-filter-panel > .shrink-0.border-t > :is(button, a) { border-radius: 9px; }
  /* The Filter button turns into the X (like the burger), so the panel's own X is kept for screen readers only. */
  .overlay-panel.filter-glass-pop > s-filter-panel > div:first-child [command='close'] {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  .overlay-panel.filter-glass-pop::before,
  .overlay-panel.filter-glass-pop::after {
    content: '';
    position: absolute;
    bottom: 100%;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    pointer-events: none;
  }
  .overlay-panel.filter-glass-pop::before {
    left: calc(var(--pop-tail-x, 1.5rem) - 1px - 12px);
    width: 24px;
    height: var(--pop-tail);
    background: var(--pop-edge);
  }
  .overlay-panel.filter-glass-pop::after {
    left: calc(var(--pop-tail-x, 1.5rem) - 1px - 10.75px);
    width: 21.5px;
    height: calc(var(--pop-tail) - 1.7px);
    background: inherit;
  }
  .overlay-panel.filter-glass-pop[data-pop-side='right']::before,
  .overlay-panel.filter-glass-pop[data-pop-side='right']::after {
    bottom: auto;
    left: auto;
    right: 100%;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
  }
  .overlay-panel.filter-glass-pop[data-pop-side='right']::before {
    top: calc(var(--pop-tail-y, 1.25rem) - 1px - 12px);
    width: var(--pop-tail);
    height: 24px;
  }
  .overlay-panel.filter-glass-pop[data-pop-side='right']::after {
    top: calc(var(--pop-tail-y, 1.25rem) - 1px - 10.75px);
    width: calc(var(--pop-tail) - 1.7px);
    height: 21.5px;
  }
  .overlay-panel.filter-glass-pop[data-pop-side='left']::before,
  .overlay-panel.filter-glass-pop[data-pop-side='left']::after {
    bottom: auto;
    left: 100%;
    clip-path: polygon(100% 50%, 0 0, 0 100%);
  }
  .overlay-panel.filter-glass-pop[data-pop-side='left']::before {
    top: calc(var(--pop-tail-y, 1.25rem) - 1px - 12px);
    width: var(--pop-tail);
    height: 24px;
  }
  .overlay-panel.filter-glass-pop[data-pop-side='left']::after {
    top: calc(var(--pop-tail-y, 1.25rem) - 1px - 10.75px);
    width: calc(var(--pop-tail) - 1.7px);
    height: 21.5px;
  }
  /* Phones and tablets: the filter pop-up packs its rows tighter vertically (title, chips, group titles, values,
     Show more, Show results), keeping every checkbox row at least 2.25rem tall to tap comfortably. */
  @media (width < 64rem) {
    .overlay-panel.filter-glass-pop > s-filter-panel > div:first-child { padding-block: 0.25rem; min-height: 2.5rem; }
    .overlay-panel.filter-glass-pop > s-filter-panel > div:first-child h2 { font-size: 1rem; line-height: 1.25; }
    .overlay-panel.filter-glass-pop [data-filter-body] { padding: 0 0.875rem; }
    .overlay-panel.filter-glass-pop [data-active-row] { padding-block: 0.375rem; }
    .overlay-panel.filter-glass-pop [data-active-row] > ul { padding-block: 0; }
    .overlay-panel.filter-glass-pop [data-active-row] :is(a, span).min-h-8 { min-height: 1.75rem; }
    .overlay-panel.filter-glass-pop details > summary { padding-block: 0.5rem; font-size: 0.875rem; }
    /* Each group's title pins to the top of the scrolling list while its values scroll under it, then lets go as
       the next group's title arrives (plain CSS sticky, no script). A frosted strip the menu's tone keeps what
       slides under it from showing through; it spans the list's side padding. */
    .overlay-panel.filter-glass-pop details > summary {
      position: sticky;
      top: 0;
      z-index: 5;
      width: auto;
      /* Inset a little from the menu's sides so its rounded corners read as a floating pill. */
      margin-inline: -0.375rem;
      padding-inline: 0.5rem;
      border-radius: 0.625rem;
      /* In place: no background of its own (the menu's glass shows). Fades to and from the pinned look. */
      background-color: transparent;
      box-shadow: inset 0 0 0 1px transparent;
      transition: background-color 0.2s ease, box-shadow 0.2s ease;
    }
    @media (prefers-reduced-motion: reduce) {
      .overlay-panel.filter-glass-pop details > summary { transition: none; }
    }
    /* Pinned to the top (s-filter-pop.js sets [data-pinned]): the menu's tone made solid, so nothing scrolling under
       shows through, and a thin outline in the menu's edge colour. (A blur nested inside the frosted menu is skipped
       by Safari on iPhone, so the colour does the hiding.) The glass is the panel colour at 48% over the page. */
    .overlay-panel.filter-glass-pop details > summary[data-pinned] {
      background-color: color-mix(in srgb, var(--color-surface-secondary) 48%, var(--color-surface));
      box-shadow: inset 0 0 0 1px var(--pop-edge);
    }
    :root[data-color-mode='light'] .overlay-panel.filter-glass-pop details > summary[data-pinned] {
      background-color: color-mix(in srgb, #fff 54%, var(--color-surface));
    }
    .overlay-panel.filter-glass-pop details > summary + div { padding-bottom: 0.375rem; }
    .overlay-panel.filter-glass-pop details ul.space-y-0\.5 { padding-top: 0; }
    .overlay-panel.filter-glass-pop details ul.space-y-0\.5 > li + li { margin-top: 0; }
    .overlay-panel.filter-glass-pop details label.min-h-10 { min-height: 2.25rem; padding-block: 0.25rem; }
    .overlay-panel.filter-glass-pop [data-more-toggle] { margin-top: 0; min-height: 2rem; }
    .overlay-panel.filter-glass-pop > s-filter-panel > .shrink-0.border-t { padding: 0.375rem; }
    .overlay-panel.filter-glass-pop > s-filter-panel > .shrink-0.border-t > :is(button, a) { height: 2.5rem; }
  }
  /* Filter button's menu: the red divider lines between groups stay (the groups' own border); none under the chips row. */
  .overlay-panel.filter-glass-pop [data-active-row] { border-bottom-width: 0; }
  .overlay-panel.filter-glass-pop[data-pop-side='above'] {
    transform-origin: var(--pop-tail-x) calc(100% + var(--pop-tail));
  }
  .overlay-panel.filter-glass-pop[data-pop-side='above']::before,
  .overlay-panel.filter-glass-pop[data-pop-side='above']::after {
    top: 100%;
    bottom: auto;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
  }
  @supports not (-webkit-touch-callout: none) {
    html:has(dialog.filter-glass-pop[open]) { overflow: hidden; }
  }
  /* Filter button icon: sliders -> X while the filters are open (same turn as the burger). */
  .filter-toggle-icons { display: inline-grid; place-items: center; }
  .filter-toggle-icons > * { grid-area: 1 / 1; transition: transform 220ms cubic-bezier(0.34, 1.36, 0.64, 1), opacity 110ms ease; }
  .filter-toggle-icons > .filter-icon-close { opacity: 0; transform: rotate(-90deg) scale(0.6); }
  :root:has(dialog.filter-glass-pop[open]:not([data-closing])) .filter-toggle-icons > .filter-icon-open { opacity: 0; transform: rotate(90deg) scale(0.6); }
  :root:has(dialog.filter-glass-pop[open]:not([data-closing])) .filter-toggle-icons > .filter-icon-close { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .filter-toggle-icons > * { transition-duration: 0s; } }
  /* Account icon: Shopify's own account popup (sign in / Orders / Profile) can only take basic styling, so it can't
     be glass or grow from the icon. Matched as far as it allows: the cart/menu's base colour (solid, since it has no
     blur and see-through text would be unreadable), their 14px corners. Its top sits 8px under the profile icon's
     bottom edge: --account-pop-top is measured when the icon is pressed (script beside it in theme.liquid). */
  shopify-account {
    --shopify-account-color-background: var(--color-surface-secondary);
    --shopify-account-radius-base: 14px;
    --shopify-account-dialog-position-top: var(--account-pop-top, calc(var(--header-bottom, 4rem) - 0.5rem));
  }
  /* Cart drop-down extras (discount code, order note) above the total: the footer already has a top line, so the
     first row drops its own; lines use the glass edge colour. */
  #cart-drawer-summary .cart-pop-extras > details { border-top-color: var(--pop-edge, var(--color-border)); }
  #cart-drawer-summary .cart-pop-extras > details:first-child { border-top: 0; }
  #cart-drawer-summary .cart-pop-extras > details:first-child > summary { padding-top: 0; }
  #cart-drawer-summary .cart-pop-extras { margin-bottom: 0.25rem; }
  #cart-drawer-summary .cart-pop-extras textarea { resize: vertical; max-height: 10rem; }
  /* Their arrows flip like the burger menu's (180ms); the arrow follows the fold's direction straight away. */
  #cart-drawer-summary .cart-pop-extras summary > span[aria-hidden] { transition: transform 180ms cubic-bezier(0.2, 0, 0, 1); }
  #cart-drawer-summary .cart-pop-extras details[data-folding='closed'] summary > span[aria-hidden] { transform: none; }
  #cart-drawer-summary .cart-pop-extras details[data-folding='open'] summary > span[aria-hidden] { transform: rotate(180deg); }
  .cart-pop-view { border-color: var(--pop-edge, var(--color-border)); }
  /* Empty cart quips (snippets/cart-empty-lines): all lines in one grid cell (height = tallest, no shift); only the
     shown one is visible. It swaps while the cart is closed, so no transition. */
  .cart-empty-lines { display: inline-grid; justify-items: inherit; }
  .cart-empty-line { grid-area: 1 / 1; visibility: hidden; }
  .cart-empty-line[data-active] { visibility: visible; }
  /* Add-to-cart flight (s-cart-pop.js): a red dot arcs from the pressed button into the cart icon. Fixed and
     click-through; moved by transform only. */
  .cart-fly { position: fixed; z-index: 2147483647; width: 16px; height: 16px; pointer-events: none; }
  /* Filter menu (pop-out and drawer) in front of the chat button (chat app layer: z-index 2147483000). */
  .overlay-panel.filter-glass-pop, #collection-filter-drawer, dialog[id$="-filter-drawer"] { z-index: 2147483647; }
  /* iPhone: Safari paints the colour of whatever is pinned to the bottom of the screen behind its address bar. The
     chat app (<shopify-chat>) pins a full-screen layer there plus its button 20px from the bottom edge, which
     painted that area. On phones, while the chat is closed, its layer stops well above the bottom edge (the
     button rides up with it), so nothing pinned touches the bottom and the bar stays clear. Open, it is untouched
     and uses the full screen as the app intends. */
  @media (width < 48rem) {
    /* Closed: measured from the TOP with the screen height when Safari's bars are fully shown (svh), so the button
       keeps still while the address bar grows and shrinks (Safari reports the bar only once it settles, so following it jerks).
       Always above the bar, clear of the area Safari paints. */
    shopify-chat:not([open]) {
      inset: 0 0 auto 0 !important;
      bottom: auto !important;
      height: calc(100svh - 1.5rem) !important;
      /* Also the frame for the chat's own pinned parts, so its closing animation stays in this box above the bar
         instead of dropping to the bottom edge (where Safari painted it behind the address bar). */
      transform: translateZ(0);
    }
    /* Open: the chat sizes its panel from the full screen height inside the app, so raising it would push its top
       (and close button) off screen. Instead the whole open chat is shown at 88%, anchored to the top: its top stays
       put and its bottom lifts about 90px clear of the bottom edge, so Safari paints nothing behind its address bar.
       Transform only (also makes the chat its own frame, so its pinned panel and backdrop shrink with it). */
    /* Open chat on touch phones: a small window pinned to the top (assets/chat-keyboard-fit.js), no 88% scaling. */
    /* Closing: the chat button is hidden while the window shrinks away (the chat still has its open shape then), and
       fades in once it is back in its own spot, so it never shows in the wrong place and snaps. */
    shopify-chat[data-kb-closing]::part(activator) { opacity: 0; transition: none; }
    @media (prefers-reduced-motion: no-preference) {
      shopify-chat:not([open]):not([data-kb-closing])::part(activator) { transition: opacity 180ms ease-out; }
    }
    /* Opening and closing are left to the chat's own animation (moving its box at the same time fought it). Only once
    the chat is open and settled ([data-kb-settled], assets/chat-keyboard-fit.js) does the keyboard coming up or
    going down ease it into the new space, quickly (the size is only known as the keyboard finishes). Off for
    reduced motion. */
    @media (prefers-reduced-motion: no-preference) {
      shopify-chat[open][data-kb-settled] {
        transition:
          height 200ms cubic-bezier(0.22, 1, 0.36, 1);
      }
    }
  }
  /* RIPSAW chat button (<s-chat-launcher>, assets/s-chat-launcher.js): the theme's own button for the Shopify AI chat.
     Dark pill in the chat's colours with the RIPSAW red icon. It sits still (no pinning to the moving bottom edge on
     phones, so nothing is painted behind Safari's address bar), hides while the chat is open and fades back after.
     The app's own button is hidden only once this one is confirmed working (:root[data-own-chat-launcher]). */
  :root[data-own-chat-launcher] shopify-chat::part(activator) { display: none !important; }
  .chat-launcher { position: fixed; z-index: 2147482990; right: 1.25rem; bottom: 1.25rem; transition: opacity 180ms ease-out, visibility 0s; }
  .chat-launcher[hidden] { display: none; }
  .chat-launcher[data-chat-open] { opacity: 0; visibility: hidden; pointer-events: none; transition: none; }
  .chat-launcher[data-instant] { transition: none; }
  /* Closing stand-in: takes the chat window's place and shrinks onto the button (s-chat-launcher.js), same look as both. */
  /* Chat bars' send button (assets/s-chat-bar.js): an arrow, which turns into an X that closes the chat while the chat
     is open and nothing new is typed ([data-close-mode]). */
  [data-chat-send] svg + svg { display: none; }
  s-chat-bar[data-close-mode] [data-chat-send] svg:first-child { display: none; }
  s-chat-bar[data-close-mode] [data-chat-send] svg + svg { display: block; }
  @media (prefers-reduced-motion: no-preference) {
    s-chat-bar[data-close-mode] [data-chat-send] svg + svg { animation: chat-send-x-in 220ms cubic-bezier(0.32, 0.72, 0, 1); }
    s-chat-bar:not([data-close-mode])[data-was-close] [data-chat-send] svg:first-child { animation: chat-send-arrow-in 220ms cubic-bezier(0.32, 0.72, 0, 1); }
  }
  @keyframes chat-send-x-in { from { rotate: -90deg; scale: 0.6; opacity: 0; } }
  @keyframes chat-send-arrow-in { from { translate: 0 40%; opacity: 0; } }
  /* Header chat icons: a soft red glow (static, drawn by the GPU; a touch brighter on hover/focus). */
  .chat-icon-glow { filter: drop-shadow(0 0 3px color-mix(in srgb, var(--color-accent) 75%, transparent)) drop-shadow(0 0 7px color-mix(in srgb, var(--color-accent) 35%, transparent)); }
  :is(a, form):is(:hover, :focus-within, :focus-visible) > .chat-icon-glow { filter: drop-shadow(0 0 4px color-mix(in srgb, var(--color-accent) 90%, transparent)) drop-shadow(0 0 10px color-mix(in srgb, var(--color-accent) 50%, transparent)); }
  @media (prefers-reduced-motion: no-preference) { .chat-icon-glow { transition: filter 200ms ease; } }
  .chat-overlay[hidden] { display: none !important; }
  /* Closed chat: touches pass straight through to the page (its button is hidden everywhere; see chat-keyboard-fit.js). */
  shopify-chat:not([open]) { pointer-events: none !important; }
  /* Small screens, chat open: the page behind stays still. Touch phones already ignore swipes outside the chat
     (assets/chat-keyboard-fit.js; an overflow lock there made iPhone's header misbehave); with a mouse or trackpad
     (narrow windows) the page is locked here, gutter kept so nothing shifts sideways. The chat itself still scrolls. */
  @media (width < 48rem) and (hover: hover) and (pointer: fine) {
    html:has(shopify-chat[open]) {
      overflow: hidden;
      overscroll-behavior: none;
      scrollbar-gutter: stable;
    }
  }
  .chat-launcher-morph {
    position: fixed;
    z-index: 2147482995;
    pointer-events: none;
    background: #1c1c1c;
    border: 1px solid rgb(255 255 255 / 0.12);
  }
  .chat-launcher__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.75rem;
    padding: 0 1.125rem 0 0.875rem;
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 999px;
    background: #1c1c1c;
    color: #f1f1f1;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  @media (hover: hover) { .chat-launcher__button:hover { background: #262626; } }
  .chat-launcher__button:focus-visible { outline: 2px solid #ce0911; outline-offset: 2px; }
  .chat-launcher__icon { color: #ce0911; flex: none; }
  @media (prefers-reduced-motion: no-preference) {
    .chat-launcher__button { transition: transform 150ms ease-out, background-color 150ms ease-out; }
    .chat-launcher__button:active { transform: scale(0.96); }
  }
  /* Phones: measured from the top with Safari's bars fully shown (svh), so it keeps still while the address bar
     grows and shrinks and always sits just above it, where the chat window opens from. */
  @media (width < 48rem) {
    .chat-launcher { right: 16px; bottom: auto; top: calc(100svh - 2.75rem - 0.5rem); } /* as low as it goes: 8px above the full-size bar */
  }
  /* Cart drop-down, small screens: a smaller quantity selector (28px tall instead of 36px; still easy to tap). */
  @media (width < 48rem) {
    #cart-drawer .cart-qty > button { width: 1.75rem; height: 1.75rem; }
    #cart-drawer .cart-qty > button > span { width: 0.75rem; height: 0.75rem; }
    #cart-drawer .cart-qty > input { width: 2rem; height: 1.75rem; }
  }
  .cart-fly__dot {
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    background: var(--color-accent);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 30%, transparent), 0 4px 12px rgb(0 0 0 / 0.35);
  }
  /* Phone menu button: the burger turns into an X while the menu is open (tapping it closes the menu: the tap lands on
     the menu's see-through backdrop, which closes it). The menu has no X of its own. */
  .menu-toggle-icons { display: inline-grid; place-items: center; }
  .menu-toggle-icons > * { grid-area: 1 / 1; transition: transform 220ms cubic-bezier(0.34, 1.36, 0.64, 1), opacity 110ms ease; }
  .menu-toggle-icons > .menu-icon-close { opacity: 0; transform: rotate(-90deg) scale(0.6); }
  :root:has(#mobile-nav-drawer[open]:not([data-closing])) .menu-toggle-icons > .menu-icon-open { opacity: 0; transform: rotate(90deg) scale(0.6); }
  :root:has(#mobile-nav-drawer[open]:not([data-closing])) .menu-toggle-icons > .menu-icon-close { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .menu-toggle-icons > * { transition-duration: 0s; } }
  /* The menu's content clips to the rounded glass (the dialog itself stays unclipped so the tail can show). */
  /* Menu top spacing: the header strip only holds Back (and the sub-menu title) inside a sub-menu, so on the main
     level it collapses to nothing and the list starts just under the edge; inside a sub-menu it's a slim 44px strip. */
  .mobile-glass-menu > div > div:first-child {
    min-height: 2.75rem;
    padding-block: 0;
    transition: min-height 200ms cubic-bezier(0.2, 0, 0, 1);
  }
  .mobile-glass-menu > div > div:first-child:has(> #mobile-nav-back.hidden) { min-height: 0; }
  /* Bottom spacing lives inside the scrolling list, so the last row always has room under it, scrolled or not. */
  .mobile-glass-menu > div > div.flex-1 { padding-top: 0.375rem; padding-bottom: 0; overflow: hidden; }
  .mobile-glass-menu #mobile-nav-panel-root { padding-bottom: 0.625rem; overscroll-behavior: contain; }
  /* Page behind the open menu: computers lock via the base html:has(dialog:modal) rule (left off on iOS on purpose);
     on touch the menu script blocks drags outside the list, so the page can't scroll there either. */
  /* Menu scrolling: only the list scrolls (no second scroller around it). Its scrollbar is thin and faint, and its
     space is always reserved (scrollbar-gutter), so opening a section never narrows the menu. The list reaches into
     the menu's right padding so the reserved strip sits at the glass edge rather than eating into the rows. */
  .mobile-glass-menu #mobile-nav { overflow: visible; height: auto; } /* was clipping for slide-in pages, which are gone */
  .mobile-glass-menu > div { height: auto; max-height: var(--menu-max); }
  .mobile-glass-menu #mobile-nav-panel-root {
    position: relative;
    inset: auto;
    max-height: calc(var(--menu-max) - 0.375rem - 2px); /* menu limit minus the top padding and border */
    margin-inline-end: -1rem;
    padding-inline-end: 0.5rem;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--color-on-surface) 22%, transparent) transparent;
  }
  .mobile-glass-menu #mobile-nav-panel-root::-webkit-scrollbar { width: 6px; }
  .mobile-glass-menu #mobile-nav-panel-root::-webkit-scrollbar-track { background: transparent; }
  .mobile-glass-menu #mobile-nav-panel-root::-webkit-scrollbar-thumb { border-radius: 3px; background: color-mix(in srgb, var(--color-on-surface) 22%, transparent); }
  @media (prefers-reduced-motion: reduce) { .mobile-glass-menu > div > div:first-child { transition: none; } }
  /* Keep the scrollbar's space reserved, so opening the menu (which stops page scrolling and drops the scrollbar)
     doesn't shift the header sideways and pull the X away from the menu's pointer. */
  html { scrollbar-gutter: stable; }
  .overlay-panel.mobile-glass-menu > div { overflow: hidden; border-radius: 13px 7px 13px 13px; }
  /* Pointer: a sharp triangle on the top edge, aimed at the X. ::before is its outline (the menu's border colour),
     ::after the glass tint inset by the border width, covering the border's line where the pointer joins the box, so
     one outline runs from the box up to the tip and back. */
  .overlay-panel.mobile-glass-menu::before,
  .overlay-panel.mobile-glass-menu::after {
    content: '';
    position: absolute;
    bottom: 100%;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    pointer-events: none;
  }
  .overlay-panel.mobile-glass-menu::before {
    right: calc(var(--menu-tail-x) - 1px - 12px); /* centred on the X: offsets start inside the 1px border */
    width: 24px;
    height: var(--menu-tail);
    background: var(--menu-edge);
  }
  .overlay-panel.mobile-glass-menu::after {
    right: calc(var(--menu-tail-x) - 1px - 10.75px);
    width: 21.5px;
    height: calc(var(--menu-tail) - 1.7px); /* its base sits on the border band, covering the line there */
    background: inherit; /* tint only: inside the menu's own blur, a second blur would sample nothing */
  }
  :root[data-color-mode='light'] .overlay-panel.mobile-glass-menu {
    --menu-edge: rgb(0 0 0 / 0.14);
    background: color-mix(in srgb, #fff 54%, transparent);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), 0 1px 2px rgb(0 0 0 / 0.08), 0 18px 44px -12px rgb(0 0 0 / 0.28);
  }
  .overlay-panel.mobile-glass-menu[open] {
    opacity: 1;
    transform: none;
    transition: transform 420ms cubic-bezier(0.34, 1.36, 0.64, 1), display 420ms allow-discrete, overlay 420ms allow-discrete;
  }
  /* Flick to close (touch, mobile-nav-drawer script): while pulling, the menu leans with the finger with no lag
     ([data-dragging]); a flick runs the normal close, folding into the menu button from where it leans; a short pull
     springs back with the open spring. Transform only; the glass never fades. */
  .overlay-panel.mobile-glass-menu[open][data-dragging] { transition: none; }
  /* In the page (non-modal, like Sort by), so it needs its own layer above the sticky header, and computers lock the
     page scroll here (iPhone: the menu script blocks touch-drags outside the menu instead). */
  .overlay-panel.mobile-glass-menu { position: fixed; z-index: 60; }
  @supports not (-webkit-touch-callout: none) {
    html:has(#mobile-nav-drawer[open]) { overflow: hidden; }
  }
  /* Closing (script): folds into the button while still open, then the dialog really closes. */
  .overlay-panel.mobile-glass-menu[open][data-closing] {
    transform: scale(0.04, 0.02); /* folds right down into the button, so nothing lingers at the end */
    transition: transform 200ms cubic-bezier(0.4, 0, 0.8, 0.6);
  }
  /* Once really closed (after the fold above), it goes at once: no second closing transition to wait out. */
  .overlay-panel.mobile-glass-menu:not([open]) { transition: none; }
  .overlay-panel.mobile-glass-menu::backdrop,
  .overlay-panel.mobile-glass-menu[open]::backdrop { background: transparent; }
  @starting-style {
    .overlay-panel.mobile-glass-menu[open] { opacity: 1; transform: scale(0.14, 0.06); }
  }
  /* Rows: menu-sized type; they drop in one after another as it opens. */
  .mobile-glass-menu #mobile-nav :is(a, summary) { font-size: 0.9375rem; line-height: 1.25rem; padding-block: 0.8125rem; } /* 46px rows: a little more air between options */
  .mobile-glass-menu #mobile-nav-panel-root > nav > ul > li > :is(a, details > summary) { font-size: 1rem; }
  /* Cascading sections: chevron flips when open; nested links sit on a faint guide line, indented a step. */
  /* Menu's bottom line: currency picker (left) opens upward, inside the menu, rather than down past its edge. */
  .menu-prefs [data-localization-panel] {
    top: auto;
    bottom: 100%;
    margin: 0 0 0.5rem;
    inset-inline: 0 auto;
    width: min(20rem, calc(var(--menu-w, 20rem) - 2rem));
  }
  .menu-prefs [data-loc-scroll] { max-height: min(20.5rem, 45svh); }
  /* Instant press feedback (the moment a finger or mouse goes down): the burger/X dips, menu rows and the
     currency / light-dark controls give a small press, page links flash red (phones have no hover). Press-in is
     near-instant, the release eases back. */
  [data-menu-toggle] { transition: transform 140ms ease-out; }
  [data-menu-toggle]:active { transform: scale(0.86); transition-duration: 30ms; }
  .mobile-glass-menu #mobile-nav :is(a, summary, .menu-prefs button) { transition: transform 140ms ease-out, color 90ms ease; }
  .mobile-glass-menu #mobile-nav :is(a, summary, .menu-prefs button):active { transform: scale(0.97); transition-duration: 30ms, 0ms; }
  /* Final links (actual pages): full-contrast text (white in dark mode, black in light mode), turning the brand red on
     hover instead of dimming. */
  .mobile-glass-menu #mobile-nav a { color: #fff; }
  :root[data-color-mode='light'] .mobile-glass-menu #mobile-nav a { color: #000; } /* light mode mirror of white: full black */
  :root:is([data-color-mode], :not([data-color-mode])) .mobile-glass-menu #mobile-nav a:active { color: var(--color-accent); }
  @media (hover: hover) {
    .mobile-glass-menu #mobile-nav a:hover, :root[data-color-mode='light'] .mobile-glass-menu #mobile-nav a:hover { color: var(--color-accent); opacity: 1; }
  }
  /* Section titles (open/close only) soften their colour on hover; page links turn red (above). */
  @media (hover: hover) { .mobile-glass-menu .menu-cascade > summary:hover { opacity: 1; color: color-mix(in srgb, var(--color-on-surface) 70%, transparent); } }
  /* An open section's title keeps its normal text colour (its solid pinned pill marks it as open). */
  .menu-cascade > summary { list-style: none; }
  .menu-cascade > summary::-webkit-details-marker { display: none; }
  .menu-cascade-chevron { transition: transform 180ms cubic-bezier(0.2, 0, 0, 1); }
  .menu-cascade[open] > summary .menu-cascade-chevron { transform: rotate(180deg); }
  .menu-cascade-list { margin-inline-start: 0.375rem; border-inline-start: 1px solid var(--color-accent); } /* red guide line along an open section's links */
  .menu-cascade-list .menu-cascade-list { margin-bottom: 0.25rem; }
  /* Open section titles (burger menu), like the Filter button menu's group titles: tapping a section open fades its
     title into the menu's tone made solid, with a thin outline in the menu's edge colour, and it pins to the top of
     the list while its links scroll under it (plain CSS sticky; it lets go when the section ends). Closed titles keep
     the glass. A second-level title pins just under its parent's (46px rows). The list gets 0.5rem of start padding
     (cancelled by a negative margin, so nothing moves) for the pill to reach past the text. */
  .mobile-glass-menu #mobile-nav-panel-root { margin-inline-start: -0.5rem; padding-inline-start: 0.5rem; }
  .mobile-glass-menu #mobile-nav .menu-cascade > summary {
    position: sticky;
    top: 0;
    z-index: 3;
    margin-inline: -0.5rem;
    padding-inline: 0.5rem;
    border-radius: 0.625rem;
    background-color: transparent;
    box-shadow: inset 0 0 0 1px transparent;
    transition: transform 140ms ease-out, color 90ms ease, background-color 0.2s ease, box-shadow 0.2s ease;
  }
  .mobile-glass-menu #mobile-nav .menu-cascade > summary:active { transition-duration: 30ms, 0ms, 0.2s, 0.2s; }
  .mobile-glass-menu #mobile-nav .menu-cascade-list .menu-cascade > summary { top: 2.875rem; z-index: 2; } /* pins right under its parent's pinned title */
  /* Sections clip their links for the open/close animation (s-mobile-nav adds overflow-hidden). Hidden would make each
     list its own scroll area, so a sub-section title pinned inside its parent's list (pushed a row down, covering the
     first link) instead of under the parent's pinned title. Clip hides the same overflow without that. */
  .mobile-glass-menu #mobile-nav .menu-cascade-list { overflow: clip; }
  .mobile-glass-menu #mobile-nav { --cascade-solid: color-mix(in srgb, var(--color-surface-secondary) 48%, var(--color-surface)); }
  :root[data-color-mode='light'] .mobile-glass-menu #mobile-nav { --cascade-solid: color-mix(in srgb, #fff 54%, var(--color-surface)); }
  .mobile-glass-menu #mobile-nav .menu-cascade[open] > summary {
    background-color: var(--cascade-solid);
    box-shadow: inset 0 0 0 1px var(--menu-edge);
  }

  @media (prefers-reduced-motion: reduce) {
    .mobile-glass-menu #mobile-nav .menu-cascade > summary { transition: none; }
  }
  @media (prefers-reduced-motion: reduce) { .menu-cascade-chevron { transition: none; } }
  .mobile-glass-menu #mobile-nav-panel-root > nav > ul > li,
  .mobile-glass-menu #mobile-nav-panel-root > :not(nav) {
    transition: opacity 220ms ease, transform 320ms cubic-bezier(0.34, 1.36, 0.64, 1);
  }
  @starting-style {
    .mobile-glass-menu[open] #mobile-nav-panel-root > nav > ul > li,
    .mobile-glass-menu[open] #mobile-nav-panel-root > :not(nav) { opacity: 0; transform: translateY(-6px); }
  }
  .mobile-glass-menu #mobile-nav-panel-root > nav > ul > li:nth-child(2) { transition-delay: 25ms; }
  .mobile-glass-menu #mobile-nav-panel-root > nav > ul > li:nth-child(3) { transition-delay: 50ms; }
  .mobile-glass-menu #mobile-nav-panel-root > nav > ul > li:nth-child(4) { transition-delay: 75ms; }
  .mobile-glass-menu #mobile-nav-panel-root > nav > ul > li:nth-child(5) { transition-delay: 100ms; }
  .mobile-glass-menu #mobile-nav-panel-root > nav > ul > li:nth-child(6) { transition-delay: 125ms; }
  .mobile-glass-menu #mobile-nav-panel-root > nav > ul > li:nth-child(7) { transition-delay: 150ms; }
  .mobile-glass-menu #mobile-nav-panel-root > nav > ul > li:nth-child(n+8),
  .mobile-glass-menu #mobile-nav-panel-root > :not(nav) { transition-delay: 175ms; }
  @media (prefers-reduced-motion: reduce) {
    .overlay-panel.mobile-glass-menu,
    .overlay-panel.mobile-glass-menu[open],
    .mobile-glass-menu #mobile-nav-panel-root > * ,
    .mobile-glass-menu #mobile-nav-panel-root > nav > ul > li { transition-duration: 0s; transition-delay: 0s; }
  }
  /* Complete your build: option menus open as wide as their longest option (only the screen limits them; past
     that an option wraps instead of being cut off). */
  [data-complete-build] .glass-menu { width: max-content; max-width: calc(100vw - 1rem); }
  [data-complete-build] .glass-menu-option { white-space: normal; }
  /* Complete your build: round check per item (red with a white tick when included). */
  .build-check {
    appearance: none;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
    border-radius: 9999px;
    border: 1.5px solid var(--color-on-surface-secondary);
    background: var(--color-surface) center / 0.75rem no-repeat;
    cursor: pointer;
    transition: background-color 0.12s ease, border-color 0.12s ease;
  }
  .build-check:checked {
    border-color: var(--color-accent);
    background-color: var(--color-accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 6.25 2.25 2.25 4.75-5'/%3E%3C/svg%3E");
  }
  .build-check:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
  .build-check:disabled { cursor: default; }
  .build-check:disabled:not(:checked) { border-style: dashed; }
  [data-build-line]:has(.build-check:not(:checked)) [data-build-dim] { opacity: 0.55; }
  /* Scroll bar: a slim thumb on the glass, shown only when the options don't all fit (s-glass-select.js). */
  .glass-menu-thumb {
    position: absolute;
    top: 0;
    right: 3px;
    width: 3px;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--color-on-surface) 45%, transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  .glass-menu[data-scrollable] .glass-menu-thumb { opacity: 1; }
  /* Buy box scroll fade (s-scroll-fade): fades out over the last 48px before the end of its box's scrolling, played
     by the browser on the box's scroll timeline (same curve as the script: opacity = remaining / 48, gone in the last
     4px). Not scrolling (fits, or no scroll box): the timeline is inactive, so it stays at its class opacity 0. */
  @supports (animation-timeline: scroll()) and (animation-range: 0% 100%) {
    :has(> s-scroll-fade) { scroll-timeline: --scroll-fade y; }
    s-scroll-fade {
      animation: scroll-fade-end linear both;
      animation-timeline: --scroll-fade;
      animation-range: calc(100% - 48px) 100%;
    }
  }
  @keyframes scroll-fade-end {
    0% { opacity: 1; }
    91.666% { opacity: 0.0834; }
    91.667% { opacity: 0; }
    100% { opacity: 0; }
  }
  /* Moved by the list's scroll timeline (no script on scroll), like the country menu's; sized on open. */
  @supports (animation-timeline: scroll()) {
    .glass-menu { timeline-scope: --glass-menu-scroll; }
    .glass-menu-scroll { scroll-timeline: --glass-menu-scroll y; }
    .glass-menu-thumb {
      transform: translateY(var(--thumb-from, 6px));
      animation: loc-thumb linear both;
      animation-timeline: --glass-menu-scroll;
    }
  }
  .glass-menu[data-scrollable] .glass-menu-option { margin-inline-end: 6px; }
  /* Highlight: keyboard focus, or the mouse pointer. A finger scrolling across the list never lights options up. */
  .glass-menu-option { -webkit-tap-highlight-color: transparent; }
  /* Taps and clicks only press: double-tapping a link or button never zooms the page (touch-action: manipulation;
     pinch-zoom still works), and double-clicking never selects its text, or the text around it. No grey tap flash.
     Text in descriptions/articles stays selectable, links inside it included; form fields are untouched. */
  html { touch-action: manipulation; }
  :is(a, button, summary, label, [role='button'], [role='option'], [role='tab'], s-glass-select, .glass-menu) {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  :is(.rte, .prose, [class*='rich-text'], [data-description]) a { -webkit-user-select: text; user-select: text; }
  /* The red highlight is glass too: see-through red with white text (hover, keyboard and the pick blink alike). */
  .glass-menu { --glass-pick: color-mix(in srgb, var(--color-accent) 58%, transparent); }
  :root[data-color-mode='light'] .glass-menu { --glass-pick: color-mix(in srgb, var(--color-accent) 72%, transparent); }
  .glass-menu-option:focus-visible {
    background: var(--glass-pick);
    color: #fff;
  }
  @media (hover: hover) and (pointer: fine) {
    .glass-menu-option:hover {
      background: var(--glass-pick);
      color: #fff;
    }
  }
  .glass-menu-option[aria-disabled='true'] {
    opacity: 0.4;
    cursor: default;
    background: none;
    color: inherit;
  }
  .glass-menu-check {
    display: inline-flex;
    width: 18px;
    flex: none;
    justify-content: center;
    color: var(--color-accent);
  }
  .glass-menu-option:focus-visible .glass-menu-check {
    color: #fff;
  }
  @media (hover: hover) and (pointer: fine) {
    .glass-menu-option:hover .glass-menu-check {
      color: #fff;
    }
  }
  .glass-menu-option[aria-selected='true'] .glass-menu-label {
    font-weight: 600;
  }
  @media (pointer: coarse) {
    .glass-menu-option {
      min-height: 44px;
      font-size: 1rem;
    }
  }
  /* Currency selector (header dropdown and the phone menu): the same glass panel and options as the Show / Sort
     by menus, plus each country's flag. Motion: s-localization-dropdown.js (unfolds from the button, folds back). */
  .loc-glass {
    --glass-pick: color-mix(in srgb, var(--color-accent) 58%, transparent);
    overflow: hidden;
    border-radius: 14px;
    border: 0.5px solid color-mix(in srgb, #fff 16%, transparent);
    background: color-mix(in srgb, var(--color-surface-secondary) 48%, transparent);
    -webkit-backdrop-filter: blur(13px) saturate(180%);
    backdrop-filter: blur(13px) saturate(180%);
    box-shadow:
      inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent),
      inset 0 0 0 0.5px color-mix(in srgb, #fff 6%, transparent),
      0 1px 2px rgb(0 0 0 / 0.25),
      0 18px 48px -10px rgb(0 0 0 / 0.55);
    color: var(--color-on-surface);
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 500;
  }
  :root[data-color-mode='light'] .loc-glass {
    --glass-pick: color-mix(in srgb, var(--color-accent) 72%, transparent);
    border-color: rgb(0 0 0 / 0.08);
    background: color-mix(in srgb, #fff 54%, transparent);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 0.7),
      0 1px 2px rgb(0 0 0 / 0.08),
      0 18px 44px -12px rgb(0 0 0 / 0.28);
  }
  .loc-option { gap: 8px; }
  .loc-option .glass-menu-check svg { width: 12px; height: 12px; }
  .loc-option[aria-current='true'] .glass-menu-label { font-weight: 600; }
  .loc-flag {
    width: 18px;
    height: 18px;
    flex: none;
    border-radius: 9999px;
    object-fit: cover;
    box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.18);
  }
  .loc-currency {
    flex: none;
    margin-inline-start: 12px;
    font-size: 0.8125rem;
    color: var(--color-on-surface-secondary);
    opacity: 0;
    transition: opacity 0.12s ease, color 0.12s ease;
  }
  .loc-option[aria-current='true'] .loc-currency,
  .loc-option:focus-visible .loc-currency { opacity: 1; }
  .loc-option:focus-visible .loc-currency { color: rgb(255 255 255 / 0.85); }
  @media (hover: hover) and (pointer: fine) {
    .loc-option:hover .loc-currency { opacity: 1; color: rgb(255 255 255 / 0.85); }
  }
  @media (pointer: coarse) {
    .loc-currency { opacity: 1; }
  }
  /* Its search box: a soft field on the glass; the list narrows as you type. */
  .loc-search {
    position: relative;
    margin: 5px 5px 0;
  }
  .loc-search-icon {
    position: absolute;
    inset-inline-start: 10px;
    top: 50%;
    width: 14px;
    height: 14px;
    translate: 0 -50%;
    color: var(--color-on-surface-secondary);
    pointer-events: none;
  }
  .loc-search-icon svg { width: 100%; height: 100%; }
  .loc-search-input {
    width: 100%;
    height: 34px;
    padding: 0 10px 0 30px;
    border: 0.5px solid color-mix(in srgb, #fff 18%, transparent);
    border-radius: 9px;
    /* A light frosted field on the glass (brighter than the panel, so it reads as a place to type). */
    background: color-mix(in srgb, var(--color-surface) 55%, transparent);
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.18), inset 0 -0.5px 0 color-mix(in srgb, #fff 10%, transparent);
    color: inherit;
    font: inherit;
    font-weight: 500;
    outline: none;
    transition: border-color 0.12s ease, background-color 0.12s ease;
  }
  .loc-search-input::placeholder { color: var(--color-on-surface-secondary); opacity: 1; }
  .loc-search-input:focus {
    border-color: color-mix(in srgb, var(--color-accent) 70%, transparent);
    background: color-mix(in srgb, var(--color-surface) 75%, transparent);
  }
  :root[data-color-mode='light'] .loc-search-input {
    border-color: rgb(0 0 0 / 0.1);
    background: rgb(255 255 255 / 0.7);
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.06);
  }
  :root[data-color-mode='light'] .loc-search-input:focus { background: rgb(255 255 255 / 0.92); }
  .loc-search-input::-webkit-search-cancel-button { cursor: pointer; }
  @media (pointer: coarse) {
    .loc-search-input { height: 44px; font-size: 1rem; }
  }
  .loc-empty {
    margin: 0;
    padding: 10px 12px;
    color: var(--color-on-surface-secondary);
  }
  /* Its scroll bar: the same slim glass thumb as the Show / Sort by menus, shown only when the countries don't all
     fit. Moved by the list's scroll timeline (scroll-linked, no script on scroll); sized on open. */
  .loc-scroll-wrap { position: relative; timeline-scope: --loc-scroll; }
  .loc-scroll-wrap > [data-loc-scroll] { scroll-timeline: --loc-scroll y; }
  .loc-scroll-wrap[data-scrollable] .loc-thumb { opacity: 1; }
  .loc-scroll-wrap[data-scrollable] .loc-option { width: calc(100% - 6px); }
  .loc-thumb { transform: translateY(var(--thumb-from, 6px)); }
  @supports (animation-timeline: scroll()) {
    .loc-thumb {
      animation: loc-thumb linear both;
      animation-timeline: --loc-scroll;
    }
  }
  @keyframes loc-thumb {
    from { transform: translateY(var(--thumb-from, 6px)); }
    to { transform: translateY(var(--thumb-to, 6px)); }
  }
  /* Filter card scroll bar: no arrow buttons at the top and bottom. Chrome draws arrows on its standard
     (scrollbar-width / scrollbar-color) bars, so browsers that support the -webkit- scroll bar use only those rules
     (thin rounded thumb from scrollbar-subtle) with the buttons removed; Firefox keeps its thin bar (no arrows). */
  @supports selector(::-webkit-scrollbar) {
    [data-filter-body],
    [data-filter-body]:hover,
    [data-filter-body]:focus-within {
      scrollbar-width: auto;
      scrollbar-color: auto;
    }
  }
  /* Filter card on touch screens: scrolling the list never spills over into the page (which would re-size the card
     mid-swipe), and taps on its buttons, titles and options are plain taps (no double-tap-to-zoom swallowing a quick
     Show more / Show less). */
  [data-filter-body] { overscroll-behavior: contain; }
  s-filter-panel :is(button, summary, label, a) { touch-action: manipulation; }
  [data-filter-body]::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
  }
  /* Safari, large screens: the filter list's look-alike scroll bar (s-filter-panel #syncThumb). Safari paints a
     styled scroll bar a step behind the list; this one rides the list's own scroll timeline, so it moves in step.
     Same strip (10px, reserved on the right as before), same thumb, same hover colours. */
  @media (min-width: 64rem) {
    s-filter-panel:has(> [data-own-thumb]) { timeline-scope: --filter-list; position: relative; }
    [data-filter-body][data-own-thumb] {
      scroll-timeline: --filter-list y;
      scrollbar-width: none !important;
      padding-inline-end: calc(1.25rem + 10px);
    }
    [data-filter-body][data-compact][data-own-thumb] { padding-inline-end: 1.25rem; }
    [data-filter-body][data-own-thumb]::-webkit-scrollbar { display: none; width: 0; height: 0; }
    [data-filter-thumb] {
      position: absolute;
      top: 0;
      width: 10px;
      z-index: 2;
      box-sizing: border-box;
      border: 3px solid transparent;
      border-radius: 9999px;
      background-clip: content-box;
      background-color: color-mix(in srgb, var(--color-on-surface) 10%, transparent);
      opacity: 0;
      pointer-events: none;
      will-change: transform;
      animation: loc-thumb linear both;
      animation-timeline: --filter-list;
    }
    [data-filter-thumb][data-shown] { opacity: 1; pointer-events: auto; }
    s-filter-panel:has([data-filter-body]:hover, [data-filter-body]:focus-within, [data-filter-thumb]:hover) [data-filter-thumb] {
      background-color: color-mix(in srgb, var(--color-on-surface) 28%, transparent);
    }
    s-filter-panel [data-filter-thumb]:is(:hover, [data-dragging]) {
      background-color: color-mix(in srgb, var(--color-on-surface) 45%, transparent);
    }
  }
  @media not (min-width: 64rem) {
    [data-filter-thumb] { display: none; }
  }

  /* The site header holds still through page transitions, but only carries its transition name while one runs:
     a permanent name (like its own backdrop blur, now on header::before) would stop the dropdown glass inside it
     from blurring the page. layout/theme.liquid also sets it inline on pageswap / pagereveal. */
  html:active-view-transition header { view-transition-name: site-header; }

  /* Tablets and other touch screens (iPad): the header uses the same solid tint as on phones instead of the frosted
     glass (no backdrop-filter is ever put on <header> itself). */
  @media (hover: none) and (pointer: coarse) and (min-width: 48rem) {
    header.sticky::before { display: none; }
    header.sticky { background-color: color-mix(in srgb, var(--color-surface-secondary) 75%, var(--color-surface)); }
  }
  /* iPad with a keyboard / trackpad attached reports a fine pointer; data-ipad (layout) catches it too. Solid header
     also means Safari's bar behind the address field takes the header's colour instead of showing through. */
  :root[data-ipad] header.sticky::before { display: none; }
  :root[data-ipad] header.sticky { background-color: color-mix(in srgb, var(--color-surface-secondary) 75%, var(--color-surface)); }

  /* Header dropdowns (main menu): same glass and motion as the Show / Sort by menus (.glass-menu + s-glass-select).
     Open: the panel pours out of its menu link (a link-wide sliver that widens into the full panel) on the same
     spring, 396ms. Close: folds straight back into the link, 200ms, no slow tail. No fading anywhere. CSS
     transitions, so a hover in or out mid-motion turns it around from wherever it is. --nav-trigger-w is the link's
     width (s-nav-dropdown.js). The wrapper never animates opacity (that would stop the panel's backdrop blur). */
  /* Desktop menu: items with a submenu show a small down arrow after their name (the submenu button, always visible
     now; it still toggles the submenu on click). The item reserves room for it so it never crowds the next item, and
     it flips up while the submenu is open. */
  .nav-has-dropdown { padding-inline-end: 0.875rem; }
  .nav-has-dropdown > .nav-disclosure { opacity: 0.6; pointer-events: auto; margin-inline-start: 0; padding: 3px; }
  .nav-has-dropdown > .nav-disclosure:hover,
  .nav-has-dropdown > .nav-disclosure:focus-visible { opacity: 1; }
  .nav-has-dropdown > .nav-disclosure { inset-inline-start: auto; inset-inline-end: -0.25rem; }
  .nav-has-dropdown > .nav-disclosure .nav-disclosure-icon { width: 0.625rem; height: 0.625rem; }
  .nav-has-dropdown[data-open] > .nav-disclosure .nav-disclosure-icon { transform: rotate(180deg); }
  @media (hover: hover) {
    .nav-has-dropdown:hover:not([data-suppress-hover]) > .nav-disclosure .nav-disclosure-icon { transform: rotate(180deg); }
  }
  /* The wrapper is always fully opaque; it hides with visibility only (open/closed is the inner panel's clip). So the
     panel stays on screen whenever the script holds it open ([data-hold]) while the pointer is in a child menu. */
  .nav-dropdown,
  .nav-has-dropdown:hover .nav-dropdown,
  .nav-has-dropdown[data-open] .nav-dropdown,
  .nav-has-dropdown[data-suppress-hover]:hover .nav-dropdown {
    opacity: 1;
    transform: none;
  }
  .nav-dropdown {
    --nav-closed-clip: inset(0px calc(100% - var(--nav-trigger-w, 4rem) - 19px - var(--nav-offset, 0px)) 100% calc(7px + var(--nav-offset, 0px)) round 10px);
    transition: visibility 0s linear 200ms;
  }
  [dir='rtl'] .nav-dropdown {
    --nav-closed-clip: inset(0px calc(7px + var(--nav-offset, 0px)) 100% calc(100% - var(--nav-trigger-w, 4rem) - 19px - var(--nav-offset, 0px)) round 10px);
  }
  /* Shared glass for the panel and the child menus (popovers, see below). */
  .nav-dropdown-inner,
  .nav-dropdown-submenu {
    --nav-glass-bg: color-mix(in srgb, var(--color-surface-secondary) 48%, transparent);
    --nav-glass-border: color-mix(in srgb, #fff 16%, transparent);
    --nav-glass-shadow:
      inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent),
      inset 0 0 0 0.5px color-mix(in srgb, #fff 6%, transparent),
      0 1px 2px rgb(0 0 0 / 0.25),
      0 18px 48px -10px rgb(0 0 0 / 0.55);
  }
  :root[data-color-mode='light'] .nav-dropdown-inner,
  :root[data-color-mode='light'] .nav-dropdown-submenu {
    --nav-glass-bg: color-mix(in srgb, #fff 54%, transparent);
    --nav-glass-border: rgb(0 0 0 / 0.08);
    --nav-glass-shadow:
      inset 0 1px 0 rgb(255 255 255 / 0.7),
      0 1px 2px rgb(0 0 0 / 0.08),
      0 18px 44px -12px rgb(0 0 0 / 0.28);
  }
  .nav-dropdown-inner {
    --glass-pick: color-mix(in srgb, var(--color-accent) 58%, transparent);
    position: relative;
    padding: 5px;
    border-radius: 14px;
    border: 0.5px solid var(--nav-glass-border);
    background: var(--nav-glass-bg);
    -webkit-backdrop-filter: blur(13px) saturate(180%);
    backdrop-filter: blur(13px) saturate(180%);
    box-shadow: var(--nav-glass-shadow);
    color: var(--color-on-surface);
    clip-path: var(--nav-closed-clip);
    transform: translateY(-4px);
    transition:
      clip-path 200ms cubic-bezier(0.45, 0, 0.85, 0.55),
      transform 200ms cubic-bezier(0.45, 0, 0.85, 0.55);
  }
  .nav-dropdown-inner:has(.nav-dropdown-group) { padding-inline-end: 5px; }
  :root[data-color-mode='light'] .nav-dropdown-inner {
    --glass-pick: color-mix(in srgb, var(--color-accent) 72%, transparent);
  }
  /* Open (hover, button press). */
  .nav-has-dropdown[data-open] .nav-dropdown { transition: visibility 0s; }
  .nav-has-dropdown[data-open] .nav-dropdown-inner {
    clip-path: inset(-24px -32px -64px -32px round 28px);
    transform: none;
    transition:
      clip-path 396ms var(--nav-spring),
      transform 396ms var(--nav-spring);
  }
  @media (hover: hover) {
    .nav-has-dropdown:hover:not([data-suppress-hover]) .nav-dropdown { transition: visibility 0s; }
    .nav-has-dropdown:hover:not([data-suppress-hover]) .nav-dropdown-inner {
      clip-path: inset(-24px -32px -64px -32px round 28px);
      transform: none;
      transition:
        clip-path 396ms var(--nav-spring),
        transform 396ms var(--nav-spring);
    }
  }
  :root { --nav-spring: cubic-bezier(0.34, 1.36, 0.64, 1); }
  @supports (transition-timing-function: linear(0, 1)) {
    :root {
      --nav-spring: linear(0, 0.0238, 0.0862, 0.1747, 0.2789, 0.3902, 0.5017, 0.6082, 0.7063, 0.7935, 0.8685, 0.9309, 0.9811, 1.0196, 1.0478, 1.0668, 1.0781, 1.083, 1.083, 1.0791, 1.0726, 1.0645, 1.0554, 1.046, 1.0369, 1.0283, 1.0206, 1.0138, 1.0081, 1.0034, 0.9998, 0.997, 0.9951, 0.9938, 0.9932, 0.993, 0.9932, 0.9937, 0.9943, 0.995, 0.9958, 0.9966, 0.9973, 0.998, 0.9986, 0.9991, 0.9995, 0.9999, 1);
    }
  }
  /* Rows: same as the menu options (padding, rounded, see-through red highlight with white text). No dimming. */
  .nav-dropdown-inner:hover > li > .nav-dropdown-item:not(:hover),
  .nav-dropdown-inner:hover > .nav-dropdown-group:not(:hover) > .nav-dropdown-row,
  .nav-submenu-inner:hover > li > .nav-dropdown-item:not(:hover),
  .nav-submenu-inner:hover > .nav-dropdown-group:not(:hover) > .nav-dropdown-row {
    opacity: 1;
  }
  .nav-dropdown-item,
  .nav-submenu-inner > li > .nav-dropdown-item,
  .nav-submenu-inner > .nav-dropdown-group > .nav-dropdown-submenu .nav-dropdown-item {
    min-height: 32px;
    padding-block: 4px;
    padding-inline: 6px 12px;
    justify-content: flex-start;
    gap: 10px;
    max-width: 18rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    -webkit-tap-highlight-color: transparent;
    /* transform kept so the press feedback (active:scale) eases instead of snapping. */
    transition: background-color 0.12s var(--ease-ui), color 0.12s var(--ease-ui), transform 0.15s var(--ease-ui);
  }
  .nav-dropdown-row { gap: 0; border-radius: 8px; transition: background-color 0.12s var(--ease-ui), color 0.12s var(--ease-ui); }
  .nav-dropdown-row > .nav-dropdown-item { border-radius: 0; background: none !important; color: inherit !important; }
  .nav-dropdown-item[aria-current='page'] { font-weight: 600; }
  /* Natural width: the panel hangs off a narrow link, so without this it shrink-wraps to whatever room is left and
     the first column re-wraps (text jumps) each time a child column opens. Columns are now sized once by their own
     content (names wrap only past 16rem), so opening a child column never touches the column beside it. */
  .nav-dropdown { width: max-content; translate: var(--nav-shift, 0px) 0; }
  .nav-dropdown-inner { width: max-content; grid-template-columns: max-content; }
  .nav-submenu-inner { grid-template-columns: max-content; }
  /* Photos: collection / product thumbnails before each dropdown name (snippets/nav-thumb). */
  .nav-dropdown-label { flex: 1 1 auto; min-width: 0; }
  .nav-thumb {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.12);
  }
  .nav-thumb-empty {
    display: block;
    background: color-mix(in srgb, var(--color-on-surface) 8%, transparent);
    box-shadow: none;
  }
  .nav-dropdown-item:focus-visible,
  .nav-dropdown-row:has(> .nav-dropdown-item:focus-visible),
  .nav-dropdown-group[data-open] > .nav-dropdown-row {
    background: var(--glass-pick);
    color: #fff;
    outline: none;
  }
  @media (hover: hover) and (pointer: fine) {
    .nav-dropdown-item:hover,
    .nav-dropdown-group:hover > .nav-dropdown-row {
      background: var(--glass-pick);
      color: #fff;
    }
  }
  /* Child menus: their own small glass panel beside the parent row (top lined up with it, only as tall as its own
     links). The parent panel is a single column and never changes size. [data-flip] = opened on the other side. */
  .nav-dropdown-inner { display: flex; flex-direction: column; width: max-content; }
  .nav-dropdown-group { display: block; position: relative; }
  .nav-submenu-inner { display: flex; flex-direction: column; }
  /* Pressed menu links ([data-pressed], nav-warm.js): answer the press at once, on touch as well as mouse. */
  .nav-dropdown-item,
  #mobile-nav a[href] {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .nav-dropdown-item[data-pressed] {
    background: var(--glass-pick);
    color: #fff;
    transform: scale(0.98);
    transition: transform 60ms ease-out;
  }
  #mobile-nav a[href][data-pressed] {
    opacity: 0.55;
    transform: scale(0.985);
    transform-origin: left center;
    transition: opacity 0s, transform 60ms ease-out;
  }
  /* Collection title (and its one-line copy in the compact bar): the clamp / truncation clips at the text's box, which
     sits tight on the letters, so descenders (the g in "Climbing and Felling Gear") were cut off. A little room
     below the letters, given back with a negative margin, so nothing moves. */
  [data-collection-header] [data-pin-source-title] { padding-bottom: 0.16em; margin-bottom: -0.16em; }
  [data-cap-mini-title] { padding-block: 0.1em; margin-block: -0.1em; }
  /* Collection title card's frosted layers never animate (Safari doesn't draw a backdrop blur while it, or what it
     sits in, is animating: WebKit bug 219729). Both sit UNDER the solid pieces and are revealed by those fading out:
     - [data-cap-glass]: the compact bar's glass (top 56px / 3rem), always on except while the frosted panel is.
     - [data-cap-frost]: one panel over the whole title box while it holds over the sub-categories row, the same tint
       and blur as the other pinned titles, so there are no seams. On the page only for that stretch (s-cap-bar). */
  [data-cap-glass][data-cap-off] { display: none !important; }
  /* Soft fades under the big title box are on: the description fading under the title as it scrolls up
     ([data-cap-fade-gate]) and, while the card holds over the sub-categories row, the compact bar's style of fade over
     those cards ([data-cap-hold-shade]). */
  /* The collection title card rises in by sliding only, never see-through: a parent below full opacity stops any
     frosted layer inside it from blurring, and see-through content counts late for page-speed (LCP). */
  s-sticky-panel:has(> [data-collection-header]).animate-rise,
  s-sticky-panel:has(> [data-collection-header])[class*='animate-rise'] { animation-name: cap-rise; }
  @keyframes cap-rise { from { transform: translateY(18px); } }
  /* Shrunk to a point until s-cap-bar plays them (never visibility: see s-cap-bar #frames). */
  [data-cap-hold-shade] { transform: scale(0.001); }
  /* Off the page outside the sub-categories stretch (s-cap-bar #update). Off by default until the bar has measured. */
  [data-cap-frost][data-cap-off], [data-cap-hold-shade][data-cap-off] { display: none !important; }
  [data-cap-frost] {
    background-color: color-mix(in srgb, var(--color-surface-secondary) 75%, transparent);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    backdrop-filter: blur(40px) saturate(150%);
    box-shadow: inset 0 1px 0 0 rgb(255 255 255 / 0.06), inset 1px 0 0 0 rgb(255 255 255 / 0.07), inset -1px 0 0 0 rgb(255 255 255 / 0.07), inset 0 -1px 0 0 rgb(255 255 255 / 0.07);
  }
  /* Light mode: the card's own edge lines (no shadow), so its edges never get lost while held. */
  :root[data-color-mode='light'] [data-cap-frost] {
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.05);
  }
  /* The collection title card has no drop shadow, only its thin edge lines (dark: as .shadow-card's inner lines). */
  [data-collection-header].shadow-card { box-shadow: inset 0 1px 0 0 rgb(255 255 255 / 0.06), inset 0 0 0 1px rgb(255 255 255 / 0.07); }
  :root[data-color-mode='light'] [data-collection-header].shadow-card { box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.05); }
  /* Sub-categories row dots: their room is kept from the first paint (hidden only by visibility until the row knows it
     overflows), so the row never grows after load and everything timed to its end (the title card's hold and fade)
     stays where it was measured. */
  /* Sub-categories row: a thin scrollbar (track + handle) instead of dots. The handle is played by the row's own scroll
     timeline (no script while scrolling); its width is the share of the row on screen (--bar-frac, s-recently-viewed). */
  #menu-subcollections { timeline-scope: --subrow; }
  #menu-subcollections [data-recent-list] { scroll-timeline: --subrow inline; }
  [data-recent-bar] {
    position: relative;
    height: 0.1875rem;
    margin-block: 0.09375rem;
    overflow: hidden;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--color-on-surface) 5%, transparent);
  }
  [data-recent-bar][data-off] { visibility: hidden; }
  [data-recent-bar-thumb] {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: calc(var(--bar-frac, 0.3) * 100%);
    border-radius: inherit;
    background: color-mix(in srgb, var(--color-on-surface) 22%, transparent);
    will-change: transform;
  }
  @supports (animation-timeline: scroll()) and (animation-range: 0% 100%) {
    #menu-subcollections [data-recent-bar-thumb] { animation: subrow-thumb linear both; animation-timeline: --subrow; }
  }
  @keyframes subrow-thumb { to { transform: translateX(calc((1 / var(--bar-frac, 0.3) - 1) * 100% * var(--bar-dir, 1))); } }
  [dir='rtl'] [data-recent-bar] { --bar-dir: -1; }
  /* Sub-categories row (snippets/menu-subcollections): centred when the cards fit; when they don't, it scrolls
     from the first card as usual (auto margins, which never push cards out of reach like justify-content would). */
  /* The row is exactly as wide as the filters and products below it (the page's content width), inside the collection
     card's edges on every screen; its cards slide in and out at those edges. */
  /* Compact cards: about 3.3 across on phones, 4.4 on small tablets, 5.4 on tablets, 8.4 on desktop (the extra
     part shows a longer row's next card cut at the right edge, so it reads as scrollable; it always starts at the
     first card). Visible gaps counted in (0.75rem on phones, 1rem from small tablets). */
  #menu-subcollections [data-recent-list] > li { flex-basis: calc((100% - 2.25rem) / 3.3); }
  #menu-subcollections [data-recent-list] .font-heading { font-size: 0.75rem; }
  @media (min-width: 40rem) {
    #menu-subcollections [data-recent-list] > li { flex-basis: calc((100% - 4rem) / 4.4); }
    #menu-subcollections [data-recent-list] .font-heading { font-size: 0.8125rem; }
  }
  @media (min-width: 48rem) { #menu-subcollections [data-recent-list] > li { flex-basis: calc((100% - 5rem) / 5.4); } }
  @media (min-width: 64rem) { #menu-subcollections [data-recent-list] > li { flex-basis: calc((100% - 8rem) / 8.4); } }
  #menu-subcollections [data-recent-list] > li:first-child { margin-inline-start: auto; }
  #menu-subcollections [data-recent-list] > li:last-child { margin-inline-end: auto; }
  /* Product cards: pressed in slightly the moment they're pressed (own scale, so the hover lift is kept). */
  article.shadow-card { -webkit-tap-highlight-color: transparent; }
  article.shadow-card:has(a[href][data-pressed]) { scale: 0.985; }
  @media (prefers-reduced-motion: no-preference) {
    article.shadow-card { transition-property: transform, box-shadow, scale; }
    article.shadow-card:has(a[href][data-pressed]) { transition-duration: 300ms, 300ms, 60ms; }
  }
  /* While the pointer is on its way to (or on) an open child menu, the script holds the panel open and the row
     highlighted ([data-hold] / [data-active], s-nav-dropdown.js #active), whatever the browser reports as hovered. */
  .nav-has-dropdown[data-hold] .nav-dropdown {
    visibility: visible;
    pointer-events: auto;
    transition: visibility 0s;
  }
  .nav-has-dropdown[data-hold] .nav-dropdown-inner {
    clip-path: inset(-24px -32px -64px -32px round 28px);
    transform: none;
    transition:
      clip-path 396ms var(--nav-spring),
      transform 396ms var(--nav-spring);
  }
  .nav-dropdown-group[data-active] > .nav-dropdown-row {
    background: var(--glass-pick);
    color: #fff;
  }
  /* A panel taller than the room under the header (s-nav-dropdown.js #fitHeight sets [data-scroll] and --nav-max-h)
     scrolls on its own, so every link is reachable without scrolling the page (which would move the header). */
  .nav-dropdown-inner[data-scroll] {
    max-height: var(--nav-max-h, none);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
  .nav-dropdown-inner[data-scroll] > * { flex-shrink: 0; }
  /* Safe zone (s-nav-dropdown.js #trackSafeZone): an invisible triangle from the pointer to the open child menu's
     top and bottom corners. Part of the row, so travelling through it keeps the child open and the rows it
     crosses don't light up; leave it and the child closes at once. Only exists while that child menu is open. */
  .nav-dropdown-row { position: relative; }
  .nav-dropdown-group:has(> .nav-dropdown-submenu:popover-open) > .nav-dropdown-row::before {
    content: '';
    position: absolute;
    left: var(--safe-left, 0px);
    top: var(--safe-top, 0px);
    width: var(--safe-w, 0px);
    height: var(--safe-h, 0px);
    clip-path: var(--safe-clip, none);
    z-index: 5;
  }
  .nav-dropdown-row[data-path-off]::before { display: none; }
  .nav-dropdown-group[data-flip] > .nav-dropdown-row::after {
    inset-inline-end: auto;
    inset-inline-start: -24px;
  }
  /* Child menu = popover (s-nav-dropdown.js shows it on hover / button press and places it in screen coordinates
     beside the parent panel, top lined up with the row). Top layer, so nothing in the parent clips or un-blurs it.
     Opens by pouring out of the parent row on the spring (340ms); the 220ms fold back on close is played by the script. */
  .nav-dropdown-submenu[popover] {
    position: fixed;
    inset: auto;
    width: max-content;
    max-width: calc(100vw - 24px);
    margin: 0;
    padding: 5px;
    overflow: visible;
    border: 0.5px solid var(--nav-glass-border);
    border-radius: 14px;
    background: var(--nav-glass-bg);
    -webkit-backdrop-filter: blur(13px) saturate(180%);
    backdrop-filter: blur(13px) saturate(180%);
    box-shadow: var(--nav-glass-shadow);
    color: var(--color-on-surface);
    animation: none;
    /* Closed sliver: the visible part starts as a corner at the row, but the left side reaches out over the
       invisible bridge strip (::before) so it can be crossed from the very first frame. */
    --nav-sub-closed: inset(calc(var(--nav-sub-dy, 0px) - 6px) calc(100% - 24px) calc(100% - 42px - var(--nav-sub-dy, 0px)) -18px round 10px);
    clip-path: var(--nav-sub-closed);
    /* Closing is played by s-nav-dropdown.js (fold, then leave the top layer), so no exit transition here. */
    transition: none;
  }
  .nav-dropdown-group[data-flip] > .nav-dropdown-submenu[popover],
  [dir='rtl'] .nav-dropdown-submenu[popover] {
    --nav-sub-closed: inset(calc(var(--nav-sub-dy, 0px) - 6px) -18px calc(100% - 42px - var(--nav-sub-dy, 0px)) calc(100% - 24px) round 10px);
  }
  [dir='rtl'] .nav-dropdown-group[data-flip] > .nav-dropdown-submenu[popover] {
    --nav-sub-closed: inset(calc(var(--nav-sub-dy, 0px) - 6px) calc(100% - 24px) calc(100% - 42px - var(--nav-sub-dy, 0px)) -18px round 10px);
  }
  /* Invisible strip down the child menu's whole side, filling the gap to the parent panel, so the pointer never
     falls into a break between the two menus on its way across. */
  .nav-dropdown-submenu[popover]::before {
    content: '';
    position: absolute;
    inset-block: -6px;
    inset-inline-end: 100%;
    width: 16px;
  }
  .nav-dropdown-group[data-flip] > .nav-dropdown-submenu[popover]::before {
    inset-inline-end: auto;
    inset-inline-start: 100%;
  }
  .nav-dropdown-submenu[popover]:not(:popover-open) { display: none; }
  .nav-dropdown-submenu[popover]:popover-open {
    display: block;
    clip-path: inset(-24px -32px -64px -32px round 28px);
    transition: clip-path 340ms var(--nav-spring);
  }
  @starting-style {
    .nav-dropdown-submenu[popover]:popover-open { clip-path: var(--nav-sub-closed); }
  }
  @media (prefers-reduced-motion: reduce) {
    .nav-dropdown-submenu[popover],
    .nav-dropdown-submenu[popover]:popover-open { transition: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .nav-dropdown,
    .nav-dropdown-inner,
    .nav-has-dropdown .nav-dropdown,
    .nav-has-dropdown .nav-dropdown-inner { transition: none !important; }
  }

  /* Collections: the toolbar (Show / Sort by) sits above everything but the site header until the compact
     title bar starts taking over, so nothing on the page can ever catch its clicks (s-pinned-title.js). */
  [data-collection-toolbar] {
    position: relative;
    z-index: 31;
  }
  :root[data-collection-pinned] [data-collection-toolbar] {
    z-index: auto;
  }
  /* Large screens: the filter card rises beside the toolbar row (its left side is empty there), so the row's empty
     space lets clicks through to the card; Show / Sort by stay clickable. */
  @media (min-width: 64rem) {
    [data-collection-toolbar] { pointer-events: none; }
    [data-collection-toolbar] > * { pointer-events: auto; }
  }
  /* Collections: while new filter results load, the grid dims slightly (then products glide into place, flip-grid.js). */
  s-live-form [data-flip-grid] {
    transition: opacity 0.2s ease;
  }
  s-live-form[aria-busy='true'] [data-flip-grid] {
    opacity: 0.6;
  }
  /* The build bakes the dark card shadow (a dark 2px blur outside the card) into .shadow-card, so the light
     --shadow-card above never applied: light-mode cards got grey edge lines outside their sides that ran straight
     up past the pinned title bars' rounded corners. Swap the actual shadow in light mode (keeps any ring classes). */
  :root[data-color-mode='light'] .shadow-card,
  :root[data-color-mode='light'] .before\:shadow-card::before {
    --tw-shadow: 0 1px 0 0 rgb(26 26 26 / 0.07), inset 0 -1px 0 0 rgb(0 0 0 / 0.08), inset 0 0 0 1px rgb(0 0 0 / 0.05);
  }
  @media (min-width: 48rem) {
    :root[data-color-mode='light'] .md\:shadow-card {
      --tw-shadow: 0 1px 0 0 rgb(26 26 26 / 0.07), inset 0 -1px 0 0 rgb(0 0 0 / 0.08), inset 0 0 0 1px rgb(0 0 0 / 0.05);
    }
  }
  @media (min-width: 64rem) {
    :root[data-color-mode='light'] .lg\:shadow-card {
      --tw-shadow: 0 1px 0 0 rgb(26 26 26 / 0.07), inset 0 -1px 0 0 rgb(0 0 0 / 0.08), inset 0 0 0 1px rgb(0 0 0 / 0.05);
    }
  }
  /* iPhone edges: on phones the menu bar, the page, the area behind Safari's status bar and pull-down overscroll are
     all the page colour, so whichever one Safari reads for its bar colour, the status bar and menu bar match. */
  html {
    background-color: var(--color-surface-secondary);
  }
  @media (max-width: 47.999rem), (hover: none) and (pointer: coarse) {
    /* Phones and touch tablets (iPad): the same colour behind the status bar as on iPhone. */
    html {
      background-color: var(--color-surface);
    }
  }
  :root[data-ipad] { background-color: var(--color-surface); }
  /* Icons drawn without their own width/height (search, cart, account) collapse to zero width in Safari inside a
     flex icon slot, so they vanished on iPhone. Make them fill their slot (size-5 etc.) everywhere. */
  [aria-hidden='true'] > svg:not([width]) {
    width: 100%;
    height: 100%;
  }
  /* Express checkout (Apple Pay, Google Pay, Shop Pay…) can't be recoloured; Apple and Google Pay are black and
     nearly vanish on the dark cards. In dark mode give every express button a thin light outline so it always
     reads; light mode needs none. "More payment options" follows the page's text colour in both modes. */
  :root:not([data-color-mode='light']) [data-express-checkout],
  :root:not([data-color-mode='light']) .additional-checkout-buttons {
    --shopify-accelerated-checkout-button-box-shadow: 0 0 0 1px rgb(255 255 255 / 0.45);
  }
  [data-express-checkout] .shopify-payment-button__more-options {
    color: var(--color-on-surface);
  }
  /* Page-to-page transitions put a full-screen see-through layer over the page while they play; iOS Safari
     read it as black and flashed a black bar under its address bar on every page load. Give it the page color. */
  ::view-transition {
    background-color: var(--color-surface);
    /* The page answers straight away (2026-11-17): while the slide-in plays (up to ~0.45s) this layer used to catch
       the mouse, so a menu didn't open and the first click did nothing. Pointer events now pass through to the page. */
    pointer-events: none;
  }
  /* iPhone / iPad Safari: its page-to-page transition layer stops at the toolbar, so every navigation flashed a
     black bar there. Safari's transitions are off; assets/s-page-morph.js glides the product photo and title in
     from the tapped card inside the page instead, which keeps the bars the page colour. */
  @supports (-webkit-touch-callout: none) {
    @view-transition {
      navigation: none;
    }
  }
  /* Zoom view frost: a screen-sized frosted layer placed IN the page (absolute at the current scroll position, added
     by s-zoom-viewer), not in the zoom view. iOS Safari never lets a fixed/top-layer element reach under its bottom
     toolbar (it painted that strip black from the dialog backdrop), but page content does run under it, so this
     frosts the whole way down. Being only screen-sized (not a filter over the whole page) keeps it light enough for
     phones to animate smoothly. The dialog backdrop is removed so Safari doesn't use it. */
  .zoom-dialog::backdrop {
    display: none;
  }
  /* Keep shopping for… and Top categories titles: pinned under the header while their section scrolls by (CSS
     sticky, no script). Each title belongs to its own section, so it lets go as its section ends and the next
     section's title takes over. See-through glass like the header bar (same tint, blur and hairline), stretched
     to the page gutters so cards that swipe past the edges blur too. Glass rule: nothing above it may fade or filter
     (s-recently-viewed.js fades the cards, never the section). */
  .section-sticky-title {
    position: sticky;
    top: var(--header-bottom, 0px);
    z-index: 35; /* above the row's arrows and cards as they pass underneath */
    margin-inline: calc(var(--spacing-margin) * -1);
    padding: 0.75rem var(--spacing-margin);
  }
  /* The glass is a layer inside the title (so the title's pinned state can switch it on). */
  .section-sticky-glass {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: transparent;
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    backdrop-filter: blur(40px) saturate(150%);
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.15s ease;
  }
  /* Header-coloured tint: fades in very gradually (barely noticeable) over the last 4.5rem of scrolling before the title reaches the header,
     finishing exactly as it touches (pins); stays while pinned and fades back out the same way scrolling up.
     The tint is its own plain colour layer ON the glass (no blur of its own), so fading it never touches the blur.
     Driven by the browser's scroll timeline (opacity only, no script): an invisible 4.5rem mark sits just above the
     title (taking no space); the fade runs while that mark passes under the header. Browsers without scroll
     timelines fade it in slowly (1.2s) from the moment the title pins (scroll-state / [data-stuck]). */
  .section-sticky-mark {
    display: block;
    height: 4.5rem;
    margin-top: -4.5rem;
    visibility: hidden;
    pointer-events: none;
  }
  s-recently-viewed:has(> .section-sticky-mark) { timeline-scope: --sticky-title; }
  /* Tail strip after the dots: the pinned title only lets go once the dots have passed under the header. It replaces
     the section's bottom padding (2.5rem / 4rem) and the extra is taken back with a negative margin, so the gap to
     what follows is unchanged (the strip is empty, so the overlap never shows). */
  .section-sticky-tail { display: block; height: 4.5rem; visibility: hidden; pointer-events: none; }
  #keep-shopping:has(> .section-sticky-tail) { padding-bottom: 0; margin-bottom: -2rem; }
  #top-categories:has(> .section-sticky-tail) { padding-bottom: 0; margin-bottom: -2.5rem; } /* last before the footer: tighter gap above the Request new products card */
  /* Breadcrumbs row: scrolls sideways when the trail is longer than the screen (no scrollbar, never up/down).
     Soft edge fades show there's more: header-coloured overlays on the (non-scrolling) breadcrumbs bar whose
     opacity follows the row's own scroll position (browser scroll timeline, no script): the left fade grows over the
     first 1.5rem scrolled and shrinks away the same way as you come back, so it never sits over Home; the right
     fade does the same at the end. Browsers without scroll timelines fade them in/out quickly from the script's
     flags. Overlays, not a mask, so only opacity changes. */
  /* Breadcrumb row height: a little roomier than the original slim row (was 4px / 6px top and bottom). */
  .crumbs-row { padding-block: 0.5rem; }
  @media (min-width: 48rem) { .crumbs-row { padding-block: 0.625rem; } }
  /* Text sized to the taller row (separators are em-sized, so they follow). */
  /* Whole-pixel line heights: a fractional header height left a hairline gap under it where content showed through. */
  .crumbs-row .crumbs-list { font-size: 0.875rem; line-height: 1.25rem; gap: 0.5rem; }
  @media (min-width: 48rem) { .crumbs-row .crumbs-list { font-size: 0.9375rem; line-height: 1.375rem; } }
  .crumbs-list { scrollbar-width: none; overflow-y: hidden; overscroll-behavior-y: auto; }
  /* Current page crumb: full title, never shortened (the row scrolls instead). Rows wider than the screen can be
     dragged with a mouse on desktop. */
  .crumb-current { flex-shrink: 0; }
  @media (hover: hover) and (pointer: fine) {
    .crumbs-list:is([data-more-start], [data-more-end]) { cursor: grab; }
    .crumbs-list a { cursor: pointer; }
  }
  .crumbs-list::-webkit-scrollbar { display: none; }
  nav[data-breadcrumbs] { position: relative; timeline-scope: --crumbs; }
  nav[data-breadcrumbs]::before,
  nav[data-breadcrumbs]::after {
    content: '';
    position: absolute;
    inset-block: 0;
    z-index: 1;
    width: 2.25rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    --crumb-edge: color-mix(in srgb, var(--color-surface-secondary) 75%, var(--color-surface));
  }
  nav[data-breadcrumbs]::before { inset-inline-start: 0; background: linear-gradient(to right, var(--crumb-edge), transparent); }
  nav[data-breadcrumbs]::after { inset-inline-end: 0; background: linear-gradient(to left, var(--crumb-edge), transparent); }
  nav[data-breadcrumbs]:has(> .crumbs-list[data-more-start])::before,
  nav[data-breadcrumbs]:has(> .crumbs-list[data-more-end])::after { opacity: 1; }
  @supports (animation-timeline: scroll()) {
    .crumbs-list { scroll-timeline: --crumbs inline; }
    nav[data-breadcrumbs]::before,
    nav[data-breadcrumbs]::after { transition: none; }
    nav[data-breadcrumbs]::before,
    nav[data-breadcrumbs]:has(> .crumbs-list[data-more-start])::before {
      opacity: 0;
      animation: crumb-edge-in linear both;
      animation-timeline: --crumbs;
      animation-range: 0px 1.5rem;
    }
    nav[data-breadcrumbs]::after,
    nav[data-breadcrumbs]:has(> .crumbs-list[data-more-end])::after {
      opacity: 0;
      animation: crumb-edge-out linear both;
      animation-timeline: --crumbs;
      animation-range: calc(100% - 1.5rem) 100%;
    }
  }
  /* Edge chevrons: a tiny chevron in a small pill over each fade, only on a side with more trail (the script's
     flags), with a comfortable invisible tap area around it. Tapping slides the trail that way. */
  .crumb-more {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 1.75rem;
    height: 1.75rem;
    margin-top: -0.875rem;
    padding: 0;
    border: 0;
    background: none;
    color: #fff; /* plain white in dark mode, black in light mode (below): no accent colour */
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .crumb-more[data-crumb-more='start'] { inset-inline-start: -0.375rem; }
  .crumb-more[data-crumb-more='end'] { inset-inline-end: -0.375rem; }
  .crumb-more-dot {
    display: grid;
    place-items: center;
    width: 1rem;
    height: 1rem;
  }
  :root[data-color-mode='light'] .crumb-more { color: #000; }
  .crumb-more:active .crumb-more-dot { transform: scale(0.88); }
  nav[data-breadcrumbs]:has(> .crumbs-list[data-more-start]) > .crumb-more[data-crumb-more='start'],
  nav[data-breadcrumbs]:has(> .crumbs-list[data-more-end]) > .crumb-more[data-crumb-more='end'] { opacity: 1; visibility: visible; }
  @media (prefers-reduced-motion: reduce) { .crumb-more { transition: none; } }
  @keyframes crumb-edge-in { from { opacity: 0; } to { opacity: 1; } }
  @keyframes crumb-edge-out { from { opacity: 1; } to { opacity: 0; } }
  .section-sticky-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--color-surface-secondary) 75%, transparent);
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.6, 1);
  }
  .section-sticky-title[data-stuck] .section-sticky-glass::before { opacity: 1; }
  @supports (container-type: scroll-state) {
    @container scroll-state(stuck: top) {
      .section-sticky-glass::before { opacity: 1; }
    }
  }
  @supports (animation-timeline: view()) {
    .section-sticky-mark {
      view-timeline: --sticky-title block;
      view-timeline-inset: var(--header-bottom, 0px) 0px;
    }
    .section-sticky-glass::before,
    .section-sticky-title[data-stuck] .section-sticky-glass::before {
      transition: none;
      animation: sticky-title-tint linear both;
      animation-timeline: --sticky-title;
      animation-range: exit 0% exit 100%;
    }
  }
  @keyframes sticky-title-tint {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  /* Pinned look, in every browser: Chrome/Edge know from CSS (scroll-state below); Safari and Firefox get
     [data-stuck] from a small watcher in templates/collection.liquid (it only flips this flag as the title crosses
     under the header, nothing moves by script). */
  .section-sticky-title[data-stuck] .section-sticky-glass {
    border-bottom-color: color-mix(in srgb, var(--color-border) 50%, transparent);
  }
  .section-sticky-title[data-stuck] .section-sticky-fade { visibility: visible; }
  /* Where the browser can tell when the title is pinned: plain title at rest, tint and hairline only while pinned.
     The blur itself is never switched or faded: it is always on (invisible at rest, where only the plain page is
     behind the title), so a card sliding under is blurred from its very first pixel. Fading the glass layer's
     opacity would mix the sharp card back in, so only the tint and line change. */
  @supports (container-type: scroll-state) {
    .section-sticky-title { container-type: scroll-state; }
    @container scroll-state(stuck: top) {
      .section-sticky-glass {
        border-bottom-color: var(--color-border);
      }
    }
  }
  /* Blur below the pinned title: a short band under it where cards soften as they slide up, so it's clear there is
     more content above. Its own layer (a sibling of the glass, never inside it: a blur inside a blur sees nothing).
     The blur fades out downward through a mask. Only while pinned, switched instantly (visibility, no fade: a
     fade would mix the sharp card back in); hidden at rest and where the browser can't tell it's pinned, so it
     never blurs the tops of the cards. */
  .section-sticky-fade {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    height: 1.5rem;
    z-index: -1;
    pointer-events: none;
    visibility: hidden;
    background: linear-gradient(color-mix(in srgb, var(--color-surface) 45%, transparent), transparent);
    -webkit-backdrop-filter: blur(10px) saturate(130%);
    backdrop-filter: blur(10px) saturate(130%);
    -webkit-mask-image: linear-gradient(#000, transparent);
    mask-image: linear-gradient(#000, transparent);
  }
  @supports (container-type: scroll-state) {
    @container scroll-state(stuck: top) {
      .section-sticky-fade { visibility: visible; }
      /* The fade takes over from the hard line. */
      .section-sticky-glass { border-bottom-color: color-mix(in srgb, var(--color-border) 50%, transparent); }
    }
  }
  /* Top categories cards: the text scales with each card's width (container units), from a narrow phone swipe
     card to a fifth of a wide desktop, with sensible floors and ceilings. */
  .topcat-card { container-type: inline-size; }
  /* Once a description has been opened, cards no longer stretch to the tallest: each keeps its resting height
     (set inline) and only the opened one grows. */
  [data-topcat-list][data-individual] { align-items: flex-start; }
  [data-topcat-list][data-individual] [data-topcat-card] { height: auto; }
  .topcat-title { font-size: clamp(0.9375rem, 7.5cqi, 1.375rem); line-height: 1.15; letter-spacing: -0.015em; }
  .topcat-description { font-size: clamp(0.75rem, 4.6cqi, 0.9375rem); line-height: 1.4; }
  .topcat-count { font-size: clamp(0.6875rem, 4cqi, 0.8125rem); }
  /* Always fits the card, down to the narrowest phone: long names and words wrap instead of spilling out, and the
     description's own formatting (headings, bold lines, bullet lists, anything pasted with sizes or colours) is
     scaled to the card's small text rather than page-sized. Media and tables are left out of the short preview. */
  .topcat-title { overflow-wrap: anywhere; hyphens: auto; }
  .topcat-description { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
  .topcat-description :where(*) {
    max-width: 100%;
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: normal !important;
    color: inherit !important;
    background: none !important;
  }
  .topcat-description :where(p, ul, ol, h1, h2, h3, h4, h5, h6, blockquote) { margin: 0 0 0.5em; }
  .topcat-description :where(h1, h2, h3, h4, h5, h6, strong, b) { font-weight: 600; color: var(--color-on-surface) !important; }
  .topcat-description :where(ul, ol) { padding-inline-start: 1.1em; }
  .topcat-description :where(li) { margin: 0 0 0.2em; padding: 0; }
  .topcat-description :where(img, video, iframe, object, embed, table, figure, hr) { display: none; }
  .topcat-description .embed-container:has(iframe, video, object, embed) { display: none; }
  .topcat-description > :last-child > :last-child,
  .topcat-description > :last-child { margin-bottom: 0; }
  /* Keep shopping for… placeholder cards while the real ones load: soft bars with a gentle pulse. */
  .recent-skeleton-bar { background: color-mix(in srgb, var(--color-on-surface) 9%, transparent); }
  @media (prefers-reduced-motion: no-preference) {
    .recent-skeleton-bar { animation: recent-skeleton-pulse 1.4s ease-in-out infinite; }
  }
  @keyframes recent-skeleton-pulse { 50% { opacity: 0.5; } }
  /* Keep shopping for… arrows: no animation for now (merchant, 2026-11-05: still glitchy). They simply show and hide
     (data-off from s-recently-viewed.js). No shadows: no chevron shadow and no drop shadow around the button. */
  [data-recent-prev][data-off],
  [data-recent-next][data-off] {
    visibility: hidden;
    pointer-events: none;
  }
  [data-recent-prev] svg,
  [data-recent-next] svg { filter: none; }
  [data-recent-prev],
  [data-recent-next],
  [data-recent-prev]:hover,
  [data-recent-next]:hover {
    box-shadow:
      inset 0 0 0 0.5px rgb(255 255 255 / 0.3),
      inset 0 -10px 16px -12px rgb(0 0 0 / 0.35),
      inset 0 10px 14px -12px rgb(255 255 255 / 0.5);
  }

  /* Descriptions' See more / less, played by the browser (s-read-more.js #playReveal): the card and the text are
     cut by moving clips, everything after the text slides with the edge, and the preview's 6rem fade is this layer
     in the card's own colour gliding on the edge (the text's own fade looks identical on the solid card). It thins
     out as the card reaches full length and grows back in folding, so it never pops on or off. */
  s-read-more [data-read-more-body] { --rm-fade: 6rem; }
  s-read-more [data-read-more-body][data-fade='3.5'] { --rm-fade: 3.5rem; }
  [data-panel-frame][data-rm-reveal] [data-read-more-body] { position: relative; }
  [data-panel-frame][data-rm-reveal] [data-read-more-body]::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: var(--rm-fade, 6rem);
    background: linear-gradient(to bottom, transparent, var(--rm-fade-bg, transparent));
    pointer-events: none;
    opacity: 0;
    will-change: translate, opacity;
  }
  /* The same fade drawn by the Show more / less button right under the text (s-read-more #playReveal sets the
     distances), so it slides with the button exactly and sits on the text's edge the whole way. */
  [data-rm-fade-host]::before {
    content: '';
    position: absolute;
    bottom: calc(100% + var(--rm-host-bottom, 0px));
    left: var(--rm-host-left, 0px);
    width: var(--rm-host-width, 100%);
    height: var(--rm-fade, 3.5rem);
    background: linear-gradient(to bottom, transparent, var(--rm-fade-bg, transparent));
    pointer-events: none;
    opacity: 0;
  }
  /* Safari: the trimmed description's resting fade as the same layer in the card's colour instead of a mask. Safari
     could drop masked text for a frame while the pinned title bar's layers changed over it (a flash scrolling back
     to the top of a collection). Looks the same on the solid card; the open / close glide continues from it. */
  :root[data-webkit] [data-panel-frame] s-read-more [data-read-more-body][data-collapsed]:not([data-animating]) {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    position: relative;
  }
  :root[data-webkit] [data-panel-frame] s-read-more [data-read-more-body][data-collapsed]:not([data-animating])::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: var(--rm-fade, 6rem);
    background: linear-gradient(to bottom, transparent, var(--color-surface-secondary));
    pointer-events: none;
  }
  /* Collection compact bar: while the description opens / closes (and until s-cap-bar has re-measured for the new
     card height, [data-cap-stale]) its controls stay hidden. Otherwise the stale scroll mapping could flash
     Filter / Show / Sort by ("Featured") over the description. !important beats the scroll-driven animations. */
  [data-collection-header]:has([data-animating]) [data-cap-bar] [data-cap-control],
  [data-collection-header]:has([data-animating]) [data-cap-bar] s-glass-select,
  [data-collection-header]:has([data-animating]) [data-cap-bar] [commandfor="collection-filter-drawer"],
  [data-cap-bar][data-cap-stale] [data-cap-control],
  [data-cap-bar][data-cap-stale] s-glass-select,
  [data-cap-bar][data-cap-stale] [commandfor="collection-filter-drawer"] {
    visibility: hidden !important;
  }
  /* The bar's Show / Sort by copies are hidden unless the bar's animation (or its script fallback, inline) shows them.
     Each rebuild restarts the scroll-driven animations, and for the first frame they don't apply yet: with a visible
     default, "Featured" flashed at the top right as the description finished opening / closing. */
  [data-cap-bar] :has(> s-glass-select > [data-pin-proxy]) {
    visibility: hidden;
  }

  /* Image protection (product photos + zoom view): no long-press Save menu on phones, no dragging photos out. */
  s-product-gallery img,
  s-zoom-viewer img {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    user-select: none;
  }
  .zoom-page-frost {
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(100lvh + 8rem);
    margin-top: -4rem;
    z-index: 2147483000;
    pointer-events: none;
    background-color: rgb(from var(--color-surface) r g b / 0.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    backdrop-filter: blur(18px) saturate(1.5);
  }
  /* Product buy options on phones and small screens (below 64rem): option names, option buttons/swatches and the
     quantity picker are centred in the buy card. Dropdown options stay full width. Desktop keeps them left-aligned. */
  @media (width < 64rem) {
    /* Titles (option names, Quantity) stay left; the choices and the quantity picker are centred. */
    .buy-options legend { width: 100%; text-align: start; }
    .buy-options fieldset > .flex-wrap { justify-content: center; }
    .buy-qty > div { width: 100%; }
    .buy-qty label { text-align: start; }
    .buy-qty s-quantity-selector { display: flex; width: fit-content; margin-inline: auto; }
  }
  /* Quantity number box: its own filled background between the − and + buttons. */
  .buy-qty s-quantity-selector input[type='number'] {
    height: 2.25rem;
    background: var(--color-surface);
    border-radius: 0.5rem;
    box-shadow: inset 0 0 0 1px var(--color-border);
  }
  /* Footer link columns (layout/theme.liquid): the three menus stay 3 across with tight gaps while their area is
     at least 30rem wide (measured on the area itself, so it holds beside the newsletter on desktop too), then stack
     to one column. Never 2 + 1. Column titles in RIPSAW red (accent token, brighter in dark mode). */
  .footer-menus { container-type: inline-size; }
  .footer-menus-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  @container (min-width: 30rem) {
    .footer-menus-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1rem; }
  }
  /* Contact Form Master forms in a [data-request-products] card: Request new products (form 7940, footer) and the RIPSAW Purchase Contact List (form 5993, contact page). The app builds it with jQuery and paints its
     own look inline (black box, 30px padding, white centred heading and italic description, red Send button), so these
     rules use !important to re-dress it with the theme's colour tokens: it follows light and dark mode automatically.
     Markup: [data-request-products] [id^="c1g_contact"] > h2.clg-contact-heading, p.clg-contact-des, #c1gFormFields > form#c1gFormSubmit >
     .c1gFormGroup (input#custName / #custEmail / #fSub, textarea#fMSg) + .c1gFormbtn > button#ShopFormSubmit;
     #formSubmitMsg (thank-you), span.error (validation). Layout: wide screens put the heading beside the fields. */
  [data-request-products] [id^="c1g_contact"] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 2.5rem;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--color-on-surface);
    font-family: var(--font-body);
    font-size: var(--text-sm);
  }
  [data-request-products] [id^="c1g_contact"] .clg-contact-heading {
    margin: 0 0 0.375rem !important;
    color: var(--color-accent) !important;
    font-family: var(--font-heading) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    font-style: normal !important;
    line-height: 1.25 !important;
    text-align: start !important;
  }
  [data-request-products] [id^="c1g_contact"] .clg-contact-des {
    margin: 0 0 1.25rem !important;
    color: var(--color-on-surface-secondary) !important;
    font-size: 0.9375rem !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.5 !important;
    text-align: start !important;
    text-wrap: pretty;
  }
  [data-request-products] [id^="c1g_contact"] #c1gFormFields { margin: 0 !important; min-width: 0; }
  [data-request-products] [id^="c1g_contact"] #c1gFormSubmit { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; margin: 0; }
  [data-request-products] [id^="c1g_contact"] .c1gFormGroup { display: block !important; width: auto !important; margin: 0 !important; padding: 0 !important; }
  [data-request-products] [id^="c1g_contact"] .c1gFormbtn { width: auto !important; margin: 0 !important; padding: 0 !important; text-align: start !important; }
  [data-request-products] [id^="c1g_contact"] label { color: var(--color-on-surface) !important; font-size: var(--text-sm) !important; font-weight: 600 !important; margin-bottom: 0.25rem; }
  [data-request-products] [id^="c1g_contact"] :is(.c1gInputLbl, select) {
    display: block;
    width: 100% !important;
    min-height: 2.75rem;
    margin: 0 !important;
    padding: 0.5rem 0.75rem !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-input) !important;
    background: var(--color-surface) !important;
    color: var(--color-on-surface) !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important; /* 16px: phones don't zoom into the field */
    line-height: 1.5 !important;
    box-shadow: none !important;
    appearance: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
  }
  @media (min-width: 48rem) { [data-request-products] [id^="c1g_contact"] :is(.c1gInputLbl, select) { font-size: var(--text-sm) !important; } }
  [data-request-products] [id^="c1g_contact"] textarea.c1gInputLbl { min-height: 6.5rem; resize: vertical; }
  [data-request-products] [id^="c1g_contact"] .c1gInputLbl::placeholder { color: var(--color-on-surface-secondary) !important; opacity: 1; }
  [data-request-products] [id^="c1g_contact"] .c1gInputLbl:focus { outline: none; border-color: var(--color-interactive) !important; }
  [data-request-products] [id^="c1g_contact"] .c1gInputLbl:focus-visible { outline: 2px solid var(--color-interactive) !important; outline-offset: 2px; }
  /* The app marks a missing field with an inline red border and a "This field is required" line. */
  [data-request-products] [id^="c1g_contact"] .c1gInputLbl:is([style*='d61015' i], [style*='214, 16, 21']) {
    border-color: var(--color-critical) !important;
    box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-critical) 15%, transparent) !important;
  }
  [data-request-products] [id^="c1g_contact"] :is(.error, .emailErr) { display: block; margin-top: 0.25rem; color: var(--color-critical) !important; font-size: 0.75rem; }
  [data-request-products] [id^="c1g_contact"] #ShopFormSubmit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    min-width: 8rem;
    padding: 0 1.5rem !important;
    border: 0 !important;
    border-radius: var(--radius-button) !important;
    background: var(--color-button-primary) !important;
    color: var(--color-button-primary-text) !important;
    font-family: var(--font-body) !important;
    font-size: var(--text-sm) !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background-color 0.15s ease, scale 0.15s ease;
  }
  @media (hover: hover) { [data-request-products] [id^="c1g_contact"] #ShopFormSubmit:hover { background: color-mix(in oklab, var(--color-button-primary) 85%, black) !important; } }
  [data-request-products] [id^="c1g_contact"] #ShopFormSubmit:active { scale: 0.97; }
  [data-request-products] [id^="c1g_contact"] #ShopFormSubmit:focus-visible { outline: 2px solid var(--color-interactive); outline-offset: 2px; }
  [data-request-products] [id^="c1g_contact"] #formSubmitMsg:not(:empty) { margin-top: 0.75rem; }
  [data-request-products] [id^="c1g_contact"] #formSubmitMsg span { color: var(--color-success) !important; font-weight: 600 !important; }
  /* Refresh rules: the app fills this box a moment after the page loads. Until then it holds the form's finished height
     (heading, description, four fields and the button at each layout below), so the footer never grows under the
     shopper and the refresh restore (layout/theme.liquid) never has to chase a late shift. */
  [data-request-products] [id^="c1g_contact"]:empty { min-height: 28rem; }
  @media (min-width: 40rem) { [data-request-products] [id^="c1g_contact"]:empty { min-height: 23rem; } }
  @media (min-width: 64rem) { [data-request-products] [id^="c1g_contact"]:empty { min-height: 17rem; } }
  /* Name and email side by side once there's room; the button sits at the end of the row. */
  @media (min-width: 40rem) {
    [data-request-products] [id^="c1g_contact"] #c1gFormSubmit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    [data-request-products] [id^="c1g_contact"] #c1gFormSubmit > :not(:has(#custName, #custEmail)) { grid-column: 1 / -1; }
  }
  /* Wide screens: heading and description on the left, the fields on the right. */
  @media (min-width: 64rem) {
    [data-request-products] [id^="c1g_contact"] { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto 1fr; }
    [data-request-products] [id^="c1g_contact"] .clg-contact-heading { grid-column: 1; grid-row: 1; }
    [data-request-products] [id^="c1g_contact"] .clg-contact-des { grid-column: 1; grid-row: 2; margin-bottom: 0 !important; }
    [data-request-products] [id^="c1g_contact"] #c1gFormFields { grid-column: 2; grid-row: 1 / span 2; }
    [data-request-products] [id^="c1g_contact"] #formSubmitMsg { grid-column: 2; }
  }
  /* Contact page's Purchase Contact List form ([data-cfm-wide]): the theme's own heading block sits beside the form
     (templates/page.contact.liquid), so the app's red heading and description are hidden and the app box holds just
     the fields, one column (no side-by-side inside it). */
  [data-request-products][data-cfm-wide] [id^="c1g_contact"] :is(.clg-contact-heading, .clg-contact-des) { display: none !important; }
  [data-request-products][data-cfm-wide] [id^="c1g_contact"] { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto !important; }
  [data-request-products][data-cfm-wide] [id^="c1g_contact"] :is(#c1gFormFields, #formSubmitMsg) { grid-column: 1 !important; grid-row: auto !important; }
  [data-request-products][data-cfm-wide] [id^="c1g_contact"]:empty { min-height: 20rem; }
  @media (min-width: 40rem) { [data-request-products][data-cfm-wide] [id^="c1g_contact"]:empty { min-height: 17rem; } }
  .footer-col-title { color: var(--color-accent); }
  /* Long titles (Performance Chainsaws/Parts/Service) wrap after each slash (<wbr>), and nothing in a column can
     spill into the next: titles and links wrap inside their own column. */
  .footer-menus-grid > * { min-width: 0; }
  .footer-col-title,
  .footer-menus-grid a { overflow-wrap: anywhere; hyphens: auto; text-wrap: balance; }
  .footer-col-title { line-height: 1.25; }
  /* RIPSAW signature at the foot: grows smoothly with the page, about 150px on phones up to 288px on wide screens. */
  .footer-signature { width: clamp(9rem, 6rem + 14vw, 18rem); }
  /* Social buttons: their own centred row on screens below desktop width (the bottom row stacks there). */
  @media (width < 64rem) {
    .footer-socials,
    .footer-payments { width: 100%; justify-content: center; }
    .footer-legal { width: 100%; flex-direction: column; align-items: center; }
    .footer-legal-row { justify-content: center; }
  }
  /* Product photo arrows around the zoom view (s-zoom-viewer pageArrows): hidden while it's open (the photo covers
     them), then after the photo lands back their glass forms in over it: blur, tint and shadow build up as the button
     grows slightly, and the chevron and rim light fade in. The button's own opacity is never faded (glass rule). */
  html[data-photo-zoom] :is([data-stage-prev], [data-stage-next]) { visibility: hidden; }
  html[data-photo-zoom-return] :is([data-stage-prev], [data-stage-next]) {
    animation: photo-arrow-glass-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  html[data-photo-zoom-return] :is([data-stage-prev], [data-stage-next]) svg,
  html[data-photo-zoom-return] :is([data-stage-prev], [data-stage-next])::before {
    animation: photo-arrow-part-in 0.42s ease-out both;
  }
  @keyframes photo-arrow-glass-in {
    from {
      scale: 0.7;
      background-color: transparent;
      -webkit-backdrop-filter: blur(0px) saturate(1) brightness(1) contrast(1);
      backdrop-filter: blur(0px) saturate(1) brightness(1) contrast(1);
      box-shadow: none;
    }
  }
  @keyframes photo-arrow-part-in {
    from { opacity: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    html[data-photo-zoom-return] :is([data-stage-prev], [data-stage-next]),
    html[data-photo-zoom-return] :is([data-stage-prev], [data-stage-next]) svg,
    html[data-photo-zoom-return] :is([data-stage-prev], [data-stage-next])::before { animation: none; }
  }
  /* While product photos slide, the stage is a window the exact size and rounded shape of the photo
     (widths match the photo frame in templates/product.liquid), so a photo sliding out is never cut off square. */
  [data-gallery-stage][data-sliding] {
    clip-path: inset(0 calc((100% - min(100%, max(16rem, 100svh - 12rem))) / 2) round var(--radius-xl, 0.75rem));
  }
  @media (min-width: 48rem) {
    [data-gallery-stage][data-sliding] {
      clip-path: inset(0 calc((100% - min(100%, var(--photo-max))) / 2) round var(--radius-xl, 0.75rem));
    }
  }
  /* Card title bars: the page-colour band behind the rounded top corners sat underneath the bar, and Safari lets a
     thin edge of the white card / scrolling content show through a pinned bar's rounded corners (visible in light
     mode). Draw the band on top instead, masked to only the strip above the bar and the area outside each 12px
     corner curve, so nothing can ever peek out at the corners. */
  [data-panel-cap]::after {
    z-index: 1 !important;
    height: calc(var(--cap-gap, 0.375rem) + 0.75rem) !important;
    -webkit-mask:
      linear-gradient(#000 0 0) top / 100% var(--cap-gap, 0.375rem) no-repeat,
      radial-gradient(circle at 100% 100%, transparent 0.75rem, #000 calc(0.75rem + 0.5px)) left 0 top var(--cap-gap, 0.375rem) / 0.75rem 0.75rem no-repeat,
      radial-gradient(circle at 0 100%, transparent 0.75rem, #000 calc(0.75rem + 0.5px)) right 0 top var(--cap-gap, 0.375rem) / 0.75rem 0.75rem no-repeat;
    mask:
      linear-gradient(#000 0 0) top / 100% var(--cap-gap, 0.375rem) no-repeat,
      radial-gradient(circle at 100% 100%, transparent 0.75rem, #000 calc(0.75rem + 0.5px)) left 0 top var(--cap-gap, 0.375rem) / 0.75rem 0.75rem no-repeat,
      radial-gradient(circle at 0 100%, transparent 0.75rem, #000 calc(0.75rem + 0.5px)) right 0 top var(--cap-gap, 0.375rem) / 0.75rem 0.75rem no-repeat;
  }
  /* Collections on phones: the header card (description + mini bar) sits closer to the site header. */
  @media (width < 48rem) {
    .collection-page { padding-top: 0.375rem; }
    .collection-page [data-collection-header] > [data-panel-content] { padding-top: 0.875rem; }
    /* The title bar pins a gap under the header (its top padding, --cap-gap) and is pulled up by the card's top
       padding + that gap. The gap must not exceed the page's top padding, or the bar's resting spot is above its
       pinned line and it gets pushed down as pinning switches on (refresh snap-back, bounce on scroll up).
       Phones: gap 0.375rem = page padding; pull-up = 0.875rem + 0.375rem. */
    .collection-page [data-collection-header] [data-panel-cap] { --cap-gap: 0.375rem; padding-top: 0.375rem; margin-top: -1.25rem; }
  }
  /* "Mobile" size = below 64rem, where collections swap the side filter card for the Filter button: no Show
     picker there (toolbar or pinned bar), and the header uses the burger menu (inline script after the header). */
  @media (width < 64rem) {
    [data-collection-toolbar] .collection-per-page,
    [data-cap-bar] :has(> s-glass-select > #pin-per-page) { display: none !important; }
  }
  /* Collections on phones: the compact bar (count badge, Filter, Sort by) in a tighter 3rem row (s-cap-bar reads
     the row's height). */
  @media (width < 48rem) {
    [data-cap-bar], [data-cap-glass] { height: 3rem !important; }
    [data-cap-shade] { top: 3rem !important; }
  }
  /* Compact collection bar row: clipped at its sides only, as before, but with a clip path. overflow-x: clip inside a
     pinned bar makes Safari give it an endlessly tall clipping layer, and the pinned bar jiggles a pixel or two while
     scrolling (WebKit bug). Pieces riding up from below stay unclipped vertically. */
  [data-cap-bar] { overflow-x: visible !important; clip-path: inset(-100vh 0 -100vh 0); }
  /* A clipped container cuts off the frosted blur of a menu opened inside it (the menu could only blur the bar, not
     the products behind): while Show / Sort by is open the bar sits still, so it goes without the side clip. */
  [data-cap-bar]:has(s-glass-select[data-open], .glass-menu:not([hidden])) { clip-path: none; }
  /* Safari (Mac, iPad, iPhone) scrolls ahead of scripts: the soft fade under pinned card titles (s-cap-fade) and its
     rounded end corners glide to each new value over ~2 frames instead of stepping a frame late. */
  :root[data-webkit] s-cap-fade { transition: opacity 90ms linear, height 90ms linear; }
  /* Safari: the collection title card's moving pieces and the filter card's bar get their own layers up front, so
     nothing has to be set up at the moment they start shrinking, fading or pinning (that set-up was a hitch). */
  :root[data-webkit] :is([data-cap-hold-shade], [data-cap-shade], [data-cap-bg-top], [data-cap-bg-mid], [data-cap-bg-end], [data-cap-bg-shadow], [data-cap-pill-bg], [data-cap-pill-bg-mini]) {
    will-change: transform, opacity;
  }
  /* Compact bar fully formed and well into the products (s-cap-bar parks it: nothing in it moves): its pieces are
     drawn as part of the pinned bar instead of as their own layers, so momentum scrolling can't move the bar a frame
     ahead of its text and buttons. They get their layers back before the bar starts moving again. */
  [data-cap-parked] *, [data-cap-parked] *::before, [data-cap-parked] *::after { will-change: auto !important; }
  :root[data-webkit] s-filter-panel [data-filter-more][data-fold-bar] { will-change: transform; }
  /* Safari: pinned section titles (Keep shopping for…, Top categories). The blur band under a pinned title used to be
     switched on (visibility) right as the title pinned, so Safari built its blur layer at that exact moment (a hitch
     on a fast scroll). Here it's built up front and only shown/hidden with an instant opacity switch (no fade, same
     look); the glass and its tint keep their own layers too. */
  :root[data-webkit] .section-sticky-fade { visibility: visible; opacity: 0; will-change: opacity; }
  :root[data-webkit] .section-sticky-title[data-stuck] .section-sticky-fade { opacity: 1; }
  :root[data-webkit] .section-sticky-glass,
  :root[data-webkit] .section-sticky-glass::before { will-change: opacity; }
  /* Safari: the hairline under a pinned title was a border colour fading in on the frosted strip itself, which made
     Safari redraw the whole blur for every frame of that fade (the last little hiccup). Here the line is its own
     thin layer on top that fades by opacity only (same colour, same 0.15s), and the strip's border stays clear. */
  :root[data-webkit] .section-sticky-glass,
  :root[data-webkit] .section-sticky-title[data-stuck] .section-sticky-glass {
    border-bottom-color: transparent !important;
    transition: none;
  }
  :root[data-webkit] .section-sticky-glass::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: -1px;
    height: 1px;
    background: color-mix(in srgb, var(--color-border) 50%, transparent);
    opacity: 0;
    transition: opacity 0.15s ease;
    will-change: opacity;
    pointer-events: none;
  }
  :root[data-webkit] .section-sticky-title[data-stuck] .section-sticky-glass::after { opacity: 1; }
  /* Safari: the glass buttons' light (s-glass.js) updates once the page rests, so it glides there instead of jumping. */
  @property --gx { syntax: '<number>'; inherits: true; initial-value: 0.5; }
  /* Pinned card title's rounded end (s-cap-fade.js): registered so the browser-played version glides between values. */
  @property --cap-end-r { syntax: '<length>'; inherits: true; initial-value: 0px; }
  /* Photo and slide dots stretch by width; keep that re-measuring inside the dot row so it never spreads to the page. */
  [data-card-dots], :where(:has(> .slide-dot)) { contain: layout style; }
  @property --gy { syntax: '<number>'; inherits: true; initial-value: 0.5; }
  :root[data-webkit] .glass-btn {
    transition: scale 0.35s var(--ease-ui), box-shadow 0.35s var(--ease-ui), background-color 0.35s var(--ease-ui),
      --gx 0.6s var(--ease-ui, ease), --gy 0.6s var(--ease-ui, ease);
  }
  /* Safari: product card photo dots. Each was a tiny live-blurred bead, so a collection page had hundreds of separate
     blur layers moving with every scroll frame. Here they're the same beads without the live blur (a touch more
     white to match the frosted look); the current dot still stretches and brightens the same way. */
  :root[data-webkit] [data-card-dots] .card-dot {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgb(255 255 255 / calc(0.42 + 0.45 * var(--t, 0)));
  }
  /* Filter card's Show less / Show all filters bar during Safari's native fold (s-filter-panel.js): solid all the way
     down, its own bottom outline (same as the card's), and 6px of fill below it (hidden by the card at rest) so a
     rounding pixel between the bar and the cut edge never shows the list behind it. */
  s-filter-panel [data-filter-more][data-fold-bar] {
    --fold-fill: var(--color-surface-secondary);
    background: var(--fold-fill) !important;
    /* Fill reaching 48px below the bar (two bar-sized copies 24px apart): covers the list if the bar trails the
       edge for a frame on a fast scroll or a change of direction. Below the edge it's always cut away. */
    box-shadow: inset 0 -1px 0 0 rgb(255 255 255 / 0.07), 0 24px 0 0 var(--fold-fill), 0 48px 0 0 var(--fold-fill);
  }
  :root[data-color-mode='light'] s-filter-panel [data-filter-more][data-fold-bar] {
    box-shadow: inset 0 -1px 0 0 rgb(0 0 0 / 0.1), 0 24px 0 0 var(--fold-fill), 0 48px 0 0 var(--fold-fill);
  }
  /* Large screens: the filter card's outline is drawn inside its edge (inset ring), so the pinned group titles and the
     Active filters row (solid backgrounds, stretched edge to edge) stop 1px short on each side: the outline stays
     solid while they pin and the list scrolls under them. */
  @media (min-width: 64rem) {
    s-filter-panel [data-filter-body] :is(details[data-filter-key] > summary, [data-active-row]) {
      margin-inline: calc(-1.25rem + 1px) !important;
      padding-inline: calc(1.25rem - 1px) !important;
    }
  }
  /* No sideways scrolling into empty space: the filter card's list scrolls up and down only, and nothing that pokes
     past the screen's edge (a piece mid-animation, a wide row) can widen the page. clip (not hidden) keeps sticky working. */
  s-filter-panel [data-filter-body] { overflow-x: hidden; }
  html, body { overflow-x: clip; }
  /* Card title bars and the section titles (Keep shopping for…, Top categories) low on the screen stay unpinned, so
     iOS Safari never paints a solid bar under its toolbar (s-sticky-panel.js). */
  [data-panel-cap][data-cap-low],
  .section-sticky-title[data-cap-low],
  [data-collection-chips][data-cap-low] {
    position: relative !important;
    top: auto !important;
  }
  /* Scrollable pages keep their scrollbar space while a modal (zoom view, drawer) locks scrolling: no sideways jump. */
  html[data-scrolls] {
    scrollbar-gutter: stable;
  }
  /* Add to cart, after the AMG speed-bar mark (mirrored): four slanted bars, thin to thick, lead into the main slanted
     block that carries the label. Proportions follow the mark, measured against its height: bars 26 / 30 / 39 / 48 %,
     gaps 13 %, slant ~35°. Colour: --speed (button colour; pre-order sets it to blue). */
  .btn-speed {
    --speed: var(--color-button-primary);
    --speed-h: 3rem;
    --speed-skew: -35deg;
    --speed-gap: calc(var(--speed-h) * 0.13);
    --speed-lean: calc(var(--speed-h) * 0.36); /* half the slant's overhang (tan 35° × h / 2), plus a hair */
    --speed-bars: calc(var(--speed-h) * (0.26 + 0.30 + 0.39 + 0.48) + 3 * var(--speed-gap));
    position: relative;
    isolation: isolate;
    height: var(--speed-h);
    padding-inline: 0;
    border: 0;
    background: transparent;
    color: var(--color-button-primary-text);
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    container-type: inline-size;
  }
  .btn-speed .btn-speed__label { font-size: clamp(0.75rem, 3.9cqi, 0.9375rem); }
  .btn-speed::before,
  .btn-speed__bars > i {
    background: var(--speed);
    transform: skewX(var(--speed-skew));
    border-radius: calc(var(--speed-h) * 0.1);
    transition: filter 0.2s ease;
  }
  .btn-speed::before {
    border-radius: calc(var(--speed-h) * 0.2); /* main block: softer, less pointy corners */
    content: '';
    position: absolute;
    inset-block: 0;
    inset-inline-start: calc(var(--speed-lean) + var(--speed-bars) + var(--speed-gap));
    inset-inline-end: var(--speed-lean);
    z-index: -1;
  }
  .btn-speed__bars {
    position: absolute;
    inset-block: 0;
    inset-inline-start: var(--speed-lean);
    z-index: -1;
    display: flex;
    gap: var(--speed-gap);
    pointer-events: none;
  }
  .btn-speed__bars > i { flex: none; height: 100%; }
  .btn-speed__bars > i:nth-child(1) { width: calc(var(--speed-h) * 0.26); }
  .btn-speed__bars > i:nth-child(2) { width: calc(var(--speed-h) * 0.30); }
  .btn-speed__bars > i:nth-child(3) { width: calc(var(--speed-h) * 0.39); }
  .btn-speed__bars > i:nth-child(4) { width: calc(var(--speed-h) * 0.48); }
  .btn-speed__label {
    display: block;
    width: 100%;
    padding-inline: calc(var(--speed-lean) * 1.5 + var(--speed-bars) + var(--speed-gap)) calc(var(--speed-lean) * 1.25);
    text-align: center;
  }
  @media (hover: hover) {
    .btn-speed:hover { background: transparent; }
    .btn-speed:hover::before,
    .btn-speed:hover .btn-speed__bars > i { filter: brightness(0.88); }
  }
  .btn-speed:active::before,
  .btn-speed:active .btn-speed__bars > i { filter: brightness(0.8); }
  .btn-speed[aria-disabled='true'],
  .btn-speed:disabled { opacity: 0.6; }

  /* Light/dark swap (desktop circular reveal): any element with its own page-morph name would be lifted above the
     whole page for the swap and show through the frosted mini bar and header. Switch every name off for the swap. */
  html.color-mode-transition [style*='view-transition-name'],
  html.color-mode-transition [class*='view-transition-name'],
  html.color-mode-transition s-card-gallery,
  html.color-mode-transition [data-card-title] {
    view-transition-name: none !important;
  }

  /* Photo badges (snippets/photo-badges): sale in the theme's sale green, deepened so white text reads in both modes. */
  .photo-badge--sale { background: color-mix(in oklab, var(--color-sale) 82%, black); color: #fff; }
  /* Product card photos: whole and centred in the square frame (never cropped); s-photo-edge.js paints the empty bands
     to continue the photo's edge. */
  :is(s-card-gallery [data-card-slide], [data-card-photo]) img { object-fit: contain !important; object-position: center !important; }
  /* Product card photo swiper (s-card-gallery): native scroll-snap track, no scrollbar; dots show the photo count. */
  /* overscroll none: a hard swipe into the loop's end stops there instead of bouncing past it (the black wall). */
  .card-gallery-track { scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: none; }
  .card-gallery-track::-webkit-scrollbar { display: none; }
  /* Safari with a mouse / trackpad: a parked card's strip (s-card-gallery.js PARK) isn't a scroll area of its own. */
  s-card-gallery[data-idle-track] .card-gallery-track { overflow-x: hidden; }
  /* At rest only the current photo is drawn, so no sliver of a neighbour ever peeks in; a swipe shows them again.
     Mouse / trackpad screens only: on touch screens the hidden neighbours stopped iOS Safari from starting the swipe
     at all (they only came back once the strip moved). There the strip rests on exact photo edges instead. */
  @media not ((hover: none) and (pointer: coarse)) {
    :root:not([data-ipad]) s-card-gallery[data-rest] [data-card-slide]:not([data-current]) { visibility: hidden; }
  }
  /* No hover zoom on the photos while they're being swiped or dragged (it read as the photo trying to enlarge). */
  s-card-gallery[data-swipeable]:is([data-dragging], :not([data-rest])) img { scale: 1 !important; }
  /* Before the swiper starts, only the first photo is drawn. */
  @media not ((hover: none) and (pointer: coarse)) {
    :root:not([data-ipad]) s-card-gallery:not([data-swipeable]) [data-card-slide] ~ [data-card-slide] { visibility: hidden; }
  }
  .card-dot {
    display: block;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.55);
    box-shadow: 0 1px 1.5px rgb(0 0 0 / 0.35);
    transition: width 0.25s ease, background-color 0.25s ease;
  }
  @media (hover: hover) and (pointer: fine) {
    s-card-gallery[data-swipeable] .card-gallery-track { cursor: grab; }
    s-card-gallery[data-dragging] .card-gallery-track { cursor: grabbing; user-select: none; }
    s-card-gallery[data-dragging] a { pointer-events: none; }
  }
  /* --t (0–1) is written by s-card-gallery.js every scroll frame: 0 = dot, 1 = pill. No transition, so it moves with the swipe. */
  .card-dot.is-active { --t: 1; }
  /* Browser-played dots (s-card-gallery.js #startNativeDots): the strip's scroll timeline animates --dot-t on each
     dot, and the dot's stretch reads it, so swiping runs no script for the dots. */
  @property --dot-t { syntax: '<number>'; inherits: false; initial-value: 0; }
  s-card-gallery[data-native-dots] .card-dot,
  [data-recent-dots][data-native-dots] .card-dot { --t: var(--dot-t); }
  .card-dot {
    width: calc(0.375rem + 0.625rem * var(--t, 0));
    background: rgb(255 255 255 / calc(0.55 + 0.45 * var(--t, 0)));
    transition: none;
  }
  @media (prefers-reduced-motion: reduce) { .card-dot { transition: none; } }
  /* Card photo dots: no pill around them; each dot is a small see-through frosted glass bead (same glass as the photo
     arrows: blur + saturate, bright hairline rim, soft shadow). The current one stretches and turns brighter. */
  [data-card-dots] .card-dot {
    background: rgb(255 255 255 / calc(0.3 + 0.45 * var(--t, 0)));
    -webkit-backdrop-filter: blur(4px) saturate(1.9) brightness(1.06);
    backdrop-filter: blur(4px) saturate(1.9) brightness(1.06);
    box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.6), 0 1px 2px rgb(0 0 0 / 0.35);
  }
  /* Card photo chevrons: just the glyph (no button behind it), white with a soft shadow so it reads on any photo.
     Always shown (85%), full white while the card is hovered on desktop. */
  .card-chev {
    position: absolute;
    top: 50%;
    z-index: 10;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 3rem;
    margin-top: -1.5rem;
    color: rgb(255 255 255 / 0.92);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease, scale 0.2s ease;
    /* Quick taps each count (no double-tap-to-zoom swallowing the second one) */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .card-chev--prev { inset-inline-start: 0.125rem; }
  .card-chev--next { inset-inline-end: 0.125rem; }
  .card-chev svg {
    width: 1.375rem;
    height: 1.375rem;
    filter: drop-shadow(0 1px 1.5px rgb(0 0 0 / 0.5)) drop-shadow(0 0 6px rgb(0 0 0 / 0.25));
  }
  /* Desktop: a bit larger (glyph 22px → 28px, tap area to match). */
  @media (min-width: 64rem) {
    .card-chev { width: 2.75rem; height: 3.5rem; margin-top: -1.75rem; }
    .card-chev svg { width: 1.75rem; height: 1.75rem; }
  }
  .card-chev:active { scale: 0.9; }
  .card-chev:focus-visible { opacity: 1; outline: 2px solid #fff; outline-offset: -4px; border-radius: 0.5rem; }
  @media (hover: hover) and (pointer: fine) {
    s-card-gallery:hover .card-chev { opacity: 1; } /* always shown; a little brighter on hover */
    .card-chev:hover { color: #fff; }
  }

  s-card-gallery:not([data-swipeable]) .card-chev { visibility: hidden; }
  /* Light photo where they sit (s-photo-edge.js: data-tone on the current slide, sides then bottom): dark arrows and
     dark beads with a light halo instead of white, so they stay visible on white backdrops. */
  .card-chev { transition: opacity 0.2s ease, scale 0.2s ease, color 0.2s ease; }
  s-card-gallery:is(:has(> .card-gallery-track > [data-card-slide][data-current][data-tone^="l"]), :not(:has([data-current])):has(> .card-gallery-track > [data-card-slide]:first-child[data-tone^="l"])) .card-chev { color: rgb(17 17 17 / 0.88); }
  s-card-gallery:is(:has(> .card-gallery-track > [data-card-slide][data-current][data-tone^="l"]), :not(:has([data-current])):has(> .card-gallery-track > [data-card-slide]:first-child[data-tone^="l"])) .card-chev svg { filter: drop-shadow(0 1px 1.5px rgb(255 255 255 / 0.55)) drop-shadow(0 0 6px rgb(255 255 255 / 0.35)); }
  @media (hover: hover) and (pointer: fine) { s-card-gallery:is(:has(> .card-gallery-track > [data-card-slide][data-current][data-tone^="l"]), :not(:has([data-current])):has(> .card-gallery-track > [data-card-slide]:first-child[data-tone^="l"])) .card-chev:hover { color: #000; } }
  s-card-gallery:is(:has(> .card-gallery-track > [data-card-slide][data-current][data-tone$="l"]), :not(:has([data-current])):has(> .card-gallery-track > [data-card-slide]:first-child[data-tone$="l"])) [data-card-dots] .card-dot {
    background: rgb(0 0 0 / calc(0.28 + 0.5 * var(--t, 0)));
    box-shadow: inset 0 0 0 0.5px rgb(0 0 0 / 0.35), 0 1px 2px rgb(255 255 255 / 0.5);
  }
  /* Home hero slideshow (s-slideshow): glass arrow buttons like the product page photos (markup in blocks/slideshow);
     the same frosted bead dots with the current one stretched into a pill. Mouse drag shows a grab cursor. */
  /* Bottom bar: the dots sit dead centre; the pause/play button sits just to their right without pushing them over. */
  .slide-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 0.25rem; }
  .slide-bar > [data-slideshow-dots] { grid-column: 2; grid-row: 1; }
  .slide-bar > [data-slideshow-pause], .slide-bar > [data-slideshow-play] { grid-column: 3; grid-row: 1; justify-self: start; }
  .slide-dots { gap: 0.125rem; }
  .slide-dot {
    display: grid;
    place-items: center;
    min-width: 1.25rem;
    min-height: 2.75rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .slide-dot::before {
    content: '';
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / 0.3);
    -webkit-backdrop-filter: blur(4px) saturate(1.9) brightness(1.06);
    backdrop-filter: blur(4px) saturate(1.9) brightness(1.06);
    box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.6), 0 1px 2px rgb(0 0 0 / 0.35);
    transition: width 0.35s var(--ease-ui, ease), background-color 0.35s var(--ease-ui, ease);
  }
  .slide-dot[data-active] { min-width: 2rem; }
  .slide-dot[data-active]::before { width: 1.375rem; background: rgb(255 255 255 / 0.75); }
  @media (hover: hover) { .slide-dot:not([data-active]):hover::before { background: rgb(255 255 255 / 0.5); } }
  .slide-dot:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 9999px; }
  @media (prefers-reduced-motion: reduce) { .slide-dot::before { transition: none; } }
  /* Autoplay countdown: while the slideshow is timing (data-timing, set by s-slideshow) the active pill fills left to
     right over --autoplay-ms; the next slide comes when it's full. Frozen while hovered or focused (data-timing-paused);
     gone when stopped. The fill is a leaf layer over the glass pill, so the pill's blur is untouched. */
  .slide-dot::before, .slide-dot::after { grid-area: 1 / 1; }
  /* The track keeps its countdown colour the whole time autoplay is on, including the two frames while the fill
     restarts (data-timing is briefly off then), so the pill never flashes brighter between slides. */
  s-slideshow[data-timing] .slide-dot[data-active]::before,
  s-slideshow[autoplay] .slide-dot[data-active]::before { background: rgb(255 255 255 / 0.4); }
  s-slideshow[data-timing] .slide-dot[data-active]::after {
    content: '';
    display: block;
    width: 1.375rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #fff;
    clip-path: inset(0 100% 0 0 round 9999px);
    animation: slide-countdown var(--autoplay-ms, 7000ms) linear forwards;
  }
  s-slideshow[data-timing-paused] .slide-dot[data-active]::after { animation-play-state: paused; }
  @keyframes slide-countdown { to { clip-path: inset(0 0 0 0 round 9999px); } }
  /* Live dots (s-slideshow sets data-live-dots and writes --t, 0 = dot, 1 = pill, every scroll frame): the pill
     moves with the swipe / glide like the product card photo dots. No transition, so it never lags the slides. */
  s-slideshow[data-live-dots] .slide-dot { min-width: calc(1.25rem + 0.75rem * var(--t, 0)); }
  s-slideshow[data-live-dots] .slide-dot::before {
    width: calc(0.5rem + 0.875rem * var(--t, 0));
    background: rgb(255 255 255 / calc(0.3 + 0.45 * var(--t, 0)));
    transition: none;
  }
  /* Everything follows --t only, never which dot is "current" (that flips halfway through a swipe, which made the
     pill flicker and the fill jump): while timing, every dot uses the dimmer track colour under the fill, and the
     fill fades out as soon as the slide starts moving and back in once it has landed (a leaf layer, not the glass). */
  s-slideshow[data-live-dots][data-timing] .slide-dot::before,
  s-slideshow[data-live-dots][data-timing] .slide-dot[data-active]::before,
  s-slideshow[data-live-dots][autoplay] .slide-dot::before,
  s-slideshow[data-live-dots][autoplay] .slide-dot[data-active]::before { background: rgb(255 255 255 / calc(0.3 + 0.1 * var(--t, 0))); }
  s-slideshow[data-live-dots][data-timing] .slide-dot[data-active]::after {
    width: 1.375rem;
    opacity: clamp(0, calc((var(--t, 1) - 0.9) * 10), 1);
  }
  /* Arrows, dots, play/pause and the sound pill answer the first tap at once: no double-tap-zoom wait. */
  s-slideshow button, s-video-sound button { touch-action: manipulation; }
  s-slideshow [data-slideshow-track] { scrollbar-width: none; overscroll-behavior-x: none; }
  s-slideshow [data-slideshow-track]::-webkit-scrollbar { display: none; }
  @media (hover: hover) and (pointer: fine) {
    s-slideshow [data-slideshow-track] { cursor: grab; }
    s-slideshow[data-dragging] [data-slideshow-track] { cursor: grabbing; user-select: none; }
    s-slideshow[data-dragging] a { pointer-events: none; }
  }
  /* 3-column switch: only when the third column (details + Complete your build) gets at least 22rem, so the upsells
     never squeeze. Third column = 4/9 of what's left after the photo (max 38%) and gaps; the photo column grows with screen
     height, so the width needed depends on height: 91.5rem on tall screens, screen height + 39.75rem on shorter ones
     (in 2.5rem height steps, rounded towards 2 columns). Same query in templates/product.liquid (Selleasy move).
     Below it: 2 columns, details and upsells inside the buy box. */
  /* Product page 3-column mode (photos | buy box | details), wide enough screens (query above). Photo first (fixed, screen-height-capped
     square); the buy box and details column then share the rest 5:4 and grow / shrink together at every width
     (neither under 22rem). Overrides the product-grid utility (unlayered beats the
     utilities layer). */
  @media (min-width: 91.5rem), (min-width: 76rem) and (max-height: 30rem), (min-width: 76rem) and (max-height: 32.5rem), (min-width: 76rem) and (max-height: 35rem), (min-width: 77.25rem) and (max-height: 37.5rem), (min-width: 79.75rem) and (max-height: 40rem), (min-width: 82.25rem) and (max-height: 42.5rem), (min-width: 84.75rem) and (max-height: 45rem), (min-width: 87.25rem) and (max-height: 47.5rem), (min-width: 89.75rem) and (max-height: 50rem) {
    .product-grid { grid-template-columns: min(38%, max(16rem, calc(100svh - var(--header-bottom, 5rem) - 13.75rem))) minmax(22rem, 5fr) minmax(22rem, 4fr); }
  }
  /* Product details card: in the buy panel below 76rem; its own buy-box-style card in the third column from 76rem. */
  [data-details-wide] { display: none; }
  @media (min-width: 91.5rem), (min-width: 76rem) and (max-height: 30rem), (min-width: 76rem) and (max-height: 32.5rem), (min-width: 76rem) and (max-height: 35rem), (min-width: 77.25rem) and (max-height: 37.5rem), (min-width: 79.75rem) and (max-height: 40rem), (min-width: 82.25rem) and (max-height: 42.5rem), (min-width: 84.75rem) and (max-height: 45rem), (min-width: 87.25rem) and (max-height: 47.5rem), (min-width: 89.75rem) and (max-height: 50rem) {
    [data-details-panel] { display: none; }
    /* Third-column grid slot; pinning, collapse and spacing come from the shared buy-box rules ([data-buy-panel]). */
    [data-details-wide] { display: flex; grid-column: 3; grid-row: 1; min-width: 0; }
    /* Collapsing mode (card taller than the screen): the details card ends at its own content instead of stretching
       to the description, so once everything has folded under its title bar, the bar scrolls away with the page. */
    [data-details-wide][data-buy-panel]:not([data-buy-fits]) { align-self: start; }
    /* With Complete your build: the column holds a stack of two cards (details, build), each with its own title bar.
       While the stack fits on screen it pins whole (data-fits from s-complete-build.js) to the end of the product row;
       there it moves up and each card collapses under its own pinned bar and scrolls away, details first, then build.
       Taller than the screen: no whole pin, the cards collapse one after the other as the page scrolls. CSS sticky only. */
    div[data-details-wide] { display: block; }
    [data-col-stack] > s-sticky-panel[data-buy-panel][data-buy-fits] { position: relative; top: auto; align-self: stretch; }
    [data-col-stack][data-fits] { position: sticky; top: calc(var(--header-bottom, 5rem) + 1.5rem); }
  }
  /* Product title starting size by length (set in Liquid), so long titles already paint close to their fitted size
     and don't jump when s-title-fit runs; it sets data-fitted and takes over from the design size. Never trimmed. */
  s-title-fit:not([data-fitted])[data-title-len='m'] h1 { font-size: calc(var(--type-heading-sm-size) * 0.85); }
  s-title-fit:not([data-fitted])[data-title-len='l'] h1 { font-size: calc(var(--type-heading-sm-size) * 0.72); }
  s-title-fit:not([data-fitted])[data-title-len='xl'] h1 { font-size: calc(var(--type-heading-sm-size) * 0.6); }
  /* Product photo, tablet and up: the whole gallery (photo + thumbnail strip + "Show all" row) always fits on screen.
     Photo size = screen height minus the real header (--header-bottom, set before first paint in theme.liquid), the
     pinned gap above (1.5rem), 1rem of room below, and the rows under the photo (--photo-extra, from Liquid).
     Overrides the old fixed 100svh - 16.5rem caps on the photo frames. */
  @media (min-width: 48rem) {
    s-product-gallery { --photo-max: max(10rem, calc(100svh - var(--header-bottom, 5rem) - 2.5rem - var(--photo-extra, 0rem))); }
    s-product-gallery [class*='md:max-w-[max(18rem,calc(100svh-16.5rem))]'] { max-width: var(--photo-max) !important; }
  }
  /* Buy box, tablet and up: the panel stretches the whole product row and 2rem past it (the grid's md:mb-8), so its
     pinned title bar keeps riding in its collapsed look (the card scrolled away under it, bar rounded off by
     s-cap-fade, which reads the panel's end) until the description card's top reaches it. The panel itself draws no
     shadow then (the bar and the card carry their own), or it would outline the empty stretch. CSS sticky only. */
  @media (min-width: 48rem) {
    s-sticky-panel[data-buy-panel] { align-self: stretch; box-shadow: none; }
    /* Whole buy box fits on screen (data-buy-fits from s-sticky-panel.js): pin the whole card instead, at the title
       bar's pinned spot, so it never collapses; it stays fully open to the end of the product section (the -2rem
       margin carries it to the description's top), then scrolls away whole. */
    s-sticky-panel[data-buy-panel][data-buy-fits] { align-self: start; position: sticky; top: calc(var(--header-bottom, 5rem) + 1.5rem); }
    /* Tall buy box (title bar pins, card collapses under it): the bar pins with the same 1.5rem gap under the header the
       card has before scrolling (bar box sits 0.375rem above the card edge: its -mt-1.5/pt-1.5 band), so the top edge
       never moves as it collapses. The bar's page-colour band above it covers the gap. */
    s-sticky-panel[data-buy-panel] > [data-panel-cap] { top: calc(var(--header-bottom, 5rem) + 1.125rem); }
  }
  /* Essential Preorder back-in-stock: only the sold-out buy area (.bis-slot) may hold it. The app also adds it to items that
     keep selling at zero or negative stock (built to order, pre-order), which are in stock to order. */
  [data-essential-preorder-element^="back-in-stock-container"]:not(.bis-slot > *) { display: none !important; }
  /* "Continue selling when out of stock" = in stock: when the app thinks such an item is out (stock at or below zero), it
     moves Add to cart and the express checkout buttons off screen with inline styles. Put them back. (The sold-out page's
     hidden placeholder button isn't .btn-speed, so it's untouched.) */
  s-product-form button[name="add"].btn-speed { position: relative !important; left: auto !important; transform: none !important; }
  s-product-form [data-express-checkout] :is(.shopify-payment-button, shopify-accelerated-checkout, .shopify-payment-button__button, [data-shopify="payment-button"]) {
    position: static !important; left: auto !important; transform: none !important;
  }

/* Review star drawn from one shared shape (CSS mask) instead of a full SVG copied for every star on the page.
   Size comes from the parent's rule (.rev-stars / .ugc-stars .star-ico); colour follows the text colour. */
.star-ico { display: inline-block; flex: none; width: 1em; height: 1em; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.47 5.3 5.8.68-4.3 3.96 1.15 5.73L10 14.4l-5.12 2.87 1.15-5.73-4.3-3.96 5.8-.68z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.6l2.47 5.3 5.8.68-4.3 3.96 1.15 5.73L10 14.4l-5.12 2.87 1.15-5.73-4.3-3.96 5.8-.68z'/%3E%3C/svg%3E") center / contain no-repeat; }
