/** Shopify CDN: Minification failed

Line 4298:13 Expected ")" to end URL token

**/
/* SHOPIFY_STYLESHEETS_VERSION: 1.0 */


/* CSS from section stylesheet tags */
/* START_SECTION:_blocks (INDEX:0) */
/*
   * FORMS-BLOCK THEMING [ours] — scoped by an attribute selector matching the
   * unique per-instance class snippets/section.liquid generates from this exact
   * section's own id (snippets/section.liquid builds the class as "color-
   * custom-" plus its own section_id param, which is section.id there).
   * section.id for a JSON-template section is the FULL qualified id
   * (confirmed live: `template--27812435263873__17885322256a2fe332`, not the
   * bare "17885322256a2fe332" key in the template JSON), so an attribute
   * "contains" match on the stable `__17885322256a2fe332` suffix is used rather
   * than a hardcoded full class name, in case the template's own numeric id
   * (`template--27812435263873`) ever changes. That suffix string exists nowhere
   * else, so these rules are inert for every other _blocks wrapper section in
   * the theme even though this file is shared.
   *
   * CARD CHROME — `.custom-section-content` (0,3,0 specificity here) beats
   * snippets/section.liquid's own `.border-style` (0,1,0) for the border/
   * border-radius it would otherwise apply from this section's own (currently
   * "none") border settings via snippets/border-override.liquid's INLINE
   * custom properties — inline style always wins the cascade for THOSE custom
   * properties directly, so overriding --border-color/--border-radius
   * wouldn't work; overriding the actual `border`/`border-radius` shorthand at
   * higher specificity does. Recipe copied verbatim from sections/nils-
   * richiedi-accesso.liquid's own `.nils-richiedi-accesso__card` so the Forms
   * block reads as the same card as the custom form directly above it on this
   * page (templates/page.richiedi-accesso.json).
   *
   * SHADOW DOM, BUT NOT SEALED — the form's own inputs/button/text render
   * inside a shadow root (`<shopify-forms-embed>`, `attachShadow({mode:
   * 'open'})`, confirmed live in the Forms app's own shopify-forms-loader.js),
   * styled via `shadowRoot.adoptedStyleSheets`, not a linked/inherited
   * stylesheet — so ordinary selectors from this file can never reach inside
   * it, and the bundle (index.js, ~900KB, fetched and inspected directly)
   * exposes ZERO `::part()` selectors, so there's no Shadow Parts hook either.
   * BUT its internal CSS reads a real set of custom properties with plain
   * `var(--form-x)` / `var(--forms-x)` (no fallback) rather than hardcoding
   * values — CSS custom properties inherit THROUGH a shadow boundary like any
   * other inherited property, and a value set directly on the host element
   * from out here (this stylesheet targeting the `shopify-forms-embed` tag)
   * wins that cascade over whatever the app's own generated stylesheet sets
   * for the same property on `:host` — confirmed live via getComputedStyle
   * inside the shadow root (input background, border, radius, text color,
   * placeholder color, and font all changed). Values mapped 1:1 from
   * snippets/nils-request-form.liquid's own `.nils-request-form__field input`
   * rules. `--form-field-border`/`--form-field-border-focused` are consumed as
   * `box-shadow`, not `border` (the component sets `border: none` itself), so
   * they take box-shadow syntax (`inset 0 0 0 <width> <color>`), not a border
   * shorthand. `--forms-heading-font`/`--forms-body-font` take the full `font`
   * shorthand (`style weight size family`), confirmed via the bundle's own
   * template-literal construction of those exact strings.
   *
   * STILL UNREACHABLE — no custom property exists for the form's internal
   * spacing between fields, the field label's own type, or the submit
   * button's shape/gradient (those come from the block's own settings —
   * button_background_color/button_label_color, already set in templates/
   * page.richiedi-accesso.json — or stay on the app's defaults). Nothing here
   * touches those; do not add speculative property names that weren't found
   * in the bundle and confirmed live.
   */
  [class*="color-custom-"][class*="__17885322256a2fe332"] .custom-section-content {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin-inline: auto;
    padding: 40px;
    background: linear-gradient(165deg, rgb(30 30 30 / 0.95), rgb(20 20 20 / 0.98));
    border: 1px solid var(--nils-hairline-strong);
    border-radius: var(--nils-radius);
  }

  @media (max-width: 640px) {
    [class*="color-custom-"][class*="__17885322256a2fe332"] .custom-section-content {
      padding: 28px 20px;
    }
  }

  /*
   * FULL-WIDTH FLEX CHAIN [ours] — the flex item .section-content-wrapper
   * actually stretches is `.shopify-block.shopify-app-block` (Shopify's own
   * wrapper div around the block, NOT `shopify-forms-embed` — that custom
   * element sits two levels deeper: .shopify-block > [data-form-root] >
   * shopify-forms-embed). This section's own `horizontal_alignment_flex_
   * direction_column` setting is "flex-start" (no "stretch" option exists in
   * this schema — see this file's own settings list), so the block's own
   * wrapper div shrink-wraps to the Forms embed's intrinsic ~296px width
   * and left-aligns, rather than filling the 678px content column — leaving
   * the actual visible inputs narrower than the card around them. Every
   * link in the chain needs `width: 100%` explicitly (`align-self: stretch`
   * alone did nothing here — confirmed live — because the intervening
   * plain `<div>`s carry no `display: flex`/`grid` of their own to pass
   * stretch sizing through implicitly; a block-level `width: 100%` at each
   * level does).
   */
  [class*="color-custom-"][class*="__17885322256a2fe332"] .shopify-block.shopify-app-block {
    align-self: stretch;
    width: 100%;
  }

  [class*="color-custom-"][class*="__17885322256a2fe332"] [data-form-root] {
    width: 100%;
  }

  [class*="color-custom-"][class*="__17885322256a2fe332"] shopify-forms-embed {
    align-self: stretch;
    width: 100%;
    --forms-body-font: normal 300 14px var(--font-body--family);
    --forms-heading-font: normal 700 14px var(--font-body--family);
    --forms-base-font-size: 14px;
    --forms-base-font-line-height: var(--line-height--body-normal);
    --form-background-color: rgb(255 255 255 / 0.05);
    --form-text-color: #ffffff;
    --form-placeholder-color: rgb(255 255 255 / 0.35);
    --form-field-border: inset 0 0 0 1px rgb(255 255 255 / 0.15);
    --form-field-border-focused: inset 0 0 0 1px var(--nils-red);
    --form-field-border-radius: 8px;
    --forms-focus-outline-color: var(--nils-red);
    --forms-focus-outline-width: 2px;
    --forms-focus-outline-offset: 2px;
    --container-max-w: none;
    --inline-container-max-width: none;
    /*
     * DISCLAIMER LINK, 2026-09-07 [ours] — `._formDisclaimer_jnbzb_38 a {
     * color: var(--forms-accent-color); }` is the ONLY hook on this link;
     * confirmed live (getComputedStyle before/after) that this custom
     * property, set here, wins over the bundle's own `:host` default
     * (#CC0000 — dark red on the near-black card, the readability
     * complaint). --forms-accent-color is also read by checkbox/radio
     * accent-color, focus rings, and any link inside the form's own
     * description text (`._textBody_2aowh_10 a`) — none of those exist on
     * THIS form today (no checkbox/radio/file field, description has no
     * link), so there's no visible side effect now, but it's a shared
     * property, not a disclaimer-only one — flagging for whoever adds a
     * checkbox field here later.
     *
     * NOT REACHABLE, confirmed live (not just source-read) — do not retry
     * without new evidence:
     * - Disclaimer font-size (10px) / line-height (14px): hardcoded
     *   LITERAL values on `div._formDisclaimer_jnbzb_38` itself, after
     *   (so overriding) `font: var(--forms-body-font)` in the same rule —
     *   no custom property involved at all, so there's nothing to set
     *   from outside. Setting --forms-base-font-size/--forms-base-font-
     *   line-height (already 14px / 1.4-ish here) does NOT reach this
     *   element — tested live, no change.
     * - Underline on the link: no `text-decoration` rule exists in the
     *   bundle for it at all (checked); it's plain missing, not overridden
     *   — and `text-decoration-line` is a non-inherited CSS property, so
     *   it can't cross the shadow boundary via a custom property the way
     *   `color` does regardless. Tested live (set text-decoration on the
     *   host) — no change. Root cause is almost certainly the missing
     *   `href` (see this section's own doc block / this run's report):
     *   Chrome's default underline for anchors only applies via the
     *   `:link`/`:visited` pseudo-classes, which never match an `<a>`
     *   with no `href` at all.
     */
    --forms-accent-color: #ffffff;
  }
/* END_SECTION:_blocks */

/* START_SECTION:collection-links (INDEX:3) */
collection-links-component {
    --alignment: flex-start;

    display: grid;
    align-items: center;
    grid-gap: var(--gap-3xl);

    &:has([ratio='portrait']) {
      --template-column-ratio: 0.8fr;
    }

    &:has([ratio='square']) {
      --template-column-ratio: 1fr;
    }

    &:has([ratio='landscape']) {
      --template-column-ratio: 1.4fr;
    }

    &[alignment='center'] {
      --alignment: center;

      .text-block {
        text-align: center;
      }
    }

    &[alignment='right'] {
      --alignment: flex-end;

      .text-block {
        text-align: right;
      }
    }

    &[layout='spotlight'] {
      position: relative;
      grid-template-columns: 1fr var(--template-column-ratio);
      grid-template-areas: 'text image';

      @media screen and (min-width: 750px) {
        &[reverse] {
          grid-template-areas: 'image text';
          grid-template-columns: var(--template-column-ratio) 1fr;
        }
      }

      .collection-links__container {
        align-items: var(--alignment);
      }

      @media screen and (max-width: 749px) {
        grid-template-columns: 1fr;
        grid-template-areas: 'text' 'image';
        grid-gap: var(--gap-2xl);

        .collection-links__container {
          gap: clamp(var(--gap-xs), 1vw, var(--gap-xl)) var(--gap-2xl);
          justify-content: var(--alignment);
        }
      }
    }

    &[layout='text'] {
      grid-gap: 0;
      grid-template-areas: 'text';

      .collection-links__container {
        gap: clamp(var(--gap-xs), 1vw, var(--gap-xl)) var(--gap-2xl);
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: var(--alignment);
      }
    }
  }

  .collection-links__container {
    display: flex;
    gap: var(--gap-md);
    flex-direction: column;
  }

  .collection-links__images {
    overflow: hidden;
    grid-area: image;

    @media screen and (max-width: 749px) {
      image-block {
        max-width: 100%;
      }
    }
  }
/* END_SECTION:collection-links */

/* START_SECTION:featured-product (INDEX:9) */
.featured-product-section .section-content-wrapper {
    grid-template-columns: 1fr;
    display: grid;
    overflow: hidden;

    @media screen and (min-width: 750px) {
      grid-template-columns: 1fr 1fr;
    }
  }

  .featured-product-section {
    --viewport-offset: 400px;
    --constrained-min-height: var(--visual-preview--height, 80dvh);
    --constrained-height: max(var(--constrained-min-height), calc(100vh - var(--viewport-offset)));

    @media screen and (min-width: 750px) {
      --viewport-offset: 300px;
    }
  }

  .featured-product-section .product-grid__card {
    --padding-block: 20px;
    --padding-inline: 20px;

    @media screen and (min-width: 750px) {
      --padding-block: 40px;
      --padding-inline: 40px;
    }
  }

  @media screen and (max-width: 749px) {
    .featured-product-section .media-block {
      order: -1;
    }
  }

  @media screen and (min-width: 750px) {
    .featured-product-section .product-card__content {
      --hugged-width: calc(var(--constrained-height) * var(--gallery-aspect-ratio, var(--media-preview-ratio)));
      width: min(100%, var(--hugged-width));
      margin-left: auto;
      margin-right: auto;
    }
  }
/* END_SECTION:featured-product */

/* START_SECTION:footer-utilities (INDEX:10) */
.utilities {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
    text-wrap: nowrap;
    border-top: var(--border-width) solid var(--divider-color, var(--color-border));
    color: var(--color-foreground-muted);

    @media screen and (min-width: 750px) {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      justify-content: center;
      gap: var(--gap);
      align-items: center;
      text-align: left;
    }
  }

  .utilities a,
  .utilities button {
    color: var(--color-utilities, var(--color-foreground-muted));
  }

  .utilities > * {
    text-align: center;

    @media screen and (min-width: 750px) {
      text-align: left;
      justify-self: start;
    }
  }

  /* Dynamic positioning based on number of blocks */
  @media screen and (min-width: 750px) {
    /* 1 block: Single column, left aligned */
    .utilities--blocks-1 {
      grid-template-columns: 1fr;
      justify-content: start;
    }

    .utilities--blocks-1 > * {
      justify-self: start;
      text-align: left;
    }

    /* 2 blocks: Two equal columns, start and end aligned */
    .utilities--blocks-2 {
      grid-template-columns: 1fr 1fr;
    }

    .utilities--blocks-2 > *:nth-child(2) {
      justify-self: end;
      text-align: right;
    }

    /* 3 blocks: Three columns (1fr auto 1fr), start/center/end aligned */
    .utilities--blocks-3 {
      grid-template-columns: 1fr auto 1fr;
    }

    .utilities--blocks-3 > *:nth-child(2) {
      justify-self: center;
      text-align: center;
    }

    .utilities--blocks-3 > *:nth-child(3) {
      justify-self: end;
      text-align: right;
    }
  }
/* END_SECTION:footer-utilities */

/* START_SECTION:footer (INDEX:11) */
.footer-content {
    contain: content;
    content-visibility: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--footer-gap);
    align-items: start;
  }

  .footer-content .menu__heading__default {
    font-weight: var(--font-heading--weight);
  }

  @media screen and (min-width: 750px) and (max-width: 989px) {
    .footer-content {
      grid-template-columns: repeat(min(var(--grid-columns), 3), 1fr);
      grid-auto-flow: row;
    }

    .footer-content[style*='--grid-columns: 4'] {
      grid-template-columns: repeat(2, 1fr);
    }

    .footer-content--isolated-grid-item-tablet > :last-child {
      grid-column: 1 / -1;
    }
  }

  @media screen and (min-width: 990px) {
    .footer-content {
      grid-template-columns: repeat(var(--grid-columns), 1fr);
    }

    /* Single item centered */
    .footer-content[style*='--grid-columns: 1'] {
      justify-items: center;
    }

    .footer-content--isolated-grid-item-desktop > :last-child {
      grid-column: 1 / -1;
    }
  }
/* END_SECTION:footer */

/* START_SECTION:header-announcements (INDEX:12) */
.announcement-bar {
    border-block-end: var(--border-bottom-width) solid var(--color-border);
  }

  .announcement-bar__slider {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;

    @media screen and (max-width: 749px) {
      grid-column: 1 / -1;
    }
  }

  .announcement-bar__slides {
    display: grid;
    grid: [stack] auto / [stack] auto;
    width: calc(100% - var(--button-size) * 2);
    max-width: 680px;
    margin-inline: auto;
  }

  .announcement-bar__slides > * {
    grid-area: stack;
  }

  .announcement-bar__slide {
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    content-visibility: visible;

    &[aria-hidden='true'] {
      opacity: 0;
      visibility: hidden;
    }
  }

  .announcement-bar__slider slideshow-arrows {
    padding: 0;
    mix-blend-mode: normal;
  }

  .announcement-bar__slider slideshow-arrows .slideshow-control {
    color: var(--color-foreground);
  }

  .announcement-bar__slider .slideshow-control {
    display: flex;
    padding: 0;
    width: var(--button-size);
    height: var(--button-size);
    align-items: center;
    justify-content: center;
    opacity: 1;
    animation: none;

    @media screen and (min-width: 750px) {
      --slideshow-control-offset: calc((var(--button-size) - var(--icon-size-xs)) / 2);

      .section--page-width &.slideshow-control--previous {
        transform: translateX(var(--slideshow-control-offset));
      }
    }
  }

  .announcement-bar__slider .slideshow-control .svg-wrapper {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }

  .announcement-bar__slide {
    place-content: center;
  }

  .announcement-bar__text:first-child {
    margin: 0;
  }

  .announcement-bar__link {
    position: absolute;
    inset: 0;
  }
/* END_SECTION:header-announcements */

/* START_SECTION:header (INDEX:13) */
body {
    --header-height: 60px;
    --header-group-height: var(--header-height);
    --transparent-header-offset-boolean: 0; /* stylelint-disable-line declaration-property-value-disallowed-list */
  }

  .header {
    /* Set header paddings based on height setting */
    --header-padding: var(--padding-sm);
    --font-paragraph--line-height: 1;
    --header-content-transition-timing: 0s;

    display: block;
    contain: layout style;
    background: transparent;

    a,
    .button,
    .button-secondary,
    .header-actions__action {
      /* reset style from base.css */
      transition: color var(--header-content-transition-timing), border-color var(--header-content-transition-timing);
    }
  }

  #header-component :is(.header-menu, .dropdown-localization) {
    display: none;
  }

  @media screen and (min-width: 750px) {
    #header-component[data-menu-style='menu'] :is(.header-menu, .dropdown-localization) {
      display: flex;
    }
  }

  #header-component[data-menu-style='drawer'] .header__column {
    display: contents;
  }

  @media screen and (min-width: 750px) {
    #header-component[data-menu-style='menu'] .header__navigation-bar-row {
      display: none;
    }
  }

  .header[transparent] {
    --language-button-background-color: transparent;
    --language-button-border-color: transparent;
    --header-content-transition-timing: calc(var(--submenu-animation-speed) - var(--animation-speed-fast))
      var(--animation-speed-fast) var(--ease-out-cubic);

    --closed-underlay-height: 0px;

    /* used to display the appropriate logo based on transparency state */
    --header-logo-display: none;
    --header-logo-inverse-display: block;

    position: absolute;
    top: 0;
    left: 0;
    right: 0;

    z-index: var(--layer-overlay);

    &[transparent='not-sticky'][data-sticky-state='active'],
    &:has(.menu-list__link:not([aria-haspopup]):hover) {
      --header-logo-display: unset;
      --header-logo-inverse-display: unset;
      --color-foreground: inherit;
      --color-foreground-rgb: inherit;
      --color-background: inherit;
      --color-background-rgb: inherit;
      --color-border: inherit;
      --color-border-rgb: inherit;
      --closed-underlay-height: 100%;
    }

    /** For transparent header, apply transparent text color to rows when menu is not hovered */
    &:not([data-sticky-state='active']):not(:has(.menu-list__link:is(:hover, [aria-expanded='true']))) .header__row {
      --color-foreground: var(--color-transparent-text);
      --color-foreground-rgb: var(--color-transparent-text-rgb);
      --color-border: var(--color-transparent-text);
      --color-border-rgb: var(--color-transparent-text-rgb);
      --color-primary-button-background: var(--color-transparent-text);
      --color-primary-button-text: var(--color-transparent-text-contrast);
    }

    /* Swap the cart bubble in transparent state only when using the default
       style. Custom bubble colors apply unchanged across header states. */
    &[data-bubble-style='default']:not([data-sticky-state='active']):not(
        :has(.menu-list__link:is(:hover, [aria-expanded='true']))
      )
      .header__row {
      --cart-bubble-background: var(--color-transparent-text, var(--cart-bubble-background-fallback));
      --cart-bubble-text: var(--color-transparent-text-contrast, var(--cart-bubble-text-fallback));
    }

    /* Multiple selectors for performance: each simple :has() check is faster than one complex selector with multiple conditions */
    &:has(.mega-menu__list:hover),
    &:has(.menu-list__link:is(:hover, [aria-expanded='true'])),
    &:has(.menu-list__list-item[slot='overflow'] .menu-list__link:is(:hover, [aria-expanded='true'])) {
      --header-logo-display: unset;
      --header-logo-inverse-display: unset;
      --color-foreground: inherit;
      --color-foreground-rgb: inherit;
      --color-background: inherit;
      --color-background-rgb: inherit;
      --color-border: inherit;
      --color-border-rgb: inherit;
      --header-content-transition-timing: var(--submenu-animation-speed) var(--ease-out-cubic);
    }
  }

  /* When top row has transparent background, make it inherit colors from header component */
  [data-transparent-background='top']:hover .header__row--top,
  [data-transparent-background='top']:focus-within .header__row--top,
  [data-transparent-background='both']:hover .header__row--top,
  [data-transparent-background='both']:focus-within .header__row--top {
    --color-foreground: inherit;
    --color-foreground-rgb: inherit;
    --color-border: inherit;
    --color-border-rgb: inherit;
    --color-primary-button-background: inherit;
    --color-primary-button-text: inherit;
  }

  /* When bottom row has transparent background, make it inherit colors from header component */
  [data-transparent-background='bottom']:hover .header__row--bottom,
  [data-transparent-background='bottom']:focus-within .header__row--bottom,
  [data-transparent-background='both']:hover .header__row--bottom,
  [data-transparent-background='both']:focus-within .header__row--bottom {
    --color-foreground: inherit;
    --color-foreground-rgb: inherit;
    --color-border: inherit;
    --color-border-rgb: inherit;
    --color-primary-button-background: inherit;
    --color-primary-button-text: inherit;
  }

  .header-section {
    position: relative;
    z-index: var(--layer-menu-drawer);
  }

  /* need default values for non-flash transitions on first overflow menu open */
  #header-component {
    --submenu-height: 0px;
    --full-open-header-height: 0px;
  }

  #header-group:has(#header-component[sticky]) {
    display: contents;
  }

  .header-section:has(> #header-component[sticky='always']),
  .header-section:has(> #header-component[sticky='scroll-up'][data-sticky-state='active']) {
    position: sticky;

    /* Use -1 instead of 0 so intersection observer can track sticky state */
    top: -1px;
    z-index: var(--layer-menu-drawer);
  }

  .header[data-sticky-state] {
    transition: opacity var(--animation-speed) var(--animation-easing);
    opacity: 1;
  }

  .header[data-sticky-state='active'] {
    view-transition-name: sticky-header;
  }

  :active-view-transition-type(empty-cart-drawer) {
    .header[data-sticky-state='active'] {
      view-transition-name: none;
    }
  }

  .header[data-sticky-state='idle'] {
    opacity: 0;
  }

  /* ================================
     * Underlays
     * ================================ */
  .header__underlay {
    position: absolute;
    inset: 0;
  }

  .header__underlay-closed {
    height: var(--closed-underlay-height, 100%);
    z-index: var(--layer-lowest);
    background: linear-gradient(
      var(--color-background-top-row) 0 var(--top-row-height),
      var(--color-background-bottom-row) var(--top-row-height) var(--header-height)
    );
    transition: height var(--animation-speed-slow) var(--ease-out-cubic);
  }

  .header__underlay-open {
    height: var(--full-open-header-height);
    background: linear-gradient(
      var(--color-background-top-row) 0 var(--top-row-height),
      var(--color-background-bottom-row) var(--top-row-height) var(--header-height),
      var(--color-submenu) var(--header-height) 100%
    );
    /* header-height is updated via js, the transition works automagically */
    transition: height var(--submenu-animation-speed) var(--ease-out-cubic);
  }

  .header__underlay-open::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: var(--shadow-popover);
    clip-path: inset(var(--header-height) 0 -100px 0); /* stylelint-disable-line */
    transition: height var(--submenu-animation-speed) var(--ease-out-cubic);
  }

  /* When top row has transparent background, swap underlay to merchant's chosen color at full opacity */
  [data-transparent-background='top']:hover,
  [data-transparent-background='top']:focus-within,
  [data-transparent-background='both']:hover,
  [data-transparent-background='both']:focus-within {
    :is(.header__underlay-open, .header__underlay-closed) {
      --color-background-top-row: var(--color-background);
    }
  }

  /* When bottom row has transparent background, swap underlay to merchant's chosen color at full opacity */
  [data-transparent-background='bottom']:hover,
  [data-transparent-background='bottom']:focus-within,
  [data-transparent-background='both']:hover,
  [data-transparent-background='both']:focus-within {
    :is(.header__underlay-open, .header__underlay-closed) {
      --color-background-bottom-row: var(--color-background);
    }
  }

  [data-submenu-overlap-bottom-row] {
    .header__underlay-open {
      background: linear-gradient(
        var(--color-background-top-row) 0 var(--top-row-height),
        var(--color-submenu) var(--top-row-height) 100%
      );
    }

    .header__row--bottom {
      z-index: var(--layer-lowest);
    }
  }

  /* End Underlays ================ */

  .header__row {
    /* The account component uses a different background color, but we need to override it to inherit the color of the header row */
    --color-account-icon: var(--color-foreground);

    position: relative;

    /* Overwrite color from section settings, background is controlled by the underlays */
    /* stylelint-disable-next-line declaration-no-important */
    background-color: transparent !important;

    &:has(.mega-menu__list:hover),
    &:has(.menu-list__link[aria-haspopup]:is(:hover, [aria-expanded='true'])),
    &:has(.menu-list__list-item[slot='overflow'] .menu-list__link:is(:hover, [aria-expanded='true'])) {
      /* Only elevate the row when the submenu is open to avoid overlapping other elevated content */
      z-index: var(--layer-heightened);
    }
  }

  .header__row--top:not(.divider--page-width),
  .header__row--top.divider--page-width .header__columns,
  .header__row--bottom {
    border-bottom: var(--border-bottom-width) solid var(--border-bottom-color, var(--color-border));
  }

  @media screen and (max-width: 749px) {
    .header__row--top:not(.divider--page-width),
    .header__row--top.divider--page-width .header__columns {
      border-bottom-width: var(--border-bottom-width-mobile);
      border-bottom-color: var(--border-bottom-color-mobile);
    }
  }

  #header-component[data-menu-style='drawer'] .header__row--top:not(.divider--page-width),
  #header-component[data-menu-style='drawer'] .header__row--top.divider--page-width .header__columns {
    border-bottom-width: var(--border-bottom-width-mobile);
    border-bottom-color: var(--border-bottom-color-mobile);
  }

  .header__row.divider--page-width:not(.section--page-width) .header__columns {
    @media screen and (min-width: 750px) {
      padding-inline-start: 0;
      padding-inline-end: 0;
      margin-inline-start: var(--page-margin);
      margin-inline-end: var(--page-margin);
    }
  }

  .header__column {
    display: flex;
    align-items: center;

    /* on mobile, header__column nodes are ignored to create a new grid-template-area based on all visible content */
    @media screen and (max-width: 749px) {
      display: contents;
    }
  }

  .header__column--left,
  .header__column--center {
    gap: var(--gap-xl);
    grid-area: left;
  }

  .header__column--center {
    justify-content: center;
    grid-area: center;

    header-menu:only-child .overflow-menu::part(list) {
      justify-content: center;
    }
  }

  .header__column--right {
    gap: var(--gap-xl);
    justify-content: flex-end;
    grid-area: right;

    .overflow-menu::part(list) {
      justify-content: flex-end;
    }
  }

  .header__columns {
    /* Three column layout */
    --header-left: 1fr;
    --header-center: auto;
    --header-right: 1fr;
    --header-template-columns: var(--header-left) var(--header-center) var(--header-right);

    /* Mobile layout */
    --header-mobile-bookend: 44px;

    display: grid;
    grid-template-areas: 'left center right';
    grid-gap: var(--gap-xl);
    grid-template-columns: var(--header-template-columns);

    /* If menu is in center column */
    &:has(.header__column--center header-menu) {
      --header-center: auto;
      --header-left: minmax(max-content, 1fr);
      --header-right: minmax(max-content, 1fr);
    }

    /* If there is no center column, make the column the menu is in grow eagerly */
    &:where(:not(:has(.header__column--center))) {
      @media screen and (min-width: 750px) {
        --header-template-columns: var(--header-left) var(--header-right);

        grid-template-areas: 'left right';
      }

      /* If the header-menu is in the right column */
      &:has(.header__column--right header-menu) {
        --header-right: auto;
        --header-left: minmax(max-content, 1fr);
      }

      /* If the header-menu is in the left column */
      &:has(.header__column--left header-menu) {
        --header-left: auto;
        --header-right: minmax(max-content, 1fr);
      }
    }

    @media screen and (max-width: 749px) {
      --header-template-columns: var(--header-mobile-bookend) var(--header-mobile-bookend) 1fr
        var(--header-mobile-bookend) var(--header-mobile-bookend);

      grid-template-areas: 'leftA leftB center rightA rightB';
      grid-column: span 3;
      column-gap: 0;
      align-items: center;
      padding-block: 0;
      padding-inline: 0 var(--padding-3xs);

      .header-logo {
        grid-area: center;
      }

      &:not(:has(header-actions)) .search-action {
        grid-area: leftB;
      }

      &:not(:has(shopify-account)) .search-action {
        grid-area: rightA;
      }

      .search-action {
        grid-area: leftB;
      }

      header-actions {
        grid-area: rightB;
      }
    }
  }

  /* not ideal but we need to duplicate these styles for when touch comes into play
    We could avoid the duplication using js to set the data-menu-style attribute on small screens instead of using @media queries */
  #header-component[data-menu-style='drawer'] .header__columns {
    --header-template-columns: var(--header-mobile-bookend) var(--header-mobile-bookend) 1fr
      var(--header-mobile-bookend) var(--header-mobile-bookend);

    grid-template-areas: 'leftA leftB center rightA rightB';
    grid-column: span 3;
    column-gap: 0;
    align-items: center;
    padding-block: 0;
    padding-inline: 0 var(--padding-3xs);

    .header-logo {
      grid-area: center;
    }

    &:not(:has(header-actions)) .search-action {
      grid-area: leftB;
    }

    &:not(:has(shopify-account)) .search-action {
      grid-area: rightA;
    }

    .search-action {
      grid-area: leftB;
    }

    header-actions {
      grid-area: rightB;
    }
  }

  /* Single column layout if there are no columns within */
  .header__columns:not(:has(.header__column)) {
    grid-template-columns: 1fr;
  }

  /* Check for hover support to avoid unnecessary expensive recalculations when tapping on mobile */
  @media (hover: hover) {
    /* Column-specific dimming effect when any interactive element is hovered
        Multiple selectors for performance: each simple :has() check is faster than one complex selector with multiple conditions */
    .header__column:has(header-menu:hover),
    .header__column:has(.header-actions__action:hover),
    .header__column:has(.header__icon--menu:hover) {
      header-menu:not(:hover),
      .header-actions__action:not(:hover),
      .header__icon--menu:not(:hover) {
        opacity: var(--opacity-subdued-text);
        transition: opacity var(--animation-speed) var(--animation-easing);
      }
    }
  }

  /* Ensure smooth transitions for all interactive elements */
  header-menu,
  .header-actions__action,
  .header__icon--menu {
    transition: opacity var(--animation-speed) var(--animation-easing);
  }

  /* Header action button styles */
  .header-actions__action {
    --button-color: var(--color-foreground);
    color: var(--button-color);
    cursor: pointer;
    display: flex;
    justify-content: center;

    &:hover {
      --button-color: var(--color-foreground);
    }
  }

  .header-actions__action:not(.account-button) .svg-wrapper {
    height: var(--button-size);
    width: var(--button-size);
  }

  .header-actions__action:not(.account-button) svg {
    width: var(--icon-size-md);
    height: var(--icon-size-md);
  }

  .header:has(#Details-menu-drawer-container[open]) {
    contain: style;
  }

  .header.header--compact {
    --header-padding: var(--padding-2xs);
  }

  .header__columns {
    --padding-block-start: var(--header-padding);
    --padding-block-end: var(--header-padding);
  }

  /* HEADER RUN v2 [ours] — the reference bar measures 64px at BOTH 1440
     and 390px (header-recon/header-data.json). Ours measured 74.375px
     desktop / 60px mobile, confirmed live via getComputedStyle, not
     assumed.
     Desktop: content height is ~51.975px (icons unchanged per
     instruction), padding-block is 11.2px each side (--padding-sm,
     0.7rem) -> total 74.375px measured. (64 - 51.975) / 2 = 6.0125px,
     rounded to 6px. */
  #header-component .header__row--top .header__columns {
    --header-padding: 6px;
  }

  /* Mobile: driven by a DIFFERENT variable — blocks/_header-menu.liquid's
     own `.header__drawer { --header-drawer-min-height: 60px; }` — not by
     --header-padding at all (confirmed: the v1 padding-only override left
     mobile at 60px unchanged). Overridden here, from a different file, at
     higher specificity (#header-component + two classes beats that stock
     rule's own bare `.header__drawer`), so blocks/_header-menu.liquid
     itself stays untouched. */
  #header-component .header__drawer {
    --header-drawer-min-height: 64px;
  }

  /*
   * DESKTOP HEADER PASS [ours, 2026-09-11] — permanent hamburger. The
   * reference site keeps its own hamburger trigger visible at every
   * width, alongside its nav row rather than as a fallback for it
   * (header-recon/header-data.json: `navLinksGroupRect` and
   * `hamburger.rect` both present in the same 1440px capture — see
   * snippets/nils-header-nav.liquid's own doc block for the full source
   * measurement). Stock Horizon hides `.header__drawer` at >=750px
   * whenever `data-menu-style='menu'` (blocks/_header-menu.liquid) —
   * that's non-touch-device detection, unrelated to this shop's own
   * width-based nav row; overridden here, unconditionally, so the
   * hamburger is never hidden by that mechanism regardless of touch
   * detection or viewport width. This replaces the prior TABLET COLLAPSE
   * POINT mechanism entirely (2026-09-10 — that made the hamburger a
   * below-breakpoint-only fallback, mutually exclusive with the row; it
   * no longer is). Because this rule is now the same at every width and
   * every locale, it lives here in the ordinary stylesheet tag rather
   * than needing the inline-<style>-in-markup workaround that per-locale
   * value required — nothing here varies per request. nils-header-nav.
   * liquid's own row-visibility breakpoint (still per-locale, still in
   * its own inline style tag for that same static-asset reason) is
   * completely unaffected — exactly one mechanism changed, not the other.
   */
  #header-component .header__drawer {
    display: flex !important;
    min-height: var(--header-drawer-min-height);
  }

  /*
   * TABLET TOUCH GRID PARITY [ours, 2026-09-12, generalized 2026-09-13].
   * A real iPad in the ~1000-1200px range showed the nav row crammed into
   * a 44px-wide column at the far left, overlapping the logo, with the
   * picker missing and the search icon fused into the row (user-reported,
   * reproduced live: mobile-audit/desktop-header-2026-09-12-tablet-bug/
   * repro2-chromium.png, using a real iPad device profile with touch
   * enabled — Playwright's default browser contexts are non-touch, which
   * is why the plain 641-1600px sweep that shipped the previous pass
   * never exercised this path on either engine and reported clean).
   *
   * ROOT CAUSE: `data-menu-style` (layout/theme.liquid's own
   * setHeaderMenuStyle(), `'ontouchstart' in window && navigator.
   * maxTouchPoints > 0`) is a TOUCH-CAPABILITY flag, set once at load,
   * completely independent of viewport width — a real iPad is 'drawer'
   * at every width, including every common landscape one. Stock Horizon
   * deliberately keys several rules off that flag, UNCONDITIONALLY (not
   * width-gated — this file's own comment near `.header__columns` below
   * even flags it: "not ideal but we need to duplicate these styles for
   * when touch comes into play"): the mobile 5-column bookend grid
   * (`.header__columns` / `.header__column: display: contents`), the
   * language picker's visibility, the drawer's own forced min-height, and
   * which of the two rendered search buttons (search vs drawer_search) is
   * shown. None of that was a live bug before this shop's nav row/
   * hamburger existed at these widths at all — a touch device sitting in
   * the 5-column bookend grid with nothing but the (correctly narrow)
   * hamburger in it is exactly what that grid is for.
   *
   * FIX: from 750px up — the same non-touch floor Horizon's own stock
   * `[data-menu-style='menu']` rules already use for the picker
   * (`:is(.header-menu, .dropdown-localization)` above) — force every one
   * of those touch-keyed rules to behave exactly as the already-working,
   * already-verified `[data-menu-style='menu']` (non-touch) case does.
   * This is the SEPARATE, LOWER threshold from `.nils-header-nav`'s own
   * 1200px row breakpoint (snippets/nils-header-nav.liquid) — deliberately
   * so: the reference site shows picker+hamburger (no row yet) across the
   * ENTIRE 810-1199px tablet band, and this parity fix needs to be active
   * for that whole band too, not just once the row itself appears. Below
   * 750px, none of this fires; Horizon's stock, touch-simplified layout
   * (mobile ≤640px territory) is untouched and correct there, same as
   * it's always been. A plain literal, not per-locale, so — like the
   * permanent-hamburger rule above — this lives in the ordinary
   * stylesheet tag, no inline-<style>-in-markup workaround needed.
   */
  @media screen and (min-width: 750px) {
    #header-component[data-menu-style='drawer'] .header__column {
      display: flex;
      align-items: center;
    }

    /* GEOMETRY FIX [ours, 2026-09-15] — `grid-column: auto` and
       `padding-inline: var(--padding-inline-start) var(--padding-inline-
       end)` below were both wrong, and between them explain the whole
       "everything clustered left, right half empty" bug reported live.
       `.header__columns` isn't just a grid container in its own right —
       it's ALSO a direct child of `.header__row--top`, which carries
       Horizon's stock `.section` classes (assets/base.css: `.section
       {display:grid; grid-template-columns: var(--full-page-grid-with-
       margins)}`, a THREE-track margin|content|margin layout unrelated to
       this file's own header grid) and `.section--full-width.section--
       full-width-margin > * {grid-column: 1 / -1; padding-left/right:
       var(--page-margin)}` is what actually gives `.header__columns` its
       full viewport width and 40px inline padding in the already-correct
       non-touch case. Overriding `grid-column` to `auto` here undid the
       `1 / -1` span entirely, collapsing `.header__columns` down to its
       own CONTENT width (confirmed live: computed width 40px, matching
       nothing but a stray leftover — everything downstream measured
       correctly relative to THAT tiny box, explaining why it all read as
       "packed against the left edge" with the whole right half of the
       header simply never reached). And overriding `padding-inline` with
       the logical property zeroed out the physical `padding-left/right:
       var(--page-margin)` declaration outright (logical and physical
       padding properties fight over the SAME underlying box side; last-
       in-cascade wins regardless of which form either side used — this
       file's own logical override came later, so it won, discarding the
       real 40px for 0). Both fixed below to reproduce the non-touch
       computed values exactly (grid-column: 1 / -1; padding-inline-start:
       var(--page-margin), confirmed matching live via getComputedStyle
       on both states). */
    #header-component[data-menu-style='drawer'] .header__columns {
      --header-template-columns: var(--header-left) var(--header-right);
      grid-template-areas: 'left right';
      grid-column: 1 / -1;
      column-gap: var(--gap-xl);
      align-items: unset;
      padding-block: calc(var(--padding-block-start) + var(--section-top-offset, 0px)) var(--padding-block-end);
      padding-inline-start: var(--page-margin);
      padding-inline-end: var(--page-margin);
    }

    #header-component[data-menu-style='drawer'] .dropdown-localization {
      display: flex;
    }

    /* Stock Horizon's own `[data-menu-style='menu'] .header__drawer
       {min-height:0}` (blocks/_header-menu.liquid) is what actually lets
       the hamburger settle to its natural ~45.6px content height in the
       already-working non-touch case, rather than the 64px floor this
       file's own permanent-hamburger rule above sets unconditionally for
       every state — that 64px floor is exactly right below 750px (mobile
       bookend row) but, left alone above it, was stretching the whole
       row's flex cross-axis to 64px (confirmed live: header height 76px
       here vs. the correct, matching 64px on both the reference and this
       shop's own non-touch desktop) — one more property the touch case
       needs pointed back at the non-touch one to reach full parity. */
    #header-component[data-menu-style='drawer'] .header__drawer {
      /* !important: blocks/_header-menu.liquid's own same-specificity
         `[data-menu-style='drawer'] .header__drawer {min-height:var(...)}`
         rule compiles after this file's in the final asset regardless of
         source order between the two files — confirmed live (this rule
         alone, without !important, silently lost that tie: min-height
         measured 64px, not 0). */
      min-height: 0 !important;
    }

    /* Horizon renders TWO search buttons when customer accounts are
       enabled (sections/header.liquid's `search` + `drawer_search`
       captures) and swaps which one is visible purely off data-menu-
       style: `.search-action--hidden-on-drawer` (the right-column icon,
       next to account/cart) hides in drawer mode; `.search-action--
       hidden-on-menu` (the left-column one, next to the logo) hides only
       in menu mode — meaning it's VISIBLE BY DEFAULT in drawer mode, with
       no rule needed to show it. Above this floor we want the opposite of
       both, matching non-touch: right-column icon shown, left-column one
       hidden. #header-component-prefixed for specificity over snippets/
       search.liquid's own plain `[data-menu-style=]` rules. */
    #header-component[data-menu-style='drawer'] .search-action--hidden-on-drawer {
      display: flex;
    }

    #header-component[data-menu-style='drawer'] .search-action--hidden-on-menu {
      display: none;
    }
  }

  /*
   * TABLET GEOMETRY [ours, 2026-09-15]. The block above gets the right
   * ELEMENTS showing at tablet widths (picker, hamburger, icons, no row)
   * but leaves them all default-flex-packed immediately after the logo —
   * fine on non-touch desktop (>=1200px, untouched, out of scope here),
   * wrong here: the reference's own tablet header (mobile-audit/
   * tablet-geometry-2026-09-15/site-geometry-raw.txt — live measurement,
   * 810/834/1024/1112/1180/1194px, both orientations) is a genuinely
   * three-part layout, not a two-part {logo | everything-else} one:
   *   - logo: fixed left inset, unchanged from this file's own already-
   *     correct >=810px value (68px) — nothing to do here.
   *   - picker: NOT flush against the hamburger, and NOT exactly
   *     window-center either — its own center sits at (viewport-center +
   *     43.5px), a CONSTANT pixel offset, identical across every one of
   *     the 7 widths/orientations measured above (delta column: 43.5 at
   *     every row, zero variance) — a fixed-pixel target, not a formula
   *     to re-derive.
   *   - hamburger: always 40x40, always exactly 32px from the viewport's
   *     own right edge — also constant across all 7 measurements.
   * Scoped to 750-1199px only (not the unbounded >=750px block above):
   * this three-part geometry is specific to the row-hidden tablet state.
   * Once the row itself appears (>=1200px, snippets/nils-header-nav.
   * liquid), source's own layout is a single nav-row-plus-trailing-
   * cluster again, not this centered-picker pattern — applying this past
   * 1199px would center the picker INSIDE the nav row. This shop's own
   * search/account/cart (source has none) join the trailing cluster,
   * left of the hamburger, matching the task's explicit instruction —
   * the deliberate deviation from source, which has no icons to place.
   */
  @media screen and (min-width: 750px) and (max-width: 1199px) {
    /* Right inset 32px here (not the general 40px var(--page-margin) —
       left side keeps that, unaffected, since only -end is touched),
       matching the reference's own measured hamburger inset exactly. */
    #header-component[data-menu-style='drawer'] .header__columns {
      padding-inline-end: 32px;
    }

    /* Taken out of flex flow and centered against `.header__row` (already
       `position: relative`, unconditionally — sections/header.liquid's
       own base `.header__row` rule — and, via the GEOMETRY FIX above,
       spanning the full viewport width via `grid-column: 1 / -1`, so
       `left: 50%` here resolves against the true viewport center exactly
       like the reference's own measurement basis). The remaining flex
       siblings (hamburger, search, actions) simply close the gap this
       leaves behind, with no separate adjustment needed. */
    #header-component[data-menu-style='drawer'] .dropdown-localization {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(calc(-50% + 43.5px), -50%);
    }

    /* DOM order is drawer_menu (hamburger), search, actions (account +
       cart) — sections/header.liquid's own `order` string, shared with
       the untouched >=1200px case, where hamburger leading the icons is
       already correct and verified. Only the visual order changes here,
       via flex `order` (search/actions keep their default 0): hamburger
       moves last, becoming the row's true rightmost element, with the
       icons grouped immediately to its left — matching the task's
       explicit request without touching the shared DOM order at all. */
    #header-component[data-menu-style='drawer'] .header__drawer {
      order: 1;
    }
  }

  .header:not(.header--compact) .header__row--bottom {
    --header-padding: var(--padding-xs);
  }

  .header--collapse-row-paddings {
    .header__row--top .header__columns {
      --padding-block-end: 0px;
    }

    .header__row--bottom .header__columns {
      --padding-block-start: 0px;
    }
  }

  /* When the header is transparent, add a margin to a potential header-section below it */
  .header-section:has(.header[transparent]) + .shopify-section {
    margin-top: var(--header-height);
  }

  /* Optimize layout performance for hidden menus */
  .header-menu .menu-list__submenu {
    content-visibility: auto;
    contain-intrinsic-size: 0px 500px;
  }

  /* Force visibility when open/animating and in overflow submenu to prevent layout issues */
  .header-menu details[open] .menu-list__submenu,
  .header-menu .menu-list__submenu[data-active],
  .header-menu .menu-list__list-item[slot='overflow'] .menu-list__submenu {
    content-visibility: visible;
  }

  /* Dropdown Localization Styles */
  .dropdown-localization__button {
    display: flex;
    position: relative;
    align-items: center;
    gap: 4px;
    font-family: var(--menu-localization-font);
    font-size: var(--menu-localization-font-size);
    font-weight: var(--menu-top-level-font-weight);
    padding-inline: var(--padding-2xs);
    margin-inline: calc(-1 * var(--padding-2xs));
  }

  .dropdown-localization__button .svg-wrapper.icon-caret {
    height: var(--icon-size-xs);
    width: var(--icon-size-xs);
    right: var(--margin-xs);
    top: calc(50% - var(--padding-2xs));
    flex-shrink: 0;
    transition: transform var(--animation-speed) var(--animation-easing);
  }

  .dropdown-localization__button .icon-flag {
    width: var(--menu-localization-font-size, var(--icon-size-sm));
    height: var(--menu-localization-font-size, var(--icon-size-sm));
    clip-path: circle(50%); /* stylelint-disable-line */
    background-position: center;
    background-size: cover;
    margin-inline-end: 4px;
    position: relative;
  }

  .dropdown-localization__button .icon-flag::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 var(--size-shadow) var(--color-shadow);
    border-radius: 50%;
  }

  .dropdown-localization__button[aria-expanded='true'] .icon-caret svg {
    transform: rotate(180deg);
  }

  .dropdown-localization__button,
  .dropdown-localization__button:hover {
    box-shadow: none;
    background-color: transparent;
    border-color: transparent;
  }

  dropdown-localization-component .localization-form__list {
    max-height: 20.5rem;
  }

  .localization-wrapper {
    position: fixed;
    z-index: var(--layer-raised);
    border-radius: var(--style-border-radius-popover);
    transition-property: display, opacity, translate;
    transition-duration: 0.3s;
    transition-timing-function: var(--ease-out-quad);
    transition-behavior: allow-discrete;
    translate: 0 20px;
    opacity: 0;
  }

  .localization-wrapper:not([hidden]) {
    translate: 0 0;
    opacity: 1;
  }

  @starting-style {
    .localization-wrapper:not([hidden]) {
      translate: 0 20px;
      opacity: 0;
    }
  }

  dropdown-localization-component {
    position: relative;
    background-color: transparent;
  }

  dropdown-localization-component .country-filter {
    position: relative;
    padding: 8px;
  }

  dropdown-localization-component .country-filter__input {
    border: none;
  }

  dropdown-localization-component .localization-form__list-item {
    margin-inline: 8px;
  }

  dropdown-localization-component .localization-wrapper {
    box-shadow: var(--shadow-popover);
    border: var(--style-border-popover);
    background-color: var(--color-background);
    max-height: 27.5rem;
    position: absolute;
    top: calc(100% + 10px);
    z-index: calc(var(--layer-header-menu) + 1);
  }

  dropdown-localization-component .localization-wrapper.right-bound {
    right: 0;
    left: unset;
  }

  dropdown-localization-component .localization-wrapper.left-bound {
    left: -8px;
    right: unset;
  }

  /* Additional specificity due to dropdown-localization-component getting a low score */
  dropdown-localization-component .language-selector.language-selector {
    padding: 10px 8px 10px 16px;
  }

  dropdown-localization-component .localization-form__currency {
    width: max-content;
    opacity: 0;
    visibility: hidden;
    transition: none;
  }

  dropdown-localization-component .localization-form__select:hover {
    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-8));
  }

  dropdown-localization-component
    :is(
      .localization-form__list-item:hover,
      .localization-form__list-item[aria-selected='true'],
      .localization-form__list-item[aria-current='true']
    )
    .localization-form__currency {
    opacity: 1;
    color: var(--color-foreground-muted);
    transition: opacity var(--animation-speed-slow) var(--animation-easing);
    visibility: visible;
  }

  .dropdown-localization .language-selector:where(:not(.language-selector--top-shadow)) {
    font-weight: var(--menu-top-level-font-weight);
  }

  .dropdown-localization:not(dropdown-localization-component) .language-selector {
    font-family: var(--menu-localization-font);
    font-size: var(--menu-localization-font-size);
  }
/* END_SECTION:header */

/* START_SECTION:hero (INDEX:14) */
.hero-wrapper {
    --hero-height-offset: 0px;
  }

  /* Being extra specific in the selector for performance reasons */
  body:has(#header-group > .header-section > #header-component) .hero-wrapper:first-child {
    --hero-height-offset: var(--header-group-height, 0);
  }

  .hero {
    position: relative;
    min-height: calc(var(--hero-min-height) - var(--hero-height-offset));
  }

  .hero[data-shopify-visual-preview] {
    --hero-min-height: 600px;

    min-height: 600px;
  }

  .hero__container {
    position: relative;
    overflow: hidden;
    border: var(--hero-border-width) var(--hero-border-style) rgb(var(--color-border-rgb) / var(--hero-border-opacity));
    min-height: inherit;
    align-items: var(--vertical-alignment-mobile);
    justify-content: var(--horizontal-alignment);
    z-index: var(--layer-base);

    @media screen and (min-width: 750px) {
      align-items: var(--vertical-alignment);
    }
  }

  .hero__content-wrapper.page-width {
    grid-column: 2 / 3;
  }

  .hero__content-wrapper {
    position: relative;
    inset: 0;
    z-index: var(--layer-flat);
  }

  .hero__content-wrapper .group-block-content {
    position: relative;
  }

  .hero__media-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(var(--hero-media-count, 1), 1fr);
  }

  .hero--auto .hero__media {
    aspect-ratio: var(--hero-media-aspect-ratio);
  }

  .hero--no-blocks-auto-height {
    .hero__media {
      width: 100%;
      aspect-ratio: auto;
    }

    .hero__media-grid {
      /* When there are no blocks and the height is auto, allow the image to appear. */
      position: relative;
    }
  }

  .hero__media-wrapper {
    overflow: hidden;
    position: relative;
  }

  .hero__media {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    overflow: hidden;
    position: relative;
    z-index: var(--layer-base);
  }

  /* Mobile/Desktop media visibility */

  .hero__media-wrapper--mobile {
    display: none;
  }

  .hero__media-wrapper--desktop {
    display: block;
  }

  @media screen and (max-width: 749px) {
    .hero__media-wrapper--desktop {
      display: none;
    }

    .hero__media-wrapper--mobile {
      display: block;
    }

    .hero__media-grid {
      grid-template-columns: repeat(var(--hero-media-count-mobile, 1), 1fr);
    }

    /* Mobile stacking */
    .hero--stack-mobile .hero__media-grid {
      grid-template-columns: 1fr;
      grid-template-rows: repeat(var(--hero-media-count-mobile, 1), calc(100% / var(--hero-media-count-mobile, 1)));
    }
  }

  .hero__link {
    position: absolute;
    inset: 0;
    grid-column: 1 / -1;
  }

  .hero__media-grid,
  .hero__content-wrapper {
    pointer-events: none;

    :is(a, button, input, textarea, select, details, summary) {
      pointer-events: auto;
    }
  }

  .hero__content-wrapper--design-mode * {
    pointer-events: auto;
  }

  .hero[data-blur-shadow='true'] {
    --blurred-reflection-filter-saturate: saturate(1.5);
    --blurred-reflection-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
    --blurred-reflection-box-shadow: rgb(0 0 0 / 5%) 0 0 1rem;
    --blurred-reflection-filter-blur: blur(20px);
    --blurred-reflection-scale: scale(2, 1.25);
    --blurred-reflection-padding-block-end: 60px;
  }

  .hero[data-blur-shadow='true'] .hero__container::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: var(--blurred-reflection-box-shadow);
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: -1;
  }

  .hero__blurred-image {
    position: absolute;
    inset: 0;
    z-index: -1;
    mask-image: var(--blurred-reflection-mask-image);
    filter: var(--blurred-reflection-filter-saturate);
    pointer-events: none;
    transform: translateY(50%);
    overflow: hidden;
  }

  .hero__blurred-image--desktop {
    display: none;

    @media screen and (min-width: 750px) {
      display: block;
    }
  }

  .hero__blurred-image--mobile {
    display: block;

    @media screen and (min-width: 750px) {
      display: none;
    }
  }

  .hero__blurred-image img,
  .hero__blurred-image svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: var(--blurred-reflection-filter-blur);
    opacity: var(--blur-opacity);
    transform: var(--blurred-reflection-scale);
    padding-block-end: var(--blurred-reflection-padding-block-end);

    &:not(:only-child) {
      width: 50%;

      &:last-child {
        right: 0;
        left: auto;
      }
    }
  }
/* END_SECTION:hero */

/* START_SECTION:layered-slideshow (INDEX:15) */
.layered-slideshow-section {
    position: relative;
  }

  layered-slideshow-component {
    display: block;
    width: 100%;
  }

  .layered-slideshow__container {
    --radius: calc(var(--corner-radius, 1) * 1rem);
    --button-width: 56px;
    --border-color: var(--color-background);
    --inactive-tabs-width: calc((var(--total-tabs) - 1) * var(--button-width));
    --active-panel-width: calc(100cqi - var(--inactive-tabs-width));
    width: 100%;
    position: relative;
    container-type: inline-size;
    border-radius: var(--radius);
    overflow: hidden;
  }

  .layered-slideshow__container:not([size='auto']) {
    height: 100%;
  }

  .layered-slideshow__container[size='auto'] {
    height: auto;
  }

  @media screen and (min-width: 750px) {
    layered-slideshow-component {
      min-height: var(--layered-min-height-desktop, 0px);
    }
  }

  .layered-slideshow__tablist {
    display: grid;
    grid-template-columns: var(--active-tab);
    position: absolute;
    inset: 0;
    height: 100%;
    pointer-events: none;
    z-index: var(--layer-raised);
  }

  .layered-slideshow__tablist button {
    width: var(--button-width);
    height: 100%;
    pointer-events: all;
    opacity: 0;
    cursor: grab;
    border: none;
    background: transparent;
    padding: 0;
    position: relative;
    outline: none;
    transition: opacity 0.2s ease;
  }

  .layered-slideshow__tablist button:active {
    cursor: grabbing;
  }

  .layered-slideshow__tablist button[aria-selected='true'] {
    cursor: default;
  }

  .layered-slideshow__tablist button:focus-visible {
    opacity: 1;
  }

  .layered-slideshow__container[data-dragging] {
    cursor: grabbing;
  }

  .layered-slideshow__container[data-instant-transitions],
  .layered-slideshow__container:is([data-dragging], [data-instant-transitions])
    :is(
      .layered-slideshow__tablist,
      .layered-slideshow__panels,
      .layered-slideshow__panel-content,
      .layered-slideshow__content
    ) {
    transition: none;
  }

  .layered-slideshow__panels {
    display: grid;
    grid-template-columns: var(--active-tab);
    height: 100%;
    overflow: hidden;
  }

  .layered-slideshow__panel {
    position: relative;
    height: 100%;
    min-width: var(--button-width);
    border-radius: var(--radius);
    z-index: calc(var(--total-tabs) - var(--index));
  }

  .layered-slideshow__panel:first-child .layered-slideshow__panel-content {
    width: var(--active-panel-width);
    border-left: var(--border-width) solid var(--border-color);
  }

  .layered-slideshow__panel:not(:first-child) .layered-slideshow__content {
    padding-inline-start: calc((var(--radius) * 2) + var(--padding-inline-start, 0px));
  }

  .layered-slideshow__panel-content {
    border: var(--border-width) solid var(--border-color);
    border-left: none;
    border-radius: var(--radius);
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    width: calc(var(--active-panel-width) + (var(--radius) * 2));
  }

  .layered-slideshow__panel-content :is(img, video, svg) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Video poster visibility - poster shows initially and hides when panel becomes active */
  .layered-slideshow__video-poster {
    z-index: 1;
  }

  .layered-slideshow__video {
    z-index: 0;
  }

  /* When panel is active, hide poster so video is visible */
  .layered-slideshow__panel:not([inert]) .layered-slideshow__video-poster {
    opacity: 0;
  }

  @media (prefers-reduced-motion: no-preference) {
    .layered-slideshow__video-poster {
      transition: opacity 0.3s ease;
    }
  }

  .layered-slideshow__content {
    height: 100%;
    position: relative;
    z-index: 1;
  }

  .layered-slideshow__content > * {
    margin: auto;
  }

  .layered-slideshow__content.background-transparent {
    background-color: transparent;
  }

  .layered-slideshow__panel--drop-shadow:not(:last-child) .layered-slideshow__panel-content {
    box-shadow: 4px 0 12px 0 rgba(0, 0, 0, 0.1);
  }

  /* Shared transitions (desktop and mobile) */
  @media (prefers-reduced-motion: no-preference) {
    .layered-slideshow__panels,
    .layered-slideshow__tablist {
      transition-property: grid-template-columns, grid-template-rows;
      transition-duration: 0.6s;
      transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }

    .layered-slideshow__content {
      opacity: 0;
      transform: translateY(0.5lh);
      transition: opacity 0.48s, transform 0.48s;
    }

    .layered-slideshow__panel:not([inert]) .layered-slideshow__content {
      opacity: 1;
      transform: translateY(0);
      transition-delay: 0.24s;
    }
  }

  @media screen and (max-width: 749px) {
    .layered-slideshow__container {
      --button-height: 44px;
      --inactive-tabs-height: calc((var(--total-tabs) - 1) * var(--button-height));
    }

    .layered-slideshow__container:not([size='auto']) {
      --layered-total-height: calc(var(--layered-panel-height-mobile, 260px) + var(--inactive-tabs-height));
      --active-panel-height: var(--layered-panel-height-mobile, 260px);
      min-height: var(--layered-total-height);
      height: var(--layered-total-height);
    }

    .layered-slideshow__container[size='auto'] {
      height: auto;
    }

    .layered-slideshow__tablist {
      grid-template-rows: var(--active-tab);
      grid-template-columns: 1fr;
      grid-auto-flow: row;
    }

    .layered-slideshow__tablist button {
      width: 100%;
      height: var(--button-height);
    }

    .layered-slideshow__panels {
      grid-template-rows: var(--active-tab);
      grid-template-columns: 1fr;
      grid-auto-flow: row;
    }

    .layered-slideshow__panel {
      min-height: var(--button-height);
      width: 100%;
      height: 100%;
      position: relative;
      z-index: calc(var(--total-tabs) - var(--index));
    }

    .layered-slideshow__panel:first-child .layered-slideshow__panel-content {
      width: 100%;
      height: var(--active-panel-height);
      border-top: var(--border-width) solid var(--border-color);
      left: 0;
      right: 0;
      border-left: var(--border-width) solid var(--border-color);
    }

    .layered-slideshow__panel-content {
      position: absolute;
      border: var(--border-width) solid var(--border-color);
      border-radius: var(--radius);
      box-sizing: border-box;
      width: 100%;
      /* Clamp overlap to (button-height - border-width) to prevent visual issues with large radius + border */
      height: calc(var(--active-panel-height) + min(var(--radius) * 2, var(--button-height) - var(--border-width)));
      top: unset;
      left: 0;
      right: 0;
      bottom: 0;
      overflow: hidden;
    }

    .layered-slideshow__panel:not(:first-child) .layered-slideshow__panel-content {
      border-top: none;
    }

    .layered-slideshow__panel:not(:first-child) {
      margin-top: calc(var(--border-width) * -1);
    }

    .layered-slideshow__content {
      padding-inline-start: var(--padding-inline-start, 0px);
      padding-inline-end: var(--padding-inline-end, 0px);
    }

    /* Adjust padding for non-first slides to account for radius overlap at the top (not sides on mobile) */
    .layered-slideshow__panel:not(:first-child) .layered-slideshow__content {
      padding-block-start: calc((var(--radius) * 2) + var(--padding-block-start, 0px));
      padding-inline-start: var(--padding-inline-start, 0px);
    }

    .layered-slideshow__panel--drop-shadow:not(:last-child) .layered-slideshow__panel-content {
      box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.1);
    }
  }
/* END_SECTION:layered-slideshow */

/* START_SECTION:logo (INDEX:16) */
.logo-section {
    width: calc(var(--logo-width) + var(--padding-inline-start) + var(--padding-inline-end));
    max-width: 100%;
    max-height: calc(var(--logo-height, 100%) + var(--padding-block-start) + var(--padding-block-end));
    font-size: var(--logo-height);
    display: flex;

    @media screen and (max-width: 749px) {
      max-height: calc(
        var(--logo-height-mobile, var(--logo-height, 100%)) + var(--padding-block-start) + var(--padding-block-end)
      );
      font-size: var(--logo-height-mobile, var(--logo-height));
      width: calc(
        var(--logo-width-mobile, var(--logo-width)) + var(--padding-inline-start) + var(--padding-inline-end)
      );
    }
  }

  .logo-section--center {
    margin-inline: auto;
  }

  .logo-section--flex-end {
    margin-inline-start: auto;
  }

  .logo-section--flex-start {
    margin-inline-end: auto;
  }

  .logo-section__image-wrapper {
    display: flex;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .logo-section__image {
    object-fit: contain;
    width: 100%;
  }
/* END_SECTION:logo */

/* START_SECTION:main-blog-post (INDEX:18) */
.blog-post-comments-container {
    width: 100%;
    max-width: var(--normal-content-width);
    margin: 0 auto;
  }

  .blog-post-comments {
    display: flex;
    flex-direction: column;
    gap: var(--gap-3xl);
  }

  .blog-post-comment__author {
    display: flex;
    align-items: center;
    gap: var(--gap-2xs);
    margin-top: var(--margin-md);
    font-size: var(--font-size--body-sm);
    color: rgb(var(--color-foreground-rgb) / var(--opacity-subdued-text));
  }

  .blog-post-comments-pagination {
    display: flex;
    justify-content: center;
    gap: var(--gap-2xs);
  }

  .blog-post-comments-pagination,
  .blog-post-comments-pagination a {
    color: var(--color-foreground);
  }

  .blog-post-comments-pagination .current {
    color: var(--color-foreground);
  }

  .blog-post-comments-pagination .current,
  .blog-post-comments-pagination a {
    display: block;
    padding: var(--padding-2xs) var(--padding-xs);
  }

  .blog-post-comments-pagination .current,
  .blog-post-comments-pagination a:hover {
    border-bottom: 1px solid var(--color-foreground);
  }
/* END_SECTION:main-blog-post */

/* START_SECTION:main-blog (INDEX:19) */
/**
   * Blog posts page layout
   */
  .blog-posts {
    --page-content-width: var(--narrow-page-width);
    --page-width: calc(var(--page-content-width) + (var(--page-margin) * 2));
    --columns-gap: 36px;
    --rows-gap: 36px;
  }

  .blog-posts-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    width: 100%;
    column-gap: var(--columns-gap);
    row-gap: var(--rows-gap);
  }

  /**
   * Blog post item grid positioning and scaling.
   * Layout is calculated in Liquid based on total article count.
   * Mobile overrides are applied per-item in inline styles for proper specificity.
   */
  .blog-post-item {
    grid-column: span var(--col-span);
    background-color: var(--color-background);
  }

  /**
   * When there's no image, the blog post item has a border.
   */
  .blog-post-item {
    border: 1px solid rgb(var(--color-foreground-rgb) / var(--opacity-20));
    padding: 0 1rem 1rem;
  }

  .blog-post-item:has(.blog-post-card__image-container) {
    border: none;
    padding: 0;
  }
/* END_SECTION:main-blog */

/* START_SECTION:main-cart (INDEX:20) */
.cart-page {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 var(--padding-5xl);
  }

  .cart-page--empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .cart-page--empty .cart-page__title,
  .cart-page--empty .cart-page__more-blocks {
    margin-top: var(--margin-6xl);
  }

  .cart-page__more-blocks {
    width: 100%;
  }

  .cart-page--empty .cart-title {
    text-align: center;
  }

  .cart-page__main {
    grid-column: 1;
  }

  .cart-page__summary {
    padding-top: var(--padding-xl);
  }

  .cart-page__title + .cart-page__items {
    margin-block-start: var(--margin-lg);
  }

  @media screen and (min-width: 750px) {
    .cart-page {
      grid-template-columns: 1fr min(50vw, var(--sidebar-width));
      grid-template-rows: min-content min-content 1fr;
    }

    .cart-page__summary {
      display: grid;
      height: 100%;
      grid-column: 2;
      grid-row: 1 / -1;
      align-self: stretch;
      grid-template-rows: subgrid;
      padding-top: 0;

      /* needed to support blurred effect from hero section */
      position: relative;
    }

    .section--page-width .cart-page:has(.cart-summary--extend) {
      grid-column: 2 / 4;
      grid-template-columns: 1fr minmax(
          var(--sidebar-width),
          calc((100vw - var(--page-width)) / 2 + var(--sidebar-width))
        );
    }
  }

  @media screen and (min-width: 1400px) {
    .cart-page {
      grid-template-columns: 1fr var(--sidebar-width);
    }
  }
/* END_SECTION:main-cart */

/* START_SECTION:marquee (INDEX:24) */
marquee-component {
    display: block;
    width: 100%;
    overflow: hidden;
  }

  .marquee__wrapper {
    display: flex;
    gap: var(--marquee-gap);
    width: fit-content;
    white-space: nowrap;
  }

  .marquee__content {
    min-width: max-content;
    display: flex;
    gap: var(--marquee-gap);
  }

  .marquee__content :is(p, h1, h2, h3, h4, h5, h6) {
    white-space: nowrap;
  }

  .marquee__content .marquee__repeated-items * {
    max-width: none;
  }

  .marquee__repeated-items {
    min-width: max-content;
    display: flex;
    gap: var(--marquee-gap);
    align-items: center;
    justify-content: center;
  }

  .marquee__repeated-items > * {
    align-content: center;
  }

  @media (prefers-reduced-motion: no-preference) {
    marquee-component:not([data-disabled]) .marquee__wrapper {
      animation: marquee-motion var(--marquee-speed) linear infinite var(--marquee-direction);
    }
  }

  @keyframes marquee-motion {
    to {
      transform: translate3d(calc(-50% - (var(--marquee-gap) / 2)), 0, 0);
    }
  }
/* END_SECTION:marquee */

/* START_SECTION:media-with-content (INDEX:25) */
.section--page-width {
    &.media-with-content {
      grid-template-areas: 'margin-left media margin-right' 'margin-left content margin-right';

      @media screen and (min-width: 750px) {
        /* Wide proportion is media 3.5 parts, content 2.5 parts. Which equals 7|5. So divide the central column by 7+5 and multiply accordingly */
        --media-with-content-grid-columns: var(--full-page-grid-margin)
          calc((var(--full-page-grid-central-column-width) / 12) * 7)
          calc((var(--full-page-grid-central-column-width) / 12) * 5) var(--full-page-grid-margin);

        grid-template-areas: 'margin-left media content margin-right';
      }
    }

    &.media-with-content--media-right {
      @media screen and (min-width: 750px) {
        --media-with-content-grid-columns: var(--full-page-grid-margin)
          calc((var(--full-page-grid-central-column-width) / 12) * 5)
          calc((var(--full-page-grid-central-column-width) / 12) * 7) var(--full-page-grid-margin);

        grid-template-areas: 'margin-left content media margin-right';
      }
    }

    &.media-with-content--medium {
      @media screen and (min-width: 750px) {
        --media-with-content-grid-columns: var(--full-page-grid-margin)
          repeat(2, calc(var(--full-page-grid-central-column-width) / 2)) var(--full-page-grid-margin);
      }
    }

    &.media-with-content--narrow.media-with-content--media-right {
      @media screen and (min-width: 750px) {
        --media-with-content-grid-columns: var(--full-page-grid-margin)
          calc((var(--full-page-grid-central-column-width) / 3) * 2)
          calc(var(--full-page-grid-central-column-width) / 3) var(--full-page-grid-margin);
      }
    }

    &.media-with-content--narrow {
      @media screen and (min-width: 750px) {
        --media-with-content-grid-columns: var(--full-page-grid-margin)
          calc(var(--full-page-grid-central-column-width) / 3)
          calc((var(--full-page-grid-central-column-width) / 3) * 2) var(--full-page-grid-margin);
      }
    }
  }

  .section--full-width {
    &.media-with-content--media-right {
      @media screen and (min-width: 750px) {
        --media-with-content-grid-columns: 2.5fr 3.5fr;

        grid-template-areas: 'content media';
      }
    }

    &.media-with-content--medium {
      @media screen and (min-width: 750px) {
        --media-with-content-grid-columns: 1fr 1fr;
      }
    }

    &.media-with-content--narrow {
      @media screen and (min-width: 750px) {
        --media-with-content-grid-columns: 2fr 4fr;
      }
    }

    &.media-with-content--narrow.media-with-content--media-right {
      @media screen and (min-width: 750px) {
        --media-with-content-grid-columns: 4fr 2fr;
      }
    }
  }

  /* Keep the CSS specificity lower assuming that liquid won't assign this class with a full width section */
  .media-with-content.media-with-content--media-extend {
    grid-template-columns: var(--media-with-content-grid-columns);
    grid-template-areas: 'media media media' 'margin-left content margin-right';

    @media screen and (min-width: 750px) {
      grid-template-areas: 'media media content margin-right';
    }
  }

  .media-with-content--media-extend.media-with-content--media-right {
    @media screen and (min-width: 750px) {
      grid-template-areas: 'margin-left content media media';
    }
  }

  .media-with-content--media-right {
    @media screen and (min-width: 750px) {
      grid-template-areas: 'margin-left content media media';
    }
  }

  .media-with-content {
    --media-with-content-grid-columns: var(--full-page-grid-with-margins);

    grid-template-columns: var(--media-with-content-grid-columns);
    grid-template-areas: 'media media media' 'content content content';

    @media screen and (min-width: 750px) {
      --media-with-content-grid-columns: 3.5fr 2.5fr;

      /* Default desktop layout is wide media, on the left, in full page section */
      grid-template-areas: 'media content';
    }

    .media-block {
      grid-area: media;
    }

    .media-with-content__content {
      grid-area: content;
    }

    /* Inner blocks spacing */
    .media-with-content__content > .group-block-content {
      padding-inline: var(--page-margin);
      padding-block: calc(2 * var(--page-margin));

      @media screen and (min-width: 750px) {
        padding-block: var(--page-margin);
      }
    }

    &.section--page-width .media-with-content__content > .group-block-content {
      padding-inline: 0;

      @media screen and (min-width: 750px) {
        padding-inline-start: var(--page-margin);
      }
    }

    &.section--page-width.media-with-content--media-right .media-with-content__content > .group-block-content {
      padding-inline-end: var(--page-margin);
      padding-inline-start: 0;
    }
  }

  .media-with-content[data-shopify-visual-preview] {
    --hero-min-height: 500px;

    min-height: 500px;
  }
/* END_SECTION:media-with-content */

/* START_SECTION:nils-footer (INDEX:26) */
.nils-footer {
    background-color: var(--color-background);
  }

  .nils-footer__inner {
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 5%;
    padding-block: 56px 32px;
  }

  .nils-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 64px;
  }

  .nils-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nils-footer__logo {
    display: block;
    width: 150px;
    height: auto;
    object-fit: contain;
  }

  .nils-footer__contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body--family);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.32px;
    color: rgb(229 229 229);
    text-decoration: none;
    transition: color 200ms ease;
  }

  .nils-footer__contact:hover {
    color: var(--color-foreground);
  }

  .nils-footer__contact-dash {
    display: block;
    width: 20px;
    height: 4px;
    border-radius: 0;
    background: rgb(184 29 29);
    flex-shrink: 0;
  }

  .nils-footer__social {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nils-footer__social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid rgb(var(--color-foreground-rgb) / 0.1);
    background: var(--color-background);
    color: var(--color-foreground);
    transition: background-color 200ms ease, border-color 200ms ease;
  }

  .nils-footer__social-icon:hover {
    background: rgb(var(--color-foreground-rgb) / 0.06);
    border-color: rgb(var(--color-foreground-rgb) / 0.2);
  }

  .nils-footer__social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .nils-footer__columns {
    display: flex;
    gap: 64px;
  }

  .nils-footer__column-heading {
    margin: 0 0 8px;
    font-family: var(--font-body--family);
    font-size: 15px;
    font-weight: 400;
    line-height: 30px;
    color: rgb(224 224 224);
  }

  .nils-footer__column-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .nils-footer__column-list a {
    font-family: var(--font-body--family);
    font-size: 13px;
    font-weight: 400;
    line-height: 15.6px;
    letter-spacing: -0.52px;
    color: var(--color-foreground);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 200ms ease;
  }

  .nils-footer__column-list a:hover {
    opacity: 1;
    text-decoration: underline;
  }

  .nils-footer__divider {
    height: 1px;
    background: rgb(var(--color-foreground-rgb) / 0.1);
    margin: 32px 0 24px;
  }

  .nils-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nils-footer__copyright,
  .nils-footer__privacy {
    margin: 0;
    font-family: var(--font-body--family);
    font-size: 13px;
    font-weight: 400;
    line-height: 15.6px;
    letter-spacing: -0.52px;
    color: var(--color-foreground);
    opacity: 0.8;
    text-decoration: none;
  }

  .nils-footer__privacy:hover {
    opacity: 1;
    text-decoration: underline;
  }

  @media (max-width: 767px) {
    .nils-footer__top {
      flex-direction: column;
      gap: 40px;
    }

    .nils-footer__columns {
      width: 100%;
      justify-content: space-between;
      gap: 24px;
    }

    .nils-footer__bottom {
      flex-direction: column-reverse;
      align-items: center;
      gap: 12px;
      text-align: center;
    }

    /*
     * TAP TARGETS, MOBILE [ours] — mobile-audit/findings.csv: several
     * footer controls render under the 44x44 accessible minimum here
     * (measured live: social icons 32x32, "Contattaci"/"Contact us"
     * 99.8-102.7 x 25.6, "Privacy Policy" 74.1x15.6, the quick-link/
     * pages list items ~23.8x15). Every rule below only ever adds an
     * absolutely-positioned, unstyled `::after` (no border/background/
     * content of its own) sized to the missing reach and centered over
     * the link's own box (`position: relative` on the link itself, `top:
     * 50%; left: 50%; transform: translate(-50%, -50%)` on the pseudo-
     * element, together the standard invisible-hit-area technique) — the
     * link's own rendered box, text, and every existing style are
     * untouched; only the tappable AREA around it grows.
     */
    .nils-footer__social-icon {
      position: relative;
    }

    .nils-footer__social-icon::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 44px;
      height: 44px;
    }

    .nils-footer__contact {
      position: relative;
    }

    .nils-footer__contact::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 44px;
    }

    .nils-footer__privacy {
      position: relative;
    }

    .nils-footer__privacy::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 44px;
    }

    /*
     * QUICK-LINK/PAGES LIST ITEMS — measured live: consecutive links in
     * the same column sit ~9.4px apart (`.nils-footer__column-list`'s
     * own `gap: 2px` plus line-height overhang, above), not the ~29px
     * a full 44px-tall hit area on each would need without the two
     * neighbors' own areas overlapping. Grown to the largest height that
     * still clears the next link either side (4px each way — half that
     * measured 9.4px gap, with a small buffer left over) instead: 15px
     * to 23px tall, short of 44 but the most this exact spacing allows
     * without one link's tap area reaching into its neighbor's. Full
     * width of the column (`.nils-footer__column-list`'s own layout) is
     * given instead, since nothing constrains that dimension.
     */
    .nils-footer__column-list a {
      position: relative;
    }

    .nils-footer__column-list a::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 23px;
    }
  }
/* END_SECTION:nils-footer */

/* START_SECTION:nils-kit-wizard (INDEX:28) */
/*
   * CARBON STAGE [ours] — the exact three-layer weave from `.nils-carbon` /
   * the product page's `.section-background` (snippets/nils-design-
   * language.liquid): a radial highlight plus two repeating-linear-
   * gradients, same alpha values, same 4px repeat. Only the base color
   * differs (#08080a, this overlay's own darker ink, not the theme's
   * --color-background) — the weave numbers themselves are copied as-is.
   */
  .nils-kit-wizard {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    /* SIDEBAR SCALE-UP [ours], widened further in SIDEBAR ROWS REDONE —
       the desktop sidebar's width past its old flat 264px, by one
       --gap-3xl (3rem/48px, the theme's own spacing-scale token,
       snippets/theme-styles-variables.liquid) rather than an invented
       pixel count. Round nine used --gap-lg (1rem/16px, 280px total);
       the row recipe's real 56px thumbnail needs more room to read as a
       visible change, not a token-size nudge. Set here, on the shared
       ancestor, rather than directly on `.nav` — this used to also drive
       the fixed topbar's own `left` offset (BAR REBORN retired that
       element; only `.nav` itself reads this now). */
    --nils-kit-nav-width: calc(264px + var(--gap-3xl));
    background-color: #08080a;
    background-image:
      radial-gradient(ellipse at 50% 0%, rgb(255 255 255 / 0.035) 0%, transparent 70%),
      repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 3px,
        rgb(255 255 255 / 0.018) 3px,
        rgb(255 255 255 / 0.018) 4px
      ),
      repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 3px,
        rgb(255 255 255 / 0.018) 3px,
        rgb(255 255 255 / 0.018) 4px
      );
    background-size: 100% 100%, 4px 4px, 4px 4px;
    overflow: hidden;
  }

  .nils-kit-wizard[hidden] {
    display: none;
  }

  /*
   * HEADER REBUILT [ours, 2026-09-17] — see the markup's own doc comment
   * (the `.nils-kit-wizard__stage` block) for the three painted-pixel-
   * proven causes this structure exists to close. `.stage` takes over
   * `.content`'s old role as the app root's `flex: 1` row child (the
   * column to the right of the desktop sidebar; the full width on
   * mobile, where `.nav` is a fixed drawer out of flow) and stacks the
   * bar over the scroller as a plain column — the bar is a normal
   * in-flow block with NO position/z-index at all, and needs none: the
   * scroller starts where the bar ends, and `.content`'s own `overflow`
   * clips its every descendant, so nothing scrolled can reach the bar's
   * box regardless of what z-index it carries inside. `min-height: 0` on
   * `.content` is the same flex-child-with-overflow gotcha this file
   * already documents on `.nav-scroll` — without it the flex item's
   * automatic minimum keeps it from shrinking and it never scrolls.
   */
  .nils-kit-wizard__stage {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /*
   * SURFACE: `rgb(18 18 18)` — the fully opaque variant of the wizard's
   * own established "solid panel" token (the 0.98 one is the mobile nav
   * drawer's and the toast's; the opaque one is what sections/nils-store-
   * shelf.liquid's compare sheet uses for its own head row, chosen there
   * for the same reason — "no visible seam under scrolled content").
   * Nothing scrolled can be beneath this bar any more, so 0.98 would only
   * ever reveal the root's own static carbon fill — opaque removes even
   * that as a variable. EDGE: `var(--nils-hairline)`, the same token the
   * desktop sidebar's own right edge uses. PADDING: 18px vertical for
   * rhythm against the card grid's ~20-24px spacing, 24px horizontal
   * matching `.content`'s own side inset so the visible title/close line
   * up with the cards beneath; the ≤640px block matches `.content`'s
   * mobile inset the same way.
   */
  .nils-kit-wizard__header {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background: rgb(18 18 18);
    border-bottom: 1px solid var(--nils-hairline);
  }

  /*
   * TYPE: the exact scale `.nils-kit-wizard__eyebrow` (STEP ZERO/SUMMARY's
   * own small label, further down) already uses — 11px/700/uppercase/
   * 0.12em, plain body face — values copied rather than class-shared
   * (different cascade positions; a shared class would leave this rule's
   * own overrides hostage to source order). COLOR: family-aware, `var(--tc,
   * var(--nils-red))`, the same fallback shape every other family-colored
   * text rule in this file uses (nav items, cards, the step masthead);
   * `--tc` is set per step by `#updateWash` (assets/nils-kit-wizard.js),
   * the same call site the family wash overlay reads its own color from.
   */
  .nils-kit-wizard__header-title {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--tc, var(--nils-red));
  }

  /*
   * CHIUDI: the ghost-chip recipe the product page's own "← Torna al
   * negozio" control uses (blocks/_product-details.liquid's `.nils-
   * product-back__link` — thin low-opacity border, transparent fill,
   * brightens on hover, no fill/underline change); `border-radius`
   * reuses that exact token, `var(--variant-picker-button-radius)`, a
   * plain theme-global geometry setting. Border/text colors stay this
   * file's OWN dark-chrome tokens (`var(--nils-hairline-strong)`, `rgb(255
   * 255 255 / …)`, same as `.nav-close`/`.skip`) rather than that
   * control's `--color-foreground` — a light-theme token, near-invisible
   * against this panel's near-black fill. Same recipe, correct palette.
   */
  .nils-kit-wizard__header-close {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--variant-picker-button-radius);
    border: 1px solid var(--nils-hairline-strong);
    background: transparent;
    color: rgb(255 255 255 / 0.7);
    font-family: var(--font-body--family);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .nils-kit-wizard__header-close:hover {
    border-color: rgb(255 255 255 / 0.3);
    color: #fff;
  }

  /*
   * ADD TOAST [ours] — SURFACE/TYPE, reported: the same "solid panel"
   * token this codebase already uses for the compare modal's own panel
   * (sections/nils-store-shelf.liquid's `.nils-shelf__compare-modal-panel`)
   * and the mobile nav drawer (`rgb(18 18 18 / 0.98)`, `--nils-radius`),
   * plus the chip's own quiet hairline border
   * (`var(--nils-hairline-strong)`, same token `.nils-shelf__chip` uses).
   * Type is the theme's own `--font-size--sm` text-size token
   * (snippets/theme-styles-variables.liquid, the same one FAMILY TABLE +
   * DESCRIPTORS reused for the quiet descriptor lines) at the body font,
   * with the product name in the same 700 weight chips/titles already
   * use for emphasis — restrained, not a new color or a new size.
   *
   * MOTION is the exact recipe `.nils-kit-wizard__step--entering` already
   * uses (220ms `var(--nils-ease)`, opacity + transform, no bounce,
   * `prefers-reduced-motion` respected below) — a rise instead of a
   * slide, since this is a toast, not a step.
   *
   * LAYER: `--layer-window-overlay`, the wizard's own close button's tier
   * (above stage/masthead) — not `--layer-temporary` despite the semantic
   * fit, because that token (20) sits ABOVE `--layer-menu-drawer` (18),
   * which would float this over an open mobile drawer and break LAW 2
   * ("nothing floats over an open panel"). This tier keeps it correctly
   * below the veil/drawer while still above ordinary stage content.
   *
   * Fixed to the app root (not `.content`), so it stays visible with the
   * mobile drawer closed — its main job — and `pointer-events: none`,
   * since it's a passive confirmation, never a click target.
   */
  .nils-kit-wizard__toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: var(--layer-window-overlay);
    max-width: min(420px, calc(100vw - 32px));
    padding: 12px 18px;
    border-radius: var(--nils-radius);
    border: 1px solid var(--nils-hairline-strong);
    background: rgb(18 18 18 / 0.98);
    box-shadow: 0 12px 32px rgb(0 0 0 / 0.5);
    color: rgb(255 255 255 / 0.85);
    font-family: var(--font-body--family);
    font-size: var(--font-size--sm);
    line-height: 1.4;
    pointer-events: none;
    transform: translateX(-50%) translateY(0);
    transition: opacity 220ms var(--nils-ease), transform 220ms var(--nils-ease);
  }

  .nils-kit-wizard__toast[hidden] {
    display: none;
  }

  .nils-kit-wizard__toast--offstage {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }

  /*
   * TOAST DOCKS ABOVE THE BAR [ours, PORT] — collision named in the port's
   * own recon: the toast's resting `bottom: 28px` and the compare bar's
   * collapsed height (48px header + 104px body = 152px, assets/nils-
   * compare-engine.js's DRAWER_HEIGHT_BAR) used to land almost on top of
   * each other whenever both were visible at once. `:has()` (already used
   * elsewhere in this codebase, e.g. the selected-state border on
   * `.nils-shelf__card`/`.nils-shelf__row`) shifts the toast up by that
   * exact height plus a 16px gap — no JS needed, since the bar's own
   * `hidden`/`data-tray-state` attributes are already the source of
   * truth. Sheet state gets the same treatment off its own 85vh height,
   * for the same reason, even though only the bar case was reported live.
   */
  .nils-kit-wizard:has(.nils-shelf__compare-tray--tick[data-tray-state='bar']:not([hidden])) .nils-kit-wizard__toast {
    bottom: calc(152px + 16px);
  }

  .nils-kit-wizard:has(.nils-shelf__compare-tray--tick[data-tray-state='sheet']:not([hidden])) .nils-kit-wizard__toast {
    bottom: calc(85vh + 16px);
  }

  /*
   * CHAT TEASER [ours] — right-anchored to sit just left of the chat FAB.
   * The FAB itself lives in a completely separate DOM tree (snippets/
   * nils-chat-widget.liquid, rendered once globally from layout/
   * theme.liquid) and is only elevated to its own right: 24px / bottom:
   * 24px resting spot while `data-nils-wizard-open` is set on <html>,
   * desktop only (that file's own `@media (min-width: 861px)` REACHABLE
   * INSIDE THE WIZARD gate — mirrored below by the same breakpoint). 92px
   * is that same 24px plus the FAB's own 56px diameter plus a 12px gap;
   * 34px is that same 24px plus a ~10px nudge so a shorter one-line
   * bubble still lands vertically centered against the FAB's 56px height
   * — both kept in lockstep by hand, same convention this file's own
   * DRAWER_HEIGHT_BAR mirror (below) already uses.
   *
   * SESSION — armed/shown/hidden entirely by assets/nils-kit-wizard.js
   * (#armChatTeaserTimer/#tryShowChatTeaser/#hideChatTeaser); this file
   * only renders the always-present, empty-by-default markup and its two
   * visual states. --tc/--tc-rgb are set inline by that same JS on show
   * (this sits outside the active step, so it doesn't inherit them for
   * free) — var(..., var(--nils-red)) fallback for the instant between
   * `hidden` clearing and that inline set.
   *
   * MOTION — opacity/transform at final size, never height (LAW), same
   * 220ms var(--nils-ease) recipe as the toast above; visibility follows
   * opacity with a matching delay so the dismiss button isn't tabbable
   * while faded out, same shape snippets/nils-chat-widget.liquid's own
   * panel already uses.
   */
  .nils-kit-wizard__chat-teaser {
    position: fixed;
    right: 92px;
    bottom: 34px;
    z-index: var(--layer-window-overlay);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 220px;
    padding: 9px 10px 9px 14px;
    border-radius: 999px;
    border: 1px solid rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.4);
    background: rgb(18 18 18 / 0.98);
    box-shadow: 0 12px 32px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    pointer-events: none;
    transition:
      opacity 220ms var(--nils-ease),
      transform 220ms var(--nils-ease),
      visibility 0s linear 220ms;
  }

  .nils-kit-wizard__chat-teaser[hidden] {
    display: none;
  }

  .nils-kit-wizard__chat-teaser--visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
    transition: opacity 220ms var(--nils-ease), transform 220ms var(--nils-ease);
  }

  .nils-kit-wizard__chat-teaser-text {
    color: rgb(255 255 255 / 0.85);
    font-family: var(--font-body--family);
    font-size: var(--font-size--xs);
    line-height: 1.3;
    white-space: nowrap;
  }

  .nils-kit-wizard__chat-teaser-dismiss {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    border: none;
    background: none;
    color: rgb(255 255 255 / 0.4);
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .nils-kit-wizard__chat-teaser-dismiss:hover {
    color: #fff;
  }

  /* Same shift the FAB itself takes when the compare bar is showing (snippets/nils-chat-widget.liquid's own REACHABLE INSIDE THE WIZARD rule) — 152px is that file's own DRAWER_HEIGHT_BAR mirror. The sheet state needs no rule of its own: #tryShowChatTeaser (assets/nils-kit-wizard.js) never shows the teaser while the sheet is open. */
  .nils-kit-wizard:has(.nils-shelf__compare-tray--tick[data-tray-state='bar']:not([hidden])) .nils-kit-wizard__chat-teaser {
    bottom: calc(34px + 152px);
  }

  /* Desktop only — mirrors snippets/nils-chat-widget.liquid's own REACHABLE INSIDE THE WIZARD gate: below this width the FAB isn't elevated above the wizard at all (the mobile drawer wins over everything), so there's nothing to point a bubble at. */
  @media (max-width: 860px) {
    .nils-kit-wizard__chat-teaser {
      display: none !important;
    }
  }

  /*
   * WIZARD-SCOPED — COMPARE Z-INDEX [ours, PORT] — originally written
   * against the store's own `z-index: var(--layer-sticky)` (8), on the
   * assumption that value was correct on the store page and only needed
   * raising once nested inside `.nils-kit-wizard` (which has its own toast/
   * veil/drawer layers up to 18 to clear, plus the old wizard tray/modal's
   * 50/100 to not regress from). That assumption didn't survive contact
   * with a later store-side change (sections/nils-store-shelf.liquid's own
   * "Z-INDEX, RECONFIRMED" comment, 2026-09-17): the store page turned out
   * to have its own competing layer too, and the shared rule now reads 25
   * there as well. This rule is a same-value no-op today — kept as the
   * wizard's own record of why 25 specifically clears everything in THIS
   * file (max 20, --layer-temporary) without reaching the wizard root's
   * own 300.
   */
  .nils-kit-wizard .nils-shelf__compare-tray--tick {
    z-index: 25;
  }

  /*
   * CURSOR AFFORDANCE [ours, wizard-scoped] — the store's version of this
   * link is a real `<a href>` (itemClickMode: 'link', assets/nils-
   * compare-engine.js), which gets `cursor: pointer` for free from the
   * browser's own UA default; the wizard's is a `<button type="button">`
   * (itemClickMode: 'callback'), which has no such default — plain arrow
   * otherwise. Scoped here, not the shared rule (sections/nils-store-
   * shelf.liquid), since the store already has this affordance without
   * it; adding it there would be a no-op edit to a file this run's own
   * diff should stay out of. The hover color-step itself (`.nils-shelf__
   * compare-product-link:hover .nils-shelf__compare-product-title`,
   * that same shared file) already fires for both tag types — :hover
   * doesn't care whether the ancestor is an <a> or a <button> — so it
   * needed no wizard-side copy.
   */
  .nils-kit-wizard .nils-shelf__compare-product-link {
    cursor: pointer;
  }

  /*
   * WIZARD-SCOPED — COMPARE CENTERING [ours] — the store's own `left:
   * 12.5%; right: 12.5%;` (sections/nils-store-shelf.liquid) centers the
   * panel on the full viewport, correct there since nothing eats into
   * that width. Inside the wizard, the desktop sidebar
   * (--nils-kit-nav-width, set on `.nils-kit-wizard` itself, above) takes
   * up real horizontal space from ≥861px, pushing the content area
   * (and this panel, if left alone) visibly off-center to the right of
   * it. Scoped to the exact same threshold `.nils-kit-wizard__nav` itself
   * switches from a rail to a mobile drawer at (this file's own `@media
   * (max-width: 860px)`) — below that the drawer doesn't occupy rail
   * space, so the store's own viewport-centered insets are already
   * correct there and stay untouched (no rule needed). Same 75%-of-
   * available-space width recipe as the store (12.5% either side of
   * whatever's available) — only "available space" changes, from the
   * full viewport to (viewport minus sidebar).
   */
  @media (min-width: 1201px) {
    .nils-kit-wizard .nils-shelf__compare-tray--tick {
      left: calc(var(--nils-kit-nav-width) + (100vw - var(--nils-kit-nav-width)) * 0.125);
      right: calc((100vw - var(--nils-kit-nav-width)) * 0.125);
    }
  }

  /*
   * COMPACT TABLE, WIZARD-SCOPED [ours, 2026-09-15 — Crutchfield small-
   * screen port] — the shared sheet goes full-bleed at ≤1200px (sections/
   * nils-store-shelf.liquid's own "COMPACT TABLE" block: `left: 0; right:
   * 0`; that file's own "BOUNDARY, RAISED" comment has the 1024→1200
   * reasoning — this rule's own threshold moved in lockstep, same day).
   * Inside the wizard, "full-bleed" means the full CONTENT area: the
   * rail (--nils-kit-nav-width) still occupies the left edge between 861
   * and 1200px, so the panel starts where the rail ends and runs to the
   * viewport's right edge — the same "available space minus sidebar"
   * reasoning as the centered rule above, with the 12.5% insets dropped.
   * Three classes deep so it beats the store file's own two-class full-
   * bleed rule regardless of which section's stylesheet lands later in
   * the bundle. Below 861px the rail is a drawer and occupies no width,
   * so the store's own 0/0 already holds there — no rule needed.
   */
  @media (min-width: 861px) and (max-width: 1200px) {
    .nils-kit-wizard .nils-shelf__compare-tray.nils-shelf__compare-tray--tick {
      left: var(--nils-kit-nav-width);
      right: 0;
    }
  }

  .nils-kit-wizard__toast strong {
    color: #fff;
    font-weight: 700;
  }

  @media (prefers-reduced-motion: reduce) {
    .nils-kit-wizard__toast {
      transition: none;
    }
  }

  /*
   * FAMILY WASH [ours] — one persistent overlay, not a layer per step, so
   * its color can crossfade with a plain CSS transition regardless of how
   * step visibility itself is handled (see MOTION below — step content
   * swaps instantly, this doesn't). `--tc-rgb` is set by
   * assets/nils-kit-wizard.js's `#updateWash` on every navigation; it
   * falls back to --nils-red-rgb on step zero/summary, which set nothing.
   * z-index: -1 for the same reason as the ROOM TEXTURE backdrop: a
   * positioned descendant at 0/auto paints ABOVE plain in-flow children.
   */
  .nils-kit-wizard__wash {
    position: fixed;
    inset: 0;
    /* LAW 2 LAYERS [ours] — theme's own scale (--layer-lowest), same -1 value as before, now named. */
    z-index: var(--layer-lowest);
    pointer-events: none;
    background: linear-gradient(135deg, rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.07), transparent 60%);
    transition: background 250ms ease;
  }

  @media (prefers-reduced-motion: reduce) {
    .nils-kit-wizard__wash {
      transition: none;
    }
  }

  /* ============================================================
     VERTICAL STEP NAVIGATOR [ours] — replaces the old top rail. A named
     sidebar on desktop; a compact trigger + drawer on narrow viewports.
     ============================================================ */
  /*
   * IL TUO KIT — the nav is now a flex column so the button can pin below
   * the scrollable list instead of scrolling away with it: .nav-scroll
   * carries the overflow/padding/scrollbar this element used to carry
   * directly, .nav itself just stacks that scroll region above the
   * always-visible button footer.
   */
  .nils-kit-wizard__nav {
    flex: none;
    width: var(--nils-kit-nav-width);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--nils-hairline);
  }

  .nils-kit-wizard__nav[hidden] {
    display: none;
  }

  /*
   * LAW 3 DRAWER [ours] — mobile-only header row; the desktop sidebar has
   * no open/close state of its own (it's always visible), so this stays
   * hidden there — see the mobile media query below for its real rules.
   */
  .nils-kit-wizard__nav-header {
    display: none;
  }

  /*
   * SIDEBAR SCROLLBAR — thin + dark, built from the theme's own hairline
   * tokens (snippets/nils-design-language.liquid: --nils-hairline-strong
   * = rgb(255 255 255 / 0.08)) rather than the browser default grey.
   * Firefox: scrollbar-width: thin, thumb --nils-hairline-strong, track
   * transparent. WebKit: 6px track, --nils-hairline-strong thumb,
   * brightening to rgb(255 255 255 / 0.16) on hover — same lighten-on-
   * hover shape as Horizon's own global ::-webkit-scrollbar-thumb rule
   * (assets/base.css), recalibrated to this darker overlay's own tokens
   * instead of --color-foreground-rgb.
   */
  .nils-kit-wizard__nav-scroll {
    flex: 1;
    /* Same flex-child-with-overflow gotcha documented elsewhere in this
       file (the card-image aspect-ratio fix): without min-height: 0, a
       flex item's automatic minimum size can keep it from ever shrinking
       below its content's height, and overflow-y: auto never gets the
       chance to actually scroll. */
    min-height: 0;
    overflow-y: auto;
    padding: 84px 14px 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--nils-hairline-strong) transparent;
  }

  .nils-kit-wizard__nav-scroll::-webkit-scrollbar {
    width: 6px;
  }

  .nils-kit-wizard__nav-scroll::-webkit-scrollbar-track {
    background: transparent;
  }

  .nils-kit-wizard__nav-scroll::-webkit-scrollbar-thumb {
    background-color: var(--nils-hairline-strong);
    border-radius: 999px;
  }

  .nils-kit-wizard__nav-scroll::-webkit-scrollbar-thumb:hover {
    background-color: rgb(255 255 255 / 0.16);
  }

  /*
   * IL TUO KIT — reuses .nils-kit-wizard__skip's exact ghost treatment
   * (hairline border, transparent fill, same radius/padding/type/hover)
   * rather than a new button style: it's a secondary, always-there action,
   * not the primary flow forward, and the skip button is the theme's own
   * existing "quiet secondary" pattern.
   */
  .nils-kit-wizard__nav-kit-btn {
    flex: none;
    margin: 0 14px 20px;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--nils-hairline-strong);
    background: transparent;
    color: rgb(255 255 255 / 0.7);
    font-family: var(--font-body--family);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .nils-kit-wizard__nav-kit-btn:hover {
    border-color: rgb(255 255 255 / 0.3);
    color: #fff;
  }

  /*
   * KIT BUTTON ACTIVE STATE [ours] — same border/background/text tint
   * recipe this codebase already uses for a "pressed" control
   * (.nils-kit-wizard__pill[aria-pressed='true'] above, and the compare
   * checkbox's own :checked state), not a new one. --nils-red/--nils-red
   * -rgb rather than --tc: this button lives in the sidebar (.nav), a
   * sibling of the step sections that set --tc on themselves, not a
   * descendant of any one of them, so no per-step family color is in
   * scope here — --nils-red is this wizard's own default accent for
   * exactly that situation (see e.g. the origin nav entry). Toggled by
   * #updateKitCount (assets/nils-kit-wizard.js) off the same this.picks
   * count the "· N" text already reads — quiet again at zero, no new
   * state. Placed after :hover so it wins on a hover+active button too.
   */
  .nils-kit-wizard__nav-kit-btn--active {
    border-color: var(--nils-red);
    background: rgb(var(--nils-red-rgb) / 0.15);
    color: var(--nils-red);
  }

  .nils-kit-wizard__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .nils-kit-wizard__nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border: none;
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
    background: none;
    color: rgb(255 255 255 / 0.4);
    font-family: var(--font-body--family);
    /* SIDEBAR SCALE-UP [ours] — the step name (nav-item-label, which has no
       font-size of its own and inherits this one) moves up one notch on
       the theme's own --font-size scale (theme-styles-variables.liquid):
       --font-size--xs (0.8125rem/13px, the old hardcoded value) to
       --font-size--sm (0.875rem/14px). */
    font-size: var(--font-size--sm);
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .nils-kit-wizard__nav-item:hover {
    background: rgb(255 255 255 / 0.04);
    color: rgb(255 255 255 / 0.75);
  }

  /* SIDEBAR TRUTH — "visited, nothing picked" and "picked" both read as dimmer-than-open text; only --picked also lights the check (below). */
  .nils-kit-wizard__nav-item--visited,
  .nils-kit-wizard__nav-item--picked {
    color: rgb(255 255 255 / 0.6);
  }

  .nils-kit-wizard__nav-item--current {
    border-left-color: var(--tc, var(--nils-red));
    background: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.1);
    color: var(--tc, var(--nils-red));
  }

  .nils-kit-wizard__nav-check {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    opacity: 0.3;
    transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  }

  /* SIDEBAR TRUTH — the checkmark itself only ever lights up for --picked. A step being --current or merely --visited never fills it, so it can't be mistaken for a confirmed pick. */
  .nils-kit-wizard__nav-item--picked .nils-kit-wizard__nav-check {
    opacity: 1;
    background: var(--tc, var(--nils-red));
    border-color: var(--tc, var(--nils-red));
    color: #fff;
  }

  .nils-kit-wizard__nav-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .nils-kit-wizard__nav-item-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /*
   * MULTI-PICK [ours] — one .nils-kit-wizard__nav-item-picks per step, one
   * .nils-kit-wizard__nav-item-pick row inside it per product picked
   * there (assets/nils-kit-wizard.js's #buildNavPickRow), stacked instead
   * of the old single fixed row.
   *
   * SIDEBAR ROWS REDONE [ours] — the taller thumb-anchored row (below)
   * needs real air between stacked picks; grown from the tight 3xs gap to
   * a full --gap-xs (0.5rem/8px).
   */
  .nils-kit-wizard__nav-item-picks {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xs);
  }

  .nils-kit-wizard__nav-item-picks[hidden] {
    display: none;
  }

  /*
   * SIDEBAR ROWS REDONE [ours] — round nine grew both the thumbnail and
   * the name; wrong element. The row is flipped here: the thumbnail is
   * the real anchor (see .nav-item-thumb below), the name drops back to
   * its original small size — --font-size--3xs (0.625rem/10px), the exact
   * pre-round-nine value, still token-driven rather than a bare number.
   * gap/padding ported from the store shelf's own list-view row
   * (sections/nils-store-shelf.liquid's `.nils-shelf__row-link`, gap:
   * 16px) — the row recipe this was asked to port — so the row gets
   * taller and breathes instead of cramming a 56px thumb against text.
   */
  .nils-kit-wizard__nav-item-pick {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 6px 0;
    font-size: var(--font-size--3xs);
    font-weight: 400;
    color: rgb(255 255 255 / 0.4);
  }

  /*
   * SIDEBAR ROWS REDONE [ours] — ported directly from the store shelf's
   * own list-view thumbnail (sections/nils-store-shelf.liquid's
   * `.nils-shelf__row-image`): 56×56px, 8px radius, faint card
   * background, 6px inner padding, object-fit: contain. Same numbers,
   * applied straight to the `<img>` (the store's version wraps it in a
   * span; padding/background on the img itself renders identically).
   */
  .nils-kit-wizard__nav-item-thumb {
    flex: none;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: rgb(255 255 255 / 0.03);
    object-fit: contain;
    padding: 6px;
  }

  .nils-kit-wizard__nav-item-thumb[hidden] {
    display: none;
  }

  .nils-kit-wizard__nav-item-pick-name {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* QUICK REMOVE — pushed to the row's end via margin-left: auto; calls #removePick, the same deselect logic the card itself uses. */
  .nils-kit-wizard__nav-item-remove {
    flex: none;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    color: rgb(255 255 255 / 0.35);
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .nils-kit-wizard__nav-item-remove:hover {
    color: #fff;
    background: rgb(255 255 255 / 0.12);
  }

  /*
   * SIDEBAR = SUMMARY — the use-answer line, engine steps only, shown when
   * this.stepAnswers[key] holds a real (non-"Mostrami tutti") tag.
   * Family-colored like the check, but dim until picked/current brightens
   * the item overall.
   *
   * EDITABLE ANSWER [ours] — now a row (text + the same QUICK REMOVE
   * control the pick rows use) instead of a bare text span; the text gets
   * its own min-width: 0 + ellipsis so a long answer truncates instead of
   * pushing the remove control out of the row.
   */
  .nils-kit-wizard__nav-item-answer {
    display: flex;
    align-items: center;
    font-size: 10px;
    font-weight: 400;
    font-style: italic;
    color: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.75);
  }

  .nils-kit-wizard__nav-item-answer-text {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nils-kit-wizard__nav-item-answer[hidden] {
    display: none;
  }

  /* SIDEBAR = SUMMARY — "visited, nothing picked" labeled plainly instead of just reading as dim silence. */
  .nils-kit-wizard__nav-item-skipped {
    font-size: 10px;
    font-weight: 400;
    font-style: italic;
    color: rgb(255 255 255 / 0.3);
  }

  .nils-kit-wizard__nav-item-skipped[hidden] {
    display: none;
  }

  .nils-kit-wizard__nav-item-chevron {
    flex: none;
    display: flex;
    opacity: 0.25;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nils-kit-wizard__nav-item:hover .nils-kit-wizard__nav-item-chevron,
  .nils-kit-wizard__nav-item--current .nils-kit-wizard__nav-item-chevron {
    opacity: 0.8;
    transform: translateX(2px);
  }

  /* Mobile compact trigger — hidden on desktop, see the @media block below. */
  .nils-kit-wizard__nav-compact {
    display: none;
  }

  .nils-kit-wizard__nav-compact[hidden] {
    display: none;
  }

  .nils-kit-wizard__nav-backdrop {
    display: none;
  }

  .nils-kit-wizard__nav-backdrop[hidden] {
    display: none;
  }

  /* ============================================================
     CONTENT — the scrollable right-hand column next to the sidebar.
     ============================================================ */
  /*
   * HEADER REBUILT [ours, 2026-09-17] — this is now `.stage`'s flex-grown,
   * min-height-0 remainder under the bar (see `.stage`'s own doc comment,
   * above), not the app root's own row child: `flex: 1 1 0` + `min-height:
   * 0` replace the old `flex: 1` + `height: 100%`. padding-top drops from
   * the old 76px — which existed only to clear the wizard's own floating
   * close button (BAR REBORN's note, superseded) — to a plain 24px
   * matching the side inset, since the bar above is a real in-flow block
   * now and nothing needs clearing.
   *
   * `overflow-x: hidden` made explicit. `overflow-y: auto` alone leaves
   * `overflow-x` computing to `auto` too (the CSS overflow spec's
   * "unmatched pair" rule) — originally surfaced by the since-removed
   * progress band's own edge-to-edge width bleeding past `.content`'s
   * padding (BAND REMOVED), left in place regardless: this column was
   * never meant to scroll sideways. That same `overflow` is also what
   * makes the bar above structurally unreachable by anything in here.
   */
  .nils-kit-wizard__content {
    flex: 1 1 0;
    min-height: 0;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 24px 60px;
  }

  /*
   * SCROLL CUE, MOBILE-ONLY [WIZARD MOBILE RUN 1] — `scroll-hint` (this
   * element's own tag, inside the paginate block above) is a live scroll listener;
   * a CSS media query can't stop it from computing/writing its own
   * mask-image at any width. This run's own brief is narrow widths only,
   * desktop untouched — `!important` here forces the fade off above the
   * mobile cutoff regardless of what the component computes, so desktop
   * stays pixel-identical to before this run whether or not the content
   * happens to be taller than the viewport there.
   */
  @media (min-width: 641px) {
    .nils-kit-wizard__content {
      mask-image: none !important;
      -webkit-mask-image: none !important;
    }
  }

  /* ============================================================
     STEPS
     ============================================================ */
  /*
   * THE STAGE FILLS [ours] — widened from 820px so a 380px-target card grid
   * actually has room to lay out 3 across (the emptiest step, Brake &
   * clutch fluid) without wrapping to an awkward 2+1. Tuned against that
   * step: 3 × 380px + 2 × 20px gap = 1180px, so 1240px leaves it centered
   * with real margin on both sides rather than touching the container edge.
   */
  .nils-kit-wizard__steps {
    width: 100%;
    max-width: 1240px;
  }

  .nils-kit-wizard__step[hidden] {
    display: none;
  }

  /*
   * MOTION [ours] — entrance-only slide + fade, 220ms on the theme's own
   * --nils-ease (no bounce). Only opacity/transform animate — both
   * compositor-only, neither triggers layout — so there's no jump even
   * though the previous step disappears in the same frame this one starts
   * animating in. See assets/nils-kit-wizard.js's `#transitionToStep` for
   * why this isn't a true two-step crossfade.
   */
  .nils-kit-wizard__step {
    transition: opacity 220ms var(--nils-ease), transform 220ms var(--nils-ease);
  }

  .nils-kit-wizard__step--entering {
    opacity: 0;
    transform: translateX(16px);
  }

  @media (prefers-reduced-motion: reduce) {
    .nils-kit-wizard__step {
      transition: none;
    }
  }

  /*
   * ROOM TEXTURE [ours] — a soft, family-colored glow sitting behind the
   * cards. z-index: -1 (not 0) is load-bearing: a positioned descendant at
   * z-index 0/auto paints ABOVE plain in-flow children, so -1 is what
   * keeps this behind the kicker/cards/footer instead of over them.
   *
   * GRADIENT, NOT A BLURRED PHOTO [ours, 2026-09-10 — scroll-perf fix].
   * This used to be one of the family's own product images (a Liquid
   * `for` loop over every product in the catalog to find a match, ~1200px
   * wide) blown up and blurred 60px at runtime via `filter: blur()`.
   * Traced live (wizard-scroll-perf-2026-09-10/): that filter was ~63% of
   * a real, WebKit-only per-frame scroll cost (rAF deltas up to 462ms
   * during a real scroll gesture on this step, vs. a clean 60fps on
   * Chromium running the identical gesture) — `filter: blur()` forces a
   * full offscreen-buffer render of this element every time it's
   * repainted, and WebKit's own implementation is markedly more expensive
   * here than Chromium's. A `radial-gradient` using this section's own
   * `--tc-rgb` (already set per family regardless of whether a matching
   * product image existed) costs nothing at paint time — no filter, no
   * offscreen buffer, no image decode — and was verified side-by-side
   * against the original on both a strongly-colored family (red) and a
   * neutral one (gray): visually equivalent at the same glance the
   * original was designed for ("visible-but-quiet", never competing with
   * the cards). Screenshots: backdrop-before-*.png vs
   * backdrop-gradient-*.png in the same folder.
   */
  .nils-kit-wizard__step {
    position: relative;
  }

  .nils-kit-wizard__backdrop {
    position: absolute;
    inset: -15%;
    /* LAW 2 LAYERS [ours] — theme's own scale (--layer-lowest), same -1 value as before, now named. */
    z-index: var(--layer-lowest);
    background: radial-gradient(
      ellipse 60% 40% at 50% 20%,
      rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.5) 0%,
      rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.15) 40%,
      transparent 75%
    );
    opacity: 0.35;
    pointer-events: none;
  }

  .nils-kit-wizard__eyebrow {
    margin: 0 0 8px;
    color: rgb(255 255 255 / 0.4);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  /* STEP ZERO */
  .nils-kit-wizard__step--zero {
    padding-top: 80px;
    text-align: center;
  }

  .nils-kit-wizard__zero-title {
    margin: 0;
    font-family: var(--font-heading--family);
    font-style: italic;
    font-weight: 700;
    font-size: 34px;
    text-transform: uppercase;
    color: #fff;
  }

  .nils-kit-wizard__zero-choices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 44px;
  }

  .nils-kit-wizard__zero-choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 180px;
    height: 180px;
    border-radius: 16px;
    border: 2px solid var(--nils-hairline-strong);
    background: rgb(255 255 255 / 0.03);
    color: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  }

  .nils-kit-wizard__zero-choice:hover {
    border-color: var(--nils-red);
    background: rgb(var(--nils-red-rgb) / 0.08);
    transform: translateY(-4px);
  }

  /*
   * NEUTRAL WORDING [ours] — line-height is a fixed 44px on every card's
   * label, matching the base font-size 1:1, regardless of that card's
   * own font-size (the --bicycle modifier below only ever changes font-
   * size, never this). That keeps the label's own box the same height
   * on all three cards even when "Bicycle" renders smaller than "2T"/
   * "4T", so .zero-choice's shared `justify-content: center` centers an
   * identically-tall stack on every card and the sub-label row underneath
   * lands on the same baseline everywhere. white-space: nowrap makes any
   * future too-long word overflow visibly instead of silently wrapping
   * to a second line (which would also break that alignment).
   */
  .nils-kit-wizard__zero-choice-label {
    font-family: var(--font-heading--family);
    font-style: italic;
    font-weight: 700;
    font-size: 44px;
    line-height: 44px;
    white-space: nowrap;
  }

  /*
   * BICYCLE PATH [ours] — "Bicycle" has no short displacement-style code
   * the way "2T"/"4T" do, so it's the label itself; sized down from the
   * shared 44px only as far as needed to fit the full word on one line
   * inside the same 180px box (line-height stays the shared 44px, above
   * — see that rule's own comment for why).
   */
  .nils-kit-wizard__zero-choice--bicycle .nils-kit-wizard__zero-choice-label {
    font-size: 36px;
  }

  .nils-kit-wizard__zero-choice-sub {
    font-size: 12px;
    color: rgb(255 255 255 / 0.5);
  }

  /*
   * STEP MASTHEAD [ours] — replaces the small `.nils-kicker` slash used
   * here since WIZARD BITE ONE. Same construction as `.nils-kicker__inner`
   * / `__bar` / `__fill` (snippets/nils-design-language.liquid): an
   * oversized, skewed flex row (solid bar + fading fill) sitting behind an
   * upright sibling, just built to band width instead of a thin accent.
   * The oversize/skew math (top/bottom overscan, width beyond 100%) is the
   * same technique, scaled to this taller element.
   */
  .nils-kit-wizard__masthead {
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
    padding: 22px 0 22px 32px;
  }

  .nils-kit-wizard__masthead-band {
    position: absolute;
    top: -24px;
    bottom: -24px;
    left: 0;
    width: calc(100% + 60px);
    display: flex;
    transform: skewX(var(--nils-skew));
    transform-origin: top left;
    pointer-events: none;
    z-index: 0;
  }

  .nils-kit-wizard__masthead-band-bar {
    width: 8px;
    flex-shrink: 0;
    background: var(--tc, var(--nils-red));
  }

  /* Fades right so the band reads as a streak under the title, not a block. */
  .nils-kit-wizard__masthead-band-fill {
    flex: 1;
    background: var(--tc, var(--nils-red));
    opacity: 0.12;
    mask-image: linear-gradient(to right, black 0%, black 55%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 0%, black 55%, transparent 100%);
  }

  /* The step name — Cube OT Bold Italic, same face/weight as the product name, spec labels, and every other italic heading in this codebase. */
  .nils-kit-wizard__masthead-title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: var(--font-heading--family);
    font-style: italic;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 0.9;
    font-size: clamp(28px, 3.2vw, 40px);
    color: #fff;
  }

  /*
   * FAMILY TABLE + DESCRIPTORS [ours] — same treatment as the store page's
   * `.nils-shelf__group-descriptor` (sections/nils-store-shelf.liquid):
   * the theme's own --font-size--sm text token and its --opacity-muted-
   * text token over the foreground color, scaled to this taller masthead
   * only by a larger top gap (12px here vs. the store header's 6px, to
   * read as clearly separate from the much bigger title) — same tokens,
   * same quiet/subordinate intent in both places. z-index: 1 to sit above
   * the masthead band like the title does; no line-clamp/nowrap/ellipsis,
   * wraps normally, never truncated.
   */
  .nils-kit-wizard__masthead-descriptor {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    max-width: 640px;
    font-family: var(--font-body--family);
    font-size: var(--font-size--sm);
    color: rgb(var(--color-foreground-rgb) / var(--opacity-muted-text));
  }

  /*
   * EDITABLE ANSWER [ours] — the chip itself is `.nils-shelf__chip` +
   * `--family`, unmodified (same class the card Formulazione tag already
   * reuses, above); only this wrap's spacing and the remove control are
   * new. margin-top pulls it up against the masthead's own 28px
   * margin-bottom so it reads as "under the masthead", not floating.
   */
  .nils-kit-wizard__answer-chip-wrap {
    margin: -12px 0 20px;
  }

  .nils-kit-wizard__answer-chip-wrap[hidden] {
    display: none;
  }

  .nils-kit-wizard__answer-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .nils-kit-wizard__answer-chip-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    cursor: pointer;
    color: inherit;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .nils-kit-wizard__answer-chip-remove:hover {
    color: #fff;
    background: rgb(255 255 255 / 0.15);
  }

  /* ============================================================
     QUESTION LAYER — engine steps only, gates the cards below.
     ============================================================ */
  .nils-kit-wizard__question[hidden],
  .nils-kit-wizard__cards-wrap[hidden] {
    display: none;
  }

  .nils-kit-wizard__question {
    padding-bottom: 28px;
  }

  .nils-kit-wizard__question-title {
    margin: 0 0 16px;
    font-family: var(--font-heading--family);
    font-style: italic;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
  }

  .nils-kit-wizard__question-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nils-kit-wizard__question-choice {
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid var(--nils-hairline-strong);
    background: rgb(255 255 255 / 0.03);
    color: rgb(255 255 255 / 0.8);
    font-family: var(--font-body--family);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  }

  .nils-kit-wizard__question-choice:hover {
    border-color: var(--tc, var(--nils-red));
    background: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.1);
    color: var(--tc, var(--nils-red));
  }

  .nils-kit-wizard__question-choice--all {
    border-style: dashed;
    color: rgb(255 255 255 / 0.5);
  }

  /* ORIGIN ENTRY — "← Cambia risposta" is retired; the new "La tua moto"
     sidebar entry (assets/nils-kit-wizard.js's #buildNav) does its job. */

  /*
   * CARDS — reuses .nils-shelf__card for image/title/subtitle/price/lock.
   * THE STAGE FILLS [ours]: auto-fit (not auto-fill) collapses empty
   * tracks instead of stretching them, and justify-content: center takes
   * over from there — a 3-card step gets 3 real 380px-max columns and
   * centers as a group with balanced margins, instead of either stretching
   * 3 cards edge-to-edge or leaving dead 4th/5th tracks beside them.
   */
  /*
   * LOCK ZONE — grid's default align-items: stretch was forcing every
   * card in a row to match the tallest one. That's harmless by itself,
   * but the moment one card's pills panel (.nils-kit-wizard__pills) is
   * revealed by a selection, that ONE card grows taller, and stretch
   * drags the whole row up to match — every OTHER card in the row then
   * has extra height to give to something, and since
   * .nils-shelf__card-info is flex-grow: 1, that something is card-info,
   * which pushes ITS card-meta (price/lock) further down than the
   * selected card's own card-meta (which sits right above its own
   * revealed pills, not the row's true bottom). align-items: start
   * removes the forced match entirely: every card sizes to its own
   * content, which — thanks to STRICT CARD ZONES/PINNED ZONES already
   * reserving fixed heights for every zone above card-meta — is already
   * identical card to card regardless of pills. A selected card is still
   * free to grow for its own pills; it just no longer distorts its
   * neighbors to do it.
   */
  .nils-kit-wizard__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 380px));
    justify-content: center;
    align-items: start;
    gap: 20px;
  }

  .nils-kit-wizard__card {
    position: relative;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  /*
   * `.nils-shelf__card` sets `display: flex` at the same specificity as the
   * UA `[hidden]` rule — author styles always win that tie, so the impiego
   * filter below needs an explicit, higher-specificity override to actually
   * hide a card. Same recurring pattern as sections/nils-store-shelf.liquid.
   */
  .nils-kit-wizard__card[hidden] {
    display: none;
  }

  /*
   * SUBTITLE RESTORED — the card keeps title + the original
   * .nils-shelf__card-subtitle technical line. WIZARD ROUND SIX adds
   * Ideale per back below it (see .nils-kit-wizard__card-idealeper) rather
   * than replacing it, now that THE STAGE FILLS gives the card room.
   * UNIFORM CARDS — the tag + price/lock pinned to the bottom as ONE group
   * (margin-top: auto on the wrapper, not on the price alone — otherwise
   * only the price jumps down and the tag is left stranded mid-card).
   */
  .nils-kit-wizard__card-meta {
    margin-top: auto;
    padding-top: 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /*
   * THE STAGE FILLS [ours] — title/subtitle grow with the card, scoped to
   * the wizard only (the shared .nils-shelf__card-title/-subtitle classes
   * keep their smaller home-grid sizes). The min-height reservations from
   * STRICT CARD ZONES live in `em` on those shared rules, so they rescale
   * to the new font-size automatically — nothing to duplicate here.
   */
  .nils-kit-wizard__card .nils-shelf__card-title {
    font-size: 18px;
  }

  .nils-kit-wizard__card .nils-shelf__card-subtitle {
    font-size: 14px;
  }

  /*
   * ANSWER LINE — ideale-per is now the card's primary answer, not a
   * secondary near-white line: family color via `--tc` (the same custom
   * property nils-tipologia-color.liquid already computes per step and
   * sets inline on `.nils-kit-wizard__step`, inherited straight down to
   * every card in it — no color hardcoded here), and set larger than the
   * technical subtitle (16px vs. the subtitle's 14px, plus 600 weight for
   * presence) while staying under the 18px title. `min-height` is in em,
   * so bumping font-size alone recomputes the reserved 2-line zone to
   * match — same STRICT CARD ZONES technique as title/subtitle, no
   * separate math needed.
   */
  .nils-kit-wizard__card-idealeper {
    margin-top: 4px;
    color: var(--tc, var(--nils-red));
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    min-height: 2.8em;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /*
   * `.nils-shelf__chip` sets `white-space: nowrap` (fine for its own short
   * category tags); Formulazione values run longer ("100% Sintetico (PAO)
   * con PTFE"). Same equal-specificity/source-order trap as the [hidden]
   * override above — .nils-kit-wizard__card scopes this one higher so it
   * wins regardless of which stylesheet loads first.
   *
   * PINNED ZONES — same fixed-zone recipe as title/subtitle/answer line
   * (STRICT CARD ZONES: explicit line-height so `min-height` is exact,
   * `-webkit-line-clamp` so a long Formulazione value truncates instead
   * of pushing the row taller). This was the one real height-drift left:
   * .nils-kit-wizard__card-meta's own `margin-top: auto` already pins the
   * whole tag+price group to the bottom of the card regardless of tag
   * height (verified in an earlier batch — price/lock lands at an
   * identical bottom position across a row even when one tag wraps to 2
   * lines), so the price/lock row itself needed no change; the tag's own
   * height was the only thing left unbounded.
   */
  .nils-kit-wizard__card .nils-kit-wizard__card-formulazione {
    white-space: normal;
    display: -webkit-box;
    line-height: 1.3;
    min-height: 2.6em;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /*
   * PRICE WORDS [ours] — the same quiet/dim-icon/hover-brighten numbers as
   * the product page's `.nils-specs__value--locked`/`.nils-specs__lock-icon`
   * (snippets/nils-design-language.liquid): muted link text a shade
   * brighter than the icon, no underline, brightens further on hover.
   * Scoped to `.nils-kit-wizard__card` rather than added to the shared
   * `.nils-shelf__lock` rule itself, whose other (icon-only, no link)
   * usages elsewhere are untouched. Font-size/gap are inherited from the
   * card's own `.nils-shelf__card-price` (14px) — already "scaled to card
   * size" for free, same as title/subtitle above.
   */
  .nils-kit-wizard__card .nils-shelf__lock {
    color: rgb(255 255 255 / 0.45);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .nils-kit-wizard__card .nils-shelf__lock:hover {
    color: rgb(255 255 255 / 0.7);
  }

  .nils-kit-wizard__card .nils-shelf__lock svg {
    color: rgb(255 255 255 / 0.35);
  }

  .nils-kit-wizard__card:hover {
    border-color: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.4);
  }

  /*
   * SELECTED-CARD FRAME — the product page's own showcase frame
   * (`.product-information__media media-gallery` in snippets/nils-design-
   * language.liquid): thin border at the same 0.25 alpha, a faint glow at
   * the same 0.1 alpha/30px spread. Unselected cards are untouched — this
   * only overrides the selected one.
   *
   * Same equal-specificity/source-order trap as the [hidden] and chip
   * white-space overrides elsewhere in this file: `.nils-kit-wizard__card
   * --selected` is one class (0,1,0), the exact same weight as
   * `.nils-shelf__card`'s own `border` shorthand in sections/nils-store-
   * shelf.liquid — so which one wins depends on which stylesheet the
   * platform happens to concatenate last, not on which rule is "more
   * specific" to a human reader. The compound selector (both classes) is
   * a real (0,2,0) and wins regardless.
   */
  .nils-kit-wizard__card.nils-kit-wizard__card--selected {
    border-color: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.25);
    box-shadow: 0 0 0 1px rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.25), 0 0 30px rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.1);
  }

  /*
   * The family hairline already exists on every card at rest
   * (.nils-shelf__card::before, muted, brightens on :hover — see
   * sections/nils-store-shelf.liquid). Selection overrides it to the
   * product page's own gradient-fade version (same `::before` element,
   * same media-gallery source) instead of layering a second bar — same
   * compound-selector fix as above, since `::before` inherits the identical
   * one-class-vs-one-class tie against `.nils-shelf__card::before`.
   */
  .nils-kit-wizard__card.nils-kit-wizard__card--selected::before {
    background: linear-gradient(90deg, transparent 10%, rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.5) 50%, transparent 90%);
    opacity: 1;
  }

  /*
   * CONFRONTA STRIP [ours] — both corner controls used to sit
   * position: absolute on top of the card image; the compare chip
   * overlapped the bottle. They're now real flow children of a dedicated
   * strip above the image instead, so nothing overlaps it anymore.
   */
  .nils-kit-wizard__card-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 10px 0;
  }

  /* INFO DOOR [ours] — Info sits beside + Confronta on the left; the pick checkmark keeps the right, unchanged. */
  .nils-kit-wizard__card-strip-left {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /*
   * INFO DOOR [ours] — a real <button>, not a checkbox label like
   * + Confronta, but reusing that control's exact ghost-pill look
   * (.nils-kit-wizard__compare-check-box) so the two read as one family of
   * strip controls. Always active, picked or not — no disabled state.
   */
  .nils-kit-wizard__info-btn {
    cursor: pointer;
  }

  .nils-kit-wizard__info-btn:hover {
    background: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.12);
    border-color: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.4);
    color: var(--tc, var(--nils-red));
  }

  /*
   * AGGIUNGI CONTROL [ours] — same shape as INFO DOOR above: a real
   * <button>, same shared ghost-pill class, its own :hover rule since it
   * isn't wrapped in a `.compare-check` label. `--selected` (toggled by
   * #syncAddBtn, assets/nils-kit-wizard.js, alongside every place that
   * already flips .card--selected) reads "✓ Aggiunto" in the same
   * --tc-tinted outline INFO's own :hover already uses — always-on here
   * rather than hover-only, since it has to read as a state, not a hint.
   */
  .nils-kit-wizard__add-btn {
    cursor: pointer;
  }

  .nils-kit-wizard__add-btn:hover {
    background: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.12);
    border-color: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.4);
    color: var(--tc, var(--nils-red));
  }

  .nils-kit-wizard__add-btn--selected {
    background: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.12);
    border-color: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.4);
    color: var(--tc, var(--nils-red));
  }

  /*
   * PICK POSITION, DESKTOP [WIZARD CARDS RUN 5] — this control used to be
   * `.card-strip`'s own second flex child, placed at the strip's right
   * edge by `justify-content: space-between` against strip-left (base
   * rule, above). Moved to a direct child of the card (markup, above) so
   * mobile can anchor it to the image's own grid row instead (mobile
   * override, below) — `position: absolute` here keeps its DESKTOP
   * position pixel-identical to before the move.
   *
   * MEASURED THREE TIMES — first pass used the RESTING (unselected)
   * state's own `getBoundingClientRect()`, `top: 18.4px; right: 15.4px`
   * from the card's edges, and got it wrong: that box is `transform:
   * scale(0.6)` at rest (below), and `getBoundingClientRect()` reports
   * the box AFTER transform, not the layout position transform is
   * applied to — a scale around the default center origin shifts each
   * edge inward by `(1 - 0.6) / 2 * 22px = 4.4px`. Second pass checked
   * the SELECTED state instead (`scale(1)`, no distortion — also the
   * only state this badge is ever visible in, so it's the one that
   * actually matters), targeting `18.4 - 4.4 = 14px` / `15.4 - 4.4 =
   * 11px` measured — and setting those exact numbers as the CSS
   * `top`/`right` values overshot by 1px on both axes: `.card`'s own
   * 1px border (`.nils-shelf__card`, shared base rule) means `position:
   * absolute` offsets (resolved against the containing block's PADDING
   * box) land 1px further from the edge than the same number measured
   * against `getBoundingClientRect()` (the BORDER box, 1px further out).
   * `top: 13px; right: 10px` — one less each — is what actually
   * reproduces the pre-move `18.4px`/`15.4px` visual position exactly,
   * confirmed live (measured result: `14px`/`11px`, matching target).
   * `.card` is `position: relative` unconditionally (base rule, this
   * file), so this resolves against the card itself at every width; the
   * mobile override (below) replaces top/right, nothing else.
   */
  .nils-kit-wizard__card-pick {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 13px;
    right: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--tc, var(--nils-red));
    color: #fff;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  .nils-kit-wizard__card--selected .nils-kit-wizard__card-pick {
    opacity: 1;
    transform: scale(1);
  }

  /*
   * COMPARE LABEL — the corner control is its own class now, not a reuse
   * of .nils-shelf__compare-check (the home grid's plain circle stays as
   * it is; this is wizard-only). Ghost-button treatment ported from
   * .nils-ph-link (snippets/nils-design-language.liquid — the product
   * page's Contattaci/Scheda tecnica buttons), scaled down from a 14px/
   * 32px CTA to a card-corner pill: same background/border/hover-red
   * language, smaller padding and type. Unlike the home grid there's no
   * compare-mode toggle here — one step's worth of cards is small enough
   * that the control can just always be there.
   */
  .nils-kit-wizard__compare-check {
    position: relative;
    flex: none;
    display: block;
    cursor: pointer;
  }

  .nils-kit-wizard__compare-check input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }

  .nils-kit-wizard__compare-check-box {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.05);
    border: 1px solid rgb(255 255 255 / 0.15);
    color: rgb(255 255 255 / 0.8);
    font-family: var(--font-body--family);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgb(0 0 0 / 0.2);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  /*
   * "+" SPACING [WIZARD CARDS RUN 4] — `.compare-check-box` (above) is
   * `display: inline-flex`; a flex container discards whitespace-only
   * text runs between its own items (the "+" span and the label's own
   * anonymous text item are two separate flex items here), so a trailing
   * space typed inside the "+" span's own text ("+ ") rendered as "+
   * Confronta" with no visible gap — confirmed live, high-DPI screenshot,
   * before this rule. `margin-right` on the span itself isn't subject to
   * that collapsing (it's box spacing, not a text run), and reproduces
   * the original "+ Confronta" gap this had before RUN 3.
   */
  .nils-kit-wizard__compare-check-plus {
    margin-right: 0.3em;
  }

  /* Checked reads the same as .nils-ph-link's own :hover — the selected state stays unmistakably clear. */
  .nils-kit-wizard__compare-check:hover .nils-kit-wizard__compare-check-box,
  .nils-kit-wizard__compare-check input:checked + .nils-kit-wizard__compare-check-box {
    background: rgb(204 0 0 / 0.12);
    border-color: rgb(204 0 0 / 0.4);
    color: #cc0000;
  }

  @media (prefers-reduced-motion: reduce) {
    .nils-kit-wizard__compare-check-box {
      transition: none;
    }
  }

  /* ============================================================
     INFO MODAL SINGLE MODE [ours] — one product renders in the product
     page's own visual language instead of the compare grid.
     ============================================================ */
  .nils-kit-wizard__info-panel {
    padding: 8px 4px 4px;
  }

  /*
   * Frame border + glow — ported verbatim from the product page's own
   * showcase (snippets/nils-design-language.liquid's
   * `.product-information__media media-gallery`), re-scoped to this class
   * since the modal isn't inside that DOM structure. Sizing matches that
   * same file's own 1024px-breakpoint numbers (lines ~1075-1087 there):
   * this modal is narrower than the full product page, so its "tablet"
   * size is the correct fit here, not the full-width desktop one.
   */
  .nils-kit-wizard__info-frame {
    position: relative;
    display: block;
    max-width: 400px;
    overflow: hidden;
    margin: 0 auto 24px;
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.25);
    background: linear-gradient(165deg, rgb(30 30 30 / 0.95), rgb(20 20 20 / 0.98));
    box-shadow:
      0 20px 60px rgb(0 0 0 / 0.4),
      inset 0 1px 0 rgb(255 255 255 / 0.05),
      0 0 30px rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.1);
  }

  .nils-kit-wizard__info-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
      radial-gradient(ellipse at center, transparent 30%, rgb(13 13 13 / 0.7) 100%),
      url({{ 'nils-product-showcase-carbon.jpg' | asset_url }});
    background-size: cover;
    background-position: center;
    pointer-events: none;
  }

  .nils-kit-wizard__info-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 10%, rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.5) 50%, transparent 90%);
  }

  .nils-kit-wizard__info-frame img {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 320px;
    max-height: 420px;
    margin-inline: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgb(0 0 0 / 0.6)) drop-shadow(0 0 20px rgb(var(--nils-red-rgb) / 0.08));
  }

  @media (max-width: 640px) {
    .nils-kit-wizard__info-frame {
      max-width: 100%;
      padding: 24px 20px;
      border-radius: 12px;
    }

    .nils-kit-wizard__info-frame img {
      max-width: 260px;
      max-height: 360px;
    }
  }

  /*
   * TWO COLUMN [ours] — image left, family table right, above the sheet's
   * own narrow breakpoint (640px — the exact width `.nils-shelf__compare-
   * tray--tick` and its slots already switch to their own mobile layout
   * at, sections/nils-store-shelf.liquid; reused, not a new number).
   * `.nils-kit-wizard__info-details` (assets/nils-kit-wizard.js
   * #renderProductInfoSingle) wraps the kicker + specs table as one flex
   * child beside the image — a CSS Grid row-span on the frame instead (no
   * wrapper) left a gap between the kicker and the table whenever the
   * image was taller than the two combined, a spec quirk around how a
   * multi-row-spanning item's size gets distributed across the rows it
   * spans; a plain flex child with no row concept avoids it outright.
   * `align-items: flex-start` is the "vertically top-aligned" ask. The
   * 400px column reuses the frame's own existing `width` below; the 24px
   * gap reuses `.nils-shelf__compare-table`'s own horizontal padding
   * (sections/nils-store-shelf.liquid) — no new spacing value.
   */
  @media (min-width: 641px) {
    .nils-kit-wizard__info-panel {
      display: flex;
      align-items: flex-start;
      gap: 24px;
    }

    .nils-kit-wizard__info-panel .nils-kit-wizard__info-frame {
      flex: none;
      width: 400px;
      margin: 0;
    }

    .nils-kit-wizard__info-panel .nils-kit-wizard__info-details {
      flex: 1 1 auto;
      min-width: 0;
    }
  }

  /*
   * Kicker — `.nils-kicker`/`__inner`/`__bar`/`__fill`/`__text` are global
   * (snippets/nils-design-language.liquid), reused as-is with no new CSS.
   * This scope ported adds only the `--tc`-driven override the product
   * page itself applies (that file's `.product-information .nils-kicker__*`
   * rules), re-scoped from `.product-information` to this class since the
   * modal isn't that ancestor.
   */
  .nils-kit-wizard__info-kicker .nils-kicker__bar {
    background: var(--tc, var(--nils-red));
  }

  .nils-kit-wizard__info-kicker .nils-kicker__fill {
    background: var(--tc, var(--nils-red));
    opacity: 0.1;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .nils-kit-wizard__info-kicker .nils-kicker__text {
    font-family: var(--font-heading--family);
    font-style: italic;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--tc, var(--nils-red));
  }

  /*
   * WAY BACK [ours, RUN — INFO view completeness] — reuses
   * `.nils-shelf__compare-tray-toggle` verbatim (sections/nils-store-
   * shelf.liquid) for the borderless/hover-red "ghost" treatment, same
   * family as the bar's own Mostra/Nascondi button; this modifier only
   * overrides the outer box so it shrinks to its own content instead of
   * stretching to the table's full width the way a plain block-level
   * `display: flex` button otherwise would as the sheet content's first
   * child, and adds the gap below it before the INFO panel starts —
   * `--gap-lg` (1rem/16px), the same theme spacing token this file
   * already reads elsewhere (--nils-kit-nav-width, above), not a new
   * pixel count.
   */
  .nils-kit-wizard__info-back {
    display: inline-flex;
    margin-bottom: var(--gap-lg);
  }

  /*
   * OVERVIEW PROSE [ours, RUN — INFO view completeness] — the product's
   * description (assets/nils-kit-wizard.js reads it from this file's own
   * id="nils-wizard-descriptions" block, same sanitization mechanism as
   * blocks/nils-overview.liquid), styled as sheet body text. No scroll
   * rule of its own: `.nils-shelf__compare-sheet` (sections/nils-store-
   * shelf.liquid) already scrolls its own overflow, so taller INFO
   * content scrolls there for free.
   */
  .nils-kit-wizard__info-description {
    margin-top: var(--gap-lg);
    font-family: var(--font-body--family);
    font-size: 15px;
    color: rgb(255 255 255 / 0.78);
  }

  .nils-kit-wizard__info-description p + p {
    margin-top: 1em;
  }

  /*
   * PILLS — LAW 1 ZONES [ours]: a fixed-height zone like every other card
   * zone, reserved whether or not this product has a pill to show
   * (min-height) and whether or not it's currently revealed (overflow:
   * hidden + a hard max-height instead of -webkit-line-clamp, since pills
   * wrap as flex items, not text — same "clip past a cap" idea as the
   * text zones' line-clamp, just the non-text version of it). 88px fits
   * two full pill-groups (Viscosità + Formato/Imballi) at up to two
   * wrapped rows each for this catalog's most option-heavy product
   * (FORK & FORK X, 7 Viscosità values); anything that ever wrapped
   * further would clip, same tradeoff every other zone already makes.
   */
  .nils-kit-wizard__pills {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 16px 16px;
    min-height: 88px;
    max-height: 88px;
    overflow: hidden;
  }

  /*
   * `[hidden]`'s UA-default `display: none` would collapse the reserved
   * zone above right back to 0 — the exact thing LAW 1 rules out.
   * `visibility: hidden` keeps the box (and its height) in flow while
   * hiding its content and, since visibility inherits, taking every pill
   * button out of hit-testing too — no separate pointer-events rule
   * needed.
   */
  .nils-kit-wizard__pills[hidden] {
    visibility: hidden;
  }

  .nils-kit-wizard__pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .nils-kit-wizard__pill {
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid var(--nils-hairline-strong);
    background: rgb(255 255 255 / 0.03);
    color: rgb(255 255 255 / 0.7);
    font-family: var(--font-body--family);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  }

  .nils-kit-wizard__pill[aria-pressed='true'] {
    border-color: var(--tc, var(--nils-red));
    background: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.15);
    color: var(--tc, var(--nils-red));
  }

  .nils-kit-wizard__pill:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }

  /* STEP FOOTER — Indietro / Salta / Avanti, shared by family steps and the summary. */
  .nils-kit-wizard__step-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--nils-hairline);
  }

  .nils-kit-wizard__step-footer-actions {
    display: flex;
    gap: 12px;
  }

  .nils-kit-wizard__back {
    padding: 8px 0;
    border: none;
    background: none;
    color: rgb(255 255 255 / 0.45);
    font-family: var(--font-body--family);
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .nils-kit-wizard__back:hover {
    color: rgb(255 255 255 / 0.8);
  }

  .nils-kit-wizard__skip {
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--nils-hairline-strong);
    background: transparent;
    color: rgb(255 255 255 / 0.7);
    font-family: var(--font-body--family);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .nils-kit-wizard__skip:hover {
    border-color: rgb(255 255 255 / 0.3);
    color: #fff;
  }

  .nils-kit-wizard__next {
    padding: 12px 26px;
    border-radius: 8px;
    border: none;
    background: var(--tc, var(--nils-red));
    color: #fff;
    font-family: var(--font-body--family);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease;
  }

  .nils-kit-wizard__next:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }

  /* SUMMARY */
  .nils-kit-wizard__summary-title {
    margin: 0 0 24px;
    font-family: var(--font-heading--family);
    font-style: italic;
    font-weight: 700;
    font-size: 26px;
    text-transform: uppercase;
    color: #fff;
  }

  .nils-kit-wizard__summary-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nils-kit-wizard__summary-empty {
    color: rgb(255 255 255 / 0.4);
    font-size: 14px;
  }

  .nils-kit-wizard__summary-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--nils-hairline);
    background: rgb(255 255 255 / 0.02);
  }

  .nils-kit-wizard__summary-item-image {
    flex: none;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgb(255 255 255 / 0.04);
    padding: 6px;
  }

  .nils-kit-wizard__summary-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .nils-kit-wizard__summary-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .nils-kit-wizard__summary-item-family {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--tc, var(--nils-red));
  }

  .nils-kit-wizard__summary-item-title {
    font-family: var(--font-heading--family);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    color: #fff;
  }

  .nils-kit-wizard__summary-item-variant {
    font-size: 12px;
    color: rgb(255 255 255 / 0.5);
  }

  /* QUANTITY RULES [ours] — plain "N pz" when the variant has no B2B
     quantity rule, or "N pz · minimo X, multipli di X" when it does (see
     assets/nils-kit-wizard.js#recordPick / #renderSummary). Same subdued
     tone as -item-variant above; never bold/red — a fact line, not a
     warning. */
  .nils-kit-wizard__summary-item-quantity {
    font-size: 12px;
    color: rgb(255 255 255 / 0.5);
  }

  .nils-kit-wizard__summary-remove {
    flex: none;
    display: flex;
    padding: 6px;
    border: none;
    background: none;
    color: rgb(255 255 255 / 0.4);
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .nils-kit-wizard__summary-remove:hover {
    color: var(--nils-red);
  }

  .nils-kit-wizard__cta {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 10px;
    border: none;
    background: var(--nils-red);
    color: #fff;
    font-family: var(--font-body--family);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .nils-kit-wizard__cta:hover {
    background: rgb(var(--nils-red-rgb) / 0.85);
  }

  .nils-kit-wizard__cta:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .nils-kit-wizard__step--summary .nils-kit-wizard__step-footer {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 16px;
  }

  /* CTA ERROR [ours] — hidden by default; assets/nils-kit-wizard.js
     #addAllToCart fills it with the /cart/add.js response's own (already
     translated) message and unhides it on any failure. */
  .nils-kit-wizard__cta-error {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-error, #ff5a5a);
  }

  .nils-kit-wizard__step--summary .nils-kit-wizard__back {
    align-self: center;
  }

  /*
   * VERTICAL STEP NAVIGATOR [ours] — below 860px the sidebar can't sit
   * next to a usable card grid, so it becomes a compact trigger bar that
   * opens the SAME nav list as a drawer, instead of a second, different
   * component.
   */
  @media (max-width: 860px) {
    .nils-kit-wizard__nav {
      display: none;
      position: fixed;
      inset: 0 auto 0 0;
      /* LAW 2 LAYERS [ours] — theme's own scale (--layer-menu-drawer, a near-literal name match), above the veil below it and everything else in the wizard; unconditional, since closed means display: none regardless. */
      z-index: var(--layer-menu-drawer);
      width: 82vw;
      max-width: 320px;
      box-shadow: 20px 0 60px rgb(0 0 0 / 0.6);
      /*
       * MOBILE DRAWER PANEL [ours] — the drawer had no background of its
       * own: on desktop it's a normal in-flow sibling sitting over the
       * app root's own carbon-textured fill, but here it's `position:
       * fixed` above the (dimmed but not blank) step content, so nothing
       * but the shadow above separated it from the page underneath. Same
       * solid-panel token this codebase already uses for the compare
       * modal's own panel (sections/nils-store-shelf.liquid's
       * .nils-shelf__compare-modal-panel) — reused verbatim, not a new
       * color. The scrollable list inside (.nils-kit-wizard__nav-scroll)
       * already has its own overflow-y: auto + min-height: 0, so it keeps
       * scrolling internally against this panel's fixed height.
       */
      background: rgb(18 18 18 / 0.98);
    }

    .nils-kit-wizard__nav.nils-kit-wizard__nav--open {
      display: flex;
    }

    /*
     * LAW 3 DRAWER [ours] — the drawer's own header row: a small label
     * (reusing the nav's existing aria-label text, "Passaggi" — not new
     * copy) plus the labeled close control the law asks for. "Chiudi" is
     * the exact same word the wizard's own close button already carries
     * as an aria-label; here it's visible text, not just an accessible
     * name, since "controls need words".
     */
    .nils-kit-wizard__nav-header {
      display: flex;
      flex: none;
      align-items: center;
      justify-content: space-between;
      padding: 16px 14px;
      border-bottom: 1px solid var(--nils-hairline);
    }

    .nils-kit-wizard__nav-header-label {
      font-family: var(--font-heading--family);
      font-style: italic;
      font-weight: 700;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: rgb(255 255 255 / 0.5);
    }

    /* Same ghost-button treatment as .nils-kit-wizard__skip — a quiet secondary control, not the primary action in this panel. */
    .nils-kit-wizard__nav-close {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 8px 12px;
      border-radius: 8px;
      border: 1px solid var(--nils-hairline-strong);
      background: transparent;
      color: rgb(255 255 255 / 0.7);
      font-family: var(--font-body--family);
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: border-color 0.2s ease, color 0.2s ease;
    }

    .nils-kit-wizard__nav-close:hover {
      border-color: rgb(255 255 255 / 0.3);
      color: #fff;
    }

    /* MOBILE DRAWER — same scroll/footer split as desktop. Top clearance drops from the old 76px (which was compensating for having no real header at all) to a plain 16px matching the panel's own side/bottom padding, now that the header row above does that job in-flow. */
    .nils-kit-wizard__nav-scroll {
      padding: 16px 14px;
    }

    .nils-kit-wizard__nav-compact {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: 820px;
      padding: 12px 16px;
      margin-bottom: 24px;
      border-radius: 8px;
      border: 1px solid var(--nils-hairline-strong);
      background: rgb(255 255 255 / 0.03);
      color: #fff;
      font-family: var(--font-body--family);
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
    }

    .nils-kit-wizard__nav-compact[hidden] {
      display: none;
    }

    /*
     * KIT COUNTS [ours] — the compact bar's own step-progress label
     * (navCompactLabel) and the "Il tuo kit · N" count badge sit in their
     * own flex row so they read as adjacent, not spread apart by this
     * button's own `justify-content: space-between` (which now has only
     * two direct children again: this wrapper and the chevron).
     */
    .nils-kit-wizard__nav-compact-text {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    /* Neutral, not family-colored — a count, not a family indicator. Same pill/hairline chip tokens as .nils-shelf__chip (border-radius: 999px here since this is a single short number, not a text tag). */
    .nils-kit-wizard__nav-compact-count {
      flex: none;
      padding: 3px 9px;
      border-radius: 999px;
      border: 1px solid var(--nils-hairline-strong);
      background: rgb(255 255 255 / 0.06);
      color: rgb(255 255 255 / 0.75);
      font-size: 11px;
      font-weight: 700;
    }

    .nils-kit-wizard__nav-compact-count[hidden] {
      display: none;
    }

    .nils-kit-wizard__nav-backdrop:not([hidden]) {
      display: block;
      position: fixed;
      inset: 0;
      /* LAW 2 LAYERS [ours] — theme's own scale (--layer-overlay), above the close button, below the drawer panel itself. */
      z-index: var(--layer-overlay);
      background: rgb(0 0 0 / 0.6);
    }
  }

  @media (max-width: 640px) {
    /*
     * BOTTOM CLEARANCE FOR THE FAB [WIZARD CARDS RUN 2] — the chat
     * launcher is now elevated above the wizard at every width (snippets/
     * nils-chat-widget.liquid, ALL WIDTHS); it's fixed bottom-right
     * (right: 16px, bottom: 24px, 56px square, this file's own mobile
     * breakpoint matches the widget's) over `.content`'s own scrolling
     * area, so whatever card or footer button happens to be scrolled to
     * that corner sits underneath it. Found live via the full audit re-
     * run — 244 new severe overlap findings, card price/lock links and
     * card corners covered by the FAB across many family steps. The
     * store's own product page already solves this identical problem
     * (snippets/nils-chat-widget.liquid, PAGE RESERVES SPACE FOR IT) with
     * a flat 96px reserve at the bottom of its own scrollable page — same
     * number reused here, not re-derived, for the same shape of fix:
     * `.content`'s own bottom padding, up from 48px, so its last
     * scrolled-to content (the step-footer's own buttons, same as a
     * card) always clears the FAB's 24px-bottom + 56px-tall footprint
     * with room to spare.
     */
    /*
     * PANEL SIZES TO CONTENT [ours, 2026-09-10 — footer seam/dead-band
     * fix]. Measured live before this fix: `.content` carried a flat
     * `height: 100%` (matching `.nils-kit-wizard`'s own fixed, full-
     * viewport `inset: 0` box, 664px on a 390×844 iPhone 13) REGARDLESS of
     * how tall the current step's actual content was — a short step (e.g.
     * a family's opening usage-filter question, no product cards revealed
     * yet: masthead 133px + question 170px + footer 63px ≈ 422px of real
     * content) still reserved the full 664px, leaving ~110px of the
     * wizard's own plain background below the footer with nothing in it.
     * `align-self: flex-start` opts `.content` out of `.nils-kit-wizard`'s
     * own row-flex `align-items: stretch` default (the actual thing
     * forcing it to fill the full height); `height: auto` lets it size to
     * its own children (nav-compact + the current step) instead;
     * `max-height: 100%` is the upper bound so a step WITH enough content
     * to exceed the viewport (confirmed live: a card-revealed step
     * measured 1956px of content) still caps at the viewport and scrolls
     * internally exactly as before — verified live both ways, every step,
     * before shipping this (mobile-audit/wizard-fix-2026-09-10/). Desktop
     * (≥641px) is untouched — this whole block only applies below 640px,
     * and desktop's own two-pane layout genuinely needs `.content` to
     * fill the full height next to the sidebar.
     *
     * HEADER REBUILT [ours, 2026-09-17] — the app root's row child is
     * `.stage` now (bar + scroller as a column, see its own doc comment),
     * so the sizes-to-content trio (`align-self`/`height`/`max-height`)
     * moved from `.content` onto `.stage`: the stage is what sits in the
     * root's row, sizes to bar + content, and caps at the viewport;
     * `.content` shrinks inside it (`flex: 0 1 auto` + its base rule's
     * `min-height: 0`) and scrolls internally past that cap exactly as
     * before. The old 68px top padding — reserved for the floating close
     * button, like the base rule's 76px — drops to 16px, matching this
     * breakpoint's side inset.
     */
    .nils-kit-wizard__stage {
      align-self: flex-start;
      height: auto;
      max-height: 100%;
    }

    .nils-kit-wizard__content {
      flex: 0 1 auto;
      padding: 16px 16px 96px;
    }

    /* HEADER REBUILT [ours] — matches .content's own 16px side inset at this width, so the bar's visible title/close still line up with the cards beneath it. */
    .nils-kit-wizard__header {
      padding: 14px 16px;
    }

    /*
     * SCROLL CUE, DIRECTION FIX [WIZARD MOBILE RUN 1] — `scroll-hint`
     * (above, `.nils-kit-wizard__content`'s own tag) picks its fade axis
     * by comparing scrollWidth to clientWidth (assets/scrolling.js), and
     * measured live it was picking 'horizontal' here even though the
     * container only ever scrolls vertically: `.nils-kit-wizard__backdrop`
     * (ROOM TEXTURE, above) is a deliberate `inset: -15%` bleed with no
     * overflow:hidden ancestor between it and `.content` — invisible
     * already (`.content`'s own `overflow-x: hidden`, PENDING FIX A's own
     * doc block, already clips it visually) but still counted in
     * `.content`'s native scrollWidth, which is all `scroll-hint` reads.
     * Clipping it one level lower, at the step itself, produces the exact
     * same pixels (nothing between `.step` and `.content` was ever wider
     * than `.content`'s own clip already made visible) while giving
     * `scroll-hint` a true scrollWidth == clientWidth to measure —
     * confirmed live afterward (mobile-audit/measure-card.mjs's own
     * follow-up check): scrollWidth 390 == clientWidth 390, direction
     * correctly reads 'vertical'.
     *
     * OVERFLOW-Y UNMATCHED PAIR [ours, 2026-09-10 — footer seam fix] —
     * `overflow-x: hidden` alone, with `overflow-y` left unset, hits the
     * CSS Overflow spec's own "unmatched pair" rule (the exact same
     * gotcha `.content`'s own BAR REBORN comment above already warns
     * about): the browser silently computes `overflow-y` as `auto`
     * instead of the `visible` it defaults to everywhere else — confirmed
     * live via `getComputedStyle`, and confirmed it is NOT fixable by
     * re-specifying `overflow-y: visible` on this same element (the spec
     * rule re-applies to that too — 'visible' paired with a non-visible
     * axis also resolves to 'auto'). In practice `.step` never actually
     * NEEDS its own scroll (`.content` above is the one true scroll
     * surface, and `.step` was already confirmed live to size to its own
     * content correctly on its own) — the only thing that forced `auto`
     * ever turned into a REAL, if small, internal scroll was
     * `.nils-kit-wizard__backdrop`'s own deliberate `inset: -15%` bleed
     * (ROOM TEXTURE, above) being counted toward `.step`'s scrollHeight —
     * ~63px live on a 422px-tall step, a decorative, never-meant-to-be-
     * seen overflow, not real content. That phantom ~63px of internal
     * scroll is what painted a visible native WebKit scrollbar down
     * `.step`'s own right edge, which is what actually read as "its own
     * outlined panel" in the reported screenshot — not an explicit
     * border/background anywhere (the footer's own CSS, below, was
     * already just a plain `border-top` divider). Giving `overflow-y` an
     * explicit, MATCHED `hidden` (rather than leaving it to the spec's
     * `auto` fallback) removes the phantom scrollbar entirely — `.step`
     * was already proven to size to its real content on its own, so
     * nothing legitimate is ever clipped by this.
     */
    .nils-kit-wizard__step {
      overflow-x: hidden;
      overflow-y: hidden;
    }

    .nils-kit-wizard__zero-choices {
      flex-direction: row;
    }

    .nils-kit-wizard__zero-choice {
      width: 140px;
      height: 140px;
    }

    /*
     * BICYCLE LABEL, MOBILE [WIZARD MOBILE RUN 1] — measured live at this
     * tile's own mobile size (140px, above): the shared 36px size (BICYCLE
     * PATH, above) renders "BICYCLE" at 142.9px, overflowing the 140px
     * tile by 1.5px each side on every width/locale this run tested (the
     * word itself is the same literal string regardless of locale) — a
     * real, if small, overflow, not a rounding artifact. 33px measured
     * live afterward at 131px, a real margin inside the 140px tile. "2T"/
     * "4T" (shared 44px size, unchanged) were checked the same way at all
     * three widths in all four locales and never overflow their tile; the
     * three tiles' own sub-labels (nils.wizard.*_sub) were checked too —
     * widest is "Motor de cuatro tiempos" (es) at 124px, still inside the
     * 140px tile with room to spare — no other tile needed a change.
     */
    .nils-kit-wizard__zero-choice--bicycle .nils-kit-wizard__zero-choice-label {
      font-size: 33px;
    }

    /*
     * FIELD-BAND ALIGNMENT [WIZARD CARDS RUN 3] — supersedes RUN 2's
     * `align-items: stretch` + `.card-info`'s `flex-grow: 1` +
     * `.card-meta`'s `margin-top: auto` mechanism (all three explicitly
     * removed below, at each rule's own mobile override — nothing here
     * fights the old mechanism, because the old mechanism no longer
     * applies at this width). That trio matched CARD HEIGHTS overall but
     * only pinned the tag+price group to a shared bottom edge; a card
     * with a one-line title still let its own subtitle/ideale-per/tag/
     * price slide up to meet it, so cards in the same row didn't share a
     * title band, a subtitle band, etc. — only a shared total height and
     * a shared floor.
     *
     * CSS subgrid replaces it: `.nils-kit-wizard__card` becomes a grid
     * (not flex) with `grid-template-rows: subgrid`, spanning 7 row
     * tracks this outer grid generates per visual row of cards (`grid-
     * auto-rows`, below) — strip / image / title / subtitle / ideale-per
     * / tag / price, in that markup order (Part A's own dump). Every
     * row track sizes to its OWN tallest occupant across BOTH cards in
     * that visual row, because subgrid rows are the SAME tracks, not
     * copies — that's the whole mechanism, no JS measurement needed. The
     * chain has to be unbroken (Part A's own warning): `.nils-shelf__
     * card-info` (wraps title/subtitle/ideale-per/tag+price) and `.nils-
     * kit-wizard__card-meta` (wraps tag+price) both become `subgrid`
     * too, each spanning exactly the rows its own children occupy —
     * skipping either would leave its children sized by ordinary content
     * flow again, not bound to the shared tracks.
     *
     * `.nils-kit-wizard__pills` (LAW 1's own fixed-height zone) is the
     * card's 4th direct grid child, an 8th track alongside the 7 shared
     * bands above — RUN 5's own fix (below); RUN 3 originally left it
     * out of the subgrid entirely as a "per-card-only implicit row",
     * which turned out wrong (see PILLS OVERLAP, below).
     */
    .nils-kit-wizard__cards {
      grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
      grid-auto-rows: auto auto auto auto auto auto auto auto;
      gap: 10px;
    }

    .nils-kit-wizard__cards .nils-kit-wizard__card {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 8;
    }

    .nils-kit-wizard__card .nils-kit-wizard__card-strip {
      grid-row: 1;
    }

    .nils-kit-wizard__card .nils-shelf__card-image {
      grid-row: 2;
    }

    /*
     * PICK POSITION, MOBILE [WIZARD CARDS RUN 5] — `.card-pick` (base
     * rule, above) is `position: absolute` with a card-relative desktop
     * offset; overridden here to anchor to the product image's own row
     * instead. `.card` is `display: grid; grid-template-rows: subgrid`
     * (above) — an absolutely-positioned element that is itself a DIRECT
     * grid child (markup, above: pick now is one) resolves `top`/`right`
     * against its OWN specified `grid-row`'s area, not the whole card
     * (per spec: an abspos grid item's containing block is its grid
     * area when one is given) — this is exactly why the markup move was
     * needed, not optional: nested inside `.card-strip` as it was
     * before, `grid-row` on it would have done nothing (only direct grid
     * children get a grid area as their containing block). `grid-row: 2`
     * matches `.card-image`'s own row exactly, so `top`/`right` here are
     * genuinely "inset from the image's own corner", correct regardless
     * of the strip's own row-1 height (which varies with the chip-wrap
     * state above it) — no hardcoded card-relative offset could do that
     * reliably across widths/locales. 8px keeps it clear of the image's
     * own edge without covering the packshot itself, which `object-fit:
     * contain` (base image rule) already keeps inset from the tile's own
     * corners on every product.
     */
    .nils-kit-wizard__card-pick {
      grid-row: 2;
      top: 8px;
      right: 8px;
    }

    /*
     * `.nils-shelf__card-info`'s base rule (sections/nils-store-shelf.
     * liquid) is `display: flex; flex-direction: column; flex-grow: 1` —
     * the `flex-grow: 1` half of the superseded mechanism. Overridden
     * wholesale here rather than patched, since `display: grid` makes
     * the flex properties moot anyway. Compound selector wins over the
     * shared bare rule regardless of stylesheet order (same trap as
     * every other wizard-scoped override of a shared class in this
     * file).
     */
    .nils-kit-wizard__card .nils-shelf__card-info {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: 3 / span 5;
      gap: 4px;
    }

    .nils-kit-wizard__card .nils-shelf__card-title {
      grid-row: 1;
    }

    .nils-kit-wizard__card .nils-shelf__card-subtitle {
      grid-row: 2;
    }

    .nils-kit-wizard__card .nils-kit-wizard__card-idealeper {
      grid-row: 3;
    }

    /*
     * `.nils-kit-wizard__card-meta`'s base rule (this file) is `margin-
     * top: auto` (the bottom-pin half of the superseded mechanism) on a
     * `flex-direction: column` box — both moot under subgrid, both
     * overridden here. Same-file, later in cascade, no specificity tricks
     * needed against the base rule the way the shared classes above do.
     */
    .nils-kit-wizard__card-meta {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: 4 / span 2;
      margin-top: 0;
      padding-top: 0;
      gap: 0;
    }

    .nils-kit-wizard__card-meta .nils-kit-wizard__card-formulazione {
      grid-row: 1;
    }

    .nils-kit-wizard__card-meta .nils-shelf__card-price {
      grid-row: 2;
    }

    /*
     * PILLS OVERLAP [WIZARD CARDS RUN 5] — reproduced first, then
     * diagnosed before any fix: a selected has_pills card's pills panel
     * (Formato/Viscosità buttons) rendered ON TOP of the tag+price row
     * instead of below it. `.pills` was `position: static` (normal
     * flow, not the cause) and LAW 1's own 88px/0px constant height was
     * genuinely holding (`min-height`/`max-height: 88px`, unchanged,
     * confirmed live: `getBoundingClientRect().height` measured exactly
     * 88 on a selected card, every time). The actual cause: RUN 3 gave
     * `.card` only `grid-row: span 7` (7 tracks, matching the 7 SHARED
     * bands), so `.pills`'s own `grid-row: 8` — one line past the
     * subgrid's own inherited 7 tracks — had no real track to land in;
     * the browser fell back to an ad-hoc implicit row that, measured
     * live, ended up occupying the SAME vertical space as the price
     * row rather than a genuinely new one below it (`.card-meta`'s own
     * bottom and `.pills`'s own bottom landed on the identical pixel).
     * `.card` now spans 8 tracks (`grid-auto-rows`, above, also grown to
     * 8), so `.pills` sits in a real, explicit 8th subgrid track — no
     * clamping involved, and RUN 3's own 7-band alignment is untouched
     * (title/subtitle/ideale-per/tag/price still occupy exactly the
     * same 5 rows they always did, within `.card-info`'s own span,
     * unchanged below). The card's own height now includes this real
     * track, so a selected card genuinely grows to hold its pills
     * instead of overlapping them — confirmed live and by this run's
     * own automated re-check (see PROVE).
     */
    .nils-kit-wizard__card .nils-kit-wizard__pills {
      grid-row: 8;
    }

    /*
     * AGGIUNGI, MOBILE [WIZARD CARDS RUN 2] — confirmed in code (assets/
     * nils-kit-wizard.js): the card itself carries `card.addEventListener
     * ('click', () => this.#selectCard(step, card))`, the exact same call
     * `+ Aggiungi`'s own click handler makes — tapping the card body
     * already adds the product. At two mobile columns the strip's three
     * controls (Info / + Confronta / + Aggiungi) don't fit; Aggiungi is
     * the redundant one here, not Info or Confronta, so it's hidden
     * rather than shrunk — Info/Confronta keep their existing size
     * exactly. INFO already called `event.stopPropagation()` in its own
     * click handler; + Confronta's own checkbox did too (assets/nils-
     * compare-engine.js) but its <label> did not — a label click is a
     * separate event from the synthetic click label→checkbox delegation
     * fires on the input, and it was still bubbling to the card, silently
     * adding the product too. Found live while confirming this run's own
     * "tapping a button doesn't also add" requirement; fixed in assets/
     * nils-kit-wizard.js (CONFRONTA LABEL) with the same stopPropagation
     * the label's own checkbox already had, not scoped to mobile since
     * the bug wasn't either.
     */
    .nils-kit-wizard__add-btn {
      display: none;
    }

    /*
     * CONFRONTA "+", MOBILE ONLY [WIZARD CARDS RUN 4] — RUN 3 removed the
     * "+" from this label unconditionally (Liquid literal text, not a
     * locale value); it should only be gone on mobile. The "+ " prefix
     * now lives in its own span (markup, above) INSIDE the label, so the
     * rendered string is identical either way ("+ Confronta" desktop,
     * "Confronta" mobile) with no locale key touched. Hidden here, not
     * removed, so desktop (this rule doesn't apply past 640px) never
     * sees a layout shift from a removed-then-restored node.
     */
    .nils-kit-wizard__compare-check-plus {
      display: none;
    }

    /*
     * CHIPS HORIZONTAL [WIZARD CARDS RUN 3, RE-MEASURED RUN 4] — Part A's
     * own measurement at 360px, structural (independent of chip
     * padding): the strip's own content width (157px) minus its padding
     * (20px) minus the gap to the pick-checkmark (8px) minus the
     * checkmark's own always-reserved LAYOUT box (22px, LOCK ZONE — its
     * rendered box measures smaller at rest, 13.2px, only because
     * `transform: scale(0.6)` shrinks the PAINTED box; transforms don't
     * shrink what flexbox actually reserves for it) leaves 107px at
     * 360px for INFO + Confronta together (grows with the card at wider
     * mobile widths, since the card itself does).
     *
     * RUN 3 cut this chip's padding from 10px to 6px per side at every
     * mobile width. RUN 4 re-measured per width, live, at both 10px and
     * 6px (all after `document.fonts.ready` — two early passes without
     * it gave inconsistent, unusable numbers, same trap as RUN 3 hit):
     *
     *   360px: wraps at 10px AND at 6px — the cut buys nothing here.
     *   390px: wraps at 10px AND at 6px — the cut buys nothing here either.
     *   414px: wraps at 10px, FITS ONE LINE at 6px — the cut is what
     *          makes the difference at this width specifically.
     *
     * So the padding cut is restored to the shared base rule's own 10px
     * (`.nils-kit-wizard__compare-check-box`, above) at 360-390px — no
     * override needed there, this simply doesn't touch it — and kept at
     * 6px only in the narrower range where it actually changes the
     * outcome: `min-width: 400px` (391px+, clear of 390 which measured
     * unchanged) up to this file's own 640px mobile cutoff. Neither
     * chip's font was shrunk; the checkmark was not moved. `flex-wrap:
     * wrap` (below) is the safety net for the widths where neither
     * padding value fits.
     */
    @media (min-width: 400px) {
      .nils-kit-wizard__compare-check-box {
        padding-left: 6px;
        padding-right: 6px;
      }
    }

    /*
     * DETERMINISTIC WRAP [WIZARD CARDS RUN 4] — `flex-wrap: wrap` alone
     * (RUN 2/3) decides per-row whether INFO + Confronta fit by comparing
     * their own natural width against `.card-strip-left`'s own IMPLICIT
     * flex-basis — normally correct, but found live (this run's own
     * verification, DE @ 360px): two specific cards out of a full
     * family-step grid rendered on one line anyway and overflowed the
     * card by 1.73px, while every other identical-markup, identical-
     * label card in the same step correctly wrapped. Root cause: a
     * `repeat(auto-fill, minmax(130px, 1fr))` column's fractional pixel
     * width isn't guaranteed identical row-to-row (rounding varies with
     * how many implicit rows the subgrid has generated by that point),
     * so the implicit flex-basis calculation those two rows landed on
     * came out a hair wider than the rest — enough to flip the wrap
     * decision without actually having the room.
     *
     * FIRST ATTEMPT, DIDN'T WORK — `max-width: calc(100% - 30px)`:
     * `getComputedStyle` kept returning the literal `calc(...)` string
     * instead of a resolved px value on the exact two cards that were
     * overflowing, meaning the percentage basis (this row's own
     * containing block) was indefinite there specifically — plausibly a
     * subgrid interaction (`.card` is `grid-template-rows: subgrid`,
     * several levels up), not worth chasing further. `flex: 1 1 0%` +
     * `min-width: 0` sidesteps the question entirely: the flex algorithm
     * itself computes "whatever's left after `.card-pick`'s own fixed
     * `flex: none; width: 22px`" (above), with no percentage resolution
     * involved — `min-width: 0` is what actually lets it shrink below
     * its children's natural combined width, since a flex item's default
     * `min-width: auto` would otherwise floor it there regardless of
     * `flex-shrink`. Re-verified after: 0 overflow findings across all 4
     * locales / 3 widths / every family step in both paths, including
     * the two DE @ 360px cards that exposed this.
     */
    .nils-kit-wizard__card-strip-left {
      flex: 1 1 0%;
      min-width: 0;
      flex-wrap: wrap;
      row-gap: 6px;
    }

    /*
     * CARD HEIGHT, MOBILE [WIZARD MOBILE RUN 1] — wizard-audit/REPORT.md:
     * every family step past the first is taller than the viewport at all
     * 12 width/locale combos (up to 4397px against ~850px of screen). The
     * step itself is mostly a grid of these cards; four independent,
     * measured cuts to the card's OWN height below (mobile-audit/measure-
     * card.mjs — full box+gap dump of a live card; mobile-audit/measure-
     * zones.mjs — natural, unclamped height of every title/subtitle/
     * ideale-per/formulazione zone on every product card, all 4 locales,
     * every family step, saved to mobile-audit/zone-measurements.json).
     * Each compound selector below scopes to `.nils-kit-wizard__card` so
     * only the wizard's own cards change — every one of these classes is
     * shared with the store's own product grid (sections/nils-store-
     * shelf.liquid), which this run does not touch.
     */

    /*
     * IMAGE ZONE — a forced 1:1 square at the card's own mobile width
     * (measured live: 172px square at 390px/2-col). `object-fit: contain`
     * (base rule, above) never crops, so a shorter box just renders a
     * smaller bottle in more letterboxing, nothing is lost. 4:3 instead
     * of 1:1 at this card width: 172px -> 129px, saves 43px on every
     * card, mobile only.
     */
    .nils-kit-wizard__card .nils-shelf__card-image {
      aspect-ratio: 4 / 3;
    }

    /*
     * TITLE ZONE [WIZARD CARDS RUN 3] — found while verifying "no text
     * clipping anywhere" at all 3 widths (this run's own checker;
     * RUN 1's own title measurement only ever checked 390px, where 2
     * lines genuinely was enough for the whole catalog — a real gap in
     * that measurement, not something this run introduced). At 360px
     * specifically, "SPECIAL CLEANER SPRAY" needs 3 lines (scrollHeight
     * 70px against the base rule's 2-line/47px reservation) and
     * "TRANSMISSION" clips 2px off its own second line. Same fix as
     * every other zone in this file: un-clamp, 1-line minimum so a short
     * title doesn't collapse, no cap — safe now in a way it wasn't
     * before subgrid (above): a taller title just grows that row's own
     * title band, same as every other field, instead of pushing the
     * card's total height out of sync with its row-mate.
     */
    .nils-kit-wizard__card .nils-shelf__card-title {
      display: block;
      min-height: 1.3em;
      -webkit-line-clamp: unset;
      overflow: visible;
    }

    /*
     * SUBTITLE ZONE — the store's own mobile rule (sections/nils-store-
     * shelf.liquid, SUBTITLE ZONE MOBILE) reserves a hard 3-line clamp
     * here for its OWN grid's narrower mobile columns; that bare selector
     * reaches the wizard's cards too since the class is shared. Measured
     * live across all 200 wizard product cards / 4 locales (mobile-audit/
     * zone-measurements.json): 60% need 0-1 lines, only one product in
     * the whole catalog ever needs the full 4 (a real gap the 3-line
     * clamp already left, unrelated to this run) — a flat 3-line
     * reservation is the wrong tool for that spread. Natural height
     * instead: 1-line minimum so a short subtitle doesn't collapse to
     * nothing, no clamp/cap, so every card pays for its own real content
     * instead of everyone paying the rare outlier's height. The compound
     * selector wins over the store's bare `.nils-shelf__card-subtitle`
     * regardless of stylesheet load order (same specificity trap as
     * `.nils-kit-wizard__card .nils-shelf__card-subtitle`'s own font-size
     * rule, above — one class vs two).
     */
    .nils-kit-wizard__card .nils-shelf__card-subtitle {
      display: block;
      min-height: 1.4em;
      -webkit-line-clamp: unset;
      overflow: visible;
    }

    /*
     * IDEALE PER ZONE — was a hard 2-line clamp (base rule, above).
     * Measured live: 10/200 cards across all 4 locales need a genuine 3rd
     * line — "Frizioni a bagno d'olio (cambio separato)" among them, the
     * exact clipped example wizard-audit/severe-digest-table.md flagged —
     * and were being truncated (overflow: hidden past the clamp). Un-
     * clamped, 1-line minimum (the common case: 103/200 cards need
     * exactly 1 line). Fixes the reported truncation and nets shorter on
     * average, not taller — most cards no longer pay for a 2nd line they
     * never used.
     */
    .nils-kit-wizard__card-idealeper {
      display: block;
      min-height: 1.4em;
      -webkit-line-clamp: unset;
      overflow: visible;
    }

    /*
     * FORMULAZIONE CHIP ZONE — same fix, same measured source: 47/200
     * cards need a genuine 3rd line ("100% Sintetico (PAO) con PTFE" and
     * similar) past the base rule's 2-line clamp and were being cut.
     * Un-clamped, 1-line minimum.
     */
    .nils-kit-wizard__card .nils-kit-wizard__card-formulazione {
      display: block;
      min-height: 1.3em;
      -webkit-line-clamp: unset;
      overflow: visible;
    }

    /*
     * PILLS ZONE — LAW 1 (top of file) reserves a fixed 88px on every
     * card so a card's own pill reveal never shifts its neighbors —
     * correct for a card that HAS pills to reveal. A card with none
     * (`data-has-pills="false"`: measured live, 29 of the 44 products
     * across the 2T path's own 9 family steps) will never show this zone
     * at all, selected or not, so the reservation is pure dead space on
     * exactly those cards. Scoped to the attribute so cards that DO have
     * pills keep the full LAW 1 reservation, unchanged — no risk of a
     * layout jump on selection for those.
     */
    .nils-kit-wizard__card[data-has-pills='false'] .nils-kit-wizard__pills {
      min-height: 0;
      max-height: 0;
      padding: 0;
    }

    .nils-kit-wizard__step-footer {
      flex-wrap: wrap;
      gap: 12px;
    }
  }
/* END_SECTION:nils-kit-wizard */

/* START_SECTION:nils-media (INDEX:29) */
/* HERO — values copied from sections/nils-hero.liquid (its own style block only loads with that section). */
  .nils-media-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 384px;
    padding-inline: var(--page-margin, 5%);
  }
  .nils-media-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  .nils-media-hero__inner {
    position: relative;
    z-index: 3;
    height: 100%;
    max-width: var(--page-content-width, 90rem);
    margin-inline: auto;
  }
  .nils-media-hero__title {
    position: absolute;
    left: 0;
    bottom: 64px;
    margin: 0;
    font-family: 'Cube OT', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 80px;
    line-height: 80px;
    letter-spacing: 6.4px;
    text-transform: uppercase;
    color: rgb(235 235 235);
  }
  .nils-media-hero__subtitle {
    position: absolute;
    left: 0;
    top: calc(100% - 44px);
    margin: 0;
    max-width: 560px;
    font-family: var(--font-body--family);
    font-size: 15px;
    line-height: 1.5;
    color: rgb(255 255 255 / 0.65);
  }
  .nils-media-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 16%;
    display: block;
  }
  .nils-media-hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(rgba(0, 0, 0, 0) min(95%, calc(-2.8% + 12.7vw)), rgb(0, 0, 0) 100%);
  }
  @media screen and (min-width: 810px) and (max-width: 1439px) {
    .nils-media-hero {
      height: 400px;
    }
    .nils-media-hero__media::after {
      background: linear-gradient(rgba(0, 0, 0, 0) 41.25%, rgb(0, 0, 0) 100%);
    }
    .nils-media-hero__title {
      bottom: 80px;
    }
    .nils-media-hero__subtitle {
      top: calc(100% - 60px);
    }
  }
  @media screen and (max-width: 809px) {
    .nils-media-hero {
      height: 286px;
    }
    .nils-media-hero__media::after {
      background: linear-gradient(rgba(0, 0, 0, 0) calc(13.6% + 12.51vw), rgb(0, 0, 0) 100%);
    }
    .nils-media-hero__title {
      font-size: 42px;
      line-height: 42px;
      letter-spacing: 3.36px;
    }
    .nils-media-hero__subtitle {
      right: 0;
      max-width: none;
      font-size: 13px;
      line-height: 1.4;
    }
  }

  /* BODY — the store's own .nils-shelf container; the form keeps the request page's 760px column. */
  .nils-media__request {
    max-width: 760px;
    margin-top: 28px;
  }
  .nils-media__request[hidden] {
    display: none;
  }
  /* ACTION ROW — the source row sits in .nils-richiedi-accesso__inner (text-align: left). "Request media access" is a
     <button>: the browser gives buttons line-height normal and text-align center, so both are handed back to what the
     source <a> inherits (measured: otherwise 20.8px vs normal, left vs center). */
  .nils-media__actions {
    text-align: left;
  }
  .nils-media__actions button.nils-btn {
    line-height: inherit;
    text-align: inherit;
  }

  /* State 3: the back chip row sits above the section switch, the switch's own 28px below it. */
  .nils-media[data-media-state='in'] .nils-media__actions {
    margin-bottom: 28px;
  }

  /* SECTION SWITCH — Catalogo's box (.nils-shelf__catalogue-btn); selected = the store view toggle's pressed red. */
  .nils-media__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
  }
  .nils-media__tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 8px;
    border: 1px solid var(--nils-hairline-strong);
    background: transparent;
    color: rgb(255 255 255 / 0.8);
    font-family: var(--font-body--family);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  }
  .nils-media__tab:hover {
    border-color: rgb(var(--nils-red-rgb) / 0.4);
    color: #fff;
  }
  .nils-media__tab[aria-selected='true'] {
    background: var(--nils-red);
    border-color: var(--nils-red);
    color: #fff;
  }
  .nils-media__panel[hidden] {
    display: none;
  }
  /* SECTIONS [redesign] — heading = the wizard eyebrow (.nils-media-piece__title below); 40px between sections. */
  .nils-media-section + .nils-media-section {
    margin-top: 40px;
  }

  /* POSTS — 4 columns inside the store's content width, 2 at phone widths (the store grid's own 640px step).
     Gap and corner radius = the store cards (.nils-shelf__grid 20px / 12px, .nils-shelf__card var(--nils-radius)). */
  .nils-media-posts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  .nils-media-post {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    text-decoration: none;
    color: #fff;
  }
  .nils-media-post__frame {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    border-radius: var(--nils-radius);
    overflow: hidden;
    border: 1px solid var(--nils-hairline);
    background: linear-gradient(165deg, rgb(30 30 30 / 0.95), rgb(20 20 20 / 0.98));
    transition: border-color 200ms ease, box-shadow 200ms ease;
  }
  .nils-media-post__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 200ms ease;
  }
  .nils-media-post:hover .nils-media-post__frame,
  .nils-media-photo__link:hover .nils-media-photo__frame {
    border-color: rgb(var(--nils-red-rgb) / 0.5);
    box-shadow: 0 0 24px rgb(var(--nils-red-rgb) / 0.18);
  }
  .nils-media-post:hover .nils-media-post__frame img,
  .nils-media-photo__link:hover .nils-media-photo__frame img {
    transform: scale(1.05);
  }
  .nils-media-post__icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    color: #fff;
    filter: drop-shadow(0 1px 3px rgb(0 0 0 / 0.55));
    pointer-events: none;
  }
  .nils-media-post__line {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: var(--font-body--family);
    font-size: 12px;
    line-height: 1.4;
    color: rgb(255 255 255 / 0.65);
  }

  /* PRODUCT PHOTOS — smaller square tiles, 6 per row (3 at phone widths), store card background and hairline. */
  .nils-media-photos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
  }
  .nils-media-photo__link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    text-decoration: none;
    color: #fff;
  }
  .nils-media-photo__frame {
    display: block;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    padding: var(--padding-lg);
    border-radius: var(--nils-radius);
    overflow: hidden;
    border: 1px solid var(--nils-hairline);
    background: linear-gradient(165deg, rgb(30 30 30 / 0.95), rgb(20 20 20 / 0.98));
    transition: border-color 200ms ease, box-shadow 200ms ease;
  }
  .nils-media-photo__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 200ms ease;
  }
  .nils-media-photo__name {
    font-family: var(--font-heading--family);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ONE POST IN THE OVERLAY — media beside its caption on wide screens, stacked on narrow ones. */
  .nils-media-post-view {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
  }
  .nils-media-post-view__media {
    flex: 0 1 auto;
    width: min(100%, 520px, calc((100dvh - 230px) * 0.75));
    min-width: 0;
  }
  .nils-media-post-view__media--reel {
    width: min(100%, 400px, calc((100dvh - 230px) * 0.5625));
  }
  .nils-media-post-view .nils-media-item--reel {
    max-width: none;
  }
  .nils-media-post-view .nils-media-caption {
    flex: 1 1 320px;
    max-width: 440px;
    margin-top: 0;
  }

  /* CAROUSEL VIEWER — one page at a time, swipe (scroll snap), arrows, dots, n/total. */
  .nils-media-carousel__viewport {
    position: relative;
  }
  .nils-media-carousel__track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    outline: none;
  }
  .nils-media-carousel__track::-webkit-scrollbar {
    display: none;
  }
  .nils-media-carousel__slide {
    flex: 0 0 100%;
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .nils-media-carousel__slide .nils-media-item__frame img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
  }
  .nils-media-carousel__count {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgb(0 0 0 / 0.6);
    color: #fff;
    font-family: var(--font-body--family);
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
  }
  .nils-media-carousel__arrow {
    position: absolute;
    top: calc((100% - 56px) / 2);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.9);
    color: #111;
    box-shadow: 0 1px 4px rgb(0 0 0 / 0.4);
    cursor: pointer;
    transform: translateY(-50%);
  }
  .nils-media-carousel__arrow[hidden] {
    display: none;
  }
  .nils-media-carousel__arrow--prev {
    left: 10px;
  }
  .nils-media-carousel__arrow--next {
    right: 10px;
  }
  .nils-media-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
  }
  .nils-media-carousel__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.3);
    cursor: pointer;
  }
  .nils-media-carousel__dot[aria-current='true'] {
    background: var(--nils-red);
  }

  .nils-media__empty {
    margin: 0;
    font-family: var(--font-body--family);
    font-size: 15px;
    color: rgb(255 255 255 / 0.65);
  }

  /* OVERLAY — kit wizard root/stage/header/content values (sections/nils-kit-wizard.liquid). */
  .nils-media-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    background-color: #08080a;
    background-image:
      radial-gradient(ellipse at 50% 0%, rgb(255 255 255 / 0.035) 0%, transparent 70%),
      repeating-linear-gradient(0deg, transparent 0px, transparent 3px, rgb(255 255 255 / 0.018) 3px, rgb(255 255 255 / 0.018) 4px),
      repeating-linear-gradient(90deg, transparent 0px, transparent 3px, rgb(255 255 255 / 0.018) 3px, rgb(255 255 255 / 0.018) 4px);
    background-size: 100% 100%, 4px 4px, 4px 4px;
    overflow: hidden;
  }
  .nils-media-overlay[hidden] {
    display: none;
  }
  .nils-media-overlay__wash {
    position: fixed;
    inset: 0;
    z-index: var(--layer-lowest);
    pointer-events: none;
    background: linear-gradient(135deg, rgb(var(--nils-red-rgb) / 0.07), transparent 60%);
  }
  .nils-media-overlay__stage {
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .nils-media-overlay__header {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background: rgb(18 18 18);
    border-bottom: 1px solid var(--nils-hairline);
  }
  .nils-media-overlay__title {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--nils-red);
  }
  .nils-media-overlay__close {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--variant-picker-button-radius);
    border: 1px solid var(--nils-hairline-strong);
    background: transparent;
    color: rgb(255 255 255 / 0.7);
    font-family: var(--font-body--family);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
  }
  .nils-media-overlay__close:hover {
    border-color: rgb(255 255 255 / 0.3);
    color: #fff;
  }
  .nils-media-overlay__content {
    flex: 1 1 0;
    min-height: 0;
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding: 24px 24px 60px;
  }
  .nils-media-overlay__content > * {
    max-width: var(--page-content-width, 90rem);
    margin-inline: auto;
  }

  /* PIECES — heading = the wizard eyebrow (.nils-kit-wizard__eyebrow); grid gap = the store grid's 20px. */
  .nils-media-piece + .nils-media-piece {
    margin-top: 40px;
  }
  .nils-media-piece__title {
    margin: 0 0 16px;
    font-family: var(--font-body--family);
    color: rgb(255 255 255 / 0.4);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .nils-media-team__name {
    color: rgb(255 255 255 / 0.8);
  }
  .nils-media-piece__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
  .nils-media-item {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .nils-media-item__frame {
    display: block;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--nils-hairline);
    background: rgb(255 255 255 / 0.03);
  }
  .nils-media-item__frame img,
  .nils-media-item__frame video {
    display: block;
    width: 100%;
    height: auto;
  }
  .nils-media-item--reel {
    max-width: 360px;
  }

  /* DOWNLOAD / COPY — .nils-shelf__catalogue-btn values (the toolbar's own download button). */
  .nils-media-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 8px;
    border: 1px solid var(--nils-hairline-strong);
    background: transparent;
    color: rgb(255 255 255 / 0.8);
    font-family: var(--font-body--family);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  }
  .nils-media-btn:hover {
    border-color: rgb(var(--nils-red-rgb) / 0.4);
    color: #fff;
  }
  .nils-media-btn[data-busy] {
    opacity: 0.6;
    pointer-events: none;
  }

  /* CAPTION — the request form field box (.nils-request-form__field input values). */
  .nils-media-caption {
    margin-top: 20px;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .nils-media-caption__text {
    margin: 0;
    width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-family: var(--font-body--family);
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
    background: rgb(255 255 255 / 0.05);
    border: 1px solid rgb(255 255 255 / 0.15);
    border-radius: 8px;
    padding: 12px 16px;
  }

  @media (max-width: 640px) {
    .nils-media-posts {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }
    .nils-media-photos {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }
    .nils-media-photo__frame {
      padding: var(--padding-sm, 8px);
    }
    .nils-media-post-view {
      gap: 20px;
    }
    .nils-media-post-view__media,
    .nils-media-post-view__media--reel {
      width: 100%;
    }
    .nils-media-post-view .nils-media-caption {
      flex-basis: 100%;
      max-width: none;
    }
    .nils-media-piece__grid {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      gap: 12px;
    }
    .nils-media-overlay__content {
      padding: 16px 16px 96px;
    }
    .nils-media-overlay__header {
      padding: 14px 16px;
    }
    .nils-media-item--reel {
      max-width: none;
    }
  }
/* END_SECTION:nils-media */

/* START_SECTION:nils-prefooter-banner (INDEX:30) */
.nils-prefooter-banner {
    position: relative;
    margin: 64px 0;
    padding-inline: 5%;
  }

  .nils-prefooter-banner__card {
    position: relative;
    max-width: 80%;
    height: 260px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 46.2%;
    column-gap: 0;
    align-items: stretch;
    background: rgb(20 20 20);
    border-radius: var(--nils-radius);
    overflow: hidden;
  }

  .nils-prefooter-banner__text {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 560px;
    padding-left: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Title — measured 24px/400/white, "Cube OT Italic"; this theme's own italic cut is only registered at 700 (same limitation .nils-ptitle__name already works around), so that's what actually renders. */
  .nils-prefooter-banner__title {
    margin: 0 0 20px;
    font-family: var(--font-heading--family);
    font-style: italic;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.4;
    color: #fff;
    text-wrap: balance;
  }

  /* Copy — measured 15px/400, line-height 30px, rgb(224,224,224), "Cube OT Regular" (this theme's own body face). */
  .nils-prefooter-banner__copy {
    margin: 0 0 28px;
    font-family: var(--font-body--family);
    font-size: 15px;
    color: rgb(224 224 224);
    max-width: 460px;
  }

  .nils-prefooter-banner__cta {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
  }

  /* CTA text — measured 16px/350/-0.32px, rgb(229,229,229), "Cube OT Light" (no Light cut registered here, falls back to the body face at its closest available weight). */
  .nils-prefooter-banner__cta-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body--family);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.32px;
    color: rgb(229 229 229);
    transition: color 200ms ease;
  }

  .nils-prefooter-banner__cta-arrow {
    transition: transform 200ms ease;
  }

  .nils-prefooter-banner__cta:hover .nils-prefooter-banner__cta-text {
    color: #fff;
  }

  .nils-prefooter-banner__cta:hover .nils-prefooter-banner__cta-arrow {
    transform: translateX(4px);
  }

  /* CTA underline bar — measured 60×5px, rgb(184,29,29), 0 radius (not this theme's own --nils-red — a distinct, measured brick-red). */
  .nils-prefooter-banner__cta-bar {
    display: block;
    width: 60px;
    height: 5px;
    background: rgb(184 29 29);
    border-radius: 0;
  }

  .nils-prefooter-banner__image {
    position: relative;
    height: 100%;
    overflow: hidden;
  }

  /* object-position — measured live off the reference `<img>` (getComputedStyle), not guessed; see this file's own IMAGE GEOMETRY doc entry. */
  .nils-prefooter-banner__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65.2% 86.9%;
  }

  /*
   * LEFT FADE [ours] — no CSS gradient exists on the reference (searched
   * every descendant of its banner row); this replicates the same
   * dissolve-into-the-card-surface effect the reference's baked-in photo
   * fade produces. Span measured via canvas luminance sampling of the
   * reference's own rendered crop (see this file's own IMAGE GEOMETRY
   * doc entry) — solid through 30% of the image's own width, fully
   * clear by 60%.
   */
  .nils-prefooter-banner__image::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgb(20 20 20) 0%, rgb(20 20 20) 30%, rgb(20 20 20 / 0) 60%);
    pointer-events: none;
  }

  /*
   * MOBILE-AUDIT RUN 10 — IMAGE RESTORED, STACKED [ours]. Previously
   * `display: none` below 768px — the image just dropped, card stayed
   * text-only. Measured the reference (nilsyourbike.com, 404 page — the
   * same persistent footer-adjacent fixture the section's own top doc
   * comment already confirmed it on) directly rather than guessing a
   * mobile crop — see RUN 11 below for the corrected/completed version
   * of this measurement (run 10's own pass got several numbers wrong or
   * incomplete; superseded here, not layered on top of).
   *
   * MOBILE-AUDIT RUN 11 — MATCHED PROPERLY THIS TIME [ours]. Run 10
   * compared its own build against the reference at 390px only and
   * missed three real differences that only showed up once checked at
   * 360/414 too and against the reference's OWN card region background
   * (not assumed transparent):
   *
   *   1. HEIGHT IS FIXED, NOT THE ASPECT RATIO — run 10 set `aspect-
   *      ratio: 358/273` (derived from a single 390px reading), which
   *      holds the CROP shape constant and lets the pixel height drift
   *      with viewport width. Checked the reference at 360/390/414: its
   *      own image height stays exactly 273px at all three (328×273,
   *      358×273, 382×273 — width changes, height never does), so its
   *      apparent aspect ratio actually SHIFTS per width (1.20/1.31/1.40)
   *      rather than staying fixed. Matched here with a flat `height:
   *      273px` instead of `aspect-ratio`, letting width follow the
   *      card's own (now also-corrected) full width at each breakpoint.
   *   2. CARD WIDTH — run 10 left `.nils-prefooter-banner__card`'s own
   *      `max-width: 80%` (the desktop GRID ANCHOR fix's value, set
   *      outside this query) in effect at mobile too: 280.8px at 390px,
   *      against the reference's own 358px there — a visibly narrower
   *      card with extra black gutters either side that the reference
   *      doesn't have. The reference's own card region sits at a FIXED
   *      16px margin from the viewport edge at every width checked
   *      (360/390/414 all measured left: 16px) — not a percentage.
   *      `max-width: 100%` here (overriding the 80% for this query only,
   *      desktop's own value untouched) plus a matching mobile-only
   *      `padding-inline: 16px` on the section itself (was inheriting
   *      the base rule's `5%` — 19.5px at 390px, close but not the
   *      reference's flat 16px) gets the exact 16px margin/full-width
   *      card at every mobile width, not just an approximation at one.
   *   3. CARD BACKGROUND AND RADIUS — checked what the reference's own
   *      card-region element (the ancestor with the same box as the
   *      text+image group) actually paints: `rgb(10, 10, 10)`, radius
   *      2px — i.e., there's no separate "card" surface visible at all,
   *      because that color is the SAME as the reference page's own
   *      `<body>` background (confirmed, matches this theme's own body
   *      background too — this file's earlier FIX — CARD BACK entry
   *      already noted `<body>` here is `rgb(10, 10, 10)` sitewide). Run
   *      10 left the desktop `background: rgb(20 20 20)` / `border-
   *      radius: var(--nils-radius)` (12px) in effect at mobile — a
   *      visibly distinct dark-gray rounded card the reference doesn't
   *      have there. `background: transparent` here (so the page's own
   *      body color shows through, matching the reference's own value
   *      exactly) and `border-radius: 2px` (the reference's own,
   *      effectively square) — DESKTOP's own dictated card surface/
   *      radius (the "CARD BACK" fix, its own brief-driven choice, not a
   *      reference match) is untouched; this only overrides it inside
   *      this same mobile query.
   *
   * Everything run 10 already got right stays as-is: text padding 16px,
   * text-to-image gap 24px (`row-gap: 8px` + the text cell's own 16px
   * bottom padding), object-fit: cover, object-position 65.1% 79.1%
   * (confirmed unchanged at 360/414 too), the image flush against the
   * card's own left/right/bottom edges, and the left-fade `::before`
   * switched off (confirmed: no gradient/mask/overlay anywhere on the
   * reference's own image, at any width checked — the fade that exists
   * there is baked into the source photo, not a runtime effect; nothing
   * to replicate).
   *
   * MOBILE-AUDIT RUN 12 — FILE CHECK, FALSE ALARM [ours]. Asked to verify
   * file identity, not just CSS: the reference's card-region ancestor
   * chain actually contains FOUR `<img>` elements at mobile widths, not
   * one — a full-bleed decorative carbon-weave texture (framerusercontent
   * .com/images/Xtj0Tq8YIkq61zbKk8pC6jPkzU.jpg, native 2048×1417) sits
   * BEFORE the real photo in DOM order and was grabbed first by a naive
   * `querySelector('img')` — the exact same trap this file's own earlier
   * ASSET entry above already flagged once ("An earlier pass grabbed the
   * wrong asset first"). Re-checked by rect: the element actually sized/
   * positioned as the card's own image (358×273 @390, left 16 — matches
   * this file's own measured card box exactly) resolves to
   * framerusercontent.com/images/8Ej0bMvUBZgObM8xac5Sp66V4U.webp — byte-
   * for-byte identical (SHA-256 match, 191072 bytes) to this file's own
   * assets/nils-prefooter-banner-smoke.webp already in use. Same file,
   * already correct; no asset swap made. (assets/nils-prefooter-banner-
   * mobile.jpg, briefly added this run for the wrong file, removed.)
   *
   * MOBILE-AUDIT RUN 13 — THE FADE IS A MASK, NOT A GRADIENT [ours]. Run
   * 11 checked `background-image`/`::before`/`::after` for the fade and
   * found nothing; never checked `mask-image`. The reference's own
   * `<img>` itself carries no mask (`mask: none`) — it's two levels up,
   * on an ancestor `<div>` (`framer-hc6xg7`) wrapping the image:
   * `mask: linear-gradient(rgba(0, 0, 0, 0) 4%, rgb(0, 0, 0) 18.9189%)`
   * — transparent (masked out) at 4% down, ramping to fully opaque
   * (visible) by ~19% down, holding opaque the rest of the way; no angle
   * given so CSS's own default axis (180deg, top→bottom) applies — a
   * top-edge fade-in, softening the seam where the image meets the text
   * block above it. Identical at 360/390/414 (not viewport-scaled).
   * (A second, closer ancestor also carries a `mask` — same value at all
   * three widths, bundled with that div's own `border-radius: 2px` — but
   * both of ITS gradient stops are the same opaque `rgb(0, 0, 0)`, so it
   * has zero visual effect; read as Framer's own corner-radius-via-mask
   * plumbing, not a second content fade, and not replicated here.)
   * Applied the real one to `.nils-prefooter-banner__image` here, mobile
   * only — desktop's own `::before` gradient fade (untouched) still
   * covers the side-by-side desktop layout.
   */
  @media (max-width: 767px) {
    .nils-prefooter-banner {
      padding-inline: 16px;
    }

    .nils-prefooter-banner__card {
      height: auto;
      max-width: 100%;
      grid-template-columns: 1fr;
      background: transparent;
      border-radius: 2px;
      /* 8px, not the measured 24px directly — `row-gap` sits between grid
         CELL edges, and the text cell's own 16px bottom padding (below)
         already contributes to the visible gap; 16 + 8 = the reference's
         own measured 24px from its last visible text element (the CTA
         bar) to the image (checked live: mobile-audit/run10-ours-
         measure.mjs, gapCtaBarToImage). */
      row-gap: 8px;
    }

    .nils-prefooter-banner__text {
      padding: 16px;
      max-width: none;
    }

    .nils-prefooter-banner__image {
      display: block;
      height: 273px;
      mask: linear-gradient(rgba(0, 0, 0, 0) 4%, rgb(0, 0, 0) 18.9189%);
      -webkit-mask: linear-gradient(rgba(0, 0, 0, 0) 4%, rgb(0, 0, 0) 18.9189%);
    }

    .nils-prefooter-banner__image img {
      height: 100%;
      object-position: 65.1% 79.1%;
    }

    .nils-prefooter-banner__image::before {
      content: none;
    }
  }
/* END_SECTION:nils-prefooter-banner */

/* START_SECTION:nils-richiedi-accesso (INDEX:32) */
/*
   * LOGGED IN — HIDE THE FORMS CARD [ours, renamed 2026-09-29 from the
   * old pending-only `data-pending`] — see this section's own doc block
   * ("LOGGED-IN STATE, REBUILT") for the full reasoning. `.shopify-
   * section` is the wrapper Shopify renders around every section (this
   * one included); `:has()` reaches into it to find our own wrapper
   * (now flagged whenever ANY customer is logged in, not just a pending
   * one), then `+` steps to the very next section — the Forms app block
   * wrapper, per templates/page.richiedi-accesso.json's own `order:
   * ["main", "17885322256a2fe332"]` — without needing that section's own
   * (opaque, autogenerated) id.
   */
  .shopify-section:has(> .nils-richiedi-accesso[data-hide-forms='true']) + .shopify-section {
    display: none;
  }

  .nils-richiedi-accesso {
    position: relative;
    width: 100%;
    background-color: var(--color-background);
    background-image:
      radial-gradient(ellipse at 50% 0%, rgb(255 255 255 / 0.035) 0%, transparent 70%),
      repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 3px,
        rgb(255 255 255 / 0.018) 3px,
        rgb(255 255 255 / 0.018) 4px
      ),
      repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 3px,
        rgb(255 255 255 / 0.018) 3px,
        rgb(255 255 255 / 0.018) 4px
      );
    background-size: 100% 100%, 4px 4px, 4px 4px;
    padding: 96px 5% 32px;
  }

  .nils-richiedi-accesso__inner {
    position: relative;
    max-width: 760px;
    margin-inline: auto;
    text-align: left;
  }

  /*
   * READABILITY — OFF CUBE OT ENTIRELY, 2026-09-07 [ours]. Previous pass
   * this same day only raised the color (rgb(var(--color-foreground-rgb)
   * / 0.55) → / 0.7), keeping `.nils-sub`'s inherited font-family
   * (var(--font-body--family), i.e. Cube OT) — still unreadable at
   * paragraph length: Cube OT is a display face, not built for running
   * text at this size.
   *
   * Told to match "the chat widget's conversational-text system stack" —
   * checked snippets/nils-chat-widget.liquid's `.nils-chat__message`
   * first and it no longer HAS one: its own comment ("POLISH RUN — the
   * system-font override this widget used to carry is gone... chat
   * bubbles included") confirms it was deliberately moved onto
   * var(--font-body--family) at some point, same as everywhere else —
   * checked snippets/nils-request-form.liquid too, same "POLISH RUN"
   * migration, same result. Copying either literally would keep this
   * paragraph in Cube OT and not fix anything.
   *
   * Stack instead recovered from snippets/nils-challenge-style.liquid's
   * own doc comment, which still documents what the chat widget and
   * request form USED to carry before that polish run: `ui-sans-serif,
   * system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif` — the same
   * literal stack that file's own `.shopify-challenge__error` still
   * applies today at 14px, the closest surviving analog to "conversational
   * text at 14px" anywhere in this codebase. That rule sets no explicit
   * font-weight (browser default, 400) — used here too rather than
   * guessing at a "Light" cut that doesn't reliably exist across a
   * system-font fallback stack the way it does for a real webfont like
   * Cube OT. User confirmed (asked directly, given the mismatch with
   * the chat widget's current live state) to proceed with this recovered
   * stack over literally copying Cube OT.
   *
   * font-size 15px / line-height 1.6 / color #fff as dictated — line-
   * height changed from the previous 1.7 (`.nils-sub`'s own default,
   * inherited) to the dictated 1.6.
   */
  .nils-richiedi-accesso__intro {
    max-width: 620px;
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #ffffff;
  }

  /*
   * ACTION ROW [ours, 2026-09-18] — ACCEDI (primary, first) + the back-
   * to-store chip (quiet ghost, second), one flex row. `gap` alone
   * covers both the inline spacing between the two and the vertical
   * spacing when the row wraps on narrow widths (flex `gap` applies to
   * wrapped rows too) — no separate mobile rule needed. `align-items:
   * center` keeps both baseline-centered in the row.
   */
  .nils-richiedi-accesso__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
  }

  /*
   * HEIGHT MATCH [ours, 2026-09-18] — same padding-block (14px) on both
   * .nils-btn and .nils-product-back__link still rendered ACCEDI taller
   * (measured live at 1440px: ACCEDI 50.8px vs chip 48px) because their
   * line-heights differ: .nils-btn's 13px/1.6 line-height = 20.8px vs
   * the chip's 15px/1.2 = 18px — a 2.8px gap unrelated to padding.
   * ACCEDI is the shared sitewide `.nils-btn` primitive (must stay
   * unchanged everywhere else it's used), so the fix is scoped to the
   * chip here only, adding half that gap (1.4px) to each padding-block
   * side: 14px -> 15.4px. Scoped to `.nils-richiedi-accesso__actions`
   * so the product page's own `.nils-product-back__link` (no ACCEDI
   * sibling there, no reason to change) is untouched. Text length
   * (locale label, wrapped/unwrapped) doesn't affect this — box height
   * on a single-line inline-flex pill comes only from padding + border
   * + line-height, never from content width.
   */
  .nils-richiedi-accesso__actions .nils-product-back__link {
    padding-block: 15.4px;
  }

  @media (max-width: 640px) {
    .nils-richiedi-accesso {
      padding: 64px 4% 24px;
    }
  }
/* END_SECTION:nils-richiedi-accesso */

/* START_SECTION:nils-store-shelf (INDEX:34) */
/*
   * TYPED CUSTOM PROPERTY [ours, 2026-09-22] — registers `--nils-compare-
   * scrollx-max` (set by assets/nils-compare-engine.js's own `syncX`, read
   * by `@keyframes nils-compare-mirror-x`, further below) as an actual
   * `<length>` rather than a raw, untyped token stream. Required, not
   * decoration: an UNREGISTERED custom property referenced inside a
   * `calc()` in a `@keyframes` rule gets resolved once, at the point the
   * animation's keyframes are first constructed — live-caught via
   * `getAnimations()[0].effect.getKeyframes()` on this exact element,
   * which showed the `to` keyframe frozen at its fallback (`translateX(
   * 0px)`) even after JS had already set the real value, because the
   * property didn't exist yet (had no registered type/initial value) the
   * first time the browser computed those keyframes. `@property` with an
   * explicit `initial-value` gives the property a real, defined value
   * from the very first style computation, before JS ever runs — the
   * animation's keyframes then resolve against a genuine `<length>` from
   * the start (and stay live, since a typed custom property is treated as
   * an actual animatable style value rather than an opaque string).
   * `inherits: false` — this value is only ever meaningful on the one
   * element it's set on directly (`titlesInner`); it has no reason to
   * cascade to its own children (the plain, non-animated title cells).
   */
  @property --nils-compare-scrollx-max {
    syntax: '<length>';
    inherits: false;
    initial-value: 0px;
  }

  .nils-shelf {
    width: 100%;
    padding: 48px var(--page-margin, 5%) 96px;
    background-color: var(--color-background);
  }

  .nils-shelf__app {
    display: block;
    max-width: var(--page-content-width, 90rem);
    margin-inline: auto;
  }

  /* ============================================================
     TOOLBAR — search, filters, view toggle, compare, catalogue.
     ============================================================ */
  .nils-shelf__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
  }

  .nils-shelf__search {
    position: relative; /* SEARCH SUGGESTIONS [ours] — anchors .nils-shelf__search-dropdown below */
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 260px;
    max-width: 360px;
    padding: 11px 16px;
    border-radius: 8px;
    border: 1px solid var(--nils-hairline-strong);
    background: rgb(255 255 255 / 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .nils-shelf__search:focus-within {
    border-color: rgb(var(--nils-red-rgb) / 0.5);
    box-shadow: 0 0 0 3px rgb(var(--nils-red-rgb) / 0.12);
  }

  .nils-shelf__search-icon {
    flex: none;
    color: rgb(255 255 255 / 0.35);
  }

  .nils-shelf__search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: none;
    outline: none;
    font-family: var(--font-body--family);
    font-size: 14px;
    color: #fff;
  }

  .nils-shelf__search-input::placeholder {
    color: rgb(255 255 255 / 0.35);
  }

  /*
   * SEARCH SUGGESTIONS [ours] — same drawer-solid surface and styled
   * scrollbar as the filter dropdowns below (rgb(18 18 18 / 0.98),
   * --nils-hairline-strong thumb) — one popover language for the whole
   * toolbar, not a new one for this feature.
   */
  .nils-shelf__search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 360px;
    overflow-y: auto;
    padding: var(--padding-xs);
    border-radius: 10px;
    border: 1px solid var(--nils-hairline-strong);
    background: rgb(18 18 18 / 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgb(0 0 0 / 0.5);
    scrollbar-width: thin;
    scrollbar-color: var(--nils-hairline-strong) transparent;
  }

  .nils-shelf__search-dropdown[hidden] {
    display: none;
  }

  .nils-shelf__search-dropdown::-webkit-scrollbar {
    width: 6px;
  }

  .nils-shelf__search-dropdown::-webkit-scrollbar-track {
    background: transparent;
  }

  .nils-shelf__search-dropdown::-webkit-scrollbar-thumb {
    background-color: var(--nils-hairline-strong);
    border-radius: 999px;
  }

  .nils-shelf__search-dropdown::-webkit-scrollbar-thumb:hover {
    background-color: rgb(255 255 255 / 0.16);
  }

  .nils-shelf__search-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
    padding: var(--padding-xs) var(--padding-sm);
    border-radius: 6px;
    text-decoration: none;
    color: rgb(255 255 255 / 0.85);
  }

  .nils-shelf__search-dropdown-item:hover,
  .nils-shelf__search-dropdown-item:focus-visible {
    background: rgb(255 255 255 / 0.05);
  }

  .nils-shelf__search-dropdown-thumb {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgb(255 255 255 / 0.04);
    overflow: hidden;
  }

  .nils-shelf__search-dropdown-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .nils-shelf__search-dropdown-name {
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* FILTERS — two dropdowns, real product data, styled like the rest of the toolbar. */
  .nils-shelf__filter {
    position: relative;
  }

  .nils-shelf__filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 8px;
    border: 1px solid var(--nils-hairline-strong);
    background: rgb(255 255 255 / 0.03);
    color: rgb(255 255 255 / 0.8);
    font-family: var(--font-body--family);
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .nils-shelf__filter-toggle:hover,
  .nils-shelf__filter[data-open='true'] .nils-shelf__filter-toggle {
    border-color: rgb(var(--nils-red-rgb) / 0.4);
    color: #fff;
  }

  .nils-shelf__filter-toggle svg {
    transition: transform 0.2s ease;
  }

  .nils-shelf__filter[data-open='true'] .nils-shelf__filter-toggle svg {
    transform: rotate(180deg);
  }

  .nils-shelf__filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--nils-red);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
  }

  .nils-shelf__filter-count[hidden] {
    display: none;
  }

  .nils-shelf__filter-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 20;
    min-width: 220px;
    max-height: 280px;
    overflow-y: auto;
    padding: var(--padding-xs);
    border-radius: 10px;
    border: 1px solid var(--nils-hairline-strong);
    background: rgb(18 18 18 / 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgb(0 0 0 / 0.5);
    /*
     * DROPDOWN SCROLLBAR [ours] — ports the wizard sidebar's own thin/dark
     * scrollbar verbatim (sections/nils-kit-wizard.liquid, `.nils-kit-
     * wizard__nav-scroll`): same tokens, --nils-hairline-strong for the
     * thumb, transparent track, brightening to rgb(255 255 255 / 0.16) on
     * hover, in place of the native grey scrollbar Viscosità was showing.
     */
    scrollbar-width: thin;
    scrollbar-color: var(--nils-hairline-strong) transparent;
  }

  .nils-shelf__filter-menu::-webkit-scrollbar {
    width: 6px;
  }

  .nils-shelf__filter-menu::-webkit-scrollbar-track {
    background: transparent;
  }

  .nils-shelf__filter-menu::-webkit-scrollbar-thumb {
    background-color: var(--nils-hairline-strong);
    border-radius: 999px;
  }

  .nils-shelf__filter-menu::-webkit-scrollbar-thumb:hover {
    background-color: rgb(255 255 255 / 0.16);
  }

  .nils-shelf__filter-menu[hidden] {
    display: none;
  }

  /*
   * DROPDOWN LAYOUT [ours] — Horizon's own base.css sets
   * `label:has(input[type="checkbox"]) { display: inline-flex }` at
   * specificity (0,1,1). `.nils-shelf__filter-option`'s own `display: flex`
   * was a single class, (0,1,0) — it lost, so every option label rendered
   * `inline-flex` and wrapped inline like text: however many fit a line
   * shared a row, and the resulting mixed inline/flex line boxes clipped
   * the menu's first row against its `overflow-y: auto`. Same theme quirk,
   * same fix shape already used on `.nils-shelf__compare-check` elsewhere
   * in this file: a compound selector (0,2,0) to clear the bar, so
   * `display: flex` actually wins and each option is a full-width block —
   * one per row, nothing clipped.
   */
  .nils-shelf__filter-menu .nils-shelf__filter-option {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
    padding: var(--padding-xs) var(--padding-sm);
    border-radius: 6px;
    font-size: 13px;
    color: rgb(255 255 255 / 0.8);
    cursor: pointer;
  }

  .nils-shelf__filter-menu .nils-shelf__filter-option:hover {
    background: rgb(255 255 255 / 0.05);
  }

  .nils-shelf__filter-option input {
    accent-color: var(--nils-red);
  }

  .nils-shelf__toolbar-spacer {
    flex: 1;
  }

  /* VIEW TOGGLE */
  .nils-shelf__view-toggle {
    display: flex;
    border-radius: 8px;
    border: 1px solid var(--nils-hairline-strong);
    overflow: hidden;
  }

  .nils-shelf__view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgb(255 255 255 / 0.03);
    color: rgb(255 255 255 / 0.4);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .nils-shelf__view-btn:hover {
    color: rgb(255 255 255 / 0.7);
  }

  .nils-shelf__view-btn[aria-pressed='true'] {
    background: var(--nils-red);
    color: #fff;
  }

  /* CATALOGUE — same pill treatment as the filter buttons. */
  .nils-shelf__catalogue-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 8px;
    border: 1px solid var(--nils-hairline-strong);
    background: transparent;
    color: rgb(255 255 255 / 0.8);
    font-family: var(--font-body--family);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  }

  .nils-shelf__catalogue-btn:hover {
    border-color: rgb(var(--nils-red-rgb) / 0.4);
    color: #fff;
  }

  /* MEDIA [ours, 2026-11-20; A1 redesign run] — the element also carries .nils-shelf__catalogue-btn, so box and hover
     are Catalogo's own. Only the icon and label colour differ: NILS red, the kit button's var(--nils-red), at rest and
     on hover. */
  .nils-shelf__media-btn,
  .nils-shelf__media-btn:hover {
    color: var(--nils-red);
  }

  /* Solid red — the one filled button in an otherwise ghost toolbar, per instruction. */
  .nils-shelf__kit-wizard-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 8px;
    border: 1px solid var(--nils-red);
    background: var(--nils-red);
    color: #fff;
    font-family: var(--font-body--family);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
  }

  .nils-shelf__kit-wizard-btn:hover {
    background: rgb(var(--nils-red-rgb) / 0.85);
    box-shadow: 0 0 20px rgb(var(--nils-red-rgb) / 0.35);
  }

  /* ============================================================
     APPLIED FILTER PILLS [ours, run 2] — one pill per active Categoria/
     Viscosità value, "Azzera filtri" at the row's end. Absent entirely
     (not just empty) when no filter is active — [hidden] override below
     for the same author-vs-UA-origin reason `.nils-shelf__no-results`
     (run 1) already needed one: declaring `display: flex` on the base
     selector otherwise beats the browser's own `[hidden]` rule.
     ============================================================ */
  .nils-shelf__active-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
  }

  .nils-shelf__active-filters[hidden] {
    display: none;
  }

  .nils-shelf__active-filters-list {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Neutral chip — the existing `.nils-shelf__chip` base (below, ANCHORS + GROUPS), not the family-colored `--family` variant: these pills read a filter value, not a product's own tipologia. */
  .nils-shelf__active-filter-chip {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .nils-shelf__active-filter-chip-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    padding: 0;
    border: none;
    background: none;
    color: inherit;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s ease;
  }

  .nils-shelf__active-filter-chip-remove:hover {
    opacity: 1;
  }

  /* Ghost TEXT button — no border/fill, same ‘quiet until hovered’ formula as `.nils-shelf__compare-tray-toggle` (Mostra/Nascondi, below) rather than the boxed ghost `.nils-shelf__no-results-reset` (run 1): this one sits inline in a slim row, not as a standalone action. */
  .nils-shelf__active-filters-reset {
    flex: none;
    padding: 4px 2px;
    border: none;
    background: none;
    color: rgb(255 255 255 / 0.6);
    font-family: var(--font-body--family);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .nils-shelf__active-filters-reset:hover {
    color: var(--nils-red);
  }

  /*
   * NARROW WIDTHS [ours, run 2] — wraps normally down to this file's own
   * established mobile cutoff (640px), then switches to one non-wrapping
   * scrollable line — same nowrap-plus-scroll idiom and the same thin/
   * dark scrollbar tokens (--nils-hairline-strong) as the sticky bar's
   * reparented pills and the filter dropdowns elsewhere in this file.
   */
  @media (max-width: 640px) {
    .nils-shelf__active-filters-list {
      flex-wrap: nowrap;
      overflow-x: auto;
      overflow-y: hidden;
      padding-bottom: 2px;
      scrollbar-width: thin;
      scrollbar-color: var(--nils-hairline-strong) transparent;
    }

    .nils-shelf__active-filters-list::-webkit-scrollbar {
      height: 6px;
    }

    .nils-shelf__active-filters-list::-webkit-scrollbar-track {
      background: transparent;
    }

    .nils-shelf__active-filters-list::-webkit-scrollbar-thumb {
      background-color: var(--nils-hairline-strong);
      border-radius: 999px;
    }
  }

  /* ============================================================
     ANCHORS + GROUPS (unchanged from the prior batch)
     ============================================================ */
  .nils-shelf__anchors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 56px;
  }

  .nils-shelf__anchor-pill {
    flex: 0 0 auto;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.5);
    color: var(--tc, var(--nils-red));
    background: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.06);
    font-family: var(--font-heading--family);
    font-style: italic;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  /* Hover fill only where a pointer really hovers: a tap left a phone's
     pill stuck in :hover, lit next to the family on screen [bar v4.1]. */
  @media (hover: hover) {
    .nils-shelf__anchor-pill:hover {
      background: var(--tc, var(--nils-red));
      color: #fff;
    }
  }

  .nils-shelf__anchor-pill:focus-visible {
    background: var(--tc, var(--nils-red));
    color: #fff;
  }

  /* ============================================================
     STICKY BAR [ours] — appears past the toolbar/anchors control zone.
     Renders its own copy of the pills (same source snippet as the
     toolbar's — snippets/nils-shelf-anchor-pills.liquid). See
     assets/nils-shelf.js for the sentinel/IntersectionObserver
     (eligibility only — not visibility) and the swap loop (BAR SWAP,
     below).
     ============================================================ */
  .nils-shelf__sticky-sentinel {
    height: 0;
  }

  .nils-shelf__sticky-bar {
    position: fixed;
    /*
     * BAR SWAP [ours] — one slot at the viewport top, occupied by exactly
     * one of {header, bar}. `top: 0` is the SAME slot the header itself
     * occupies (LAW 2 — the theme header IS fixed on this page: position:
     * sticky on .header-section + position: absolute/top:0 on the
     * transparent header inside it — enable_transparent_header_home +
     * enable_sticky_header: "always", sections/header-group.json;
     * confirmed live, pinned to the viewport top while .page-wrapper
     * scrolls beneath it). The bar used to sit at `top: var(--header-
     * height)`, permanently stacked below the header's own slot — when
     * the header returned, the two piled up together. Now the bar's own
     * presence in that slot is driven entirely by `transform`
     * (assets/nils-shelf.js, #startBarSwap): translateY(0) = occupying
     * the slot, translateY(-barHeight) = translated fully above the
     * viewport, vacated — exactly the same mechanism the header's own
     * hide (translateY(-hiddenOffset)) already uses, not a different
     * animation system living alongside it. No CSS transition on
     * `transform` here — the JS chase IS the transition (same
     * CHASE_RATE as the header's own, snippets/nils-nav-glass.liquid),
     * so the two read as one exchange rather than two unrelated ones.
     */
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--layer-sticky);
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    /*
     * BAR AIR [ours] — vertical padding bumped from `--padding-sm`
     * (0.7rem = 11.2px) to `--padding-xl` (1.25rem = 20px), a real jump
     * up the theme's own spacing scale rather than the adjacent
     * `--padding-md` (0.8rem = 12.8px), which reads as noise, not air.
     * Same value top and bottom (one padding shorthand, one token) keeps
     * the pills/Confronta/arrow row centered with equal breathing room
     * above and below, whether the header is showing or hidden.
     */
    padding: var(--padding-xl) var(--page-margin, 5%);
    /*
     * REAL SURFACE [ours] — this codebase's own established solid dark
     * panel token, `rgb(18 18 18 / 0.98)`: already reused for the compare
     * modal panel and the filter dropdown below, and for the wizard's own
     * mobile drawer panel (LAW 3 there: "the sidebar's own surface color
     * — not a new one"). Replaces the site nav's flat rgba(10,10,10,0.15)
     * tint, which read as floating over busy product photography.
     */
    background: rgb(18 18 18 / 0.98);
    border-bottom: 1px solid var(--nils-hairline-strong);
    visibility: hidden;
    pointer-events: none;
  }

  /*
   * `data-visible` here is driven per-frame off the bar's OWN animated
   * position (assets/nils-shelf.js: `translateY > -barHeight`), not off
   * a target flip — so visibility only switches to hidden once the bar
   * has actually finished sliding out, and to visible the instant it
   * starts sliding in. A CSS-transition-delay trick isn't needed since
   * there's no fixed duration to time it against (the chase's duration
   * varies with distance, same as the header's own).
   */
  .nils-shelf__sticky-bar[data-visible='true'] {
    visibility: visible;
    pointer-events: auto;
  }

  /*
   * BAR V4 [ours, 2026-10-02] — at 641px and up assets/nils-store-
   * shelf-bar.css (linked after this stylesheet) lays this row out: it is
   * centered when every family fits and slides sideways (with ‹ › arrows
   * over its faded ends) when they do not. The rules below still apply
   * underneath it (no scrollbar, no wrapping).
   *
   * Pills — the base `.nils-shelf__anchors` rule above wraps to a new
   * row; this second, permanent copy (inside the bar) scrolls
   * horizontally instead, per instruction: the full row never breaks to
   * a second line at 1440, it scrolls inside the bar.
   *
   * SCROLLBAR HIDDEN [ours, 2026-09-17] — this used to carry the file's
   * thin/dark scrollbar recipe (`scrollbar-width: thin` + a 6px
   * `::-webkit-scrollbar` thumb in --nils-hairline-strong). Reported live
   * at 1440+: a visible horizontal scrollbar under the chips. Two facts,
   * both verified: (1) this row genuinely overflows at 1440 (scrollWidth
   * 1578 vs clientWidth 1312, both engines), and (2) since Chromium 121 a
   * non-`auto` `scrollbar-width` makes the browser IGNORE every
   * `::-webkit-scrollbar*` rule, so the 6px hairline thumb was never what
   * rendered — Chrome drew its own native "thin" bar in `scrollbar-color`
   * instead, and on Windows' classic (non-overlay) scrollbars that is a
   * real, always-visible track. Neither this rule nor the bar's markup
   * changed in any run this month (diffed against every backup back to
   * compare-port-backup-2026-09-15, byte-identical), so no run introduced
   * it in CSS — it was latent. Fixed per instruction with the exact
   * pattern snippets/header-drawer.liquid's `.menu-drawer` already uses
   * to hide its own scrollbar (`scrollbar-width: none` +
   * `-ms-overflow-style: none` + `::-webkit-scrollbar { display: none }`):
   * the row still scrolls (wheel/trackpad/drag), nothing is drawn for it.
   */
  .nils-shelf__sticky-bar .nils-shelf__anchors {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: 0;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nils-shelf__sticky-bar .nils-shelf__anchors::-webkit-scrollbar {
    display: none;
  }

  .nils-shelf__sticky-bar-anchors .nils-shelf__anchor-pill[data-active] {
    background: var(--tc, var(--nils-red));
    color: #fff;
  }

  .nils-shelf__sticky-bar-top {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--nils-hairline-strong);
    background: rgb(255 255 255 / 0.04);
    color: rgb(255 255 255 / 0.7);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
  }

  .nils-shelf__sticky-bar-top:hover {
    border-color: rgb(var(--nils-red-rgb) / 0.4);
    color: #fff;
  }

  /*
   * MOBILE, RUN 4 [ours] — mobile-audit run 4: desktop's own sticky bar
   * (family pills + back-to-top, appearing once the toolbar/anchors
   * control zone scrolls away and swapping with the header — same
   * `#startBarSwap`/`#pastControls` mechanism, assets/nils-shelf.js,
   * unchanged) now also runs at mobile widths. Superseded: mobile used to
   * skip this bar entirely (`display: none` here) and get a separate
   * bottom-right floating arrow instead (`.nils-shelf__mobile-top`,
   * back-to-top only, no pills) — removed; that arrow's job is this same
   * `.nils-shelf__sticky-bar-top` button now, at every width, so there's
   * exactly one back-to-top control instead of two different ones
   * swapping in depending on viewport.
   *
   * `#startBarSwap` already reads `#header-component`'s own live
   * `transform` (snippets/nils-nav-glass.liquid's hide-on-scroll-down/
   * show-on-scroll-up chase) with no viewport gate of its own — that
   * chase already runs at every width (it swaps its own scroll-position
   * source between `.page-wrapper` and the document at 990px, snippets/
   * nils-nav-glass.liquid's own `SQUEEZE` check, but the hide/show
   * behaviour itself is not desktop-only) — so removing this file's own
   * `display: none` opt-out is the entire fix; no new JS, no separate
   * mobile appear condition. The two DO stay layered independently
   * without fighting: this bar occupies the header's own TOP slot
   * (`top: 0`, translated per-frame, unchanged), the chat launcher/its
   * run 2 page-wrapper reservation live at the BOTTOM of the viewport —
   * opposite edges, confirmed live (screenshots), never overlapping.
   *
   * Sizing is tightened for the width, not the mechanism: less padding,
   * a slightly smaller back-to-top circle (still `--layer-sticky`, still
   * the same `#scrollToTop` handler, which already branches on the same
   * 990px squeeze check for its own scroll container — nothing new there
   * either). The circle's OWN visible size stays 30px (compact, matching
   * this width's other controls) — same `::after` hit-area technique
   * mobile-audit run 2/3 already used repeatedly raises its real tap
   * target to 44px without growing what's drawn.
   */
  /*
   * MOBILE, RESTORED [ours] — reverts MOBILE RUN 4 (above): below 641px
   * this is no longer the header-swap bar, it's the original back-to-top-
   * only floating arrow. Same element (`stickyBarTop`, same click
   * handler) instead of resurrecting the old separate `.nils-shelf__
   * mobile-top` — repositioned to that control's own original spot
   * (`bottom: calc(84px + drawer-height)`, 40px circle, stacked 12px
   * above the chat FAB's own `bottom: calc(16px + drawer-height)` + 56px
   * — see `.page-wrapper`'s still-live mobile `padding-bottom: calc(
   * drawer-height + 124px)` reservation above, never removed by RUN 4,
   * sized for exactly this control at exactly this spot). The container
   * drops out of the header's top slot entirely — no `top:0`, no
   * transform, no background/border chrome, no pills nav — visibility is
   * `assets/nils-shelf.js`'s `#pastControls` flag alone (`data-visible`),
   * not the header-direction chase `#startBarSwap` no longer runs below
   * this width.
   */
  @media (max-width: 640px) {
    .nils-shelf__sticky-bar {
      position: fixed;
      top: auto;
      left: auto;
      /* Bar v4: 24px centers the 40px arrow over the 56px chat button (its right is 16px). */
      right: 22px;
      bottom: calc(84px + var(--nils-compare-drawer-height, 0px));
      z-index: var(--layer-sticky);
      padding: 0;
      gap: 0;
      background: none;
      border-bottom: none;
      transition: bottom 250ms var(--ease-out-quad), visibility var(--animation-speed-slow) ease,
        opacity var(--animation-speed-slow) ease;
      opacity: 0;
    }

    .nils-shelf__sticky-bar[data-visible='true'] {
      opacity: 1;
    }

    .nils-shelf__sticky-bar .nils-shelf__anchors {
      display: none;
    }

    /* 44px circle (was 40), icon scaled with it (16 -> 18). The bar's right edge moves 24 -> 22px so the
       circle stays centered over the 56px chat button; bottom is unchanged, so the 12px gap holds. */
    .nils-shelf__sticky-bar-top {
      position: relative;
      width: 44px;
      height: 44px;
      background: rgb(18 18 18 / 0.98);
    }

    .nils-shelf__sticky-bar-top svg {
      width: 18px;
      height: 18px;
    }

    .nils-shelf__sticky-bar-top::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 44px;
      height: 44px;
    }
  }

  .nils-shelf__group {
    scroll-margin-top: 120px;
    margin-bottom: 64px;
  }

  .nils-shelf__group:last-child {
    margin-bottom: 0;
  }

  .nils-shelf__group-header {
    margin-bottom: 24px;
  }

  .nils-shelf__group-kicker .nils-kicker__bar {
    background: var(--tc, var(--nils-red));
  }

  .nils-shelf__group-kicker .nils-kicker__fill {
    background: var(--tc, var(--nils-red));
  }

  .nils-shelf__group-kicker .nils-kicker__text {
    font-family: var(--font-heading--family);
    font-style: italic;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--tc, var(--nils-red));
  }

  /*
   * FAMILY TABLE + DESCRIPTORS [ours] — quiet and subordinate to the
   * kicker title above it: the theme's own --font-size--sm text token
   * (snippets/theme-styles-variables.liquid) rather than a bare px
   * number, and the theme's own --opacity-muted-text token (also there,
   * already the theme-wide "quiet secondary text" convention — see e.g.
   * assets/base.css) over the foreground color instead of a one-off
   * alpha. No line-clamp/nowrap/ellipsis: left to wrap normally, never
   * truncated.
   */
  .nils-shelf__group-descriptor {
    margin: 6px 0 0;
    max-width: 640px;
    font-family: var(--font-body--family);
    font-size: var(--font-size--sm);
    color: rgb(var(--color-foreground-rgb) / var(--opacity-muted-text));
  }

  /* ============================================================
     GRID (cards) — four columns at desktop, five only past ~2200px,
     so the packshot reads as the hero of its card rather than one tile
     among six.
     ============================================================ */
  .nils-shelf__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  @media (min-width: 2200px) {
    .nils-shelf__grid {
      grid-template-columns: repeat(5, 1fr);
    }
  }

  .nils-shelf__app[data-view='list'] .nils-shelf__grid {
    display: none;
  }

  .nils-shelf__card {
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: var(--nils-radius);
    overflow: hidden;
    background: linear-gradient(165deg, rgb(30 30 30 / 0.95), rgb(20 20 20 / 0.98));
    border: 1px solid var(--nils-hairline);
    transition: border-color 200ms ease, box-shadow 200ms ease;
  }

  /* The family hairline — muted at rest, brightens on hover [ours]. */
  .nils-shelf__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 3;
    pointer-events: none;
    background: var(--tc, var(--nils-red));
    opacity: 0.55;
    transition: opacity 200ms ease, box-shadow 200ms ease;
  }

  /* `display: flex/block` ties [hidden]'s default UA rule on specificity and wins by cascade order — filtering sets this attribute directly. */
  .nils-shelf__item[hidden] {
    display: none;
  }

  /*
   * Hover life [ours]: packshot scales ~5% (below, on the image itself),
   * the family hairline brightens, and a subtle family-color edge glow
   * appears. No transform/lift on the card — layout never shifts.
   */
  .nils-shelf__card:hover {
    border-color: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.5);
    box-shadow: 0 0 24px rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.18);
  }

  .nils-shelf__card:hover::before {
    opacity: 1;
    box-shadow: 0 0 12px rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.6);
  }

  .nils-shelf__card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
  }

  /*
   * STRICT CARD ZONES — `.nils-shelf__card` is a flex column, so this image
   * box is a flex item; a flex item's default `min-height: auto` means its
   * "automatic minimum size" is its CONTENT's own min-content height — for
   * a photographed bottle, that's the image's own intrinsic aspect ratio
   * (600×981 for one product, 600×750 for another…), not the 1:1 square
   * `aspect-ratio` below asks for. Without `min-height: 0`, that per-image
   * ratio wins and the box grows past the square to fit it — every card on
   * a shelf ends up a different height. `min-height: 0` is what actually
   * makes `aspect-ratio: 1 / 1` hold.
   */
  /*
   * PACKSHOT BUMP [ours] — was a hardcoded 20px (coincidentally equal to
   * the theme's own --padding-xl, snippets/theme-styles-variables.liquid,
   * but never wired to it); stepped down one rung on that same scale to
   * --padding-lg (16px). The zone itself (this box's own size) is
   * untouched — aspect-ratio: 1 / 1 still holds, card dimensions and every
   * zone below it (STRICT CARD ZONES) don't move — only the breathing
   * room inside the zone shrinks, so the `object-fit: contain` bottle
   * below renders into a larger box within the same square. Shared by
   * both the store page grid and the wizard cards: `.nils-shelf__card-
   * image` has no separate wizard override (sections/nils-kit-wizard.liquid
   * reuses this class as-is), so one change reaches both.
   */
  .nils-shelf__card-image {
    display: block;
    aspect-ratio: 1 / 1;
    min-height: 0;
    box-sizing: border-box;
    padding: var(--padding-lg);
  }

  .nils-shelf__card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 200ms ease;
  }

  .nils-shelf__card:hover .nils-shelf__card-image img {
    transform: scale(1.05);
  }

  /* UNIFORM CARDS — flex-grow so this column fills whatever height the grid row stretches the card to. */
  .nils-shelf__card-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 4px;
    padding: 4px 16px 18px;
  }

  /* UNIFORM CARDS — clamped so one long title/subtitle can't make its whole grid row taller than its neighbors. */
  /*
   * STRICT CARD ZONES — line-height is set explicitly so the min-height
   * below (2 lines' worth) is exact, not a guess at the browser default.
   * That reservation is the actual fix: without it, a one-line title sits
   * shorter than a two-line one, and everything below it — subtitle, tag,
   * price — shifts up to match. min-height holds the zone open regardless
   * of how much of it the actual text uses; the clamp still caps runaway
   * overflow on the rare longer name.
   */
  .nils-shelf__card-title {
    font-family: var(--font-heading--family);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    color: #fff;
    display: -webkit-box;
    min-height: 2.6em;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .nils-shelf__card-subtitle {
    font-size: 12px;
    line-height: 1.4;
    color: rgb(255 255 255 / 0.45);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: -webkit-box;
    min-height: 2.8em;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .nils-shelf__card-price {
    margin-top: 8px;
    font-family: var(--font-body--family);
    font-size: 14px;
    font-weight: 600;
    color: rgb(255 255 255 / 0.9);
  }

  /* UNIFORM CARDS — pinned to the bottom of the (now flex-grown) info column, home grid only; the wizard pins its price as part of a tag+price group instead (see nils-kit-wizard.liquid). */
  .nils-shelf__grid .nils-shelf__card-price {
    margin-top: auto;
  }

  .nils-shelf__lock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgb(255 255 255 / 0.35);
  }

  /*
   * PRICE WORDS [ours] — the same quiet/dim-icon/hover-brighten numbers as
   * the wizard card's own lock (sections/nils-kit-wizard.liquid:
   * `.nils-kit-wizard__card .nils-shelf__lock`), ported to the grid card
   * and list row here. Scoped off `.nils-shelf__lock--compare` so the
   * compare table's own plain-text treatment is untouched.
   */
  .nils-shelf__card .nils-shelf__lock,
  .nils-shelf__row .nils-shelf__lock {
    color: rgb(255 255 255 / 0.45);
    transition: color 0.2s ease;
  }

  .nils-shelf__card .nils-shelf__lock:hover,
  .nils-shelf__row .nils-shelf__lock:hover {
    color: rgb(255 255 255 / 0.7);
  }

  .nils-shelf__card .nils-shelf__lock svg,
  .nils-shelf__row .nils-shelf__lock svg {
    color: rgb(255 255 255 / 0.35);
  }

  /*
   * LOCK AS ITS OWN CONTROL [ours] — `.nils-shelf__lock` was always a plain
   * inline-flex <span> before (no href, no browser default styling to
   * fight); now a real <a>, so the two things a link needs that a span
   * didn't are added here: the default underline killed, and a focus-
   * visible ring for keyboard users (same red-outline shape the theme
   * already uses elsewhere — snippets/nils-request-form.liquid's own
   * input :focus-visible, this file's own filter-dropdown focus rings).
   */
  .nils-shelf__lock {
    text-decoration: none;
  }

  .nils-shelf__lock:focus-visible {
    outline: 2px solid var(--nils-red);
    outline-offset: 2px;
    border-radius: 4px;
  }

  /*
   * CARD PLACEMENT [ours] — the lock used to live inside `.nils-shelf__
   * card-info`'s own padded column (padding: 4px 16px 18px), pinned to
   * the bottom of that column via `.nils-shelf__grid .nils-shelf__card-
   * price { margin-top: auto }`. Pulled out to a sibling of `.nils-shelf__
   * card-link` (CARD PLACEMENT further down already does this same move
   * for the Confronta tick), it no longer inherits either of those —
   * this reproduces both by hand: 16px left/right matches the info
   * column's own horizontal padding so the text still lines up flush
   * with the title/subtitle above it; the top/bottom figures are this
   * run's own new value (not a port), since there's no longer a shared
   * flex context to inherit "auto" spacing from.
   */
  .nils-shelf__lock--card {
    margin: 4px 16px 14px;
  }

  /*
   * ROW PLACEMENT [ours] — same move on the list row: was the rightmost
   * child inside `.nils-shelf__row-link` (`display: flex; gap: 16px`, so
   * it got that 16px gap from the chips before it for free). Sibling now,
   * outside the link, sitting between it and the Confronta tick in the
   * row's own top-level flex row (`.nils-shelf__row`) — `flex: none` so
   * it takes its own content width rather than stretching, and an
   * explicit 16px left margin reproduces the same gap the link's own
   * `gap` used to give it, since a flex `gap` only applies between
   * children of the SAME flex container.
   */
  .nils-shelf__lock--row {
    display: flex;
    flex: none;
    align-items: center;
    margin-left: 16px;
    padding: 12px 20px 12px 0;
  }

  /*
   * CONFRONTA TICK [ours] — permanent per-product compare control
   * (Crutchfield pattern: checkbox + visible label as one clickable unit),
   * replacing the old toolbar-toggled compare mode. Muted at rest so it
   * never competes with the product itself; ≥44px min-height for a
   * touch-friendly hit area. Horizon's own base.css has
   * `label:has(input[type="checkbox"]) { display: inline-flex }` at
   * (0,1,1), which outranks a single class (0,1,0) — the CARD/ROW
   * PLACEMENT rules further down (`.nils-shelf__card .nils-shelf__compare-
   * check` / `.nils-shelf__row .nils-shelf__compare-check`, both (0,2,0))
   * double as the specificity fix, same shape as the filter-menu one above.
   */
  .nils-shelf__compare-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    cursor: pointer;
    color: rgb(255 255 255 / 0.45);
    font-family: var(--font-body--family);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
  }

  .nils-shelf__compare-check:hover {
    color: rgb(255 255 255 / 0.75);
  }

  .nils-shelf__compare-check input {
    position: absolute;
    opacity: 0;
    width: 22px;
    height: 22px;
    margin: 0;
    cursor: pointer;
  }

  .nils-shelf__compare-check-box {
    position: relative;
    flex: none;
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid rgb(255 255 255 / 0.35);
    background: rgb(0 0 0 / 0.3);
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  /*
   * FAMILY COLOR [ours, this batch] — was a hardcoded `var(--nils-red)`;
   * now reads `--tc` (falls back to `--nils-red` off-family pages/groups),
   * the exact same custom property `.nils-shelf__card:hover`/`.nils-shelf__
   * row-title` already read it from — set once per group on `.nils-shelf__
   * group` (`style="--tc: {{ group_color }}; ..."`, this file's own liquid
   * above) and inherited down through the card/row/checkbox DOM, not
   * redeclared here. Never a new lookup, never a hardcoded family hex.
   */
  .nils-shelf__compare-check input:checked + .nils-shelf__compare-check-box {
    background: var(--tc, var(--nils-red));
    border-color: var(--tc, var(--nils-red));
  }

  .nils-shelf__compare-check input:checked + .nils-shelf__compare-check-box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }

  .nils-shelf__compare-check-label {
    flex: none;
  }

  /*
   * CARD PLACEMENT — a footer strip, full card width, below the price.
   * LEFT-ALIGNED [ours, this batch] — `justify-content: flex-start`, not
   * `center`: the tick now lines up with the card's own text content
   * (title/subtitle/price all live in `.nils-shelf__card-info`, itself
   * padded 16px left — same number reused here, not eyeballed, so the
   * edges genuinely line up) rather than sitting independently centered
   * under it. List rows are untouched — they were never centered.
   */
  /* FOOTER ANCHOR [ours] — margin-top: auto, the same UNIFORM CARDS idiom
     .nils-shelf__grid .nils-shelf__card-price already uses above: absorbs
     whatever height .nils-shelf__card-link falls short of the grid row's
     stretched height (a product with no subtitle span at all skips that
     zone's reserved min-height entirely, above), so the tick sits flush to
     the card's own bottom edge — level with every neighbor in the row —
     instead of directly under a shorter link's natural height. */
  .nils-shelf__card .nils-shelf__compare-check {
    display: flex;
    justify-content: flex-start;
    margin-top: auto;
    padding: 10px 16px;
    border-top: 1px solid var(--nils-hairline);
  }

  /*
   * SELECTED STATE [ours] — a subtle accent border on the card itself, not
   * just the tick. FAMILY COLOR [this batch] — same `--tc-rgb` swap as the
   * checkbox fill above, the identical custom property/fallback pair
   * `.nils-shelf__card:hover` already reads a few rules up.
   */
  .nils-shelf__card:has(.nils-shelf__compare-check input:checked) {
    border-color: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.6);
  }

  /* ============================================================
     LIST — the site's row layout.
     ============================================================ */
  .nils-shelf__list {
    display: none;
    flex-direction: column;
    border-radius: var(--nils-radius);
    border: 1px solid var(--nils-hairline);
    overflow: hidden;
  }

  .nils-shelf__app[data-view='list'] .nils-shelf__list {
    display: flex;
  }

  /* CRUTCHFIELD-STYLE ROW [ours] — flex row so the link (flex: 1) and the
     Confronta tick (flex: none, right side) sit side by side without
     restructuring either's own internal layout.
     LIST VIEW RUN [ours] — the row used to carry its own ::before, a 2px
     family-colored bar running the row's full height; consecutive rows
     with no gap between them made it read as one thick bar down the
     whole family block. Removed — the family header keeps its own thin
     line, this run's only ask. position: relative dropped with it, it
     had no other reason to be here (nothing else in this row positions
     against it). */
  .nils-shelf__row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--nils-hairline);
  }

  .nils-shelf__row:last-child {
    border-bottom: none;
  }

  /* SELECTED STATE [ours] — same accent-border treatment as the grid card, same family-color swap (this batch). */
  .nils-shelf__row:has(.nils-shelf__compare-check input:checked) {
    box-shadow: inset 0 0 0 1px rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.6);
  }

  /* LIST ROW FIX [ours] — no more `gap` here: a flex `gap` is uniform
     across every child pair, and the fix below needs the info→chips gap
     baked into .nils-shelf__row-info's own fixed width instead (so chips
     start at the identical x on every row, not at a shrink-dependent one).
     Each surviving gap is now an explicit margin on the child before it. */
  .nils-shelf__row-link {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    padding: 14px 20px 14px 18px;
    text-decoration: none;
    color: #fff;
    transition: background-color 0.2s ease;
  }

  .nils-shelf__row-link:hover {
    background: rgb(255 255 255 / 0.03);
  }

  /* ROW PLACEMENT — right side, Crutchfield-style. */
  .nils-shelf__row .nils-shelf__compare-check {
    display: flex;
    flex: none;
    padding: 0 20px 0 12px;
  }

  /* LIST VIEW RUN [ours] — tile size/radius measured from the site's own
     list row (nilsyourbike.com/en/products, list mode): 140x140, 8px
     radius (radius already matched by coincidence), plus the site's own
     1px hairline border, which this tile didn't carry before. */
  .nils-shelf__row-image {
    flex: none;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgb(255 255 255 / 0.03);
    border: 1px solid rgb(255 255 255 / 0.14);
    padding: 6px;
    /* LIST ROW FIX [ours] — replaces .nils-shelf__row-link's old `gap`
       for this one pair: the measured tile-to-text gap (14px), unchanged. */
    margin-right: 14px;
  }

  .nils-shelf__row-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* LIST ROW FIX [ours] — the LIST ROW FOLLOW-UP run before this one sized
     this column to each row's OWN content (flex:0 1 auto, capped at
     280px), so chips started at a different x per row depending on that
     row's own title/subtitle length — wrong per this run's own ask: chips
     must start at the SAME x everywhere. Rendered (not estimated: a
     detached, unconstrained clone of every row's real .nils-shelf__row-
     title/-subtitle, same classes/font, measured via getBoundingClientRect)
     across all 50 products, all 4 locales (identical — this catalogue's
     lead copy isn't per-locale): widest title 183.75px ("Special Cleaner
     Spray"/"Special cleaner spray" depending on case), widest subtitle
     250.0625px ("Glue removal substance & food-grade cleaner"). Column
     width = widest subtitle + the tile-to-text gap (14px, margin-right on
     .nils-shelf__row-image above) = 264.0625px, rounded up to 265px,
     under the 320px cap — so it stays a hard FIXED width (flex:none), not
     a max-width some rows shrink below: every row's chips start at
     identical x. A future subtitle wider than this column wraps to a
     second line (white-space isn't overridden here, so normal wrap
     already applies) instead of pushing chips off their shared column. */
  .nils-shelf__row-info {
    flex: none;
    width: 265px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .nils-shelf__row-title {
    font-family: var(--font-heading--family);
    font-style: italic;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--tc, var(--nils-red));
  }

  .nils-shelf__row-subtitle {
    font-size: 12px;
    color: rgb(255 255 255 / 0.5);
  }

  /* LIST ROW FOLLOW-UP [ours] — flex-basis 0 (not a content/px guess) so
     this column takes 100% of whatever width .nils-shelf__row-info (now a
     hard fixed width, above — LIST ROW FIX) doesn't claim, right up to
     .nils-shelf__row-price's own fixed column. Wrapping is native
     flex-wrap on ITS OWN children (the chips): the row itself never wraps
     above 640px, so a second chip line grows the row's height without
     ever reaching under the price/Confronta column.
     min-width LEFT AT ITS DEFAULT (auto), deliberately — a flex item's
     auto-minimum on a wrapping container floors at its widest unbreakable
     child, i.e. the single widest chip. Overriding it to 0 (tried first)
     let a lone long chip (e.g. "Adventure & Commuting", nothing to wrap
     against) get squeezed thinner than its own text and spill into the
     price/Confronta column at narrow widths — the one thing this column
     must never do. Leaving it auto means .nils-shelf__row-info (fixed
     width now, so it can't give up space) never gets asked to.
     LIST ROW FIX [ours] — margin-right replaces .nils-shelf__row-link's
     old `gap` for this pair: same 14px measured value, now explicit since
     the info→chips gap lives inside .nils-shelf__row-info's own width. */
  .nils-shelf__row-chips {
    flex: 1 1 0%;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-right: 14px;
  }

  .nils-shelf__chip {
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px solid var(--nils-hairline-strong);
    background: rgb(255 255 255 / 0.04);
    color: rgb(255 255 255 / 0.7);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  /* LIST VIEW RUN [ours] — size/padding/spacing taken from the site's own
     chips (13px, 5px 14px, 5px radius); weight/letter-spacing/case are
     ours, same as the family color grading below — deliberately kept,
     not part of this run's "take the site's measurements" ask.
     Scoped to .nils-shelf__row-chips only: the bare .nils-shelf__chip
     base above is shared with the active-filter pills the toolbar builds
     in assets/nils-shelf.js ("nils-shelf__chip nils-shelf__active-filter-chip"),
     which live outside list rows and must keep their original size. */
  .nils-shelf__row-chips .nils-shelf__chip {
    padding: 5px 14px;
    border-radius: 5px;
    font-size: 13px;
  }

  .nils-shelf__chip--family {
    border-color: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.4);
    color: var(--tc, var(--nils-red));
    background: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.08);
  }

  .nils-shelf__row-price {
    flex: none;
    min-width: 110px;
    text-align: right;
    font-family: var(--font-body--family);
    font-size: 14px;
    font-weight: 600;
  }

  .nils-shelf__row-price .nils-shelf__lock {
    justify-content: flex-end;
  }

  .nils-shelf__no-results {
    padding: 60px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  /* Same author-vs-UA-origin fix this codebase already documents on `.nils-kit-wizard__toast[hidden]` (sections/nils-kit-wizard.liquid) — declaring `display: flex` above on the same selector the browser's own `[hidden] { display: none }` rule targets means that UA rule no longer wins on specificity/origin alone; this compound selector (class + attribute) restores it. */
  .nils-shelf__no-results[hidden] {
    display: none;
  }

  .nils-shelf__no-results-text {
    margin: 0;
    color: rgb(255 255 255 / 0.4);
    font-size: 14px;
  }

  /* Azzera filtri e ricerca [ours, run 1] — ghost button, the exact same formula as `.nils-shelf__compare-clear` ("Svuota", below) / `.nils-btn--ghost` (snippets/nils-design-language.liquid) — not a new shape. */
  .nils-shelf__no-results-reset {
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid rgb(255 255 255 / 0.15);
    background: rgb(255 255 255 / 0.05);
    color: rgb(255 255 255 / 0.8);
    font-family: var(--font-body--family);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .nils-shelf__no-results-reset:hover {
    background: rgb(var(--nils-red-rgb) / 0.12);
    border-color: rgb(var(--nils-red-rgb) / 0.4);
    color: var(--nils-red);
  }

  /* ============================================================
     COMPARE TRAY + MODAL
     ============================================================ */
  /*
   * FURNITURE, resolved with padding [ours] — `.page-wrapper` (base.css)
   * is this theme's own true end-of-page container: the scroll surface
   * itself at >=990px (`overflow-y: auto`), and just the normal in-flow
   * wrapper everywhere the document scrolls instead — either way, its own
   * bottom padding adds directly to the total scrollable height, so this
   * one rule reserves clearance for the drawer regardless of which
   * element is actually doing the scrolling. `--nils-compare-drawer-
   * height` defaults to 0px (assets/nils-shelf.js #syncDrawerHeight only
   * ever sets it non-zero while <nils-shelf-app> exists and 1+ products
   * are selected), so this is a no-op everywhere else in the theme.
   *
   * `transition` is a shorthand — base.css already puts one on
   * `.page-wrapper` (`margin-right`, for the cart/theme drawer's own
   * open/close). Setting the shorthand again here would replace that
   * list wholesale, not add to it (same-specificity rules don't merge
   * shorthands), silently breaking that unrelated animation depending on
   * load order — so the value below repeats base.css's own `margin-right`
   * line verbatim alongside the new `padding-bottom` one, rather than
   * risk that.
   */
  .page-wrapper {
    padding-bottom: var(--nils-compare-drawer-height, 0px);
    transition: margin-right var(--animation-speed) var(--animation-timing-fade-out),
      padding-bottom 250ms var(--ease-out-quad);
  }

  /*
   * PAGE RESERVES SPACE FOR IT, MOBILE [ours] — mobile-audit/findings.md
   * found `.nils-shelf__mobile-top` (and the chat FAB stacked 12px below
   * it, snippets/nils-chat-widget.liquid) floating over a real product
   * card link at rest (confirmed still reproducing live before this fix:
   * `.nils-shelf__mobile-top` over "SAND TRACK CHAIN", every width).
   * Both stay fixed where they are — mobile-top's whole job is to be
   * reachable from anywhere on a long scroll, moving it defeats that —
   * the fix extends the rule right above this one: reserve enough blank
   * space at the true bottom of the page that neither control ever
   * floats over real content, only the reserved gap. Placed AFTER that
   * bare rule rather than inside its own `@media` block up near mobile-
   * top's own definition (this file's more usual spot for a mobile
   * override): a `@media`-wrapped block earlier in the file does NOT
   * outrank a later plain rule of the same specificity — tried it there
   * first, live-measured `padding-bottom` still computing the bare
   * rule's value, not this one, confirming source order beat the media
   * query. This position, after the rule it overrides, is what actually
   * wins.
   *
   * One rule covers both stacked controls: mobile-top's own top edge
   * (`bottom: calc(84px + drawer-height)`, 40px tall, above) sits
   * drawer-height + 84 + 40 = drawer-height + 124px up from the true
   * bottom — taller than the chat FAB's own drawer-height + 72px
   * (16 + 56, snippets/nils-chat-widget.liquid) it's stacked above, so
   * reserving for this one covers the FAB underneath it too.
   */
  @media (max-width: 640px) {
    .page-wrapper {
      padding-bottom: calc(var(--nils-compare-drawer-height, 0px) + 124px);
    }
  }

  /*
   * SHARED WITH THE WIZARD [ours, PORT] — `.nils-shelf__compare-tray` and
   * `--tick` are also the exact classes sections/nils-kit-wizard.liquid
   * now renders its own bar+sheet against (same ref names too —
   * `compareBar`, `compareOpenBtn`, etc.), with no CSS of its own — this
   * file's stylesheet is the only styling either gets. Both apps drive
   * this shared markup through the shared engine (assets/nils-compare-
   * engine.js) instead of a hand-mirrored copy; the wizard adds its own
   * z-index override (`.nils-kit-wizard .nils-shelf__compare-tray--tick`,
   * sections/nils-kit-wizard.liquid) since it's nested inside a full-
   * screen overlay the store page doesn't have.
   */
  .nils-shelf__compare-tray {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100vw - 24px);
    padding: 10px 18px 10px 10px;
    border-radius: 14px;
    border: 1px solid rgb(var(--nils-red-rgb) / 0.3);
    background: rgb(18 18 18 / 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 48px rgb(0 0 0 / 0.5);
    font-size: 13px;
    color: rgb(255 255 255 / 0.7);
  }

  .nils-shelf__compare-tray[hidden] {
    display: none;
  }

  /*
   * CHAT COLLISION, TABLET [ours, 2026-09-17] — this tray's effective
   * z-index is 25 (the `.nils-shelf__compare-tray--tick` modifier below
   * wins the specificity tie against this rule's own z-index:50 by
   * appearing later in source order — see that rule's own Z-INDEX,
   * RECONFIRMED doc comment) at EVERY width, not just mobile — unlike
   * the store's compact-bar/chips-track (mobile-only furniture, see the
   * 2026-09-16 CHAT COLLISION, PART 2 rule below), this tray is always
   * on screen once products are selected. The existing `:root[data-
   * nils-chat-open] .nils-shelf__compare-tray { display: none; }` rule
   * (below, inside `@media (max-width: 640px)`, from the 2026-09-15
   * session) only covers the phone-width, full-screen chat panel —
   * live-measured with the new tablet dock (snippets/nils-chat-widget
   * .liquid, `@media (min-width: 641px) and (max-width: 1200px)`,
   * z-index 19): the tray's centered 75%-wide bar sits well within the
   * panel's own right-docked 400px column horizontally, so its own
   * "Mostra"/action buttons painted through the chat panel's own input
   * area at every tablet size and orientation tested. Same fix, same
   * selector, extended to this width band — not merged into the ≤640
   * block itself (a different, unrelated rule set for the mobile-only
   * compact bar/chips-track lives in there too; a separate, minimal
   * addition keeps this change's blast radius to exactly the tray).
   * Not z-index instead, for the same reason the tablet header itself
   * wasn't hidden (snippets/nils-chat-widget.liquid's own TABLET LAYER
   * AUDIT comment): the tray is redundant furniture once the chat panel
   * already covers the screen's own right column where it would
   * otherwise render, not something a visitor still needs reachable
   * behind a partial overlay — selection state is untouched either way
   * (the underlying checkboxes stay checked; the tray reappears exactly
   * as it was the moment chat closes).
   */
  @media (min-width: 641px) and (max-width: 1200px) {
    :root[data-nils-chat-open] .nils-shelf__compare-tray {
      display: none;
    }
  }

  /*
   * DRAWER v3 [ours, store page only] — replicates reference-compare-
   * drawer.png (Crutchfield's own compare bar) structurally: not two
   * full-drawer states swapped in place (v2), but one persistent HEADER
   * (the "Confronta prodotti" tab poking above it, the Mostra/Nascondi
   * toggle at the right — same shape as their tab + "Show") with a
   * collapsible BODY panel underneath it. The header never moves; only
   * `.nils-shelf__compare-tray-body`'s own `max-height` animates, so it
   * sits in normal flow below the header instead of the two of them
   * needing to be absolute-stacked on top of each other (v2's approach).
   * `--nils-compare-drawer-height` (assets/nils-shelf.js
   * #syncDrawerHeight) is no longer the drawer's OWN height — that's
   * content-driven now — but still the one number the page-bottom
   * padding and chat-launcher/back-to-top shifts below react to, kept in
   * lockstep with the header/body heights by hand (48px + 104px).
   */
  /*
   * RUN A [ours] — 75% viewport width, centered, in place of the prior
   * full-bleed 100%. `left`/`right` insets (12.5% each, splitting the
   * remaining 25% evenly) rather than a `width` + `transform:
   * translateX(-50%)` pairing, so the box has exactly one source of
   * truth for its horizontal position — matches how this same rule
   * already centers itself vertically-adjacent content elsewhere in
   * this file (insets, not width+transform). Bar and sheet are this
   * same element (see the DRAWER v3 doc above — one container, the body
   * underneath the header swaps, the container itself never does), so
   * this one change is identical in both states by construction, not by
   * duplicating the rule. `border` restored to the drawer's own already-
   * established value (`.nils-shelf__compare-tray`'s own base rule,
   * above — `1px solid rgb(var(--nils-red-rgb) / 0.3)`, previously
   * suppressed here since a full-bleed edge had nothing to border)
   * rather than inventing a new one, now that inset side edges are
   * visible against the page. Mobile (below) still resets to full-bleed
   * — untouched, not part of this change.
   */
  /*
   * Z-INDEX, RECONFIRMED [ours, 2026-09-17] — this used to read `var(--
   * layer-sticky)` (8) on the assumption ("SHARED WITH THE WIZARD", above)
   * that nothing on the plain store page competes at that tier. Reproduced
   * live that this is no longer true: `.nils-shelf__chips-track` (this
   * file's own mobile category-chip strip) sits at `calc(var(--layer-
   * temporary) + 1)` = 21 — added after this rule was written, never
   * revisited here — so on a phone, with the sheet open AND the page
   * scrolled enough for the sticky chip strip to be active, the strip's
   * own opaque pill row painted OVER this sheet's head row instead of
   * under it: a stray, unlabeled remove-X (the real one, off the strip-
   * covered column) sitting with nothing visibly attached to it. 25
   * matches the wizard's own already-explicit override for this same
   * class (`.nils-kit-wizard .nils-shelf__compare-tray--tick`, sections/
   * nils-kit-wizard.liquid) — comfortably above every z-index this file
   * or that one uses (max 21 here, 20 there), so one shared number now
   * covers both contexts; that wizard-side rule is a same-value no-op
   * today, kept rather than removed as the wizard's own record of why 25
   * specifically.
   */
  .nils-shelf__compare-tray--tick {
    display: block;
    position: fixed;
    left: 12.5%;
    right: 12.5%;
    bottom: 0;
    transform: none;
    z-index: 25;
    max-width: none;
    padding: 0;
    border: 1px solid rgb(var(--nils-red-rgb) / 0.3);
    border-radius: 0;
    box-shadow: 0 -16px 40px rgb(0 0 0 / 0.45);
    font-size: 13px;
    color: rgb(255 255 255 / 0.7);
  }

  /* HEADER — always present the instant 1+ products are selected; fixed 48px, never animates. `position: relative` anchors the tab (below), which pokes above THIS box alone. */
  .nils-shelf__compare-tray-header {
    position: relative;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 24px;
    border-top: 1px solid rgb(255 255 255 / 0.08);
  }

  /*
   * TAB [ours] — the picture's own small raised label, top-left, poking
   * above the header's top edge like an attached tab. Same panel
   * background as the header (LAW 3, no new color) with the drawer's own
   * red-tinted border (matches the panel border already used elsewhere
   * in this file); no bottom border, so it visually fuses into the
   * header instead of reading as a separate floating chip.
   */
  .nils-shelf__compare-tray-tab {
    position: absolute;
    left: 24px;
    top: -15px;
    padding: 7px 14px;
    border: 1px solid rgb(var(--nils-red-rgb) / 0.3);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    background: rgb(18 18 18 / 0.97);
    font-family: var(--font-body--family);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
  }

  /*
   * SHEET HEADING, DEFAULT OFF [ours, 2026-09-21] — desktop-safe default:
   * hidden everywhere unless the compact ≤1200 block (further below)
   * explicitly turns it on for the real comparison sheet. Desktop
   * (>=1201) keeps the tab + the table's own corner-cell kicker exactly
   * as before this task — out of its own stated scope. See that block's
   * own doc comment for the full why/what.
   */
  .nils-shelf__compare-tray-heading {
    display: none;
  }

  /*
   * ONE STYLE, EVERY DRAWER ACTION [ours] — Mostra/Nascondi and Svuota
   * share this exact font-family/size/weight/case/tracking; Vedi
   * confronto (below) matches it too but through its own ancestor-scoped
   * rule, since `.nils-shelf__compare-open` is also the WIZARD's own
   * button class (sections/nils-kit-wizard.liquid) — folding it into this
   * shared selector would restyle that one too. No mixed typography
   * within this drawer, per instruction; the wizard stays exactly as it was.
   */
  .nils-shelf__compare-tray-toggle,
  .nils-shelf__compare-clear {
    font-family: var(--font-body--family);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .nils-shelf__compare-tray--tick .nils-shelf__compare-open {
    font-family: var(--font-body--family);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .nils-shelf__compare-tray-toggle {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 4px;
    border: none;
    background: none;
    color: rgb(255 255 255 / 0.85);
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .nils-shelf__compare-tray-toggle:hover {
    color: var(--nils-red);
  }

  /* One chevron, not two swapped buttons (v2) — it just flips per state. */
  .nils-shelf__compare-tray-toggle-chevron {
    transition: transform 200ms var(--ease-out-quad);
  }

  /* Flips when the SHEET is open — same "content behind me is hidden" signal as before, now keyed off 'sheet' instead of 'collapsed'. */
  .nils-shelf__compare-tray[data-tray-state='sheet'] .nils-shelf__compare-tray-toggle-chevron {
    transform: rotate(180deg);
  }

  /*
   * BAR BODY [ours] — the piece that swaps out for the SHEET below.
   * `max-height` (not the drawer root's own `height`, and not v2's
   * absolute-stacked-panels trick) transitions between 0 and its natural
   * content height, in normal flow below the header.
   */
  .nils-shelf__compare-tray-body {
    display: flex;
    align-items: stretch;
    max-height: 104px;
    overflow: hidden;
    border-top: 1px solid rgb(255 255 255 / 0.08);
    transition: max-height 250ms var(--ease-out-quad), border-color 250ms var(--ease-out-quad);
  }

  .nils-shelf__compare-tray[data-tray-state='sheet'] .nils-shelf__compare-tray-body {
    max-height: 0;
    border-top-color: transparent;
  }

  /*
   * SHEET [ours, run C-repair — back to normal flow, reveal stays
   * opacity/transform] — run C made this `position: fixed` to get a
   * constant, non-animated `max-height` without inflating the BAR
   * state's own compact footprint. That broke the panel's own visual
   * structure: taken out of the tray's flow, this element could no
   * longer sit BELOW `.nils-shelf__compare-tray-header` the way normal
   * block flow put it there in v4 — instead it anchored independently
   * (`bottom: 48px`, above the header), which put the header at the
   * BOTTOM of the open panel and left this element's own top edge bare
   * (caught live: header row measured at y≈1255, near the viewport
   * floor, sheet's own content from y≈594 to 1256 — above it, not
   * below). `position: fixed` also turned out to need the tray's own
   * `backdrop-filter` (a containing block for fixed descendants) worked
   * around with three iterations of insets (12.5% → 12.5vw → -1px) to
   * land on the frozen 320/1920 footprint at all — real complexity for
   * a problem normal flow solves for free.
   *
   * FIX — back to a normal-flow child of `.nils-shelf__compare-tray`,
   * right after the header, exactly like v4: block flow puts this
   * BELOW the header automatically, for ANY actual content height, no
   * containing-block math, no insets of its own (this element's own
   * width is just 100% of the tray's already-correct 1920px box).
   *
   * The stutter fix survives the move because it was never really about
   * *whether* this is in flow — it's about not ANIMATING `max-height`.
   * `max-height` still toggles between `0` (bar) and the same constant
   * `calc(85vh - 48px)` cap as run C, but it's absent from the
   * `transition` list below, so the toggle SNAPS in the same frame the
   * state attribute flips — one single layout pass (measured: ~2ms,
   * same order of magnitude as any ordinary state change, not a
   * per-frame cost), not 60 animated frames recalculating a growing
   * scrollable region. That single snap is what run B's diagnosis
   * actually objected to eliminating — the ANIMATED, repeated version,
   * not a plain state change every other toggle in this codebase also
   * causes. `overflow-y: auto` stays constant (never toggled on its
   * own), matching run C. Reveal is still pure opacity + `transform:
   * translateY()` + a `visibility` delay — this theme's own proven
   * large-panel pattern (`.nils-shelf__mobile-top` above, `.nils-chat__
   * fab`/`__panel`) — genuinely animated, unlike the size.
   *
   * `background` stays solid (run C) rather than reverting to the
   * tray's own translucent 0.97 + inherited blur: this element's own
   * `opacity` still transitions, and while the specific bleed-through
   * bug run C fixed was diagnosed on an element that CARRIED backdrop-
   * filter itself (not true here — only the ancestor tray has it), a
   * solid fill costs nothing and removes any doubt rather than re-
   * betting on the same class of bug. `border-top` restores the v4
   * seam between the header and this content, transparent when
   * collapsed so it doesn't show through the 0-height gap.
   */
  .nils-shelf__compare-sheet {
    max-height: 0;
    overflow-y: auto;
    background: rgb(18 18 18);
    /* Snaps with max-height, not transitioned (below) — a 1px hairline
       appearing/disappearing in the same frame as the fade is not
       perceptible, and keeping this off the transition list matches run
       C's own property set exactly: opacity/transform/visibility only. */
    border-top: 1px solid transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition:
      opacity var(--animation-speed-slow) var(--ease-out-quad),
      transform var(--animation-speed-slow) var(--ease-out-quad),
      visibility 0s linear var(--animation-speed-slow);
  }

  .nils-shelf__compare-tray[data-tray-state='sheet'] .nils-shelf__compare-sheet {
    max-height: calc(85vh - 48px);
    border-top-color: rgb(255 255 255 / 0.08);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      opacity var(--animation-speed-slow) var(--ease-out-quad),
      transform var(--animation-speed-slow) var(--ease-out-quad);
  }

  /*
   * BACKDROP [ours, 2026-09-18] — Crutchfield reference spec
   * (crutchfield-compare-spec.md): the expanded panel gets a true
   * dimming veil between it and the page — `.js-modal-page-overlay`,
   * full viewport, `rgb(0 0 0) / 0.5`, one z-index below the panel.
   * Ported here for sheet state at EVERY width (bar state: no backdrop).
   *
   * TOKEN [ours] — checked this theme's own existing overlay/veil token
   * first (`--backdrop-color-rgb`/`--backdrop-opacity`, snippets/theme-
   * styles-variables.liquid, the one every native `<dialog>` overlay uses
   * via snippets/theme-drawer-styles.liquid's `::backdrop` rule) rather
   * than porting the reference's literal value outright. Live-verified
   * it does NOT actually resolve here: `--backdrop-color-rgb` reads
   * `var(--color-shadow-rgb))`, and `--color-shadow-rgb` is only ever
   * defined inside a Shopify `.color-scheme-*` wrapper class — this
   * section (and this tray, wherever it's rendered — the store page or
   * the kit wizard) never carries one, confirmed via `getComputedStyle`
   * on the live page (empty string, not a color, at `:root`, `<body>`,
   * and the tray element itself). Using it as-is would silently render
   * an invisible backdrop. Falls through to this task's own literal
   * fallback, `rgb(0 0 0 / 0.5)` — written in this file's own `rgb(r g b
   * / a)` syntax (matches snippets/nils-chat-widget.liquid's veil and
   * this file's own wizard-shared overlay conventions) rather than
   * `rgba()`, same numeric value either way.
   *
   * Z-INDEX — 24, one below this tray's own effective 25 (the `--tick`
   * modifier below, which wins the cascade tie by source order — see
   * that rule's own Z-INDEX, RECONFIRMED comment). Unconditional, not
   * width-scoped: this element covers the FULL viewport at every width
   * (unlike the tray itself, which is only ever a bottom-anchored strip
   * or ≤1200's own full-bleed panel) — 24 already clears everything this
   * file or the wizard ever places behind it (compact-bar 20, chips-
   * track 21, the mobile/tablet chat panel — see the CHAT-OPEN GUARD
   * below for why that last one needs its own explicit exception).
   */
  .nils-shelf__compare-backdrop {
    position: fixed;
    inset: 0;
    z-index: 24;
    background: rgb(0 0 0 / 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nils-shelf__compare-tray--tick[data-tray-state='sheet']:not([hidden]) ~ .nils-shelf__compare-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  @media (prefers-reduced-motion: no-preference) {
    .nils-shelf__compare-backdrop {
      transition:
        opacity var(--animation-speed-slow) var(--ease-out-quad),
        visibility 0s linear var(--animation-speed-slow);
    }

    .nils-shelf__compare-tray--tick[data-tray-state='sheet']:not([hidden]) ~ .nils-shelf__compare-backdrop {
      transition: opacity var(--animation-speed-slow) var(--ease-out-quad);
    }
  }

  /*
   * MOBILE, LIGHTER VEIL [ours, 2026-09-22] — was `display: none` at ≤640
   * (2026-09-19, "MOBILE OFF", superseded here): the sheet's own compact-
   * mode rule (`.nils-shelf__compare-tray[data-tray-state='sheet'] .nils-
   * shelf__compare-sheet`, further below) goes `top: var(--header-
   * height); left:0; right:0` — near-fullscreen, but NOT full-screen; a
   * strip of real page stays visible above it, between the site header
   * and the sheet's own top edge. Turning the backdrop off entirely to
   * fix the desktop-strength 50% veil reading as "a single pitch-black
   * wall" also left that strip at full page brightness — reported live,
   * confirmed: it should dim like the equivalent strip does at 641+, just
   * not with desktop's own 50% (that's the exact value the 2026-09-19 fix
   * was built to escape at this width).
   *
   * LIGHTER, NOT OFF — a `background` override at THIS breakpoint only
   * (0.35, down from the shared rule's 0.5 above), rather than a whole
   * separate opacity/visibility scheme: the shared rule directly above
   * already handles show/hide (`opacity`/`visibility`, keyed off `data-
   * tray-state='sheet'`) correctly at every width, including this one —
   * only the DARKNESS of an already-correctly-toggled veil needed to
   * change here. 0.35 was tested first against this run's own explicit
   * failure bar ("if the composite reads as one black mass, step down
   * toward .25") — at 390, screenshotted with the sheet open over real
   * product cards: the visible strip above the sheet reads clearly dimmed
   * against it, and the sheet's own near-black `rgb(18 18 18)` surface
   * stays visually distinct from the veiled strip rather than the two
   * fusing into one black mass — held at 0.35, no step-down needed. Full
   * comparison in this run's own REPORT.md.
   *
   * Nothing else changes: scroll-lock, the CHAT-OPEN GUARD below, and
   * tap-to-close (assets/nils-compare-engine.js, `compareBackdrop`'s own
   * `click` listener — already unconditional, never width-scoped, so
   * turning this element visible again at ≤640 is enough on its own to
   * make the strip tappable-to-close, consistent with 641+) are all
   * already correct and untouched.
   */
  @media (max-width: 640px) {
    .nils-shelf__compare-backdrop {
      background: rgb(0 0 0 / 0.35);
    }
  }

  /*
   * CHAT-OPEN GUARD [ours] — unlike the tray-hide rules below (Bug A,
   * ≤640, and its 2026-09-17 tablet extension, both scoped to the widths
   * where the tray's own bottom-anchored footprint could physically
   * reach the chat panel), THIS backdrop covers the entire viewport at
   * every width by construction. The tray itself already goes `display:
   * none` the instant chat opens at ≤1200 (its own rules, below) — but
   * that doesn't stop THIS element: it's a sibling, keyed off the tray's
   * `data-tray-state` attribute only, which is untouched by the tray's
   * own `display: none`. Without this, opening chat while the sheet was
   * already open would leave a full-page dimming veil live over an open
   * chat panel at every width, including >=1201 where the tray is never
   * hidden for chat at all today (the small desktop popover never
   * physically overlapped the tray's own bottom-center strip — but it
   * WOULD sit under this now-full-viewport backdrop). Not width-scoped,
   * on purpose — this collision exists at every width this backdrop
   * does.
   */
  :root[data-nils-chat-open] .nils-shelf__compare-backdrop {
    display: none;
  }

  /*
   * PINNED HEADER [ours, v4] — the product header row (image, name,
   * remove X) stays put while the rest of the table scrolls underneath
   * it, inside the sheet's own scroll container above. Same edge-to-edge
   * bleed as the zebra rows (`.nils-shelf__compare-row--alt`, below:
   * `margin-inline: -24px; padding-inline: 24px`) so the sticky strip
   * doesn't show the table's own side padding as gaps at its edges;
   * background matches the tray's own already-established panel fill
   * (`.nils-shelf__compare-tray`'s own `rgb(18 18 18 / 0.97)`, above) so
   * scrolled rows don't show through it.
   */
  .nils-shelf__compare-sheet .nils-shelf__compare-row--head {
    position: sticky;
    top: 0;
    z-index: 2;
    margin-inline: -24px;
    padding-inline: 24px;
    /* Matches the sheet's own solid fill (run C, above) — was the tray's translucent 0.97, now the sheet is fully opaque so this stays in lockstep with it, no visible seam under scrolled content. */
    background: rgb(18 18 18);
  }

  /*
   * SLOTS [ours] — the picture's own generous thumbnail-beside-name row,
   * equal-width columns spanning the drawer (mobile trades equal columns
   * for horizontal scroll — see the @media block below). Now shared with
   * the kit wizard too (sections/nils-kit-wizard.liquid) since the PORT —
   * its own smaller 44px-tile equivalent (`.nils-shelf__compare-tray-
   * item`/`-remove`) was removed as dead code, not kept alongside this.
   */
  .nils-shelf__compare-tray-slots {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
  }

  .nils-shelf__compare-tray-slot {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-right: 1px solid rgb(255 255 255 / 0.08);
  }

  .nils-shelf__compare-tray-slot-thumb {
    flex: none;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    background: rgb(255 255 255 / 0.06);
    border: 1px solid rgb(255 255 255 / 0.14);
  }

  .nils-shelf__compare-tray-slot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .nils-shelf__compare-tray-slot-name {
    flex: 1 1 auto;
    min-width: 0;
    font-family: var(--font-body--family);
    font-size: 13px;
    line-height: 1.3;
    color: rgb(255 255 255 / 0.85);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /*
   * X CONTROLS [ours, run C] — one more step up the theme's own icon-
   * button size ladder (snippets/theme-styles-variables.liquid: run B
   * took this to `--button-size-sm` (30px); `--button-size-md` (36px)
   * is the next rung after that) rather than a new one-off number.
   * Position (`top`/`right`) stays exactly where it was — only the size
   * changed, per instruction. Shared by the drawer slots (hit area,
   * top-right of the slot) and the sheet's own per-column X (assets/
   * nils-shelf.js #renderCompareTable, same class reused verbatim,
   * anchored to `.nils-shelf__compare-product-card` below instead of
   * the full column cell).
   */
  /*
   * X INK [ours, run E] — rest color was `rgb(255 255 255 / 0.5)`, 50%
   * opacity, not full. `var(--color-foreground)` is this theme's own
   * text-color token (snippets/theme-styles-variables.liquid; read live
   * against this page: resolves to `#FFFFFF`, the same white this file
   * already uses everywhere else as its brightest literal — now the
   * token instead of a re-guessed literal) at full opacity — no `rgb(...
   * / opacity)` wrapper, since "full opacity" means the base color
   * itself, unmodified. Hover (below) already read `#fff` — full
   * opacity, functionally the same color — so it's untouched, per
   * instruction.
   */
  .nils-shelf__compare-tray-slot-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: var(--button-size-md);
    height: var(--button-size-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: none;
    color: var(--color-foreground);
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .nils-shelf__compare-tray-slot-remove:hover {
    color: #fff;
    background: rgb(255 255 255 / 0.1);
  }

  /* EMPTY SLOT — its own dashed box, continuing the row (picture); the
     first one carries the "Aggiungi fino a 4" hint, later ones stay
     blank. Compound selector so this beats the base slot's own
     `border-right` (specificity, not source order — the fix shape
     already used elsewhere in this file). */
  .nils-shelf__compare-tray-slot.nils-shelf__compare-tray-slot--empty {
    justify-content: center;
    margin: 12px 8px;
    padding: 8px;
    border: 1px dashed rgb(255 255 255 / 0.18);
    border-radius: 8px;
  }

  .nils-shelf__compare-tray-slot-empty-label {
    font-family: var(--font-body--family);
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    color: rgb(255 255 255 / 0.4);
  }

  /* PORT CLEANUP [ours] — .nils-shelf__compare-tray-items/-item/-item
     img/-item--empty/-tray-remove removed: the wizard's old 44px-tile
     tray was their only renderer (grep-confirmed) — it now builds the
     same .nils-shelf__compare-tray-slot* markup the store always has,
     via the shared engine's renderTrayItems. */

  .nils-shelf__compare-tray-actions {
    flex: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    border-left: 1px solid rgb(255 255 255 / 0.08);
    white-space: nowrap;
  }

  /* Primary — "Vedi confronto (N)". Padding/color/etc. shared with the wizard's own button (untouched); the drawer-scoped rule above layers its typography on top. */
  .nils-shelf__compare-open {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: var(--nils-red);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: opacity 0.2s ease;
  }

  .nils-shelf__compare-open:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  /* PORT CLEANUP [ours] — .nils-shelf__compare-cancel removed: it only
     ever styled the wizard's old X-icon cancel button, gone now that
     the wizard uses the shared .nils-shelf__compare-clear ("Svuota")
     button instead, same as the store. */

  /* Svuota — ghost button, the same formula as `.nils-btn--ghost` (snippets/nils-design-language.liquid), scaled to this row's compact size. Typography comes from the shared drawer-action rule above. */
  .nils-shelf__compare-clear {
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid rgb(255 255 255 / 0.15);
    background: rgb(255 255 255 / 0.05);
    color: rgb(255 255 255 / 0.8);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }

  .nils-shelf__compare-clear:hover {
    background: rgb(var(--nils-red-rgb) / 0.12);
    border-color: rgb(var(--nils-red-rgb) / 0.4);
    color: var(--nils-red);
  }

  /* PORT CLEANUP [ours] — .nils-shelf__compare-modal and its -backdrop/
     -panel/-header/-header h3/-header button children removed: the
     wizard (sections/nils-kit-wizard.liquid) was their only remaining
     renderer, and it now uses the tick bar + sheet instead (grep-
     confirmed no markup anywhere still emits the bare .nils-shelf__
     compare-modal class). .nils-shelf__compare-modal--redesigned stays
     — both apps still nest it inside .nils-shelf__compare-sheet. */

  /*
   * DEAD SINCE v4, REMOVED [was here] — a `nils-shelf-app`-scoped block
   * (background/header-label/close-button overrides) that only ever
   * matched the store's own `.nils-shelf__compare-modal-panel`/`-header`.
   * That markup is gone from this file (see BOTTOM DRAWER v4 above); the
   * wizard's own modal (sections/nils-kit-wizard.liquid, its own separate
   * `<nils-kit-wizard-app>` element) was never in scope for these rules
   * to begin with (confirmed by the `nils-shelf-app` ancestor selector
   * they carried) and is unaffected by their removal.
   */

  /*
   * COLUMN COLLISION FIX [ours, 2026-09-17] — reproduced live (Playwright,
   * chromium+webkit, store + wizard, 390/810/1180): with N columns as a
   * bare `repeat(N, 1fr)` (assets/nils-compare-engine.js), a narrow-enough
   * container shrinks every column below its own content's width — the
   * cell itself shrinks fine (`.nils-shelf__compare-cell`'s own
   * `min-width: 0`, below), but the fixed 128px image tile and an
   * unbroken product name inside it don't shrink with it, so they paint
   * straight past the column edge into the next one (confirmed: two
   * adjacent single-line names rendering as one run-together string,
   * "SYNT JET SYNT R"). Measured failure zone: 606-652px row width at 4
   * columns — hit on the PLAIN STORE PAGE at an ordinary 810px tablet
   * viewport (nothing wizard-specific about it), and worse inside the
   * wizard at 1180px, where the persistent sidebar (`--nils-kit-nav-
   * width`) leaves the compare sheet only ~649px to work with despite the
   * wide raw viewport. `overflow-x: auto` here is the other half of the
   * fix (assets/nils-compare-engine.js's own `minmax(150px, 1fr)` comment
   * has the floor reasoning): once a column can't shrink past its floor,
   * the row's own rendered width legitimately exceeds this table's box
   * instead of colliding — this scrollport is what turns that into a
   * clean swipe instead of a clipped/overflowing table. Unconditional,
   * not gated behind the ≤640px media query below (that block is a
   * SEPARATE, purely cosmetic compact treatment for genuinely small
   * screens — smaller label/image, tighter padding — layered on top of
   * this baseline, not what prevents the collision).
   */
  /*
   * ORPHAN-X FIX [ours, 2026-09-17] — reproduced on a real device profile
   * (Playwright webkit, iPhone 13 emulation: touch, DPR 3, mobile Safari
   * UA — the desktop-viewport webkit this run's own earlier pass tested
   * with never exercises this) that plain 36/36/36... desktop testing
   * missed: with NO scroll-snap, a real touch flick can leave this table
   * resting at ANY scrollLeft, including a narrow window (measured live:
   * ~scrollLeft 67-97 at 4 products) where column 1 has scrolled mostly
   * under `.nils-shelf__compare-cell--label`'s own sticky, opaque, 116px-
   * wide covering box (below) — its IMAGE gets painted over by that
   * opaque cell before its remove-X does, because the X sits OUTSIDE the
   * image's own box via a negative offset (`.nils-shelf__compare-tray-
   * slot-remove`, further below) reaching further right, away from the
   * sticky cell's covered zone. Confirmed live via `elementFromPoint` at
   * that exact scroll position: a real, class-less `position: sticky` DIV
   * (the frozen label corner) sits on top of the image; the X, 30-40px to
   * its right, doesn't get covered until ~30px later. The result: a
   * remove-X with no visible product under it — different from the pre-
   * fix bug (an off-screen column's X bleeding into view at the
   * viewport's right edge), this one only shows up mid-scroll, never at
   * scrollLeft 0.
   *
   * `scroll-snap-type: x mandatory` is the fix, not an offset tweak: it
   * doesn't shrink the covered/mid-scroll window (that's an inherent
   * consequence of a frozen label column overlapping a scrolling one,
   * same as any frozen-pane grid), it makes sure the table can never
   * REST there — every snap point (`scroll-snap-align`, `.nils-shelf__
   * compare-cell`, below) sits at a clean column boundary, so any flick
   * that lands mid-column settles forward or back to the nearest whole
   * column instead of staying put. Same mechanism already shipped and
   * working on `.nils-shelf__mobile-strip` (this file's own chip strip) —
   * not a new technique for this codebase, just not yet applied here.
   */
  .nils-shelf__compare-table {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--nils-hairline-strong) transparent;
    scroll-snap-type: x mandatory;
    padding: 8px 24px 24px;
  }

  /*
   * SCROLL AFFORDANCE [ours, 2026-09-17] — reproduced live (real iPad
   * gen-7 profile, 810px, 3 products, EN): this run's own COLUMN
   * COLLISION FIX (above) correctly forces a horizontal scroll once
   * columns would otherwise collide — which now also triggers at
   * ordinary tablet widths that used to fit without scrolling. But
   * `scrollbar-width`/`scrollbar-color` (above) are Firefox-only
   * properties; WebKit/Safari (desktop AND mobile) and Chromium on touch
   * both hide the native scrollbar entirely, so the newly-necessary
   * scroll had zero visual affordance — a clipped third column reading as
   * a dead end, not an invitation to swipe. `.nils-shelf__compare-table--
   * scrollable` is toggled by assets/nils-compare-engine.js's own
   * `#syncTableScrollable` (only when `scrollWidth` genuinely exceeds
   * `clientWidth`, so a fully-visible comparison never gets a pointless
   * fade on its own last column) — same `mask-image` shape as this file's
   * own `--nils-chip-edge-fade` (the chips-strip's precedent, scoped
   * ≤640px so unusable verbatim here at 810px), reproduced as a literal
   * since this table needs it at every width. Right edge only: the left
   * edge is the frozen label column, always fully opaque by design, not
   * something to hint "more content" behind.
   */
  .nils-shelf__compare-table.nils-shelf__compare-table--scrollable {
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
  }

  .nils-shelf__compare-row {
    display: grid;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--nils-hairline);
  }

  .nils-shelf__compare-row:last-child {
    border-bottom: none;
  }

  .nils-shelf__compare-row--head {
    padding-top: 20px;
  }

  /* Zebra banding — measured off the source's own compare rows. Bleeds
     to the panel edge since the table's horizontal padding lives on
     .nils-shelf__compare-table, not the row itself. */
  .nils-shelf__compare-row--alt {
    margin-inline: -24px;
    padding-inline: 24px;
    background: rgb(255 255 255 / 0.03);
  }

  .nils-shelf__compare-cell {
    min-width: 0;
  }

  /*
   * SNAP TARGETS [ours, 2026-09-17] — see `.nils-shelf__compare-table`'s
   * own "ORPHAN-X FIX" comment, above, for why this table needs scroll-
   * snap at all. Every cell, INCLUDING the label (first attempt excluded
   * it, reasoning that its `position: sticky` in the compact-width rules
   * further down made it an odd snap target — live-tested and wrong): with
   * `scroll-snap-type: x mandatory` active and the label excluded, x=0
   * (label visible, the table's natural resting scroll position) was no
   * longer a VALID snap point, so mandatory snapping force-scrolled the
   * table to column 1 on first render, on ANY width — at ≤640px the
   * sticky label survives that (it stays put regardless of scroll), but
   * above it (this exact 810px bug's own width) it doesn't, so the label
   * column vanished immediately, before any user interaction. Including
   * it here makes x=0 a valid rest position again; a sticky element still
   * reports its own (unstuck) box for snap-alignment purposes, which is
   * x=0 here too, so this doesn't change what it snaps TO, only restores
   * it as an option.
   *
   * SECOND CONSUMER [ours, RUN 2, 2026-09-15] — unconditional, so it was
   * already quietly true for the compact (≤1200) sheet's own cells the
   * moment `scroll-snap-type: x` landed on that sheet (the COMPACT
   * TABLE block, further down) — no separate compact-scoped snap-align
   * rule was added; this one now serves both scroll containers.
   */
  .nils-shelf__compare-cell {
    scroll-snap-align: start;
  }

  .nils-shelf__compare-cell--label {
    font-size: 14px;
    font-weight: 400;
    color: rgb(255 255 255 / 0.55);
    align-self: center;
  }

  /*
   * CORNER LABEL [ours, 2026-09-19] — the head row's own first cell (grid
   * column 1, same 160px label column every other row uses), previously
   * empty. Two-line kicker/heading shape, reusing this theme's own
   * established SMALL-COLORED-LINE-OVER-HEADING pattern (`.nils-kicker`,
   * snippets/nils-design-language.liquid — the same one this section's
   * own family group headings use, further up this file) rather than the
   * full decorative slash component: that one is built for a full-width
   * section heading (negative-inset skewed bar needing real vertical
   * room), not a 160px table-header cell — same colors/weights, no bar.
   * `align-self: flex-start` matches the head row's own product cards
   * (HEADER ALIGNMENT, above: `flex-start`, not centered) so the corner's
   * top line sits level with the product images beside it.
   */
  .nils-shelf__compare-corner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-self: flex-start;
    min-width: 0;
  }

  .nils-shelf__compare-corner-family {
    font-family: var(--font-heading--family);
    font-style: italic;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--tc, var(--nils-red));
    overflow-wrap: anywhere;
  }

  .nils-shelf__compare-corner-title {
    font-size: 14px;
    font-weight: 600;
    color: rgb(255 255 255 / 0.85);
    overflow-wrap: anywhere;
  }

  /*
   * X CONTROLS [ours, run B] — the cell is still the full equal-width
   * grid column (`160px ${columns}`, assets/nils-shelf.js
   * #renderCompareTable — unchanged, column layout is frozen this run).
   * At low product counts that column can be far wider than the product
   * block itself, so the block (image/name — `.nils-shelf__compare-
   * product-card` below) is shrink-wrapped inside the cell instead of
   * stretching to fill it; the X anchors to that block, not the cell, so
   * it stays attached to it at any column width, including a single
   * product. Scoped to the sheet only: the wizard's own modal never
   * renders a card wrapper into this cell, so its layout is untouched.
   *
   * HEADER ALIGNMENT [ours, run D] — was `justify-content: center`,
   * which centered the card while the chip rows below it (`.nils-shelf__
   * compare-value`, below — no padding of its own, flush with the
   * cell's own left edge) stayed left-aligned: two different starting
   * lines in the same column. `flex-start` puts the card on that same
   * left edge instead, so image/name/subtitle and every chip row below
   * them share one left line, at any product count.
   */
  .nils-shelf__compare-sheet .nils-shelf__compare-product {
    display: flex;
    justify-content: flex-start;
  }

  /*
   * Shrink-wrapped to the product block's own content, so this reads as
   * one card per column regardless of the (possibly much wider) cell
   * above it. `align-items: flex-start` [ours, run D — was `center`] —
   * the card's own children (image/title/subtitle, below) share the
   * card's own left edge instead of centering against each other inside
   * it. No longer a positioning context itself (was, through run E) —
   * the X moved to the image tile below (run F), since this card's own
   * WIDTH follows its widest child, which is the product NAME as often
   * as the image, so anchoring to the card put the X at a different
   * offset from the photo per column.
   */
  .nils-shelf__compare-product-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  /*
   * X CONTROLS [ours, run F] — the tile the X anchors to now
   * (`position: relative` here, scoped to the sheet — the wizard's own
   * modal renders this exact class too, unscoped, with no X inside it,
   * so this stays inert there). Fixed 128px square in every column
   * (the REDESIGN modifier, below) regardless of product name length,
   * unlike the card above — `top`/`right: 6px` on `.nils-shelf__
   * compare-tray-slot-remove` (reused verbatim) now measures from THIS
   * box's own corner, identical in every column.
   */
  .nils-shelf__compare-sheet .nils-shelf__compare-product-image {
    position: relative;
  }

  .nils-shelf__compare-product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 8px;
    background: rgb(255 255 255 / 0.07);
    border: 1px solid rgb(255 255 255 / 0.14);
  }

  .nils-shelf__compare-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /*
   * EXIT DOOR [ours, run G] — wraps the tile + name (assets/nils-shelf.js's
   * #renderCompareTable) so both link to the product page. `display:
   * contents` removes the <a>'s own box from layout entirely: the image
   * span and title div below render as if they were still direct flex
   * children of `.nils-shelf__compare-product-card` (its own flex-column/
   * gap rules, above, untouched) rather than becoming one wrapped item.
   * The X (`.nils-shelf__compare-tray-slot-remove`) ends up nested inside
   * this link once it's appended to the image tile — kept off it via
   * preventDefault/stopPropagation in JS, not CSS, since a display:none/
   * pointer-events split can't cleanly carve "click the top 6px corner of
   * this tile" out of "click anywhere else on it".
   */
  .nils-shelf__compare-product-link {
    display: contents;
  }

  /*
   * EXIT DOOR, HOVER [ours, run G, revised run H] — no underline in any
   * state (run H instruction): dropped the text-decoration reveal this
   * rule used through run G. In its place, the theme's own COLOR-STEP
   * link-hover convention (assets/base.css: `:is(h1..h6, p) > a:hover {
   * color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / 0.7); }`)
   * reused verbatim — same property, same fallback chain, same 0.7. That
   * base rule never fires here itself (this title is a <div>, not an
   * <a>, and sits outside the h1-h6/p selectors it's scoped to), so it's
   * re-declared against the link ancestor's :hover instead, same as the
   * underline rule it replaces. Resting color stays exactly the title's
   * own red (`.nils-shelf__compare-product-title`, untouched, below) —
   * only on hover does it step toward the theme's foreground token,
   * reading as a brightening lift off the red, not a color swap at rest.
   */
  .nils-shelf__compare-product-link:hover .nils-shelf__compare-product-title {
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / 0.7);
    /* SNAP [ours] — 125ms (var(--animation-speed)) read as a lag on this
       small a text color step; var(--animation-speed-fast) (snippets/
       theme-styles-variables.liquid) is the theme's own fastest existing
       transition token at 62.5ms, already used the same way elsewhere
       (sections/header.liquid, snippets/cart-items-component.liquid) —
       reused, not a new value. */
    transition: color var(--animation-speed-fast) var(--animation-easing);
  }

  .nils-shelf__compare-product-title {
    font-family: var(--font-heading--family);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--nils-red);
  }

  /*
   * HEADER HIERARCHY [ours, store modal only — see --redesigned on the
   * modal root] — roughly double the source's own 64px image (128px),
   * and the product name is now the largest text in the column, ahead
   * of everything else in its own card and every chip row underneath.
   * Padding/radius scaled up with the image, same proportions.
   */
  .nils-shelf__compare-modal--redesigned .nils-shelf__compare-product-image {
    width: 128px;
    height: 128px;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 12px;
  }

  .nils-shelf__compare-modal--redesigned .nils-shelf__compare-product-title {
    font-size: 26px;
  }

  /*
   * TITLE CAP [ours, store modal only] — 26px overflowed the 4-column
   * width: measured live against the actual modal (4 products, the real
   * worst case — 2/3-product compares get wider columns, never
   * narrower), TRANSMISSION (the longest product name in the catalog)
   * is 171.5px of column against a 198.25px intrinsic width at 26px.
   * 22px is the largest whole pixel where it fits on one line with a
   * safety margin (167.75px, ~3.75px/2% to spare) — not the exact
   * knife-edge 22.6px math predicts, so ordinary font-rendering variance
   * across browsers doesn't tip it back into overflow. Names stay red
   * (`.nils-shelf__compare-product-title`'s own base color, untouched);
   * only the size changes, and only here — `nils-shelf-app` scopes this
   * to the store's own modal instance so the wizard's (sections/nils-
   * kit-wizard.liquid, same shared classes, same `--redesigned` root)
   * keeps its original 26px, per instruction.
   */
  nils-shelf-app .nils-shelf__compare-modal--redesigned .nils-shelf__compare-product-title {
    font-size: 22px;
  }

  /*
   * REDESIGN [ours] — this slot now holds "Ideale per" (its own table
   * row is gone; assets/nils-shelf.js's #openCompareModal reads
   * p.idealePer here instead of the always-blank p.subtitle). No italic,
   * same neutral style in every column — plain continuation of the
   * source's own subtitle treatment, just a different data source.
   */
  .nils-shelf__compare-product-subtitle {
    font-size: 12px;
    color: rgb(255 255 255 / 0.55);
  }

  /*
   * SUBTITLE, ONE STEP UP [ours, store modal only] — 12px is exactly
   * this theme's own `--font-size--2xs` (snippets/theme-styles-
   * variables.liquid: 0.75rem); the next rung up that same fluid scale,
   * `--font-size--xs` (0.8125rem), is 13px — a real step on the theme's
   * own scale, not an arbitrary bump (kept as a literal to match this
   * block's own established hardcoded-px convention, not the `var(...)`
   * token, same as every other size in this modal). Scoped to the store
   * modal, same reasoning as the title cap above.
   */
  nils-shelf-app .nils-shelf__compare-product-subtitle {
    font-size: 13px;
  }

  .nils-shelf__compare-value {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-self: center;
  }

  .nils-shelf__compare-value:empty::before {
    content: '—';
    font-size: 13px;
    color: rgb(255 255 255 / 0.25);
  }

  /*
   * SPECIFICHE ROW [ours] — stacked text lines instead of wrapped chips
   * (assets/nils-shelf.js #renderCompareTable), so this modifier swaps the
   * base `.nils-shelf__compare-value`'s row-wrap for a column stack; the
   * base class's `display: flex`/`align-self: center` above stay untouched.
   */
  .nils-shelf__compare-value--stacked {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* Same text color/size as this grid's own chips (.nils-shelf__compare-chip, below) — reused, not a new value. */
  .nils-shelf__compare-specifiche-line {
    font-size: 13px;
    color: rgb(255 255 255 / 0.78);
  }

  /*
   * Full opacity on the element itself — a safety warning, not decorative
   * muted text — same treatment as the product page's own footnote
   * (.nils-techspecs__footnote, snippets/nils-design-language.liquid): one
   * rung up the theme's own opacity ladder, --opacity-muted-text (0.6) to
   * --opacity-subdued-text (0.8), for its color only.
   */
  .nils-shelf__compare-specifiche-footnote {
    font-size: 12px;
    color: rgb(var(--color-foreground-rgb) / var(--opacity-subdued-text));
  }

  /*
   * ONE CHIP STYLE [ours] — both compare modals (this shelf's own, and
   * the kit wizard's — REDESIGN PORT, sections/nils-kit-wizard.liquid)
   * use this one base chip now for every value row (Uso, Formulazione,
   * Applicazione, Viscosità, Imballi). The old --pill (italic, "Ideale
   * per") and --tag (red, "Uso") modifiers this file used to carry for
   * the two source-ported treatments are gone — the port left them with
   * zero remaining callers in either implementation, confirmed by grep.
   * --family (Tipo only, below) is the one colored exception in both.
   *
   * WRAP EVERYWHERE [ours, 2026-09-18] — was nowrap, wrap-overridden only
   * below (max-width) 1200px. Desktop (>=1201px, 4 products, columns
   * ~150-170px) never got it — "Adventure & Commuting"/"100% Sintetico
   * (PAO)" painted past their cell, the compare suite's own recurring
   * "chip outside its cell" finding. Made unconditional; the container's
   * flex-wrap already stacks chips cleanly at 2-3 products.
   */
  .nils-shelf__compare-chip {
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid rgb(255 255 255 / 0.15);
    background: rgb(255 255 255 / 0.08);
    color: rgb(255 255 255 / 0.78);
    font-size: 13px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* Type — the source's own chip is neutral; recoloured per product family [ours]. */
  .nils-shelf__compare-chip--family {
    border-color: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.35);
    background: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.18);
    color: var(--tc, var(--nils-red));
  }

  /*
   * IDEALE PER ROW [ours, run I] — the table's own first row (assets/
   * nils-shelf.js's #renderCompareTable, added just above the Tipo row).
   * Plain text, no chip: color and size both reused verbatim from the
   * wizard's own answer line (sections/nils-kit-wizard.liquid's
   * `.nils-kit-wizard__card-idealeper`, the one-liner under each product
   * card in the "Cosa guidi" grid) — same `--tc`/`--nils-red` fallback
   * chain the Tipo chip above already uses off the same p.tcHex, same
   * 16px/600/1.4. No chip background/border here on purpose: at 16px/600
   * against the 13px/400 chip rows below it, this already reads as the
   * table's own headline row without needing a pill shape too.
   */
  .nils-shelf__compare-idealeper {
    color: var(--tc, var(--nils-red));
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
  }
/* END_SECTION:nils-store-shelf */

/* START_SECTION:password-footer (INDEX:35) */
.password-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-sm);
    padding-block: var(--padding-xl);
  }

  .password-footer__powered-by {
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--padding-xs);
    height: 1em;

    > a {
      display: flex;
    }

    .icon-shopify {
      display: inline;
      height: 1.3em;
      color: var(--color-foreground);
    }
  }

  .password-footer__links {
    display: flex;
    align-items: center;
    gap: var(--gap-2xl);

    @media screen and (max-width: 749px) {
      flex-direction: column;
      gap: var(--gap-sm);
    }
  }

  .password-footer__admin-link {
    margin: 0;
  }

  .password-footer__button {
    height: var(--minimum-touch-target);
    background-color: transparent;
    color: var(--color-foreground);
    cursor: pointer;
    text-decoration: underline;

    &:hover {
      color: rgb(var(--color-foreground-rgb) / var(--opacity-subdued-text));
      text-decoration: none;
    }
  }
/* END_SECTION:password-footer */

/* START_SECTION:password (INDEX:36) */
.section-password {
    flex-grow: 1;
    display: flex;
  }

  .password-content {
    text-align: center;
  }
/* END_SECTION:password */

/* START_SECTION:product-hotspots (INDEX:39) */
/* Section layout */
  .section-product-hotspots {
    position: relative;
  }

  .section-product-hotspots__wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    width: 100%;
    height: 100%;
  }

  /* Image container */
  .section-product-hotspots__content {
    position: relative;
    aspect-ratio: var(--ratio, 21 / 9);
    overflow: hidden;
  }

  /* Hide hotspots without products on touch devices (tablets included) */
  @media (hover: none) {
    .hotspot.hotspot--hidden-touch {
      display: none;
    }
  }

  /* Responsive adjustments */
  @media screen and (max-width: 749px) {
    /* Hide dialog on mobile - hotspot opens quick-add modal instead */
    .hotspot .hotspot-dialog {
      display: none;
    }
  }

  /* Hotspot button - positioned element with clickable area */
  .hotspot {
    position: absolute;
    cursor: pointer;
    width: var(--button-size);
    height: var(--button-size);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    outline: none;
    transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
    z-index: var(--layer-flat);
  }

  .hotspot:has(.hotspot-dialog[open]) {
    z-index: var(--layer-raised);
  }

  .hotspot .hotspot-trigger {
    padding: 0;
    border: none;
  }

  .hotspot-dialog__product-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: var(--padding-xs);
    padding-inline-start: 0;
    overflow: hidden;
  }

  /* Visual target circle */
  .hotspot-trigger {
    width: var(--hotspot-size);
    height: var(--hotspot-size);
    background: var(--hotspot-bg, rgb(0 0 0 / 0.5));
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: width 0.1s ease-out, height 0.1s ease-out;
  }

  /* On mobile, ensure trigger is tappable */
  @media screen and (max-width: 749px) {
    .hotspot-trigger {
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }
  }

  /* Bullseye using ::after pseudo-element */
  .hotspot-trigger::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(var(--hotspot-size) * 0.4);
    height: calc(var(--hotspot-size) * 0.4);
    background: var(--hotspot-bullseye, #fff);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.1s ease-out, height 0.1s ease-out, background 0.1s ease-out;
  }

  /* Bullseye grows on hover or when dialog is open (desktop only) */
  @media screen and (min-width: 750px) {
    .hotspot:hover .hotspot-trigger::after,
    .hotspot:has(.hotspot-dialog[open]) .hotspot-trigger::after {
      width: calc(var(--hotspot-size) * 0.55);
      height: calc(var(--hotspot-size) * 0.55);
      transition: width 0.2s ease-out, height 0.2s ease-out, background 0.2s ease-out;
      transition-delay: 0.2s;
    }
  }

  .hotspots-container {
    position: absolute;
    inset: 0;
    z-index: var(--layer-flat);
    overflow: clip;
  }

  .hotspots__background-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* Dialog positioning */
  .hotspot .hotspot-dialog {
    position: absolute;
    padding: 0;
    border-radius: var(--style-border-radius-popover);
    border: var(--style-border-popover);
    width: max-content;
    min-width: var(--minimum-width-dialog);
    max-width: var(--maximum-width-dialog);
    box-shadow: var(--shadow-popover);

    &[data-placement*='bottom'] {
      --offset-y: 0px;
      --origin-y: calc(var(--hotspot-size) / 2);
      top: calc((var(--button-size) - var(--hotspot-size)) / 2 + var(--dialog-vertical-offset, 0px));
      bottom: unset;
    }
    &[data-placement*='top'] {
      --offset-y: 0px;
      --origin-y: calc(100% - (var(--hotspot-size) * 0.5));
      top: unset;
      bottom: calc((var(--button-size) - var(--hotspot-size)) * 0.5 - var(--dialog-vertical-offset, 0px));
    }
    &[data-placement*='left'] {
      --offset-x: calc((var(--button-size) - var(--hotspot-size)) * 0.5);
      --origin-x: calc(100% - (var(--hotspot-size) * 0.5));
      left: unset;
      right: 100%;
    }
    &[data-placement*='right'] {
      --offset-x: calc((var(--button-size) - var(--hotspot-size)) * -0.5);
      --origin-x: calc(var(--hotspot-size) * 0.5);
      left: 100%;
      right: unset;
    }
    &[data-placement*='center'] {
      left: 50%;
      translate: -50% 0;
      right: unset;
    }
    &[data-placement*='center'][data-placement*='bottom'] {
      --origin-y: calc(var(--hotspot-size) * 0.5);
      --origin-x: 50%;
      --offset-y: calc((var(--button-size) - var(--hotspot-size)) * -0.5);
      /* stylelint-disable-next-line declaration-property-value-disallowed-list */
      --offset-x: 0;
      top: 100%;
      bottom: unset;
      margin: 0;
    }
    &[data-placement*='center'][data-placement*='top'] {
      --origin-y: calc(100% - (var(--hotspot-size) * 0.5));
      --origin-x: 50%;
      --offset-y: calc((var(--button-size) - var(--hotspot-size)) * 0.5);
      /* stylelint-disable-next-line declaration-property-value-disallowed-list */
      --offset-x: 0;
      bottom: 100%;
    }
  }

  .hotspot .hotspot-dialog:is(:focus, :focus-visible),
  .hotspot .hotspot-dialog__link:is(:focus, :focus-visible) {
    outline: none;
  }

  .hotspot-dialog__product {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  .hotspot-dialog__product-image,
  .hotspot-dialog svg.hotspot-dialog__placeholder-product-image {
    width: var(--width-product-image-dialog);
    height: var(--width-product-image-dialog);
    aspect-ratio: 1;
    padding: var(--padding-product-image-popover, var(--padding-xs));
    object-fit: cover;
    border-radius: var(--style-border-radius-popover);
  }

  .hotspot-dialog__link {
    position: absolute;
    inset: 0;
    z-index: var(--layer-flat);
  }

  .hotspot-dialog__product-title {
    margin-block-end: var(--product-title-gap);
    padding-inline-end: var(--padding-sm);
    min-width: 0;
  }

  .hotspot .hotspot-dialog .hotspot-dialog__sold-out-badge {
    display: flex;
    width: fit-content;
    justify-self: flex-end;
    align-self: flex-end;
    justify-content: center;
    align-items: center;
    font-size: var(--font-body--size);
    padding: var(--padding-2xs) var(--padding-sm);
    background: rgb(var(--color-foreground-rgb) / var(--opacity-10));
    border-radius: var(--border-radius-sm);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-sm);
    opacity: var(--opacity-80);
  }

  /* Dialog transitions */
  .hotspot .hotspot-dialog {
    --hotspot-blur: 4px;
    --hotspot-scale: 0.8;
    --hotspot-entry-duration: 0.2s;
    --hotspot-exit-duration: 0.1s;

    /* Firefox doesn't have reverse transitions */
    /* in webkit/chromium we can set a closing attribute as we transition the exit and hook there */
    filter: blur(var(--hotspot-blur));
    opacity: 0;
    transform: scale(var(--hotspot-scale)) translate(0, 0);
    transition-property: display, opacity, filter, transform;
    transition-duration: var(--hotspot-entry-duration);
    transition-timing-function: ease;

    transform: scale(var(--hotspot-scale)) translate(var(--offset-x), var(--offset-y));
    transform-origin: var(--origin-x) var(--origin-y);
    transition-timing-function: cubic-bezier(0.65, -0.49, 0.35, 1.12);

    &[data-closing='true'] {
      transition-duration: var(--hotspot-exit-duration);
      transition-timing-function: ease-out;
      transform: scale(1) translate(0, calc(var(--hotspot-size) * 0.25));
    }

    /* We can only set transition-behavior once we've measured the dialog dimensions */
    &[data-showing='true'] {
      transition-behavior: allow-discrete;
    }
  }

  .hotspot .hotspot-dialog[open][data-showing='true'] {
    opacity: 1;
    transform: scale(1) translate(0, 0);
    filter: blur(0px);
  }

  @starting-style {
    .hotspot .hotspot-dialog[open][data-showing='true'] {
      opacity: 0;
      filter: blur(var(--hotspot-blur));
      transform: scale(var(--hotspot-scale)) translate(var(--offset-x), var(--offset-y));
      transform-origin: var(--origin-x) var(--origin-y);
    }
  }

  /* Safety triangles for dialogs */
  .hotspot .hotspot-dialog::after {
    content: '';
    position: absolute;
    opacity: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: all;
    transition: opacity 0.22s ease-out, translate 0.22s 0.1s ease-out;
    scale: var(--scale-x, 1) var(--scale-y, 1);
    z-index: var(--layer-flat);
  }

  .hotspot-dialog[open]:is([data-placement*='left'], [data-placement*='right'])::after {
    /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    width: calc(var(--button-size) / 2 + var(--hotspot-size) * 0.5);
  }

  .hotspot-dialog[open][data-placement*='right']::after {
    right: 100%;
    left: unset;
  }

  .hotspot-dialog[open][data-placement*='left']::after {
    left: 100%;
    right: unset;
    --scale-x: -1;
  }

  .hotspot-dialog[open][data-placement*='top']::after {
    --scale-y: -1;
  }

  .hotspot-dialog[open][data-placement*='center']::after {
    height: calc(var(--button-size) / 2 + var(--hotspot-size) * 0.5);
    width: 100%;
    /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
    clip-path: polygon(0 0, 100% 0, 50% calc(100% - var(--hotspot-size) * 0.25));
    --scale-x: 1;
    --scale-y: 1;
  }

  .hotspot-dialog[open][data-placement*='center'][data-placement*='bottom']::after {
    top: unset;
    bottom: 100%;
    --scale-y: -1;
  }

  .hotspot-dialog[open][data-placement*='center'][data-placement*='top']::after {
    top: 100%;
    bottom: unset;
  }

  /* Quick add button */
  .hotspot-dialog {
    .quick-add {
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      width: auto;
      height: auto;
      position: relative;
      z-index: var(--layer-flat);
    }

    .quick-add__button.add-to-cart-button {
      width: calc(var(--button-size-md) - 8px);
      position: relative;
      padding-block: 0;
      padding-inline-end: var(--padding-sm);
      justify-self: flex-end;
      height: fit-content;
      border: none;
      color: var(--quick-add-foreground, var(--color-foreground));
      background-color: var(--quick-add-background, var(--color-background));
      pointer-events: all;
      opacity: 1;
      overflow: hidden;
      outline: 2px solid transparent;

      @media (prefers-reduced-motion: no-preference) {
        transition: width var(--animation-speed) var(--ease-out-cubic),
          outline-color var(--animation-speed) var(--ease-out-cubic) var(--animation-speed-slow);
      }

      &:is(:hover, :active) {
        outline-color: rgb(var(--color-foreground-rgb) / var(--opacity-15));
      }

      &:focus-visible {
        outline-color: currentcolor;
        transition-delay: 0s;
      }
    }

    .quick-add__button.add-to-cart-button[data-added='true'] {
      color: transparent;
    }
  }

  @media screen and (min-width: 750px) {
    .hotspot-dialog {
      .quick-add__button:is(:hover, :focus-visible) {
        width: max-content;
      }
    }
  }
/* END_SECTION:product-hotspots */

/* START_SECTION:product-information (INDEX:40) */
.sticky-add-to-cart__bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%) translateY(calc(100% + 40px));
    z-index: calc(var(--layer-sticky) - 1); /* Below sticky header */
    display: block;
    width: 600px;
    border-radius: calc(
      var(--style-border-radius-buttons-primary) + min(var(--padding-sm), var(--style-border-radius-buttons-primary))
    );
    box-shadow: var(--shadow-popover);
    padding: var(--padding-sm);
    /* Layout styling */
    display: flex;
    align-items: center;
    gap: var(--gap-md);

    @starting-style {
      opacity: 0;
      transform: translateX(-50%) translateY(calc(100% + 40px));
    }

    &::before {
      --border: 2px;
      content: '';
      position: absolute;
      inset: calc(var(--border) * -1);
      background: linear-gradient(var(--color-background) 0 100%), linear-gradient(hsl(0 0% 0% / 0.15) 0 100%);
      background-clip: content-box, border-box;
      border: var(--border) solid #0000;
      border-radius: inherit;
      z-index: -1;
      backdrop-filter: blur(20px) saturate(180%) brightness(1.5);
    }
  }

  @media (prefers-reduced-motion: no-preference) {
    .sticky-add-to-cart__bar {
      transition-property: transform, opacity, display;
      transition-duration: 0.3s;
      transition-timing-function: var(--ease-out-quad);
      transition-behavior: allow-discrete;
    }
  }

  .sticky-add-to-cart__bar[data-stuck='true'] {
    transform: translateX(-50%) translateY(0%);
    opacity: 1;
  }

  sticky-add-to-cart:not([data-variant-available='true']) .sticky-add-to-cart__bar {
    opacity: 0;
    transform: translateX(-50%) translateY(calc(100% + 40px));
    display: none;
  }

  .sticky-add-to-cart__info[data-has-image='false'] {
    padding-left: var(--padding-lg);
  }

  .sticky-add-to-cart__image {
    flex-shrink: 0;
    aspect-ratio: 1;
    height: var(--height-buy-buttons);
    overflow: hidden;
    border-radius: var(--style-border-radius-buttons-primary);
    background: var(--color-background-secondary);
  }

  .sticky-add-to-cart__image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sticky-add-to-cart__info {
    flex: 1;
    min-width: 0; /* Allow text truncation */
  }

  .sticky-add-to-cart__title {
    font-size: var(--font-paragraph-medium--size);
    font-weight: var(--font-weight-semibold);
    line-height: var(--font-paragraph--line-height);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .sticky-add-to-cart__variant {
    color: rgb(var(--color-foreground-rgb) / var(--opacity-subdued-text));
    font-size: var(--font-paragraph-small--size);
    margin-top: var(--margin-3xs);
  }

  .sticky-add-to-cart__price {
    font-weight: var(--font-weight-semibold);
  }

  .sticky-add-to-cart__button {
    height: var(--height-buy-buttons);
    position: relative;
  }

  /* Mobile adjustments */
  @media screen and (max-width: 749px) {
    .sticky-add-to-cart__bar {
      bottom: 0;
      width: 100%;
      max-width: none;
      border-radius: 0;

      &::before {
        --border: 1px;
      }
    }

    .sticky-add-to-cart__bar .add-to-cart-text__content {
      display: none;
    }

    .sticky-add-to-cart__info[data-has-image='false'] {
      padding-left: 0;
    }

    .sticky-add-to-cart__title {
      font-size: var(--font-paragraph--size);
    }

    .sticky-add-to-cart__button {
      padding: var(--padding-lg);
    }

    .sticky-add-to-cart__price {
      font-size: var(--font-paragraph-small--size);
    }

    .sticky-add-to-cart__button {
      width: var(--height-buy-buttons);
    }

    sticky-add-to-cart:not([data-variant-available='true']) .add-to-cart-text__content {
      display: initial;
    }

    sticky-add-to-cart:not([data-variant-available='true']) .sticky-add-to-cart__button {
      width: auto;
    }
  }

  /* Small mobile - hide text content and compare price */
  @media screen and (max-width: 389px) {
    .sticky-add-to-cart__bar {
      .compare-at-price {
        display: none;
      }
    }

    .sticky-add-to-cart__title {
      display: none;
    }

    /* For product with only default variant show title */
    .sticky-add-to-cart__info[data-singleton='true'] .sticky-add-to-cart__title {
      display: block;
    }

    /* For single variant show title and variant, truncate both. variant should be identifiable with truncation */
    .sticky-add-to-cart__info[data-single-option='true'] .sticky-add-to-cart__title {
      display: block;
    }

    .sticky-add-to-cart__info[data-single-option='true'] .sticky-add-to-cart__variant {
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
/* END_SECTION:product-information */

/* START_SECTION:quick-order-list (INDEX:43) */
.quick-order-list {
    --quantity-selector-width: 124px;
    --image-size: 43px;
    --quantity-header-padding: calc(var(--minimum-touch-target) + var(--gap-sm));
    --quick-order-quantity-column-width: calc(
      var(--quantity-selector-width) + 2 * var(--gap-sm) + 2 * var(--minimum-touch-target)
    );
    --transform-offset-negative: calc(-1 * var(--icon-stroke-width));
    --quick-order-first-column-width: 2fr; /* Takes 2 fractions of available space */
    --quick-order-price-column-width: 1fr; /* Takes 1 fraction */
    --quick-order-total-column-width: 1fr; /* Takes 1 fraction */

    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
  }

  .quick-order-list__container {
    width: 100%;
  }

  /* Grid container setup */
  .quick-order-list__grid {
    width: 100%;
    display: block; /* Container is block, children use grid */
    contain: layout; /* Isolate layout calculations for performance */
  }

  .quick-order-list__grid-body {
    contain: layout; /* Isolate layout calculations for performance */
  }

  .quick-order-list__grid-header,
  .quick-order-list__grid-row {
    display: grid;
    grid-template-columns:
      var(--quick-order-first-column-width) /* Variant column - takes 2 parts of available space */
      var(--quick-order-quantity-column-width) /* Fixed pixel width for quantity */
      var(--quick-order-price-column-width) /* Price column - takes 1 part */
      var(--quick-order-total-column-width); /* Total column - takes 1 part */
    gap: var(--gap-md);
    align-items: center;
  }

  .quick-order-list__grid-header {
    border-block-end: var(--style-border-width) solid var(--color-border);
    padding-block-end: var(--padding-xl);
    margin-block-end: var(--padding-sm);
    opacity: var(--opacity-85);
    font-weight: normal;
    font-size: var(--font-size--xs);
    letter-spacing: var(--letter-spacing--body-loose);
  }

  /* Add padding to quantity column header to align with content */
  .quick-order-list__grid-header .quick-order-list__grid-cell--quantity {
    padding-inline-start: var(--quantity-header-padding);
  }

  .quick-order-list__grid-row {
    padding-block-start: var(--padding-sm);
    padding-block-end: var(--padding-sm);
    content-visibility: auto;
    contain-intrinsic-size: auto
      calc(2 * var(--padding-sm) + var(--image-size) + var(--minimum-touch-target) + var(--padding-2xl));
  }

  @media screen and (min-width: 750px) {
    .quick-order-list__grid-row {
      contain-intrinsic-size: auto calc(2 * var(--padding-sm) + var(--image-size));
    }
  }

  .quick-order-list__grid-cell--variant {
    text-align: start;
    justify-self: stretch;
  }

  .quick-order-list__grid-cell--quantity {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    justify-self: stretch;
  }

  .quick-order-list__grid-cell--quantity .variant-item__inner-container {
    width: 100%;
    justify-content: flex-start;
  }

  .quick-order-list__grid-cell--price {
    text-align: end;
    justify-self: stretch;
  }

  .quick-order-list__grid-cell--total {
    text-align: end;
    justify-self: stretch;
  }

  .variant-item__image-container,
  .quick-order-list__table-image {
    width: var(--image-size);
    height: auto;
  }

  .quick-order-list .pagination {
    margin-block-start: 0;
    padding-block-start: var(--padding-xl);
    padding-block-end: 0;
  }

  .variant-item__inner-container {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
  }

  .volume-pricing-info-placeholder {
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
  }

  .variant-item__quantity .quantity-selector {
    display: flex;
    flex: 0 0 var(--quantity-selector-width);
    min-width: var(--quantity-selector-width);
    font-size: var(--font-size--xs);
    height: auto;
  }

  .variant-item__remove {
    background-color: transparent;
    color: var(--color-foreground);
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    justify-content: center;
    box-shadow: none;
    padding: 0;
  }

  .remove-icon-bottom,
  .remove-icon-top {
    transition: transform var(--animation-speed) var(--animation-easing);
  }

  .variant-item__remove:not(.variant-item__remove--hidden):hover .remove-icon-top {
    transform: translate(var(--transform-offset-negative), var(--icon-stroke-width)) rotate(-15deg);
  }

  .variant-item__remove:not(.variant-item__remove--hidden):is(:hover, :active) .remove-icon-bottom {
    transform: translateY(var(--icon-stroke-width));
  }

  /* Hide remove button with opacity to prevent layout shift */
  .variant-item__remove--hidden {
    opacity: 0;
    pointer-events: none;
    cursor: default;
  }

  .variant-item__name {
    font-weight: var(--font-weight-medium);
  }

  .variant-item__sku {
    font-size: var(--font-size--3xs);
    opacity: var(--opacity-85);
  }

  .variant-item__details {
    display: inline-flex;
    flex-direction: column;
  }

  .variant-item__totals {
    flex: 0 0 auto;
    padding-block-start: var(--padding-2xs);
  }

  /* Compare at price styles */
  .variant-item__discounted-prices {
    display: flex;
    gap: var(--gap-2xs);
    justify-content: flex-end;
  }

  .variant-item__discounted-prices dd {
    margin: 0;
  }

  /* Mobile layout */
  @media screen and (max-width: 749px) {
    .quick-order-list__grid-header,
    .quick-order-list__grid-row {
      grid-template-columns: 1fr auto; /* Variant column and total column on mobile */
      gap: var(--gap-sm);
      max-width: 100%;
      overflow: hidden;
      align-items: flex-start;
    }

    .quick-order-list__grid-header .quick-order-list__grid-cell--total {
      text-align: end;
    }

    .quick-order-list__grid-row {
      margin-block-end: var(--margin-2xl);
      padding-block-end: var(--padding-2xl);
      border-block-end: var(--style-border-width) solid var(--color-border);
    }

    .quick-order-list__grid-row:last-child {
      margin-block-end: 0;
      border-block-end: none;
    }

    .variant-item__inner {
      flex: 1 1 auto;
      padding-inline-end: var(--padding-lg);
    }

    .variant-item__inner-container {
      display: flex;
      gap: var(--gap-md);
      align-items: flex-start;
    }

    .variant-item__details {
      flex: 1;
      display: flex;
      flex-direction: column;
      min-width: 0; /* Allow text to shrink */
    }

    .variant-item__totals {
      flex: 0 0 auto;
      text-align: end;
      padding-block-start: var(--padding-2xs);
    }

    .variant-item__totals .variant-item__total-price {
      font-size: var(--font-size--sm);
      font-weight: var(--font-weight-medium);
    }

    .variant-item__title-container .variant-item__name {
      display: block;
      font-size: var(--font-size--sm);
      line-height: var(--line-height-tight);
      margin: 0;
    }

    .variant-item__mobile-price-container {
      margin-block-end: var(--margin-xs);
    }

    .variant-item__mobile-price {
      font-size: var(--font-size--sm);
      opacity: var(--opacity-85);
      white-space: nowrap;
    }

    /* Mobile compare at price styles */
    .variant-item__discounted-prices--mobile {
      display: flex;
      flex-direction: row;
      align-items: baseline;
      justify-content: flex-start;
      gap: var(--gap-xs);
      margin-block-start: var(--margin-2xs);
      margin-block-end: 0;
    }

    .variant-item__discounted-prices--mobile dd {
      display: inline;
    }

    .variant-item__mobile-quantity {
      display: flex;
      align-items: center;
      gap: 0;
    }

    /* Mobile-only content styles */
    .variant-item__mobile-info {
      display: flex;
      flex-direction: column;
      width: 100%;
    }

    .variant-item__image-container {
      flex: 0 0 var(--image-size);
      width: var(--image-size);
      height: var(--image-size);
    }

    .quick-order-list__table-image {
      width: 100%;
      height: 100%;
    }

    .variant-item__mobile-quantity .quantity-selector {
      display: flex;
      flex: 0 0 var(--quantity-selector-width);
      min-width: var(--quantity-selector-width);
      font-size: var(--font-size--xs);
      margin: 0;
      padding: 0;
    }

    /* Mobile remove button styling */
    .variant-item__remove--mobile {
      background-color: transparent;
      color: var(--color-foreground);
      width: var(--minimum-touch-target);
      height: var(--minimum-touch-target);
      min-width: var(--minimum-touch-target);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: none;
      padding: 0;
      margin: 0;
      flex-shrink: 0;
      border: none;
      cursor: pointer;
    }

    .variant-item__remove--mobile svg {
      width: var(--icon-size-sm);
      height: var(--icon-size-sm);
    }

    .variant-item__remove--mobile:not(.variant-item__remove--hidden):hover {
      opacity: var(--opacity-70);
    }

    .quick-order-list .pagination {
      padding-block-start: var(--padding-2xl);
    }
  }

  .quick-order-list-disabled {
    pointer-events: none;
  }

  .quick-order-list-total {
    background: var(--color-background);
    border-block-start: var(--style-border-width) solid var(--color-border);
  }

  /* Tablet and Desktop styles - sticky footer */
  @media screen and (min-width: 750px) {
    .quick-order-list-total {
      position: sticky;
      inset-block-end: 0;
      z-index: var(--layer-raised);
    }
  }

  .quick-order-list-total__info,
  .quick-order-list-total__confirmation {
    min-height: 8rem;
    padding-block-start: var(--padding-4xl);
  }

  .quick-order-list-total__info {
    align-items: flex-start;
    gap: var(--gap-md);
  }

  .quick-order-list-total__confirmation {
    display: flex;
    gap: var(--gap-2xl);
    align-items: center;
    justify-content: center;
    padding: var(--padding-2xl) var(--padding-xl);
  }

  .quick-order-list-total__column {
    display: flex;
    flex-direction: column;
  }

  .quick-order-list-total__actions {
    display: flex;
  }

  /* Desktop layout - Use CSS Grid to match main table alignment */
  @media screen and (min-width: 750px) {
    .quick-order-list-total__info {
      display: grid;
      grid-template-columns:
        var(--quick-order-first-column-width) /* Variant column - takes 2 parts of available space */
        var(--quick-order-quantity-column-width) /* Fixed pixel width for quantity */
        var(--quick-order-price-column-width) /* Price column - takes 1 part */
        var(--quick-order-total-column-width); /* Total column - takes 1 part */
    }

    .quick-order-list-total__column {
      grid-column: 1;
      display: flex;
      flex-direction: column;
      gap: var(--gap-md);
    }

    .quick-order-list-total__summary {
      grid-column: 2 / 5;
      display: grid;
      grid-template-columns: var(--quick-order-quantity-column-width, 234px) auto;
    }

    .quick-order-list-total__items {
      grid-column: 1;
      justify-self: center;
      text-align: center;
    }

    .quick-order-list-total__price {
      grid-column: 3;
      justify-self: end;
      text-align: end;
    }
  }

  /* Tablet-specific overrides - 750px to 989px */
  @media screen and (min-width: 750px) and (max-width: 989px) {
    .quick-order-list-total__actions {
      flex-direction: column;
    }

    .quick-order-list-total__messages {
      align-items: stretch;
    }

    .quick-order-list__remove-all-button {
      padding-inline: 0;
    }
  }

  .quick-order-list__button.button--full-width {
    width: 100%;
  }

  .quick-order-list__button.button {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .quick-order-list-total .button--unstyled {
    border: none;
    box-shadow: none;
    background-color: transparent;
    color: var(--color-foreground);
    cursor: pointer;
  }

  .quick-order-list__remove-all-button svg {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    flex-shrink: 0;
  }

  .quick-order-list-total__items span {
    display: block;
    margin-block-end: var(--margin-xs);
  }

  .quick-order-list-total__items .h5 {
    margin: 0;
    letter-spacing: var(--letter-spacing--body-loose);
    opacity: var(--opacity-85);
  }

  .quick-order-list-total__subtotal-value {
    display: block;
    margin-block-end: var(--margin-xs);
    line-height: var(--font-paragraph--line-height);
  }

  /* Ensure text-component displays properly */
  .quick-order-list-total__subtotal-value text-component {
    display: block;
  }

  .quick-order-list-total__subtotal {
    margin: 0;
    letter-spacing: var(--letter-spacing--body-loose);
    opacity: var(--opacity-85);
  }

  .quick-order-list-total__tax-note {
    opacity: var(--opacity-subdued-text);
  }

  .quick-order-list-total__messages {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xs);
  }

  .quick-order-list-total__success,
  .quick-order-list-total__error {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
  }

  .quick-order-list-total__success .icon-success,
  .quick-order-list-total__error .quick-order-list-total__icon--error {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    color: inherit;
  }

  .quick-order-list-total__success .icon-success svg,
  .quick-order-list-total__error .quick-order-list-total__icon--error svg {
    width: 100%;
    height: 100%;
  }

  .quick-order-list-total__error:empty,
  .quick-order-list-total__success:empty {
    display: none;
  }

  .quick-order-list-total__info.confirmation-visible {
    display: none;
  }

  .quick-order-list-total__confirmation-text {
    white-space: nowrap;
  }

  .quick-order-list-total__confirmation-buttons {
    display: flex;
    gap: var(--gap-md);
    align-items: center;
  }

  .quick-order-list-total__confirmation button {
    margin: 0;
    white-space: nowrap;
  }

  .quick-order-list__remove-all-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-sm);
  }

  /* Mobile styles */
  @media screen and (max-width: 749px) {
    .quick-order-list-total__info {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .quick-order-list-total__column {
      order: 3; /* Move column to the end on mobile */
      width: 100%;
      flex: 1 1 auto;
    }

    .quick-order-list-total__actions {
      flex-direction: column;
      width: 100%;
    }

    .quick-order-list-total__messages {
      width: 100%;
      align-items: center;
      margin-block-start: var(--margin-xs);
    }

    .quick-order-list-total__summary {
      order: 1; /* First on mobile */
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      gap: var(--gap-md);
    }

    .quick-order-list-total__items {
      text-align: center;
      width: auto;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--gap-xs);
    }

    .quick-order-list-total__items span {
      display: inline;
      margin-block-end: 0;
    }

    .quick-order-list-total__items .h5 {
      display: inline;
    }

    .quick-order-list-total__price {
      text-align: center;
      width: 100%;
    }

    .quick-order-list-total__product-total {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--gap-xs);
    }

    .quick-order-list-total__product-total .quick-order-list-total__subtotal-value {
      display: inline-block;
      margin-block-end: 0;
    }

    .quick-order-list-total__product-total .quick-order-list-total__subtotal {
      display: inline;
    }

    .quick-order-list__button,
    .quick-order-list__remove-all-button {
      width: 100%;
      justify-content: center;
    }

    .quick-order-list-total__confirmation {
      flex-direction: column;
    }

    .quick-order-list-total__tax-note {
      margin-block-start: var(--margin-xs);
    }
  }
/* END_SECTION:quick-order-list */

/* START_SECTION:slideshow (INDEX:48) */
.slideshow-section {
    slideshow-arrows .slideshow-control:first-of-type {
      margin-inline-start: var(--padding-xs);
    }

    slideshow-arrows .slideshow-control:last-of-type {
      margin-inline-end: var(--padding-xs);
    }

    .slideshow--with-hints--mobile-with-hints {
      gap: var(--slideshow-gap, 0);
      grid-column: 1 / -1;
    }

    /* Hide navigation arrows at boundaries for with-hints mode */
    .slideshow--with-hints--mobile-with-hints slideshow-arrows .slideshow-control {
      transition: opacity 0.3s ease;
    }

    /* Override animation for boundary arrows in with-hints mode on hover */
    slideshow-component.slideshow--with-hints--mobile-with-hints:has(
        slideshow-slide:first-child:not([aria-hidden='true'])
      )
      > slideshow-container
      > slideshow-arrows
      .slideshow-control--previous,
    slideshow-component.slideshow--with-hints--mobile-with-hints:has(
        slideshow-slide:last-child:not([aria-hidden='true'])
      )
      > slideshow-container
      > slideshow-arrows
      .slideshow-control--next {
      animation: none;
      opacity: 0;
      pointer-events: none;
    }

    @media screen and (max-width: 749px) {
      .slideshow--with-hints--mobile-with-hints slideshow-slides {
        padding-inline: var(--page-margin);
      }

      .slideshow--with-hints--mobile-with-hints slideshow-slide {
        width: 96%;
      }

      .slideshow--with-hints--mobile-with-hints slideshow-slides {
        gap: min(var(--slideshow-gap, 0), 10px);
      }
    }

    @media screen and (min-width: 750px) {
      .slideshow--with-hints {
        gap: var(--slideshow-gap, 0);
        grid-column: 1 / -1;
      }

      .slideshow--with-hints slideshow-slides {
        padding-inline: var(--page-margin);
        gap: var(--slideshow-gap, 0);
      }

      .slideshow--with-hints slideshow-slide {
        width: calc((100vw - var(--page-margin) * 2));
        overflow: hidden;
      }

      .slideshow--with-hints slideshow-arrows .slideshow-control {
        transition: opacity 0.3s ease;
      }

      slideshow-component.slideshow--with-hints:has(slideshow-slide:first-child:not([aria-hidden='true']))
        > slideshow-container
        > slideshow-arrows
        .slideshow-control--previous,
      slideshow-component.slideshow--with-hints:has(slideshow-slide:last-child:not([aria-hidden='true']))
        > slideshow-container
        > slideshow-arrows
        .slideshow-control--next {
        animation: none;
        opacity: 0;
        pointer-events: none;
      }
    }
  }
/* END_SECTION:slideshow */

/* CSS from block stylesheet tags */
/* START_BLOCK:_announcement (INDEX:50) */
.text-block:not(.text-block--full-width).rte,
  .text-block:not(.text-block--full-width).paragraph {
    /* Safari doesn't support pretty, so fallback to balance */
    text-wrap: balance;
    text-wrap: pretty;
  }

  .text-block:not(.text-block--full-width).h1,
  .text-block:not(.text-block--full-width).h2,
  .text-block:not(.text-block--full-width).h3,
  .text-block:not(.text-block--full-width).h4,
  .text-block:not(.text-block--full-width).h5,
  .text-block:not(.text-block--full-width).h6 {
    text-wrap: balance;
  }

  /* Hide underline unless text is using paragraph styles. */
  .text-block:is(.h1, .h2, .h3, .h4, .h5, .h6) a {
    text-decoration-color: transparent;
  }

  .text-block h1,
  .text-block.h1 > * {
    margin-block: var(--font-h1--spacing);
  }

  .text-block h2,
  .text-block.h2 > * {
    margin-block: var(--font-h2--spacing);
  }

  .text-block h3,
  .text-block.h3 > * {
    margin-block: var(--font-h3--spacing);
  }

  .text-block h4,
  .text-block.h4 > * {
    margin-block: var(--font-h4--spacing);
  }

  .text-block h5,
  .text-block.h5 > * {
    margin-block: var(--font-h5--spacing);
  }

  .text-block h6,
  .text-block.h6 > * {
    margin-block: var(--font-h6--spacing);
  }

  .text-block > *:first-child {
    margin-block-start: 0;
  }

  .text-block > *:last-child {
    margin-block-end: 0;
  }

  .text-block--align-center,
  .text-block--align-center > * {
    margin-inline: auto;
  }

  .text-block--align-right,
  .text-block--align-right > * {
    margin-inline-start: auto;
  }
/* END_BLOCK:_announcement */

/* START_BLOCK:_blog-post-card (INDEX:51) */
.blog-post-card {
    display: flex;
    flex-direction: column;
    text-align: var(--text-align);
    column-gap: var(--columns-gap);
  }

  .blog-post-item--horizontal:has(.blog-post-card__image-container) .blog-post-card {
    & > *:first-child {
      flex-basis: 70%;
    }

    & > *:last-child {
      flex-basis: 30%;
    }
  }

  .blog-post-card__content {
    padding-block-start: 0.4rem;
    display: flex;
    flex-direction: column;
  }

  .blog-post-item--horizontal .blog-post-card__title-link .spacing-style,
  .blog-post-item--horizontal .blog-post-details,
  .blog-post-item--horizontal .blog-post-card__content-text {
    padding-inline-start: 0;
  }

  .blog-post-item .blog-post-card__image-container,
  .blog-post-item .blog-post-card__content {
    width: 100%;
  }

  /**
   * Horizontal layout (image left, content right)
   * Applied to hero posts based on total article count
   * Only applies the split layout when an image is actually present
   */
  .blog-post-item--horizontal .blog-post-card {
    flex-direction: row;

    @media screen and (max-width: 749px) {
      flex-direction: column;
    }
  }

  .blog-post-card__content a {
    display: block;
    text-wrap: pretty;
    text-decoration: none;
    padding-block-start: 0.75rem;
    color: var(--color-foreground);
  }

  .blog-post-card__content a:hover {
    color: var(--color-foreground-subdued);
  }

  a.blog-post-card__title-link {
    color: var(--color-foreground);

    &:hover {
      color: var(--color-foreground-subdued);
    }
  }
/* END_BLOCK:_blog-post-card */

/* START_BLOCK:_blog-post-content (INDEX:52) */
.blog-post-content {
    max-width: var(--normal-content-width);
    margin: 0 auto;
    color: var(--color, inherit);
  }

  .blog-post-content a {
    color: currentcolor;
  }
/* END_BLOCK:_blog-post-content */

/* START_BLOCK:_blog-post-description (INDEX:53) */
.blog-post-card__content-text a {
    color: currentcolor;
  }

  .blog-post-card__content-text a:hover {
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
  }
/* END_BLOCK:_blog-post-description */

/* START_BLOCK:_blog-post-featured-image (INDEX:54) */
.blog-post-featured-image {
    --width: 100%;
    --custom-width: 100%;

    position: relative;
    display: block;
    width: var(--width);
    margin-inline: auto;
  }

  .blog-post-featured-image.size-style {
    --width: var(--size-style-width, 100%);
  }

  .blog-post-featured-image--height-fit {
    height: fit-content;
  }

  .blog-post-featured-image--height-fill {
    height: 100%;
  }

  .blog-post-featured-image__image {
    aspect-ratio: var(--ratio);
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  @media screen and (max-width: 749px) {
    .blog-post-featured-image {
      --width: var(--width-mobile, var(--width));
      --custom-width: var(--custom-width-mobile, var(--custom-width));
    }

    .blog-post-featured-image.size-style {
      --width: var(--size-style-width-mobile, var(--size-style-width, 100%));
    }
  }
/* END_BLOCK:_blog-post-featured-image */

/* START_BLOCK:_blog-post-image (INDEX:55) */
.blog-post-card__image {
    width: 100%;
    object-fit: cover;
    object-position: center center;
    height: calc(var(--blog-post-card-img-height) * var(--blog-post-card-scale));
  }

  .blog-post-card__image--small {
    --blog-post-card-img-height: 280px;
  }

  .blog-post-card__image--medium {
    --blog-post-card-img-height: 340px;
  }

  .blog-post-card__image--large {
    --blog-post-card-img-height: 400px;
  }
/* END_BLOCK:_blog-post-image */

/* START_BLOCK:_blog-post-info-text (INDEX:56) */
.blog-post-details {
    display: flex;
    gap: var(--gap-sm);
    font-size: var(--font-paragraph-size);
    color: var(--color-details, var(--color-foreground-muted));
    white-space: nowrap;
    flex-wrap: wrap;
  }

  .blog-post-details > span {
    text-overflow: clip;
    overflow: hidden;
  }
/* END_BLOCK:_blog-post-info-text */

/* START_BLOCK:_card (INDEX:58) */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius, 0);
    border-width: var(--border-width, 0);
    border-style: var(--border-style, none);
    border-color: var(--border-color);
    container-type: inline-size;
  }

  .card__content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: var(--layer-flat);
    display: flex;
    flex-direction: column;
    aspect-ratio: var(--card-ratio, 1);
  }

  .card__content.background-transparent {
    background-color: transparent;
  }

  /* When card has both image and content, use min-height from container query */
  .card__content--has-min-height {
    min-height: calc(100cqw / var(--card-ratio-numeric));
  }

  .card__inner {
    flex: 1;
  }

  .card__media-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
  }

  .card__media-wrapper video {
    z-index: var(--layer-raised);
  }

  .card__link {
    position: absolute;
    inset: 0;
    z-index: var(--layer-raised);
  }

  .card__link ~ :is(.card__content, .card__media-wrapper) {
    pointer-events: none;

    :is(a, button, input, textarea, select) {
      pointer-events: auto;
    }
  }

  /* Needs the .card__link ~ to be specific enough to take effect. */
  .card__link ~ .card__content--design-mode {
    pointer-events: auto;
  }
/* END_BLOCK:_card */

/* START_BLOCK:_carousel-content (INDEX:59) */
.carousel-content slideshow-slides {
    --slideshow-gap: var(--carousel-gap);
  }

  .carousel-content slideshow-slides > .card {
    flex: 0 0 auto;
    width: calc(
      (100% - (var(--carousel-gap, 8px) * (var(--carousel-mobile-columns, 2) - 1)) - var(--peek-next-slide-size, 0px)) /
        var(--carousel-mobile-columns, 2)
    );
  }

  @media screen and (min-width: 750px) {
    .carousel-content slideshow-slides > .card {
      width: calc(
        (100% - (var(--carousel-gap, 8px) * (var(--carousel-columns, 4) - 1)) - var(--peek-next-slide-size, 0px)) /
          var(--carousel-columns, 4)
      );
    }
  }

  .carousel-content .slideshow-control[disabled] {
    display: none;
  }

  .carousel-content slideshow-arrows {
    padding-inline: var(--util-page-margin-offset);
  }

  .carousel-content .slideshow-control--next {
    margin-inline-start: auto;
  }
/* END_BLOCK:_carousel-content */

/* START_BLOCK:_cart-products (INDEX:60) */
.cart-page__title + .cart-page__items {
    margin-block-start: var(--margin-lg);
  }
/* END_BLOCK:_cart-products */

/* START_BLOCK:_cart-summary (INDEX:61) */
.cart-summary__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-2xl);
    container-type: inline-size;
    padding: 0;
    position: sticky;
    top: 0;
    align-self: start;

    @media screen and (min-width: 750px) {
      padding: var(--padding-5xl);
      grid-row: 1 / -1;
    }
  }

  body:has(#header-group header-component[sticky]) .cart-summary__inner {
    top: var(--header-height, 0);
  }

  .cart-summary {
    @media screen and (max-width: 749px) {
      border: none;
    }

    @media screen and (min-width: 750px) {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: 1 / -1;
    }
  }

  .cart-summary--extend {
    height: 100%;

    @media screen and (min-width: 750px) {
      border-right: none;
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
    }
  }

  /* If extend is on, only include top and bottom borders when the border radius is 0. */
  .cart-summary--extend:not(.has-border-radius) {
    @media screen and (min-width: 750px) {
      border-top: none;
      border-bottom: none;
    }
  }

  .cart-summary--extend .cart-summary__inner {
    @media screen and (min-width: 750px) {
      height: 100%;
      grid-row: 2 / -1;
      padding: var(--padding-md) var(--page-margin) var(--padding-4xl);
      width: var(--sidebar-width);
    }
  }

  /* If extend is off, apply the border radius to the inner summary container */
  .cart-summary__inner.has-border-radius {
    border-radius: var(--border-radius);
  }

  /* On mobile, drop the summary's custom palette and inherit from the cart
     section so the summary visually merges with the rest of the cart page. */
  @media screen and (max-width: 749px) {
    :is(.section-background, .cart-summary, .cart-summary__inner).inherit-parent-scheme--mobile {
      --color: inherit;
      --color-rgb: inherit;
      --color-background: inherit;
      --color-background-rgb: inherit;
      --color-foreground: inherit;
      --color-foreground-rgb: inherit;
      --color-foreground-subdued: inherit;
      --color-border: inherit;
      --color-border-rgb: inherit;
      --color-shadow: inherit;
      --color-shadow-rgb: inherit;
      --color-primary-button-text: inherit;
      --color-primary-button-background: inherit;
      --color-primary-button-border: inherit;
      --color-primary-button-hover-text: inherit;
      --color-primary-button-hover-background: inherit;
      --color-primary-button-hover-border: inherit;
      --color-secondary-button-text: inherit;
      --color-secondary-button-background: inherit;
      --color-secondary-button-border: inherit;
      --color-secondary-button-hover-text: inherit;
      --color-secondary-button-hover-background: inherit;
      --color-secondary-button-hover-border: inherit;
      --color-input-text: inherit;
      --color-input-text-rgb: inherit;
      --color-input-background: inherit;
      --opacity-10-25: inherit;
    }
  }
/* END_BLOCK:_cart-summary */

/* START_BLOCK:_cart-title (INDEX:62) */
.cart-title h1 {
    margin-block-end: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--gap-sm);
  }

  .cart-title .cart-bubble {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: auto;
    padding: var(--cart-padding);
  }

  .cart-title .cart-bubble[data-maintain-ratio] {
    width: min(1lh, 26px);
    height: min(1lh, 26px);
  }

  .cart-title .cart-bubble .cart-bubble__background {
    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
  }

  .cart-title .cart-bubble__text {
    color: var(--color-foreground);
    font-family: var(--font-paragraph--family);
    font-weight: var(--font-paragraph--weight);
    font-size: clamp(var(--font-size--3xs), 0.75em, var(--font-size--xs));
  }
/* END_BLOCK:_cart-title */

/* START_BLOCK:_collection-image (INDEX:65) */
.collection-image {
    width: var(--image-width);
  }

  .collection-image .collection-image__featured-image {
    aspect-ratio: var(--ratio);
    object-fit: cover;
  }
/* END_BLOCK:_collection-image */

/* START_BLOCK:_collection-link (INDEX:67) */
.collection-links__link {
    --min-font-size: var(--font-size--4xl);
    --max-font-size: var(--font-size--6xl);

    display: flex;
    color: inherit;
    text-decoration: none;
    text-wrap: pretty;
    font-size: clamp(var(--min-font-size), 4.5vw, var(--max-font-size));

    /* When hovering over container, dim non-current links (text layout only) */
    @media (hover: hover) {
      collection-links-component:not([layout='spotlight']) .collection-links__container:hover & {
        opacity: var(--opacity-subdued-text);
      }

      collection-links-component:not([layout='spotlight']) .collection-links__container:hover &[aria-current='true'] {
        opacity: 1;
      }
    }

    [layout='spotlight'] & {
      /* Spotlight layout: dimmed by default */
      opacity: var(--disabled-opacity);

      &[aria-current='true'] {
        opacity: 1;
      }
    }

    .text-block {
      display: inline-block;
    }

    @media screen and (max-width: 749px) {
      --min-font-size: var(--font-size--3xl);
      --max-font-size: var(--font-size--5xl);

      [layout='spotlight'] & {
        white-space: normal;
        scroll-snap-align: start;
        text-wrap: pretty;

        span {
          text-wrap: pretty;
        }
      }
    }
  }

  .collection-links__count {
    font-size: 0.5em;
    opacity: var(--disabled-opacity);
    font-weight: var(--font-paragraph--weight);
  }

  .collection-links__image {
    align-items: center;
    justify-content: center;

    &:not([hidden]) {
      display: flex;
    }

    &[reveal] {
      --offset: 15px;

      position: fixed;
      top: 0;
      left: 0;
      z-index: var(--layer-temporary);
      display: block;
      translate: calc(var(--x) + var(--offset)) calc(var(--y) + var(--offset));
      pointer-events: none;
      width: auto;

      image-block {
        --image-height-basis: 5rem;

        height: var(--image-height);
      }
    }
  }
/* END_BLOCK:_collection-link */

/* START_BLOCK:_featured-blog-posts-card (INDEX:71) */
.featured-blog-posts-card {
    width: 100%;
    position: relative;
    height: 100%;
    text-align: var(--text-align);
  }

  .featured-blog-posts-card__inner {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: var(--layer-flat);
    pointer-events: none;
    gap: var(--gap);
  }

  .featured-blog-posts-card__link {
    position: absolute;
    inset: 0;

    /* allows focus outline to have radius in supported browsers */
    border-radius: var(--border-radius);
  }

  .resource-list--grid .resource-list__item {
    min-width: 0;
  }

  /* Editorial layout */
  .resource-list:not(.hidden--desktop) .blog-post-card--flexible-aspect-ratio {
    .featured-blog-posts-card__image,
    .blog-placeholder-svg {
      aspect-ratio: 99;
      height: 100%;
    }

    .featured-blog-posts-card__inner {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .featured-blog-posts-card__content {
      --flex-wrap: nowrap;

      flex-shrink: 0;
      height: auto;
    }
  }

  @media screen and (max-width: 749px) {
    .resource-list:not(.hidden--desktop) .blog-post-card--flexible-aspect-ratio {
      .featured-blog-posts-card__image,
      .blog-placeholder-svg {
        aspect-ratio: unset;
      }
    }
  }

  .featured-blog-posts-card__inner a,
  .featured-blog-posts-card__inner button {
    pointer-events: auto;
  }

  /* allow all blocks to be selectable in editor preview */
  .shopify-design-mode .featured-blog-posts-card__content * {
    pointer-events: auto;
  }

  .featured-blog-posts-card__content {
    --flex-wrap: wrap;

    display: flex;
    position: relative;
    height: 100%;
    width: 100%;
    gap: var(--gap);
  }

  .featured-blog-posts-card__content h4 {
    margin: 0;
  }
/* END_BLOCK:_featured-blog-posts-card */

/* START_BLOCK:_featured-blog-posts-image (INDEX:72) */
.featured-blog-posts-card__image {
    width: 100%;
  }

  .featured-blog-posts-card__image .blog-placeholder-svg {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
/* END_BLOCK:_featured-blog-posts-image */

/* START_BLOCK:_featured-product-gallery (INDEX:74) */
.featured-product-section .card-gallery .quick-add__button {
    position: absolute;
    right: var(--quick-add-offset, var(--padding-sm));
    bottom: var(--quick-add-offset, var(--padding-sm));
  }
/* END_BLOCK:_featured-product-gallery */

/* START_BLOCK:_featured-product (INDEX:77) */
.featured-product-content-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--gap-sm);
  }
/* END_BLOCK:_featured-product */

/* START_BLOCK:_footer-social-icons (INDEX:78) */
.social-icons__wrapper {
    display: flex;
    gap: var(--gap-sm);
    flex-wrap: wrap;
    justify-content: center;

    @media screen and (min-width: 750px) {
      flex-wrap: nowrap;
      justify-content: flex-start;
    }
  }
/* END_BLOCK:_footer-social-icons */

/* START_BLOCK:_header-logo (INDEX:79) */
/* TABLET PARITY PASS [ours, 2026-09-13] — the reference site's own logo
     size swap (small "phone" badge -> large "desktop" badge) happens at
     810px, not 750px, on both touch and non-touch alike (measured live,
     nilsyourbike.com: logo renders 79x72 at 809px, 118x107 at 810px, flat
     at every width tested from 641 to 1366 either side of that one exact
     line — mobile-audit/tablet-parity-2026-09-13/find-site-phone-boundary.
     json). This file's own 5 `min-width: 750px` breakpoints below (all
     logo-only, nothing shared with unrelated header structure) are
     retargeted to 810px to match — a plain literal, not touch-conditional,
     since the source doesn't condition this on touch either. */
  .header-logo {
    display: flex;
    height: 100%;
    font-size: var(--font-size--md);
    font-family: var(--font-family);
    font-weight: var(--font-weight);
    font-style: var(--font-style);
    color: var(--color-foreground);
    justify-content: center;
    align-items: center;
    text-decoration: none;

    &[data-hidden-on-home-page] {
      display: none;

      #header-component:is(
          [sticky='always']:not([data-scroll-direction='none']),
          [sticky='scroll-up'][data-scroll-direction='up']
        )
        & {
        display: flex;
      }
    }

    @media screen and (max-width: 809px) {
      padding: 0;
    }

    @media screen and (min-width: 810px) {
      flex-shrink: 0;
    }

    &:hover {
      text-decoration: none;
    }
  }

  .header-logo__image {
    object-fit: contain;
    height: var(--header-logo-image-height-mobile);
    width: var(--header-logo-image-width-mobile);

    @media screen and (min-width: 810px) {
      height: var(--header-logo-image-height);
      width: var(--header-logo-image-width);
    }
  }

  .header-logo:has(.header-logo__image-container--inverse) .header-logo__image-container--original {
    display: var(--header-logo-display, block);
  }

  /* NILS fallback badge hangs below the header bar, flush with its top
     edge — matches the live site's logo treatment (measured at 1920px).
     The image is taken out of flex/grid flow so it overlaps the bar
     instead of stretching it taller to fit; the anchor itself keeps
     Horizon's normal (small, centered) box so the row's height is
     unaffected, but the click target still covers the full badge because
     the image is a DOM descendant of the anchor — a click anywhere on the
     visible image bubbles up through it regardless of the absolute
     positioning. */
  .header-logo--nils {
    position: relative;
    align-self: flex-start;
    width: var(--header-logo-image-width-mobile);
    height: 100%;

    @media screen and (min-width: 810px) {
      width: var(--header-logo-image-width);
      /* Header's own inline padding (--page-margin, 40px at 1920) plus this
         gets the logo to the ~68px-from-viewport-edge offset measured on
         the live site's header (nilsyourbike.com, 1920px viewport). */
      margin-left: 28px;
    }
  }

  .header-logo__image-container--nils {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;

    /* .header-logo__image is position: absolute (needed for object-fit:
       cover to fill this exact box), so it no longer contributes
       intrinsic size to this span — give the container explicit
       dimensions itself so overflow: hidden has an actual box to clip
       against. */
    width: var(--header-logo-image-width-mobile);
    height: 72px;

    @media screen and (min-width: 810px) {
      width: var(--header-logo-image-width);
      height: 107px;
    }

    /* HEADER RUN — now the reference's own logo file (349x300 intrinsic,
       same as the live badge's own <img>), so a plain object-fit: cover
       onto the measured box reproduces the live crop directly — no manual
       per-pixel offset needed. */
    .header-logo__image {
      object-fit: cover;
      width: 100%;
      height: 100%;
      position: absolute;
      left: 0;
      top: 0;
    }

    /* Horizon's own header grid vertically centers the (shorter) logo
       column inside the row before our badge ever renders — but only at
       the desktop breakpoint (mobile's header-logo already sits flush
       with the row's top on its own). This cancels that desktop
       centering out so the badge sits flush with the row's own top edge,
       matching the live site.
       HEADER POSITION FIX — was -11px (measured at 1920px against the
       74px-tall bar and the old, differently-cropped logo asset, both
       since changed). Re-measured live at 1440px against the CURRENT
       64px bar and real logo file: badge rendered at y=-5 (viewport-
       relative), site's own badge at y=0 — a +5px correction lands it
       exactly flush, matching the site's hang-below-bar distance too
       (107 - 64 = 43px, vs. site's measured 42.98px). */
    @media screen and (min-width: 810px) {
      top: -6px;
    }
  }

  .header-logo__image-container--inverse {
    display: var(--header-logo-inverse-display, none);
  }
/* END_BLOCK:_header-logo */

/* START_BLOCK:_header-menu (INDEX:80) */
.header__drawer {
    --header-drawer-min-height: 60px;
    display: flex;
    min-height: var(--header-drawer-min-height);
    align-items: center;
  }

  #header-component[data-menu-style='drawer'] .header__drawer {
    display: flex;
    min-height: var(--header-drawer-min-height);
  }

  @media screen and (min-width: 750px) {
    #header-component[data-menu-style='menu'] .header__drawer {
      display: none;
      min-height: 0;
    }
  }

  .header--compact .header__drawer {
    min-height: var(--minimum-touch-target);
  }

  .menu-list--mobile {
    &.menu-list {
      display: grid;
    }

    & .menu-list__list {
      width: max-content;
      margin-inline: auto;
      gap: var(--menu-horizontal-gap);
    }

    & li {
      width: max-content;
      padding-block: var(--padding-sm);
    }

    & li:first-of-type {
      padding-inline-start: var(--menu-horizontal-gap);
    }

    & li:last-of-type {
      padding-inline-end: var(--menu-horizontal-gap);
    }

    & a {
      color: var(--color-foreground);
    }
  }

  .menu-list__scroll-container {
    position: relative;
    overflow-x: auto;
    mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 20px), transparent);
    padding-block: var(--padding-2xs);
  }

  .menu-list {
    --menu-horizontal-gap: var(--gap-xl);
    --menu-vertical-gap: var(--gap-xl);

    display: flex;
    height: 100%;
  }

  .menu-list__list {
    display: flex;
    justify-content: var(--grid-area-alignment);
  }

  .menu-list__list-item {
    flex-shrink: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
  }

  .menu-list__list-item[aria-hidden='true'] {
    visibility: hidden;
  }

  .menu-list__link {
    font-family: var(--menu-top-level-font-family);
    font-style: var(--menu-top-level-font-style);
    font-weight: var(--menu-top-level-font-weight);
    font-size: var(--menu-top-level-font-size);
    line-height: var(--menu-top-level-font-line-height);
    text-transform: var(--menu-top-level-font-case);
    color: var(--menu-top-level-font-color);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    height: 100%;
    margin-block: 0;

    &::after {
      content: '';
      position: absolute;
      display: none;
      top: var(--header-padding);
      height: var(--box-height);
      left: 0;
      right: 0;
    }

    &[data-safety-box='true']::after {
      display: block;
    }

    &:hover,
    &:focus {
      color: var(--menu-top-level-font-color);
    }

    @media screen and (min-width: 750px) {
      font-size: var(--menu-top-level-font-size-desktop);
    }
  }

  .menu-list__link-title {
    padding-inline: calc(var(--gap-xl) / 2);
  }
  [slot='overflow'] .menu-list__link-title {
    padding-inline: 0;
  }

  .menu-list__list-item:not([slot='overflow']) {
    flex-direction: column;
  }
  .menu-list__list-item[slot='more']:has(.menu-list__link[aria-expanded='true'])::after {
    content: '';
    width: 100%;
    height: var(--header-padding);
    margin-bottom: calc(-1 * var(--header-padding));
  }

  [slot='overflow'] > .menu-list__link::after {
    content: none;
  }

  /*
    High specificity selectors to subdue non-hovered links without javascript.
    If the need for js-generated `hovered` and `focused` classes arises for another reason we can simplify these.
  */
  .menu-list:where(:has(.menu-list__list-item:hover)),
  .menu-list:where(:has(.menu-list__list-item:focus-within)),
  .menu-list:where(:has(.menu-list__list-item:not([aria-hidden='true']) .menu-list__link--active)) {
    .menu-list__link {
      color: rgb(var(--menu-top-level-font-color-rgb) / var(--opacity-subdued-text));
    }
  }

  /* stylelint-disable-next-line selector-max-specificity */
  .menu-list:not(:has(.menu-list__list-item:hover)) .menu-list__link--active,
  .menu-list .menu-list__list-item:where(:hover, :focus-within) .menu-list__link,
  .menu-list .menu-list__list-item:is([slot='more'], [slot='overflow']) .menu-list__link[aria-expanded='true'] {
    color: var(--menu-top-level-font-color);
  }

  .overflow-menu::part(list) {
    /* Make sure focus outline is not cut off by overflow hidden */
    --focus-outline-size: calc(var(--focus-outline-offset) + var(--focus-outline-width));

    gap: 0;
    margin-inline: calc(-1 * var(--menu-horizontal-gap) / 2);
  }

  .overflow-menu {
    /* stylelint-disable-next-line declaration-no-important */
    background-color: transparent !important;
    padding: var(--focus-outline-size);
    margin: calc(-1 * var(--focus-outline-size));
  }

  /** mega menu **/
  .menu-list__submenu,
  .overflow-menu::part(overflow) {
    --submenu-padding-block-start: var(--padding-3xl);
    --submenu-padding-block-end: var(--padding-3xl);

    background-color: transparent;
  }

  .header__row[style*='--border-bottom-width: 0px'] {
    .menu-list__submenu.background-matches-parent,
    .overflow-menu.background-matches-parent::part(overflow) {
      --submenu-padding-block-start: 0px;
    }
  }

  .menu-list__list-item:where(:not([slot='overflow'])) > .menu-list__submenu,
  .overflow-menu::part(overflow) {
    --submenu-content-opacity: 0;
    --submenu-content-animation: opacity calc(var(--submenu-animation-speed) * 0.75) var(--animation-easing);

    visibility: hidden;
    position: absolute;
    width: 100%;
    left: 0;
    top: calc(100% - 1px + var(--border-bottom-width) - (var(--full-open-header-height) - var(--submenu-height)));
    z-index: var(--layer-header-menu);
    padding-inline: var(--padding-inline);
    /* Clip path starts at header height so it doesn't mess with the pointer events in the header */
    clip-path: rect(var(--header-height) 100% var(--full-open-header-height) 0); /* stylelint-disable-line */
    transition: clip-path var(--submenu-animation-speed) var(--ease-out-cubic); /* stylelint-disable-line */
  }

  [data-submenu-overlap-bottom-row] {
    .menu-list__list-item:where(:not([slot='overflow'])) > .menu-list__submenu,
    .overflow-menu::part(overflow) {
      clip-path: rect(var(--top-row-height) 100% var(--full-open-header-height) 0); /* stylelint-disable-line */
    }
  }

  /* Show the submenus on hover */
  .menu-list__list-item:has([aria-expanded='true']) > .menu-list__submenu,
  /* Show the overflow menu when a menu item is hovered */
  .overflow-menu:has([slot="overflow"] [aria-expanded='true'])::part(overflow-list),
  /* Keep the submenus open when they are hovered */
  .menu-list__submenu:is(:hover),
  .overflow-menu::part(overflow):hover {
    --submenu-content-opacity: 1;

    visibility: visible;
  }

  .overflow-menu::part(overflow) {
    --menu-top-level-font-size: var(--font-size--xlarge);

    display: grid;
    grid-template-columns: var(--full-page-grid-with-margins);
  }

  .overflow-menu::part(overflow-list) {
    position: relative;
    display: grid;
    grid-template-columns: minmax(auto, 200px) 1fr;
    grid-template-areas: 'left right';
    grid-template-rows: max-content;
    grid-gap: 0;
    grid-column: 2;
  }

  .menu-list__list-item:is([slot='overflow']) {
    --menu-top-level-font-color: var(--color-foreground);
    --menu-top-level-font-color-rgb: var(--color-foreground-rgb);

    display: contents;
    white-space: normal;

    .menu-list__link {
      grid-area: left;
      grid-row: auto;
      height: min-content;
      font-size: var(--font-size--xl);
      transition: var(--submenu-content-animation);
    }

    .menu-list__submenu {
      visibility: hidden;
      grid-row: 1;
      grid-area: right;
      grid-row-end: span calc(var(--overflow-count) + 1);
      padding-inline-start: var(--menu-horizontal-gap);
    }

    .menu-list__submenu-inner {
      transform: none;
      grid-column: unset;
      padding-block: 0;
    }

    .menu-list__link[aria-expanded='true'] + .menu-list__submenu {
      visibility: visible;
    }
  }

  .header-menu {
    height: 100%;
  }

  .menu-list__submenu-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .menu-list__submenu-inner,
  .overflow-menu::part(overflow-list) {
    padding-block-start: var(--submenu-padding-block-start);
    padding-block-end: var(--submenu-padding-block-end);
    padding-inline: var(--section-padding-inline);
    opacity: var(--submenu-content-opacity);
    transition: var(--submenu-content-animation);
    transform: translateY(calc(var(--full-open-header-height) - var(--submenu-height)));

    /* Make overflow menu scrollable when content exceeds viewport */
    max-height: calc(80vh - var(--header-height));
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgb(var(--color-foreground-rgb) / var(--opacity-40)) transparent;
  }

  .mega-menu__link {
    font-family: var(--menu-child-font-family);
    font-style: var(--menu-child-font-style);
    font-weight: var(--menu-child-font-weight);
    font-size: var(--menu-child-font-size);
    line-height: var(--menu-child-font-line-height);
    text-transform: var(--menu-child-font-case);
    color: var(--menu-child-font-color);
    white-space: normal;
    text-decoration: none;
    display: inline-flex;
    padding: var(--padding-2xs) 0;

    &:hover {
      color: var(--menu-child-active-font-color);
    }
  }

  .mega-menu__link--parent {
    font-family: var(--menu-parent-font-family);
    font-style: var(--menu-parent-font-style);
    font-weight: var(--menu-parent-font-weight);
    font-size: var(--menu-parent-font-size);
    line-height: var(--menu-parent-font-line-height);
    text-transform: var(--menu-parent-font-case);
    color: var(--menu-parent-font-color);

    &:hover {
      color: var(--menu-parent-active-font-color);
    }
  }

  @media screen and (max-width: 989px) {
    .mega-menu__content-list-item--hidden-tablet {
      display: none;
    }
  }

  .mega-menu__link:has(.mega-menu__link-image) {
    display: flex;
    flex-direction: column;
    padding-inline: 0;
    padding-block: var(--padding-sm) 0;
  }

  .mega-menu__link-image {
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    margin-bottom: var(--padding-sm);
    object-fit: cover;
    border-radius: var(--menu-image-border-radius);
  }

  /* Fix alignment for collection image mode links without images */

  /* Target only top-level links (direct children of column > div) in collection image mode */
  .mega-menu__grid:has(.mega-menu__link-image)
    .mega-menu__column
    > div
    > .mega-menu__link:not(:has(.mega-menu__link-image)) {
    display: flex;
    flex-direction: column;
    padding-inline: 0;
    padding-block: var(--padding-sm) 0;
  }

  .mega-menu__grid:has(.mega-menu__link-image)
    .mega-menu__column
    > div
    > .mega-menu__link:not(:has(.mega-menu__link-image))::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: var(--padding-sm);
    background-color: var(--color-foreground-muted);
    opacity: 0.1;
    border-radius: var(--menu-image-border-radius);
  }

  .mega-menu__grid {
    display: grid;
    grid-template-columns: repeat(var(--menu-columns-tablet), minmax(0, 1fr));
    gap: var(--menu-vertical-gap) var(--menu-horizontal-gap);
    width: 100%;

    @media screen and (min-width: 990px) {
      grid-template-columns: repeat(var(--menu-columns-desktop), minmax(0, 1fr));
    }
  }

  .mega-menu__column {
    grid-column: span 1;
  }

  .mega-menu__column--span-2 {
    grid-column: span 2;
  }

  .mega-menu__column--span-3 {
    grid-column: span 3;
  }

  .mega-menu__column--span-4 {
    grid-column: span 4;
  }

  .mega-menu__column--wide-collection-image {
    grid-column: span 1;

    @media screen and (min-width: 990px) {
      grid-column: span 2;
    }
  }

  .mega-menu__submenu .mega-menu__column--wide-collection-image {
    grid-column: span 1;
  }

  .mega-menu__content-list {
    display: grid;
    justify-content: end;
    gap: var(--menu-vertical-gap) var(--menu-horizontal-gap);
  }

  .mega-menu__content-list--products {
    grid-template-columns: repeat(var(--menu-content-columns-tablet), minmax(0, 1fr));

    @media screen and (min-width: 990px) {
      grid-template-columns: repeat(var(--menu-content-columns-desktop), minmax(0, 1fr));
    }
  }

  .mega-menu__content-list--collections {
    grid-template-columns: repeat(var(--menu-content-columns-tablet), minmax(0, 300px));

    @media screen and (min-width: 990px) {
      grid-template-columns: repeat(var(--menu-content-columns-desktop), minmax(0, 300px));
    }
  }

  .mega-menu__list {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: span var(--menu-columns-tablet);
    gap: var(--menu-vertical-gap) var(--menu-horizontal-gap);

    @media screen and (min-width: 990px) {
      grid-column: span var(--menu-columns-desktop);
    }
  }

  .mega-menu__content {
    grid-column: span var(--menu-content-columns-tablet) / -1;

    @media screen and (min-width: 990px) {
      grid-column: span var(--menu-content-columns-desktop) / -1;
    }
  }

  .menu-list__list-item[slot='overflow'] .section {
    grid-template-columns: 1fr;
  }

  .menu-list__list-item[slot='overflow'] .section .mega-menu__grid {
    grid-column: 1;
  }

  .mega-menu__content-list li {
    white-space: normal;
  }

  /* mega more menu */
  .mega-menu__more-list {
    --menu-child-font-size: var(--font-size--xl);

    width: 200px;
  }

  .mega-menu__submenu {
    /* preserves the inherited grid layout when this submenu wrapper is used */
    display: contents;
  }

  /* Hide product cards in collapsed submenus from the IntersectionObserver that fires product view events */
  .menu-list__list-item:not(:has([aria-expanded='true'])) > .menu-list__submenu product-component {
    display: none;
  }
/* END_BLOCK:_header-menu */

/* START_BLOCK:_image (INDEX:83) */
.image-block__placeholder {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    overflow: hidden;
    position: relative;
  }

  image-block {
    --image-height-basis: 10rem;
    --image-height-small: calc(var(--image-height-basis) * 2);
    --image-height-medium: calc(var(--image-height-basis) * 3);
    --image-height-large: calc(var(--image-height-basis) * 4);

    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: var(--ratio);
    width: 100%;
    max-width: calc(var(--image-height) * var(--ratio));
    height: var(--image-height);
    overflow: hidden;

    @media screen and (min-width: 750px) {
      --image-height-small: calc(var(--image-height-basis) * 2.5);
      --image-height-medium: calc(var(--image-height-basis) * 3.5);
      --image-height-large: calc(var(--image-height-basis) * 4.5);
    }

    @media screen and (max-width: 749px) {
      height: auto;
    }

    &[height='small'] {
      --image-height: var(--image-height-small);
    }

    &[height='medium'] {
      --image-height: var(--image-height-medium);
    }

    &[height='large'] {
      --image-height: var(--image-height-large);
    }

    &[ratio='portrait'] {
      --ratio: 4 / 5;
    }

    &[ratio='square'] {
      --ratio: 1 / 1;

      @media screen and (min-width: 750px) {
        max-width: var(--image-height);
      }
    }

    &[ratio='landscape'] {
      --ratio: 16 / 9;
    }

    img {
      object-fit: cover;
      width: 100%;
      height: auto;
      aspect-ratio: var(--ratio);
      border-radius: var(--border-radius);
    }
  }
/* END_BLOCK:_image */

/* START_BLOCK:_marquee (INDEX:87) */
marquee-component {
    display: block;
    width: 100%;
    overflow: hidden;
    background-color: var(--color-background);
  }

  .marquee__wrapper {
    display: flex;
    gap: var(--marquee-gap);
    width: fit-content;
    white-space: nowrap;
  }

  .marquee__content {
    min-width: max-content;
    display: flex;
    gap: var(--marquee-gap);
  }

  .marquee__content :is(p, h1, h2, h3, h4, h5, h6) {
    white-space: nowrap;
  }

  .marquee__content .marquee__repeated-items * {
    max-width: none;
  }

  .marquee__repeated-items {
    min-width: max-content;
    display: flex;
    gap: var(--marquee-gap);
    align-items: center;
    justify-content: center;
  }

  .marquee__repeated-items > * {
    align-content: center;
  }

  .hero__content-wrapper.layout-panel-flex--column marquee-component {
    --margin-inline: var(--full-page-margin-inline-offset);

    width: -webkit-fill-available;
    min-height: max-content;
  }

  @media (prefers-reduced-motion: no-preference) {
    marquee-component:not([data-disabled]) .marquee__wrapper {
      animation: marquee-motion var(--marquee-speed) linear infinite var(--marquee-direction);
    }
  }

  @keyframes marquee-motion {
    to {
      transform: translate3d(calc(-50% - (var(--marquee-gap) / 2)), 0, 0);
    }
  }
/* END_BLOCK:_marquee */

/* START_BLOCK:_product-details (INDEX:92) */
/* Clear padding on mobile, if not full-width */
  @media screen and (max-width: 749px) {
    .product-information.section--page-width .product-details > .group-block {
      padding-inline: 0;
    }
  }

  .view-product-title {
    display: none;
  }

  .nils-product-back {
    margin-block-end: 4px;
  }

  /*
   * Ghost-chip treatment, matched to the viscosity/size pills' own scale
   * (.variant-option__button-label under the CHIP SCALE rule in
   * nils-design-language.liquid: --variant-picker-button-radius [14px],
   * 1px border, 18px inline padding) but visually lighter since this is a
   * tertiary affordance: transparent fill, low-opacity border instead of
   * the pills' solid red, and no fill/underline change on hover — the
   * chip outline itself is the affordance. padding-block keeps the
   * 44px+ tap target from the previous pass.
   */
  .nils-product-back__link {
    display: inline-block;
    font-family: var(--font-body--family);
    font-size: 15px;
    line-height: 1.2;
    padding-block: 14px;
    padding-inline: 16px;
    border: 1px solid rgb(var(--color-foreground-rgb) / var(--opacity-25));
    border-radius: var(--variant-picker-button-radius);
    background-color: transparent;
    text-decoration: none;
    color: rgb(var(--color-foreground-rgb) / var(--opacity-85));
  }

  .nils-product-back__link:hover {
    border-color: var(--color-foreground);
    color: var(--color-foreground);
  }

  /* Container styles */
  .product-details {
    display: flex;
    align-self: start;
    justify-content: center;
  }

  @media screen and (min-width: 750px) {
    .product-details > .group-block {
      height: min-content;
    }

    .full-height--desktop {
      height: 100%;
      max-height: calc(100vh - var(--header-group-height, 0));
      min-height: fit-content;
    }

    .full-height--desktop .group-block {
      align-self: var(--details-position, 'flex-start');
    }
  }
/* END_BLOCK:_product-details */

/* START_BLOCK:_search-input (INDEX:97) */
.search-page-input {
    width: 100%;
    color: var(--color-input-text);
    background-color: var(--color-input-background);
    padding-block: var(--padding-lg);
    padding-inline: calc(var(--icon-size-lg) + var(--margin-xl) * 1.5);
    text-overflow: ellipsis;
    overflow: hidden;
    border-radius: var(--style-border-radius-inputs);
    border: var(--style-border-width-inputs) solid var(--color-input-border);

    @media screen and (max-width: 749px) {
      padding-inline: calc(var(--margin-xs) + var(--icon-size-lg) + var(--padding-md));
    }
  }

  .search-page-input::placeholder {
    color: rgb(var(--color-input-text-rgb) / var(--opacity-subdued-text));
  }

  .search-page-input__parent {
    display: flex;
    flex-direction: column;
    align-items: var(--horizontal-alignment);
  }

  .search-results__no-results {
    opacity: var(--opacity-subdued-text);
  }

  search-page-input-component {
    position: relative;
    width: 100%;
    display: flex;
    top: 0;
    max-width: var(--size-style-width);
    align-items: center;
    background-color: var(--color-background);
    margin: var(--margin-2xl) 0 var(--margin-md);

    @media screen and (max-width: 749px) {
      max-width: 100%;
    }
  }

  search-page-input-component .search__icon,
  search-page-input-component .search__icon:hover,
  search-page-input-component .search__reset-button,
  search-page-input-component .search__reset-button:hover {
    background: transparent;
    position: absolute;
    top: auto;
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
  }

  search-page-input-component .search__icon svg,
  search-page-input-component .search__reset-button svg {
    width: var(--icon-size-md);
    height: var(--icon-size-md);
  }

  search-page-input-component .search__icon svg {
    color: var(--color-input-text);
  }

  search-page-input-component .search__icon {
    left: var(--margin-lg);

    @media screen and (max-width: 749px) {
      left: var(--margin-md);
    }
  }

  search-page-input-component .search__reset-button {
    border-radius: 100%;
    color: var(--color-input-text);
    right: var(--margin-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--animation-speed) var(--animation-easing),
      visibility var(--animation-speed) var(--animation-easing);

    @media screen and (max-width: 749px) {
      right: var(--margin-md);
    }
  }

  search-page-input-component:has(.search-page-input:not(:placeholder-shown)) .search__reset-button {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  search-page-input-component .search__reset-button-icon {
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
    transition: transform var(--animation-speed) var(--animation-easing);
  }

  search-page-input-component .search__reset-button:active .search__reset-button-icon {
    transform: scale(0.9);
  }

  search-page-input-component .search__reset-button-icon svg {
    width: var(--icon-size-md);
    height: var(--icon-size-md);
  }

  search-page-input-component .search__reset-button--hidden {
    cursor: default;
    opacity: 0;
    transition: opacity var(--animation-speed) var(--animation-easing);
    pointer-events: none;
    visibility: hidden;
  }

  search-page-input-component .search__reset-button-text {
    display: none;
  }
/* END_BLOCK:_search-input */

/* START_BLOCK:_slide (INDEX:98) */
.slide__content {
    height: 100%;
    position: relative;
    z-index: var(--layer-flat);

    @supports (animation-timeline: auto) {
      opacity: 0;
      animation: slide-reveal both linear;
      animation-timeline: var(--slideshow-timeline);
    }

    @media (prefers-reduced-motion) {
      opacity: 1;
      animation: none;
    }
  }

  .slide__content > * {
    margin: auto;
  }

  .slide__content.background-transparent {
    background-color: transparent;
  }

  slideshow-slide > .slide__image-container {
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
  }

  .slide__image-container > .slide__image,
  .slide__image-container > .slide__video,
  .slide__image-container > .slide__video-poster {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .slide__image-container > .slide__video-poster {
    position: absolute;
  }

  /*
   * Force Safari to recalculate the timeline state on timeline refresh (after loop)
   */
  slideshow-component[refreshing-timeline] .slide__content {
    animation: none;
  }

  slideshow-slide .slide__image-container--rounded {
    border-radius: var(--corner-radius, 0);
  }
/* END_BLOCK:_slide */

/* START_BLOCK:_social-link (INDEX:99) */
.social-icons__icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--icon-size-lg);
  }

  .social-icons__icon {
    display: flex;
    flex-shrink: 0;
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
  }

  .social-icons__icon {
    display: none;
  }

  .social-icons__icon-wrapper:has(.social-icons__icon path) {
    width: var(--icon-size-lg);

    .social-icons__icon {
      display: block;
    }

    .social-icons__icon-label {
      display: none;
    }
  }

  /* Disabled state for editor */
  .shopify-design-mode .social-icons__icon-wrapper--disabled {
    opacity: var(--disabled-opacity, 0.5);
    cursor: not-allowed;
  }

  .shopify-design-mode .social-icons__icon-wrapper--disabled a {
    pointer-events: none;
  }
/* END_BLOCK:_social-link */

/* START_BLOCK:comparison-slider (INDEX:107) */
comparison-slider-component {
    display: block;
  }

  .comparison-slider {
    position: relative;
    overflow: hidden;
    aspect-ratio: var(--ratio);
  }

  .comparison-slider:not(:has(img)) {
    min-width: 25dvh;
  }

  .comparison-slider__container {
    position: relative;
    width: 100%;
    height: 100%;
  }

  /* Container and Layout */
  .comparison-slider__media-wrapper {
    --compare: 50;

    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template: 1fr / 1fr;
    overflow: hidden;
  }

  /* Layer Containers */
  .comparison-slider__layer {
    grid-area: 1 / 1;
    position: relative;
    width: 100%;
    height: 100%;
    transition: clip-path var(--transition-duration, 0s) ease-in-out;
  }

  .comparison-slider__layer--after {
    z-index: var(--layer-base);
  }

  /* Before Layer Clipping (inverse of after layer) */
  [data-orientation='horizontal'] .comparison-slider__layer--before {
    /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
    clip-path: inset(0 calc((100 - var(--compare)) * 1%) 0 0);
  }

  [data-orientation='vertical'] .comparison-slider__layer--before {
    /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
    clip-path: inset(0 0 calc(var(--compare) * 1%) 0);
  }

  /* After Layer Clipping */
  [data-orientation='horizontal'] .comparison-slider__layer--after {
    /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
    clip-path: inset(0 0 0 calc(var(--compare) * 1%));
  }

  [data-orientation='vertical'] .comparison-slider__layer--after {
    /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
    clip-path: inset(calc((100 - var(--compare)) * 1%) 0 0 0);
  }

  /* Images and Placeholders */
  .before-image,
  .after-image,
  .comparison-slider__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: var(--ratio);
  }

  .comparison-slider__placeholder {
    position: absolute;
    inset: 0;
  }

  .comparison-slider__placeholder svg {
    width: 100%;
    height: 100%;
    background-color: var(--color-background);
    fill: var(--color-foreground);
  }

  /* Range Input (Hidden but Functional) */
  .cs-slider {
    position: absolute;
    inset: 0;
    z-index: var(--layer-heightened);
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: inherit;
    appearance: none;
  }

  [data-orientation='horizontal'] .cs-slider {
    cursor: ew-resize;
  }

  [data-orientation='vertical'] .cs-slider {
    cursor: ns-resize;
    writing-mode: vertical-lr;
    direction: rtl;
  }

  /* Range Input Thumb */
  .cs-slider::-webkit-slider-thumb,
  .cs-slider::-moz-range-thumb {
    width: var(--button-size);
    height: var(--button-size);
    border: 0;
    background: transparent;
    cursor: inherit;
    appearance: none;
  }

  /* Range Input Track */
  .cs-slider::-webkit-slider-track,
  .cs-slider::-moz-range-track {
    background: transparent;
    border: 0;
    appearance: none;
  }

  /* Visual Slider Elements */
  .comparison-slider__media-wrapper::before,
  .comparison-slider__media-wrapper::after {
    content: '';
    position: absolute;
    pointer-events: none;
    transition: left var(--transition-duration, 0s) ease-in-out, top var(--transition-duration, 0s) ease-in-out;
    z-index: var(--layer-raised);
  }

  /* Slider Track Line */
  .comparison-slider__media-wrapper::after {
    background: var(--color-background);
    box-shadow: 0 0 12px 0 rgb(0 0 0 / 0.1);
  }

  .comparison-slider__media-wrapper::before {
    background: var(--color-background);
  }

  .comparison-slider__media-wrapper[data-orientation='horizontal']::after {
    inset: 0 auto;
    left: calc(var(--compare) * 1%);
    width: 4px;
    transform: translateX(-50%);
  }

  .comparison-slider__media-wrapper[data-orientation='vertical']::after {
    inset: auto 0;
    top: calc((100 - var(--compare)) * 1%);
    height: 4px;
    transform: translateY(-50%);
  }

  /* Slider Handle */
  .cs-slider__handle {
    position: absolute;
    z-index: var(--layer-heightened);
    pointer-events: none;
    width: var(--button-size);
    height: var(--button-size);
    color: var(--handle-color, var(--color-foreground));
    background: var(--color-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px 0 rgb(0 0 0 / 0.1);
    transition: left var(--transition-duration, 0s) ease-in-out, top var(--transition-duration, 0s) ease-in-out,
      gap 0.2s ease-in-out;
    gap: var(--gap-sm);
    padding: var(--padding-xs);
  }

  .comparison-slider__media-wrapper:hover .cs-slider__handle {
    gap: var(--gap-2xs);
  }

  .cs-slider__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  [data-orientation='horizontal'] .cs-slider__handle {
    top: 50%;
    left: calc(var(--compare) * 1%);
    transform: translate(-50%, -50%);
    flex-direction: row;
  }

  [data-orientation='vertical'] .cs-slider__handle {
    left: 50%;
    top: calc((100 - var(--compare)) * 1%);
    transform: translate(-50%, -50%) rotate(90deg);
  }

  /* Text Labels */
  .comparison-slider__text {
    position: absolute;
    padding: var(--padding-xs);
    pointer-events: none;
  }

  .comparison-slider__text--with-bg {
    background: var(--text-background-color);
    border-radius: var(--text-corner-radius);
  }

  /* Horizontal: before/after control inline (left/right), position controls block (top/bottom) */
  [data-orientation='horizontal'] .comparison-slider__text--before {
    inset-inline-start: var(--padding-sm);
  }

  [data-orientation='horizontal'] .comparison-slider__text--after {
    inset-inline-end: var(--padding-sm);
  }

  [data-orientation='horizontal'][data-text-position='start'] .comparison-slider__text {
    inset-block-start: var(--padding-sm);
  }

  [data-orientation='horizontal'][data-text-position='end'] .comparison-slider__text {
    inset-block-end: var(--padding-sm);
  }

  /* Vertical: before/after control block (top/bottom), position controls inline (left/right) */
  [data-orientation='vertical'] .comparison-slider__text--before {
    inset-block-start: var(--padding-sm);
  }

  [data-orientation='vertical'] .comparison-slider__text--after {
    inset-block-end: var(--padding-sm);
  }

  [data-orientation='vertical'][data-text-position='start'] .comparison-slider__text {
    inset-inline-start: var(--padding-sm);
  }

  [data-orientation='vertical'][data-text-position='end'] .comparison-slider__text {
    inset-inline-end: var(--padding-sm);
  }
/* END_BLOCK:comparison-slider */

/* START_BLOCK:contact-form-submit-button (INDEX:108) */
.submit-button {
    min-width: max-content;
  }
/* END_BLOCK:contact-form-submit-button */

/* START_BLOCK:contact-form (INDEX:109) */
.contact-form__form {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
  }

  .contact-form__form-row {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);

    @media screen and (min-width: 750px) {
      flex-direction: row;
      align-items: center;
    }
  }

  .contact-form__input {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-input-text);
    background-color: var(--color-input-background);
    padding: var(--padding-lg) var(--padding-xl);
    border-radius: var(--style-border-radius-inputs);
    border: var(--style-border-width-inputs) solid var(--color-input-border);
    -webkit-font-smoothing: antialiased;
  }

  .contact-form__input--textarea {
    resize: vertical;
    min-height: var(--input-textarea-min-height);
  }

  .contact-form__error,
  .contact-form__success {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
  }
/* END_BLOCK:contact-form */

/* START_BLOCK:disclosures (INDEX:111) */
.disclosures__container {
      width: 100%;
    }

    .disclosures__container:has(> [shopify-block-empty]) {
      display: none;
    }

    .disclosures {
      --disclosures-symbol-width: calc(var(--disclosures-icon-size) * var(--disclosures-symbol-aspect-ratio, 1));

      display: block;
      color: var(--color, inherit);
      width: 100%;
      container-type: inline-size;
    }

    .disclosures.accordion--dividers accordion-custom:first-child .details {
      border-block-start: var(--style-border-width) solid var(--color-border);
    }

    .disclosures.accordion--dividers accordion-custom:last-child .details {
      border-block-end: var(--style-border-width) solid var(--color-border);
    }

    .disclosures__heading {
      margin-block-end: var(--margin-lg);
    }

    .disclosures .details__header {
      padding-block: var(--padding-xl);
      display: flex;
      align-items: flex-start;
      gap: var(--gap-xs);
    }

    .disclosures .details__header > .svg-wrapper {
      margin-block-start: calc((var(--disclosures-icon-size) - var(--icon-size-xs)) / 2);
    }

    .disclosures details[open] .details__header {
      padding-block-end: var(--padding-xs);
    }

    .disclosures__summary-content {
      flex: 1 1 0%;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      row-gap: var(--gap-xs);
      min-width: 0;
    }

    .disclosures__summary-item {
      display: flex;
      flex-direction: column;
      row-gap: var(--gap-xs);
      min-width: 0;
      overflow-wrap: break-word;
    }

    .disclosures__summary-item--measure {
      position: fixed;
      inset-block-start: 0;
      inset-inline-start: 0;
      display: block;
      width: max-content;
      max-width: none;
      visibility: hidden;
      white-space: nowrap;
      pointer-events: none;
      contain: layout style;
    }

    .disclosures__summary-item-row {
      display: flex;
      align-items: center;
      gap: var(--padding-2xs);
      min-width: 0;
      vertical-align: middle;
    }

    .disclosures__summary-item-title {
      font-weight: var(--font-weight-normal, normal);
      overflow-wrap: break-word;
    }

    .disclosures__summary-item--measure .disclosures__summary-item-title {
      white-space: nowrap;
      overflow-wrap: normal;
    }

    .disclosures .details__icon {
      display: inline-block;
      flex-shrink: 0;
      width: auto;
      max-inline-size: 100%;
      height: var(--disclosures-icon-size);
      margin: 0;
      object-fit: contain;
      vertical-align: middle;
    }

    .disclosures__summary-item-row:has(> .details__icon) {
      display: grid;
      grid-template-columns: var(--disclosures-symbol-width) minmax(0, 1fr);
      align-items: center;
      column-gap: var(--padding-2xs);
      min-inline-size: 0;
    }

    .disclosures__summary-item-row:has(> .details__icon) > .details__icon {
      grid-column: 1;
      justify-self: center;
    }

    .disclosures__summary-item-row:has(> .details__icon) > .disclosures__summary-item-title {
      grid-column: 2;
    }

    .disclosures details[open] > summary .disclosures__summary-item-title {
      font-weight: var(--font-weight-bold, bold);
    }

    .disclosures__summary-item-extra {
      display: block;
    }

    .disclosures__separator {
      display: none;
      flex-shrink: 0;
      padding-inline: var(--padding-xs);
      line-height: 1;
    }

    @container (min-width: 701px) {
      .disclosures:where([data-summary-layout='inline']) .details__header {
        align-items: center;
      }

      .disclosures:where([data-summary-layout='inline']) .details__header > .svg-wrapper {
        margin-block-start: 0;
      }

      .disclosures:where([data-summary-layout='inline']) .disclosures__summary-item {
        display: block;
      }

      .disclosures:where([data-summary-layout='inline']) .disclosures__summary-item-row {
        display: inline-flex;
      }

      .disclosures:where([data-summary-layout='inline']) .disclosures__summary-item-row:has(> .details__icon) {
        display: inline-grid;
      }

      .disclosures:where([data-summary-layout='inline']) .disclosures__summary-item-extra {
        display: inline-flex;
        align-items: center;
      }

      .disclosures:where([data-summary-layout='inline']) .disclosures__separator {
        display: inline-block;
      }
    }

    .disclosures__summary-item--measure .disclosures__summary-item-row {
      display: inline-flex;
      white-space: nowrap;
    }

    .disclosures__summary-item--measure .disclosures__summary-item-row:has(> .details__icon) {
      display: inline-grid;
    }

    .disclosures__summary-item--measure .disclosures__summary-item-extra {
      display: inline-flex;
      align-items: center;
      white-space: nowrap;
    }

    .disclosures__summary-item--measure .disclosures__separator {
      display: inline-block;
    }

    .disclosures details[open] .disclosures__summary-item-extra {
      display: none;
    }

    .disclosures__item {
      display: flex;
    }

    .disclosures__item + .disclosures__item {
      margin-block-start: var(--spacing-lg);
    }

    .disclosures__item-left {
      flex: 0 1 auto;
      min-width: 0;
      cursor: default;
    }

    .disclosures__item-right {
      flex: 1;
      cursor: pointer;
    }

    .disclosures__item-header {
      display: flex;
      align-items: center;
      gap: var(--padding-2xs);
      margin-block-end: var(--spacing-xs);
      padding-block-end: var(--padding-xs);
    }

    .disclosures__item-title {
      margin: 0;
    }

    .disclosures__item-header:has(> .details__icon) {
      display: grid;
      grid-template-columns: var(--disclosures-symbol-width) minmax(0, 1fr);
      align-items: center;
      column-gap: var(--padding-2xs);
      min-inline-size: 0;
    }

    .disclosures__item-header:has(> .details__icon) > .details__icon {
      grid-column: 1;
      justify-self: center;
    }

    .disclosures__item-header:has(> .details__icon) > .disclosures__item-title {
      grid-column: 2;
    }

    .disclosures details[open] .disclosures__item-title {
      font-weight: var(--font-weight-bold, bold);
    }

    .disclosures__item-content {
      max-width: var(--normal-content-width);
      padding-block-end: var(--padding-2xl);
    }

    .disclosures details[open] .details-content {
      padding-block-end: 0;
    }
/* END_BLOCK:disclosures */

/* START_BLOCK:email-signup (INDEX:112) */
.email-signup-block {
    --arrow-button-size: 58px;
    --arrow-button-size-integrated: 42px;
    --arrow-button-size-small: 20px;
    --arrow-icon-size: 32px;
    --arrow-icon-size-small: 24px;

    min-width: fit-content;

    @media screen and (max-width: 749px) {
      width: 100%;
      min-width: unset;
    }
  }

  .email-signup__heading {
    color: var(--color, inherit);
    padding-block: var(--padding-sm);
  }

  .email-signup__form {
    display: flex;
    flex-direction: column;
  }

  .email-signup__input-group {
    display: flex;
    align-items: stretch;
    background-color: transparent;
  }

  .email-signup__input-group:not(.email-signup__input-group--integrated):not(.email-signup__input-group--underline) {
    gap: var(--gap-xs);
    align-items: center;
  }

  .email-signup__input-group:not(.email-signup__input-group--arrow):not(.email-signup__input-group--underline):not(
      .email-signup__input-group--integrated
    ) {
    @media screen and (max-width: 749px) {
      flex-direction: column;
    }
  }

  .email-signup__input-group--integrated {
    border-width: var(--border-width);
    border-radius: var(--border-radius);
    border-style: solid;
    border-color: var(--color-input-border);
    background-color: var(--color-input-background);
  }

  .email-signup__input-group--integrated.email-signup__input-group--no-border {
    border: none;
  }

  .email-signup__input {
    flex: 1;
    min-width: 0;
    border-width: var(--border-width);
    border-radius: var(--border-radius);
    border-style: solid;
    border-color: var(--color-input-border);
    background-color: var(--color-input-background);
    transition: background-color var(--animation-speed) var(--animation-easing),
      color var(--animation-speed) var(--animation-easing);

    @media screen and (max-width: 749px) {
      width: 100%;
    }
  }

  .email-signup__input.paragraph {
    color: var(--color-input-text);
    outline-color: var(--color-input-background);
  }

  .email-signup__button {
    white-space: nowrap;
    padding: 0;

    @media screen and (max-width: 749px) {
      width: 100%;
    }
  }

  .email-signup__input,
  .email-signup__button--text {
    padding: var(--padding-lg) var(--padding-3xl);
  }

  .email-signup__input-group--underline {
    --box-shadow-color: var(--color-input-border);
    --box-shadow-multiplier: 1;
    --box-shadow-focused-multiplier: 1.75;

    box-shadow: 0 calc(var(--border-width) * var(--box-shadow-multiplier)) 0 var(--box-shadow-color);
    transition: box-shadow var(--animation-values);
    margin-block-end: calc(var(--border-width) * var(--box-shadow-focused-multiplier));

    &:focus-within {
      --box-shadow-multiplier: var(--box-shadow-focused-multiplier);
      --box-shadow-color: var(--color-input-text);
    }
  }

  .email-signup__input-group .email-signup__input--underline {
    color: var(--color-input-text);
    background-color: transparent;
    padding: 12px 0;
    border: none;
    border-radius: 0;

    &:focus-visible {
      outline: none;
    }
  }

  .email-signup__input::placeholder {
    color: rgb(var(--color-input-text-rgb) / var(--opacity-70));
  }

  .email-signup__input-group .email-signup__input--none {
    color: var(--color-input-text);
    background-color: var(--color-input-background);
    border: none;
  }

  .email-signup__input-group--integrated .email-signup__input {
    background-color: transparent;
    border: none;
    border-radius: 0;
  }

  .email-signup__button-icon {
    color: currentcolor;
    padding: 5px;

    @media screen and (max-width: 749px) {
      padding: 0;
      align-self: center;
      justify-self: center;
      width: var(--icon-size-lg);
      height: var(--icon-size-lg);
    }
  }

  .email-signup__button--arrow {
    width: var(--arrow-button-size-small);
    height: var(--arrow-button-size-small);
    padding: 0;

    &:not(.email-signup__button--integrated) {
      width: var(--arrow-button-size);
      height: var(--arrow-button-size);
      display: flex;
      align-items: center;
      justify-content: center;

      > .email-signup__button-icon {
        width: var(--arrow-icon-size);
        height: var(--arrow-icon-size);
        padding: 0;
      }
    }
  }

  .email-signup__button--integrated {
    --button-offset: var(--margin-xs);
    align-self: stretch;
    margin: var(--button-offset);
    flex-shrink: 0;

    @media screen and (max-width: 749px) {
      width: fit-content;
    }

    &.email-signup__button--text {
      padding: 0 var(--padding-3xl);
    }

    &.email-signup__button--text.button-unstyled {
      padding: 0 var(--padding-xl);
    }

    &.button-unstyled {
      border-radius: var(--border-radius);
    }

    > .email-signup__button-icon {
      padding: 0;
    }

    &.email-signup__button--arrow {
      width: var(--arrow-button-size-integrated);
      height: var(--arrow-button-size-integrated);
      align-self: center;
      display: flex;
      align-items: center;
      justify-content: center;

      > .email-signup__button-icon {
        width: var(--arrow-icon-size-small);
        height: var(--arrow-icon-size-small);
      }
    }
  }

  .email-signup__input--underline + .email-signup__button--integrated {
    margin: 0;
    align-self: center;

    &.email-signup__button--text {
      padding-block: 9px;
    }

    &.email-signup__button--text.button-unstyled {
      padding-inline: 0;
      min-width: 44px;
      min-height: 44px;
    }

    &.button-unstyled {
      border-radius: 0;
    }

    &.email-signup__button--arrow {
      width: var(--arrow-button-size-integrated);
      height: var(--arrow-button-size-integrated);
      display: flex;
      align-items: center;
      justify-content: center;

      > .email-signup__button-icon {
        width: var(--arrow-icon-size-small);
        height: var(--arrow-icon-size-small);
      }
    }
  }

  .email-signup__button:not(.button-unstyled) {
    background-color: var(--button-background-color);
    color: var(--button-color);
    text-transform: var(--button-text-case-primary);
  }

  .email-signup__button.button-secondary {
    text-transform: var(--button-text-case-secondary);
  }

  .email-signup__button.button-unstyled {
    background-color: transparent;
    color: var(--color-input-text);
  }

  .email-signup__button.button-unstyled:hover {
    --hover-color-rgb: var(--color-input-text-rgb);

    color: rgb(var(--hover-color-rgb) / var(--opacity-70));
    cursor: pointer;
  }

  .email-signup__message {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
  }

  .email-signup__message-text {
    margin: 0;
  }
/* END_BLOCK:email-signup */

/* START_BLOCK:featured-collection (INDEX:113) */
.featured-collection-block {
    width: 100%;
  }
/* END_BLOCK:featured-collection */

/* START_BLOCK:filters (INDEX:114) */
.facets-block-wrapper {
    @media screen and (min-width: 750px) {
      margin: var(--facets-margin);
      grid-column: var(--grid-column--desktop);
    }
  }

  .facets-block-wrapper--vertical {
    @media screen and (min-width: 750px) {
      grid-column: var(--grid-column--desktop);
    }
  }

  .facets-toggle {
    --icon-offset: -3px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--minimum-touch-target);
    margin: var(--facets-margin);
    padding-block: var(--facets-inner-padding-block);
    padding-inline: var(--facets-inner-padding-inline);

    @media screen and (min-width: 750px) {
      display: none;
    }
  }

  .facets-toggle__wrapper {
    margin-left: var(--icon-offset);
  }

  .facets-toggle__button {
    box-shadow: none;

    @media screen and (min-width: 750px) {
      display: none;
    }
  }

  .filter-count-bubble {
    position: relative;
    width: 20px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    line-height: normal;
    place-content: center;
    color: var(--color-foreground);
    border: var(--icon-stroke-width) solid var(--color-background);
  }

  .facets-mobile__title-wrapper .h3 {
    margin-block-end: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--gap-xs);
  }

  .facets-mobile__title-wrapper .filter-count-bubble {
    width: 22px;
    height: 22px;
  }

  .facets-mobile__title-wrapper .filter-count-bubble__text {
    font-size: var(--font-size--xs);
  }

  .filter-count-bubble__background {
    position: absolute;
    inset: 0;
    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
    border-radius: var(--style-border-radius-50);
  }

  .filter-count-bubble__text {
    font-size: 11px;
    font-weight: var(--font-paragraph--weight);
    aspect-ratio: 1 / 1;
  }

  .facets-toggle--no-filters {
    @media screen and (max-width: 749px) {
      /* stylelint-disable-next-line declaration-no-important */
      justify-content: unset !important;

      & > .facets-mobile-wrapper {
        width: 100%;
      }
    }
  }

  .facets-block-wrapper--vertical + .facets-toggle {
    @media screen and (max-width: 749px) {
      margin: 0;
    }
  }

  .facets-mobile-wrapper {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    justify-content: flex-end;
  }

  .facets-mobile-wrapper--multiple-controls {
    justify-content: space-between;
  }

  .facets {
    --facets-form-horizontal-gap: 20px;
    --facets-horizontal-max-input-wrapper-height: 230px;
    --facets-upper-z-index: var(--layer-raised);
    --facets-open-z-index: var(--layer-heightened);
    --facets-sticky-z-index: var(--layer-sticky);
    --facets-panel-min-width: 120px;
    --facets-panel-height: 300px;
    --facets-grid-panel-width: 300px;
    --facets-clear-padding: var(--padding-md);
    --facets-clear-shadow: 0 -4px 14px 0 rgb(var(--color-foreground-rgb) / var(--facets-low-opacity));
    --facets-input-label-color: rgb(var(--color-input-text-rgb) / var(--opacity-60));
    --facets-clear-all-min-width: 120px;
    --facets-see-results-min-width: 55%;
    --facets-mobile-gap: 22px;
    --facets-low-opacity: 10%;
    --facets-hover-opacity: 75%;

    @media screen and (min-width: 750px) {
      padding-inline: var(--padding-inline-start) var(--padding-inline-end);
    }
  }

  .facets--horizontal {
    display: none;

    @media screen and (min-width: 750px) {
      padding-block: var(--padding-block-start) var(--padding-block-end);
      display: flex;
      align-items: center;
      position: relative;
      z-index: var(--facets-upper-z-index);
      border: none;
      height: auto;
      top: initial;
      bottom: initial;
      max-height: none;
      width: auto;
      overflow: visible;
    }
  }

  .facets--vertical {
    display: none;

    @media screen and (min-width: 750px) {
      padding-block: 0 var(--padding-block-end);
      display: block;
      position: static;
      top: auto;
      bottom: auto;
      height: auto;
      max-height: none;
      width: auto;
      overflow: visible;
    }
  }

  .facets-drawer__form-wrapper {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .facets-drawer__form-wrapper .facets__form {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .facets-drawer__filters {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
  }

  .facets-drawer__filters .facets__filters-wrapper,
  .facets-drawer__filters .filter-remove-buttons,
  .facets-drawer__filters .sorting-filter-component {
    overflow: visible;
  }

  .facets.facets-controls-wrapper {
    @media screen and (min-width: 750px) {
      grid-column: column-1 / column-12;
      color: rgb(var(--color-foreground-rgb) / var(--opacity-70));
      gap: 0 var(--facets-form-horizontal-gap);
      padding-bottom: var(--padding-xs);
    }
  }

  .facets__inputs {
    display: flex;
    flex-direction: column;
    gap: var(--padding-lg);
    width: 100%;
  }

  :is(.facets--drawer, .facets--vertical) .facets__inputs:not(:has(.show-more)) {
    padding-block-end: var(--padding-sm);
  }

  /* Facets - Form */
  .facets__form-wrapper {
    display: flex;
    flex-direction: column;
    color: var(--color-foreground-subdued);
    width: 100%;
  }

  .facets--horizontal .facets__form-wrapper {
    @media screen and (min-width: 750px) {
      flex-direction: row;
      height: auto;
    }
  }

  .facets__form {
    display: flex;
    flex-flow: column;
    width: 100%;
    height: 100%;
  }

  .facets--horizontal .facets__form {
    @media screen and (min-width: 750px) {
      flex-flow: row nowrap;
      height: auto;
    }
  }

  .facets:not(.facets--drawer) .facets__filters-wrapper {
    @media screen and (min-width: 750px) {
      margin-inline-end: var(--margin-md);
    }
  }

  .facets--horizontal .facets__filters-wrapper {
    @media screen and (min-width: 750px) {
      max-width: 60%;
      display: flex;
      flex-wrap: wrap;
      column-gap: var(--gap-xl);
      margin-inline-end: 0;
    }
  }

  /* Facets - Summary */
  .facets__summary {
    --variant-picker-swatch-width: 32px;
    --variant-picker-swatch-height: 32px;
    --icon-opacity: 0.5;

    @media screen and (min-width: 750px) {
      --variant-picker-swatch-width: 26px;
      --variant-picker-swatch-height: 26px;
    }

    font-size: var(--font-h5--size);
    display: flex;
    justify-content: space-between;

    &:hover {
      --icon-opacity: 1;
    }
  }

  .facets__filters-wrapper:hover .facets__summary,
  .facets__filters-wrapper:has(.facets__panel[open]) .facets__summary {
    opacity: var(--facets-hover-opacity);
  }

  .facets__filters-wrapper .facets__summary:hover,
  .facets__filters-wrapper .facets__panel[open] .facets__summary {
    opacity: 1;
  }

  .facets--horizontal .facets__summary {
    @media screen and (min-width: 750px) {
      font-size: var(--font-paragraph--size);
      justify-content: flex-start;
      height: var(--minimum-touch-target);
    }
  }

  .facets__summary .icon-caret {
    height: var(--icon-size-xs);
    width: var(--icon-size-xs);
    color: rgb(var(--color-foreground-rgb) / var(--icon-opacity));
    margin-block: var(--margin-2xs);
    transition: color var(--animation-speed) var(--animation-easing);
  }

  .facets--drawer .facets__summary .icon-caret {
    margin-inline-start: var(--margin-2xs);
  }

  /* Facets - Inputs */
  .facets__inputs-wrapper {
    margin-block: var(--padding-xs) var(--padding-xs);
  }

  .facets__inputs .show-more {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xl);
    margin-block-end: var(--padding-xl);
  }

  .facets:not(.facets--drawer) .facets__inputs-wrapper {
    @media screen and (min-width: 750px) {
      gap: var(--gap-sm);
    }
  }

  .facets--horizontal .facets__inputs .show-more {
    @media screen and (min-width: 750px) {
      display: contents;
    }
  }

  .facets--horizontal .facets__inputs-wrapper {
    @media screen and (min-width: 750px) {
      max-height: var(--facets-horizontal-max-input-wrapper-height);
      scrollbar-width: none;
      -ms-overflow-style: none;
      overflow-x: auto;
      padding: var(--padding-md);
      margin-block: 0;
    }
  }

  .facets--vertical .facets__inputs:has(.show-more) .facets__inputs-wrapper {
    padding-block: var(--padding-sm);
    padding-inline: var(--padding-sm);
    margin-block: calc(var(--padding-sm) * -1);
    margin-inline: calc(var(--padding-sm) * -1);
  }

  @media screen and (max-width: 749px) {
    .facets__inputs:has(.show-more) .facets__inputs-wrapper {
      padding-block: var(--padding-sm);
      padding-inline: var(--padding-sm);
      margin-block: calc(var(--padding-sm) * -1);
      margin-inline: calc(var(--padding-sm) * -1);
    }
  }

  .facets__inputs-wrapper:not(:has(.facets__inputs-list)),
  .facets__inputs-wrapper .facets__inputs-list {
    display: flex;
    gap: var(--facets-mobile-gap);
    flex-direction: column;

    @media screen and (min-width: 750px) {
      gap: var(--gap-sm);
    }
  }

  @media screen and (min-width: 750px) {
    .facets--vertical .facets__inputs-wrapper .facets__inputs-list--swatches {
      gap: var(--gap-sm);
    }

    .facets--horizontal
      .facets__inputs-wrapper
      .facets__inputs-list--swatches:not(.facets__inputs-list--swatches-grid) {
      display: grid;
      grid-template-columns: repeat(var(--swatch-columns, 4), 1fr);
    }
  }

  .facets__inputs-wrapper .facets__inputs-list--swatches {
    --facets-mobile-gap: var(--gap-sm);
  }

  .facets__inputs-wrapper .facets__inputs-list--grid {
    --min-column-width: 20%;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--min-column-width), 1fr));
    gap: var(--gap-sm);

    @media screen and (min-width: 750px) {
      --min-column-width: 50px;
    }
  }

  .facets-block-wrapper:not(.facets-block-wrapper--vertical) .facets__inputs-list--grid {
    @media screen and (min-width: 750px) {
      width: var(--facets-grid-panel-width);
    }
  }

  .facets__inputs-wrapper--row:not(:has(.facets__inputs-list)),
  .facets__inputs-wrapper--row .facets__inputs-list {
    flex-wrap: wrap;
    flex-direction: row;
  }

  .facets__inputs .show-more__button {
    --show-more-icon-size: 22px;
    --show-more-gap: 8px;

    gap: var(--show-more-gap);

    @media screen and (min-width: 750px) {
      --show-more-icon-size: 16px;
      --show-more-gap: 6px;
    }
  }

  .facets__inputs .show-more__button .icon-plus {
    width: var(--show-more-icon-size);
    height: var(--show-more-icon-size);

    svg {
      width: var(--icon-size-xs);
      height: var(--icon-size-xs);
    }
  }

  /* Facets - Panel */
  .facets__panel {
    padding: 0 var(--theme-drawer-padding);
  }

  .facets:not(.facets--drawer) .facets__panel,
  .facets-controls-wrapper .facets__panel {
    @media screen and (min-width: 750px) {
      padding: 0;
    }
  }

  .facets--horizontal .facets__panel {
    @media screen and (min-width: 750px) {
      position: relative;
    }
  }

  .facets-mobile-wrapper .facets__panel-content {
    border-radius: var(--style-border-radius-popover);
  }

  .facets-mobile-wrapper {
    --facets-upper-z-index: var(--layer-raised);
    --facets-panel-min-width: 120px;
    --facets-panel-height: 300px;
  }

  .facets--horizontal .facets__panel-content {
    @media screen and (min-width: 750px) {
      border-radius: var(--style-border-radius-popover);
      position: absolute;
      top: 100%;
      width: max-content;
      min-width: var(--facets-panel-min-width);
      max-width: var(--facets-panel-width);
      max-height: var(--facets-panel-height);
      z-index: var(--facets-upper-z-index);
      box-shadow: var(--shadow-popover);
      border: var(--style-border-popover);
      background-color: var(--color-background);
      overflow-y: hidden;
      gap: 0;
    }
  }

  :is(.facets--drawer, .facets--vertical) :is(.facets__item, .sorting-filter)::before {
    content: '';
    display: block;
    height: 0;
    width: calc(100% - var(--theme-drawer-padding) * 2);
    border-top: var(--style-border-width) solid rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
    margin: 0 auto;
  }

  @media screen and (min-width: 750px) {
    .facets:not(.facets--drawer) :is(.facets__item, .sorting-filter)::before {
      width: 100%;
    }

    .facets--horizontal .facets__item:not(:first-of-type)::before,
    .facets--horizontal .sorting-filter::before {
      content: none;
    }
  }

  @media screen and (min-width: 750px) {
    .facets--vertical .facets__item:not(:first-of-type)::before,
    .facets--vertical .sorting-filter::before {
      content: '';
    }
  }

  /* Facets - Text */
  .facets__label,
  .facets__clear-all-link,
  .clear-filter {
    text-decoration-color: transparent;
    text-decoration-thickness: 0.075em;
    text-underline-offset: 0.125em;
    transition: text-decoration-color var(--animation-speed) var(--animation-easing);
  }

  .facets__clear-all-link {
    display: none;
    cursor: pointer;
    padding: var(--padding-xs);
    color: var(--button-color);
    transition: text-decoration-color var(--animation-speed) var(--animation-easing),
      color var(--animation-speed) var(--animation-easing);
  }

  .facets__clear-all-link:hover {
    --button-color: rgb(var(--color-foreground-rgb) / var(--opacity-80));

    text-decoration: underline;
    text-decoration-color: var(--button-color);
  }

  .facets__clear-all-link--horizontal {
    height: var(--minimum-touch-target);
    padding-inline: var(--facets-form-horizontal-gap);
    min-width: var(--facets-clear-all-min-width);
  }

  .facets__clear-all-link--active {
    display: block;
  }

  .facets__label,
  .products-count-wrapper {
    text-transform: var(--facet-label-transform);
  }

  .clear-filter {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
  }

  .clear-filter:hover {
    text-decoration: underline;
  }

  /* Clear button */
  .facets__clear {
    display: none;
  }

  .facets--horizontal .facets__clear {
    @media screen and (min-width: 750px) {
      width: 100%;
      justify-content: flex-end;
      padding: 0 var(--facets-clear-padding) var(--facets-clear-padding) 0;
      cursor: pointer;
    }
  }

  .facets__clear--active {
    @media screen and (min-width: 750px) {
      display: flex;
    }
  }

  /* Facets - Label */
  .facets__label {
    color: var(--color-foreground);
    cursor: pointer;
    white-space: nowrap;

    @media screen and (min-width: 750px) {
      margin-inline-end: var(--margin-2xs);
    }
  }

  /* Products count */
  .products-count-wrapper {
    display: none;
  }

  .facets--horizontal .products-count-wrapper {
    @media screen and (min-width: 750px) {
      display: flex;
      margin-left: auto;
      flex-shrink: 0;
      align-items: center;
      height: var(--minimum-touch-target);
    }
  }

  /* Mobile specific components */
  .facets__title-wrapper {
    background-color: var(--color-background);
    color: var(--color-foreground);
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: var(--padding-xs);
    padding-inline-start: var(--theme-drawer-padding);
    padding-inline-end: var(--padding-2xs);
    z-index: var(--facets-sticky-z-index);
  }

  :is(.facets--horizontal, .facets--vertical) .facets__title-wrapper {
    @media screen and (min-width: 750px) {
      display: none;
    }
  }

  .facets--drawer .theme-drawer__title {
    --variant-picker-swatch-width: 32px;
    --variant-picker-swatch-height: 32px;

    @media screen and (min-width: 750px) {
      --variant-picker-swatch-width: 26px;
      --variant-picker-swatch-height: 26px;
    }
  }

  /* Status */
  .facets__status:not(:empty) {
    width: max-content;
    display: flex;
    margin-inline-start: auto;
    font-weight: 500;
    color: var(--color-foreground);
  }

  .facets__panel[open] .facets__status {
    display: none;
  }

  .facets--filters-title {
    margin-block-end: 0;
    color: var(--color-foreground);
    height: fit-content;

    @media screen and (max-width: 749px) {
      display: none;
    }
  }

  .facets--horizontal .facets__panel .facets__status:has(:not(:empty)) {
    @media screen and (min-width: 750px) {
      display: flex;
      margin-inline-start: var(--margin-xs);
      margin-inline-end: var(--margin-xs);
    }
  }

  /* Horizontal filter style */
  .facets--horizontal .facets__form {
    @media screen and (min-width: 750px) {
      gap: 0 var(--facets-form-horizontal-gap);
    }
  }

  /* Facets - Actions */
  .facets__drawer-actions {
    --to-top-gradient-background: linear-gradient(
      to top,
      rgb(var(--color-background-rgb) / var(--opacity-90)),
      rgb(var(--color-background-rgb) / var(--opacity-80)),
      rgb(var(--color-background-rgb) / var(--opacity-40)),
      transparent
    );

    position: sticky;
    bottom: 0;
    z-index: var(--facets-sticky-z-index);
    order: 1;
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    align-items: stretch;
    gap: var(--gap-sm);
    padding-block-start: var(--padding-xs);
    padding-block-end: var(--padding-md);
    padding-inline: var(--padding-lg);
    margin-top: auto;
    background-image: var(--to-top-gradient-background);
    background-color: var(--color-background);
  }

  /* Clear all button */
  .facets__clear-all {
    display: none;
    cursor: pointer;
    min-width: var(--facets-clear-all-min-width);
    flex-grow: 1;
    padding-block: var(--padding-lg);
    color: var(--button-color, inherit);
  }

  .facets__clear-all--active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: transform var(--animation-values), opacity var(--animation-values);
  }

  @starting-style {
    .facets__clear-all--active {
      opacity: 0;
      transform: translateY(100%);
    }
  }

  .facets__see-results {
    min-width: var(--facets-see-results-min-width);
    flex-grow: 1;
    padding-block: var(--padding-lg);

    @media screen and (min-width: 990px) {
      display: none;
    }
  }

  .facets-horizontal-remove {
    display: flex;
    align-items: center;
  }

  .facets-horizontal-remove--active::before {
    content: '';
    border-inline-start: var(--style-border-width) solid rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
    height: var(--font-paragraph--size);
    position: absolute;
  }
/* END_BLOCK:filters */

/* START_BLOCK:footer-copyright (INDEX:116) */
.footer-utilities__group-copyright {
    color: var(--color-utilities, var(--color-foreground-muted));
  }
/* END_BLOCK:footer-copyright */

/* START_BLOCK:footer-policy-list (INDEX:117) */
.policy-list-trigger {
    anchor-name: --terms-policies-trigger;
    cursor: pointer;
    font-size: var(--font-size, 0.75rem);
    text-transform: var(--text-transform, none);
  }

  .policy_list {
    li {
      border-radius: calc(var(--style-border-radius-popover) - 8px);

      a {
        color: var(--color-foreground);
        display: inline-block;
        padding: 8px;
        text-align: start;
        width: 100%;
        outline-color: #0000;
        font-size: var(--font-size, 0.75rem);
        text-transform: var(--text-transform, none);
      }

      &:is(:hover, :focus-within) {
        background: rgb(var(--color-foreground-rgb) / 0.15);
      }
    }
  }

  .terms-policies-popover {
    position-anchor: --terms-policies-trigger;
    inset: unset;
    bottom: calc(anchor(top) + 1rem);
    left: anchor(left);
    border-radius: var(--style-border-radius-popover);
    background: linear-gradient(var(--color-background) 0 100%),
      linear-gradient(rgb(var(--color-background-rgb) / 0.15) 0 100%);
    background-clip: padding-box, border-box;
    border: 1px solid #0000;
    box-shadow: var(--shadow-popover);
    padding: 8px;
    margin: 0;
    opacity: 0;
    scale: 0.94;
    translate: 0 6px;
    transform-origin: 3.9em 100%;
  }

  .terms-policies-popover.\:popover-open,
  .terms-policies-popover:popover-open {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }

  @media screen and (max-width: 749px) {
    .terms-policies-popover {
      left: anchor(center);
      transform: translate(-50%, 0);
      transform-origin: 0% 100%;
    }
  }

  @supports not (position-anchor: --account-button-trigger) {
    .terms-policies-popover {
      bottom: unset;
      top: calc(var(--anchor-top) * 1px);
      left: calc(var(--anchor-left) * 1px);
      transform: translate(0, calc(-100% - 1.25rem));
    }

    @media screen and (max-width: 749px) {
      .terms-policies-popover {
        left: calc((var(--anchor-left) + (var(--anchor-width) / 2)) * 1px);
        transform: translate(-50%, calc(-100% - 1.25rem));
      }
    }
  }

  @media (prefers-reduced-motion: no-preference) {
    .terms-policies-popover {
      transition-property: display, overlay, opacity, scale, translate;
      transition-behavior: allow-discrete;
      transition-duration: 0.3s;
      transition-timing-function: var(--ease-out-quad);
    }

    @starting-style {
      .terms-policies-popover.\:popover-open,
      .terms-policies-popover:popover-open {
        opacity: 0.7;
        translate: 0 6px;
        scale: 0.94;
      }
    }
  }
/* END_BLOCK:footer-policy-list */

/* START_BLOCK:icon (INDEX:119) */
.icon-block {
    display: flex;
    flex-shrink: 0;
  }

  .icon-block__media {
    height: auto;
  }
/* END_BLOCK:icon */

/* START_BLOCK:image (INDEX:120) */
.image-block__placeholder {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    overflow: hidden;
    position: relative;
  }

  .placeholder-image {
    position: relative;
    aspect-ratio: var(--ratio);
    overflow: hidden;
  }

  .image-block {
    display: flex;

    /* When the image is nested in a group, section, etc, respect the parent's horizontal alignment */
    justify-content: var(--horizontal-alignment, 'inline-start');
  }

  .image-block--height-fill .image-block__image {
    height: 100%;
  }

  .image-block__image {
    object-fit: cover;
    aspect-ratio: var(--ratio);
  }
/* END_BLOCK:image */

/* START_BLOCK:logo (INDEX:122) */
.logo-block {
    width: calc(var(--logo-width) + var(--padding-inline-start) + var(--padding-inline-end));
    max-width: 100%;
    max-height: calc(var(--logo-height, 100%) + var(--padding-block-start) + var(--padding-block-end));
    font-size: var(--logo-height);
    display: flex;

    @media screen and (max-width: 749px) {
      max-height: calc(
        var(--logo-height-mobile, var(--logo-height, 100%)) + var(--padding-block-start) + var(--padding-block-end)
      );
      font-size: var(--logo-height-mobile, var(--logo-height));
      width: calc(
        var(--logo-width-mobile, var(--logo-width)) + var(--padding-inline-start) + var(--padding-inline-end)
      );
    }
  }

  .logo-block__image-wrapper {
    display: flex;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .logo-block__image {
    object-fit: contain;
    width: 100%;
  }
/* END_BLOCK:logo */

/* START_BLOCK:menu (INDEX:123) */
.menu {
    width: 100%;
  }

  .menu:not(:has(.menu__heading--empty)) .details-content {
    margin-block-start: var(--spacing--size);
  }

  .menu__item + .menu__item {
    margin-block-start: var(--spacing--size);
  }

  .menu .menu__heading--empty {
    display: none;
  }

  .menu__heading__default {
    display: contents;
  }

  .menu__heading__accordion {
    display: none;
  }

  @media screen and (max-width: 749px) {
    /* Always show the fallback heading on mobile when accordion is enabled */
    .menu--accordion .menu__heading--empty {
      display: flex;
    }

    .menu--accordion .menu__heading__accordion {
      display: contents;
    }

    .menu--accordion .menu__heading__default {
      display: none;
    }

    .menu--accordion .details-content {
      margin-block-start: var(--spacing--size);
    }

    .menu--accordion .menu__details {
      padding-inline: 0;
    }

    .menu--dividers .menu__details {
      border-block-end: var(--style-border-width) solid var(--color-border);
    }

    .menu--dividers .details-content {
      padding-block-end: var(--padding-sm);
    }
  }
/* END_BLOCK:menu */

/* START_BLOCK:nils-contact-links (INDEX:126) */
/* MEDIA [ours, 2026-11-20] — a third button (Media) can make the row longer than the column (measured: German at
     1366px squeezed the icons to zero). Only rows that carry the Media button may wrap; two-button rows are unchanged. */
  .nils-ph-links:has(.nils-ph-link--media) {
    flex-wrap: wrap;
  }

  .nils-ph-links:has(.nils-ph-link--media) .nils-ph-link svg {
    flex: none;
  }
/* END_BLOCK:nils-contact-links */

/* START_BLOCK:nils-related-products (INDEX:130) */
/*
   * BLOCK SURFACE [ours] — byte-identical to `.nils-acc` (nils-design-
   * language.liquid), the frame OVERVIEW's own accordion uses: same
   * border, radius, gradient background. Not reusing the class itself —
   * `.nils-acc` carries `<details>`/`<summary>` interaction rules
   * (cursor, hover, the arrow rotation) this static block has no use
   * for — duplicated as its own class instead.
   */
  .nils-related-products {
    border: 1px solid var(--nils-hairline-strong);
    border-radius: var(--nils-radius);
    overflow: hidden;
    background: linear-gradient(165deg, rgb(255 255 255 / 0.03), rgb(255 255 255 / 0.01));
  }

  /* Header rhythm — same padding + hairline separator as `.nils-acc__summary`. */
  .nils-related-products__header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--nils-hairline);
  }

  /*
   * Same 20px inset every other info block's own content uses (`.nils-
   * acc__body`, `.nils-specs__row`'s label/value column) — what keeps
   * this grid "flush" with the rest of the column: same left edge as
   * Overview's body copy and the spec table's own labels, not a
   * zero-inset grid running edge-to-edge inside the card surface.
   */
  .nils-related-products__body {
    padding: 20px;
  }

  /*
   * ONE ROW OF FOUR [ours, micro-fix] — was two fixed 240px tracks,
   * left-aligned with empty space on the right; now four `1fr` tracks
   * that divide the module's full inner width equally, no fixed size,
   * no leftover zone. Folds to 2×2 (still full-width `1fr` tracks, just
   * two of them) below ~1100px viewport width — the fold is a viewport
   * media query, not a container query, since nothing else in this
   * theme's own CSS (nils-design-language.liquid) uses `@container`;
   * matches how every other breakpoint on this page is written.
   */
  .nils-related-products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  @media (max-width: 1100px) {
    .nils-related-products__grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /*
   * MINI [ours] — the "thin card hairline" is `var(--nils-hairline)`,
   * the plain (not `-strong`) token — the same one `.product-card`/
   * `.nils-shelf__card` (nils-design-language.liquid) already use for
   * their own card border, reused verbatim rather than the module's own
   * `-strong` outer-frame token.
   *
   * WIDTH: FLUID [ours, micro-fix] — no more fixed `width`/`max-width`;
   * a grid item stretches to fill its own track by default
   * (`justify-items: stretch`, the grid spec's own default, untouched
   * here), so each mini now fills whatever 1/4 (or 1/2, folded) of the
   * module's width its track resolves to. HEIGHT: unchanged — still a
   * fixed 200px, `box-sizing: border-box` so the 12px padding and 1px
   * border both count toward it (200 - 24 - 2 = 174px content height:
   * the 110px image box + an 8px gap + the text zone below).
   */
  .nils-related-products__mini {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    height: 200px;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid var(--nils-hairline);
    border-radius: var(--nils-radius);
    overflow: hidden;
    background: linear-gradient(165deg, rgb(30 30 30 / 0.95), rgb(20 20 20 / 0.98));
    text-decoration: none;
    color: #fff;
    transition: border-color 200ms ease, box-shadow 200ms ease;
  }

  /* FAMILY-COLOR GLOW [ours, this run] — the plain glow (no lift this time), --tc-scoped per CANDIDATE (snippets/nils-related-card.liquid). */
  .nils-related-products__mini:hover {
    border-color: rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.5);
    box-shadow: 0 0 24px rgb(var(--tc-rgb, var(--nils-red-rgb)) / 0.18);
  }

  /* No background surface behind the packshot — the disc that used to live here (a circular tint, two micro-fixes' worth of tuning) is gone; SILHOUETTE SHADOW below grounds the bottle instead. */
  .nils-related-products__mini-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
  }

  /*
   * SILHOUETTE SHADOW [ours, this run] — replaces the disc entirely. A
   * `filter: drop-shadow(...)` (not `box-shadow`, which would draw a
   * rectangle behind the image's own bounding box) follows the packshot's
   * actual alpha silhouette — a bottle-shaped shadow, no visible disc/
   * rectangle geometry, grounding the product against the mini's dark
   * surface. Works for any packshot shape without per-image tuning.
   */
  .nils-related-products__mini-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgb(0 0 0 / 0.45));
    transition: transform 200ms ease;
  }

  .nils-related-products__mini:hover .nils-related-products__mini-image img {
    transform: scale(1.05);
  }

  /*
   * No padding of its own any more (micro-fix) — the mini's own 12px
   * padding is now the single spacing source for the whole card, image
   * box included; this block just stacks name-then-chip.
   */
  .nils-related-products__mini-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: none;
  }

  /* NAME — unchanged style from the row run, just above the chip again instead of below it. */
  .nils-related-products__mini-title {
    max-width: 100%;
    font-family: var(--font-heading--family);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: -0.1px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /*
   * FAMILY CHIP [ours] — the existing chip style (`.nils-shelf__chip`,
   * sections/nils-store-shelf.liquid's own row-chips, used there for this
   * exact purpose — showing a product's family/type as a neutral pill),
   * duplicated verbatim (that file's stylesheet never reaches the product
   * template) plus the min layout additions to keep a long family name
   * from ever breaking the mini: `max-width`/`overflow`/`text-overflow`,
   * `box-sizing`.
   */
  .nils-related-products__mini-chip {
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--nils-hairline-strong);
    background: rgb(255 255 255 / 0.04);
    color: rgb(255 255 255 / 0.7);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  /*
   * KIT FOOTER — unchanged this run. Ported 1:1 from the deleted blocks/
   * nils-kit-line.liquid's own values (font-size 15px, the same muted
   * text color, 16px gap), rescoped to this module's own class names,
   * with the header's own hairline treatment mirrored as a border-top.
   */
  .nils-related-products__footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 16px 20px;
    border-top: 1px solid var(--nils-hairline);
  }

  .nils-related-products__footer-text {
    margin: 0;
    font-family: var(--font-body--family);
    font-size: 15px;
    color: rgb(255 255 255 / 0.7);
  }
/* END_BLOCK:nils-related-products */

/* START_BLOCK:page-content (INDEX:133) */
.page-content {
    color: var(--color, inherit);
  }

  .page-content a {
    color: currentcolor;
  }
/* END_BLOCK:page-content */

/* START_BLOCK:page (INDEX:134) */
.page-block {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: auto;
    align-items: flex-start;
  }

  .page-title {
    margin-bottom: var(--margin-xl);
  }
/* END_BLOCK:page */

/* START_BLOCK:payment-icons (INDEX:135) */
.payment-icons {
    width: 100%;
  }

  .payment-icons__list {
    display: flex;
    align-items: center;
    justify-content: var(--alignment);
    flex-wrap: wrap;
    gap: var(--icon-gap);
    margin: 0;
    padding: 0;
  }

  .payment-icons__item {
    display: flex;
    align-items: center;
  }
/* END_BLOCK:payment-icons */

/* START_BLOCK:popup-link (INDEX:136) */
.popup-link__button svg {
    display: inline-block;
    position: relative;
    top: var(--margin-2xs);
  }

  .popup-link__content {
    box-shadow: var(--shadow-popover);
    border: var(--style-border-popover);
    border-radius: var(--style-border-radius-popover);
    background-color: var(--color-background);
    padding: var(--padding-4xl) var(--padding-xl) var(--padding-xl);
    max-width: var(--normal-content-width);
    max-height: var(--modal-max-height);

    @media screen and (min-width: 750px) {
      padding: var(--padding-5xl);
    }
  }

  .popup-link__content[open] {
    animation: modalSlideInTop var(--animation-speed) var(--animation-easing) forwards;
  }

  .popup-link__content.dialog-closing {
    animation: modalSlideOutTop var(--animation-speed) var(--animation-easing) forwards;
  }

  .popup-link__content--drawer {
    position: fixed;
    border-radius: 0;
    width: var(--sidebar-width);
    max-width: 95vw;
    height: 100%;
    margin: 0 0 0 auto;
  }

  /* Needed to ensure the drawer is full height */
  .popup-link__content--drawer:modal {
    max-height: 100dvh;
  }

  .popup-link__close {
    top: var(--margin-2xs);
    right: var(--margin-2xs);
    opacity: 0.8;
    animation: none;
  }
/* END_BLOCK:popup-link */

/* START_BLOCK:product-custom-property (INDEX:139) */
product-custom-property-component {
    display: block;
    width: 100%;
  }

  product-custom-property-component .__heading {
    margin-inline: 0;
    margin-block: 0 var(--padding-sm);
  }

  product-custom-property-component .__heading:has(+ .__description) {
    margin-block-end: var(--padding-2xs);
  }

  product-custom-property-component .__description {
    font-size: min(0.85em, var(--font-paragraph--size));
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
    margin-inline: 0;
    margin-block: 0 var(--padding-md);
  }

  product-custom-property-component .__field {
    position: relative;
  }

  product-custom-property-component .__input-wrapper {
    position: relative;
  }

  product-custom-property-component input,
  product-custom-property-component textarea {
    width: 100%;
    /* stylelint-disable-next-line declaration-no-important */
    color: var(--color-input-text) !important;
  }

  /* Add padding for inputs with counter inside */
  product-custom-property-component .__input-wrapper input {
    padding-bottom: calc(var(--padding-sm) * 3);
  }

  product-custom-property-component .__input-wrapper textarea {
    padding-bottom: calc(var(--padding-sm) * 3);
    scroll-padding-bottom: calc(var(--padding-sm) * 3);
  }

  product-custom-property-component textarea {
    min-height: 80px;
  }

  @supports (resize: vertical) {
    @media (hover: hover) and (pointer: fine) {
      product-custom-property-component textarea {
        resize: vertical; /* stylelint-disable-line */
      }
    }
  }

  product-custom-property-component .__character-label {
    position: absolute;
    left: var(--input-padding-x);
    bottom: var(--padding-sm);
    pointer-events: none;
  }

  product-custom-property-component .__character-count {
    font-style: italic;
    /* stylelint-disable-next-line declaration-no-important */
    color: var(--color-input-text) !important;
  }

  /* We should consolidate input styles that share the same behavior */
  .custom-property__input {
    border: var(--style-border-width-inputs) solid var(--color-input-border);
    border-radius: var(--style-border-radius-inputs);

    /* this is needed to override the styles from field__input */
    box-shadow: none;

    &:is(:hover, :focus) {
      /* this is needed to override the styles from field__input */
      box-shadow: none;
    }

    &:focus {
      /* this is needed to override the styles from field__input */
      outline: var(--focus-outline-width) solid var(--color-input-background);
    }
  }
/* END_BLOCK:product-custom-property */

/* START_BLOCK:product-inventory (INDEX:141) */
.product-inventory__status {
    display: flex;
    align-items: center;
    font-size: var(--font-paragraph--size);
    line-height: var(--font-paragraph--line-height);
    gap: var(--padding-xs);
  }

  .product-inventory__icon,
  .product-inventory__icon svg {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
  }

  .product-inventory__icon-low {
    color: var(--color-lowstock);
  }

  .product-inventory__icon-in_stock {
    color: var(--color-instock);
  }

  .product-inventory__icon-out_of_stock {
    color: var(--color-outofstock);
  }

  .product-inventory__icon circle:first-of-type {
    opacity: 0.3;
  }
/* END_BLOCK:product-inventory */

/* START_BLOCK:product-recommendations (INDEX:142) */
.block-resource-list {
    display: flex;
    flex-direction: column;
    row-gap: var(--gap);
    min-width: 0;
    min-height: 0;
    container-type: inline-size;
    container-name: resource-list;
    border-radius: var(--border-radius, 0);
  }

  .product-recommendations-wrapper {
    width: 100%;
  }

  .product-recommendations-wrapper:has(product-recommendations[data-shopify-editor-preview]) {
    width: 100vw;
  }
/* END_BLOCK:product-recommendations */

/* START_BLOCK:review (INDEX:145) */
.rating-wrapper {
    --star-fill-color: var(--color-foreground);
    --star-fill-color-rgb: var(--color-foreground-rgb);
    --color: var(--color-foreground);
    --color-rgb: var(--color-foreground-rgb);
    gap: var(--gap-xs);
    min-width: fit-content;
  }

  .rating-wrapper,
  .rating {
    display: flex;
    align-items: center;
  }

  .rating-wrapper.justify-right {
    flex-direction: row-reverse;
  }

  .rating {
    gap: var(--gap-3xs);
  }

  .rating-wrapper .rating-count,
  .rating-wrapper .rating-count-separator {
    color: var(--star-fill-color);
    margin: 0;
    white-space: nowrap;
  }

  .rating-count-separator {
    opacity: var(--opacity-20);
    padding-left: calc(var(--padding-xs) / 2);
    padding-right: var(--padding-xs);
  }

  .stars {
    height: var(--star-size);
    fill: var(--empty-star-fill-color);
  }

  .filled-star {
    fill: var(--star-fill-color);
  }
/* END_BLOCK:review */

/* START_BLOCK:social-links (INDEX:147) */
.social-icons__wrapper {
    display: flex;
    gap: var(--gap-sm);
    flex-wrap: wrap;
    justify-content: center;

    @media screen and (min-width: 750px) {
      flex-wrap: nowrap;
      justify-content: flex-start;
    }
  }

  .social-icons__icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--icon-size-lg);
  }

  .social-icons__icon {
    display: flex;
    flex-shrink: 0;
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
  }

  .social-icons__icon {
    display: none;
  }

  .social-icons__icon-wrapper:has(.social-icons__icon path) {
    width: var(--icon-size-lg);

    .social-icons__icon {
      display: block;
    }

    .social-icons__icon-label {
      display: none;
    }
  }

  /* Disabled state for editor */
  .shopify-design-mode .social-icons__icon-wrapper--disabled {
    opacity: var(--disabled-opacity, 0.5);
    cursor: not-allowed;
  }

  .shopify-design-mode .social-icons__icon-wrapper--disabled a {
    pointer-events: none;
  }
/* END_BLOCK:social-links */

/* START_BLOCK:spacer (INDEX:148) */
/* Fill opposite direction */
  .layout-panel-flex--column > .spacer-block {
    width: 100%;
  }

  .layout-panel-flex--row > .spacer-block {
    height: 100%;
  }

  /* Flex - Percent */
  :is(.layout-panel-flex--row, .layout-panel-flex--column) > .spacer-block--size-percent {
    flex: var(--spacer-size);
  }

  /* Flex - Pixel */
  .layout-panel-flex--row > .spacer-block--size-pixel {
    width: var(--spacer-size);
  }

  .layout-panel-flex--column > .spacer-block--size-pixel {
    height: var(--spacer-size);
  }

  /* Mobile */
  @media screen and (max-width: 749px) {
    /* Percent */
    .layout-panel-flex--row:not(.mobile-column) > .spacer-block--size-mobile-percent {
      flex: var(--spacer-size-mobile);
      height: 100%;
    }

    .layout-panel-flex--column > .spacer-block--size-mobile-percent,
    .mobile-column > .spacer-block--size-percent:not(.spacer-block--size-mobile-pixel) {
      width: 100%;
      flex: var(--spacer-size-mobile);
    }

    /* Pixel */
    .layout-panel-flex--row:not(.mobile-column) > .spacer-block--size-mobile-pixel {
      width: var(--spacer-size-mobile);
      height: 100%;
    }

    .layout-panel-flex--column > .spacer-block--size-mobile-pixel,
    .mobile-column > .spacer-block--size-mobile-pixel {
      width: 100%;
      flex: 0 0 auto;
      height: var(--spacer-size-mobile);
    }
  }
/* END_BLOCK:spacer */

/* START_BLOCK:swatches (INDEX:149) */
product-swatches {
    width: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    gap: 0;
    flex-shrink: 0;
  }
/* END_BLOCK:swatches */

/* START_BLOCK:video (INDEX:152) */
.placeholder-video {
    aspect-ratio: 5 / 3;
  }
/* END_BLOCK:video */

/* CSS from snippet stylesheet tags */
/* START_SNIPPET:accordion-custom-component (INDEX:153) */
accordion-custom {
    details {
      &::details-content,
      .details-content {
        block-size: 0;
        overflow-y: clip;
        opacity: 0;
        interpolate-size: allow-keywords;
        transition: content-visibility var(--animation-speed-slow) allow-discrete,
          padding-block var(--animation-speed-slow) var(--animation-easing),
          opacity var(--animation-speed-slow) var(--animation-easing),
          block-size var(--animation-speed-slow) var(--animation-easing);
      }

      /* Disable transitions when the content toggle is not caused by the direct user interaction, e.g. opening the filters on mobile. */
      &:not(:focus-within)::details-content,
      &:not(:focus-within) .details-content {
        transition: none;
      }

      &:not([open]) {
        &::details-content,
        .details-content {
          padding-block: 0;
        }
      }

      &[open] {
        &::details-content,
        .details-content {
          opacity: 1;
          block-size: auto;

          @starting-style {
            block-size: 0;
            opacity: 0;
            overflow-y: clip;
          }

          &:focus-within {
            overflow-y: visible;
          }
        }
      }
    }
  }

  accordion-custom[data-disable-on-mobile='true'] summary {
    @media screen and (max-width: 749px) {
      cursor: auto;
    }
  }

  accordion-custom[data-disable-on-desktop='true'] summary {
    @media screen and (min-width: 750px) {
      cursor: auto;
    }
  }
/* END_SNIPPET:accordion-custom-component */

/* START_SNIPPET:accordion-styles (INDEX:154) */
.accordion {
    flex: 1;
    width: 100%;
  }

  .accordion--dividers accordion-custom:not(:first-child) .details {
    border-block-start: var(--style-border-width) solid var(--color-border);
  }

  /* When accordion borders are not set, show fallback borders */
  .accordion--dividers {
    /* stylelint-disable-next-line declaration-property-value-disallowed-list */
    --show-fallback-borders: 0;
  }

  .accordion--dividers:not([class*='color-'])[style*='--border-width: 0'],
  .accordion--dividers:not([class*='color-'])[style*='--border-style: none'] {
    --show-fallback-borders: 1;
  }

  .accordion--dividers accordion-custom:first-child .details {
    border-block-start: calc(var(--style-border-width) * var(--show-fallback-borders)) solid var(--color-border);
  }

  .accordion--dividers accordion-custom:last-child .details {
    border-block-end: calc(var(--style-border-width) * var(--show-fallback-borders)) solid var(--color-border);
  }

  .accordion--dividers .details-content {
    padding-block-end: var(--padding-sm);
  }

  .accordion--caret .icon-plus,
  .accordion--plus .icon-caret {
    display: none;
  }

  /* because we can't pass apply a specific class on a block based on its parent block setting */
  .accordion .details__header {
    font-family: var(--summary-font-family);
    font-style: var(--summary-font-style);
    font-weight: var(--summary-font-weight);
    font-size: var(--summary-font-size);
    line-height: var(--summary-font-line-height);
    text-transform: var(--summary-font-case);
    min-height: var(--minimum-touch-target);
  }

  .details__icon {
    height: auto;
    margin-inline-end: var(--margin-xs);
  }
/* END_SNIPPET:accordion-styles */

/* START_SNIPPET:add-to-cart-button-styles (INDEX:155) */
/* Add to cart button */
  .button[id^='BuyButtons-ProductSubmitButton-'] {
    position: relative;
    overflow: hidden;
  }

  .add-to-cart-button {
    --text-speed: 0.26;
    --base-delay: calc(var(--text-speed) * 0.25);
    --tick-speed: 0.1;
    --ring-speed: 0.2;
    --check-speed: 0.2;
    --burst-speed: 0.32;
    --step-delay: 3;
    --speed: 1;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-2xs);
    user-select: none;
    transition-property: color, box-shadow, background-color, scale, translate;
    transition-duration: var(--animation-speed);
    transition-timing-function: var(--ease-out-cubic);

    &:active {
      scale: 0.99;
      translate: 0 1px;
    }
  }

  .add-to-cart-button .svg-wrapper .checkmark-burst {
    width: 30px;
    height: 30px;
  }

  .add-to-cart-text {
    --atc-opacity: 0;
    --atc-destination: -1em;

    display: flex;
    gap: var(--gap-2xs);
    align-items: center;
    justify-content: center;
    animation-duration: var(--animation-speed);
    animation-timing-function: var(--animation-easing);
    animation-fill-mode: forwards;
    transition: width var(--animation-speed) var(--animation-easing),
      opacity var(--animation-speed) var(--animation-easing);
  }

  .add-to-cart__added {
    --atc-opacity: 1;
    --atc-destination: 0px;

    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
  }

  .add-to-cart__added-icon {
    width: 32px;
    height: 32px;
  }

  [data-added='true'] .add-to-cart-text,
  [data-added='true'] .add-to-cart__added {
    animation-name: atc-slide;
  }

  .checkmark-burst {
    opacity: 0;
    overflow: visible;

    .burst {
      rotate: 20deg;
    }

    .check {
      opacity: 0.2;
      scale: 0.8;
      filter: blur(2px);
      transform: translateZ(0);
    }

    :is(.ring, .line, .check, .burst, .tick) {
      transform-box: fill-box;
      transform-origin: center;
    }

    :is(.line) {
      stroke-dasharray: 1.5 1.5;
      stroke-dashoffset: -1.5;
      translate: 0 -180%;
    }

    g {
      transform-origin: center;
      rotate: calc(var(--index) * (360 / 8) * 1deg);
    }
  }

  .add-to-cart-button[data-added='true'] .checkmark-burst {
    opacity: 1;
  }

  .add-to-cart-button[data-added='true'] {
    color: transparent;

    .check {
      opacity: 1;
      scale: 1;
      filter: blur(0);
    }

    .tick {
      scale: 1.75;
    }

    .ring {
      opacity: 0;
      scale: 1;
    }

    .line {
      stroke-dashoffset: 1.5;
    }

    .add-to-cart__added {
      color: var(--button-color);
    }

    .add-to-cart-text {
      /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
      clip-path: circle(0% at 50% 50%);
      filter: blur(2px);
      opacity: 0;
      translate: 0 4px;
    }
  }

  @media (prefers-reduced-motion: no-preference) {
    .add-to-cart-button[data-added='true'] {
      .check {
        transition-property: opacity, scale, filter;
        transition-duration: calc(calc(var(--check-speed) * 1s));
        transition-delay: calc((var(--base-delay) * 1s));
        transition-timing-function: var(--ease-out-quad);
      }

      .tick {
        transition-property: scale;
        transition-duration: calc((calc(var(--tick-speed) * 1s)));
        transition-delay: calc(((var(--base-delay) + (var(--check-speed) * (var(--step-delay) * 1.1))) * 1s));
        transition-timing-function: ease-out;
      }

      .ring {
        transition-property: opacity, scale;
        transition-duration: calc((calc(var(--ring-speed) * 1s)));
        transition-delay: calc(((var(--base-delay) + (var(--check-speed) * var(--step-delay))) * 1s));
        transition-timing-function: var(--ease-out-quad);
      }

      .line {
        transition-property: stroke-dashoffset;
        transition-duration: calc((calc(var(--burst-speed) * 1s)));
        transition-delay: calc(((var(--base-delay) + (var(--check-speed) * var(--step-delay))) * 1s));
        transition-timing-function: var(--ease-out-cubic);
      }
    }

    .add-to-cart-text {
      transition-property: clip-path, opacity, filter, translate;
      transition-duration: calc((var(--text-speed) * 0.6s)), calc((var(--text-speed) * 1s));
      transition-timing-function: ease-out;
    }
  }

  .add-to-cart-text {
    /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
    clip-path: circle(100% at 50% 50%);
  }

  @keyframes atc-slide {
    to {
      opacity: var(--atc-opacity, 1);
      translate: 0px var(--atc-destination, 0px);
    }
  }
/* END_SNIPPET:add-to-cart-button-styles */

/* START_SNIPPET:bento-grid (INDEX:158) */
.bento-box {
    display: grid;
    column-gap: var(--bento-gap);
    row-gap: calc(var(--bento-gap) * 1.5);
    width: 100%;
  }

  .bento-box:has(.collection-card--image-bg) {
    row-gap: var(--bento-gap);
  }

  .bento-box ~ .bento-box {
    padding-block-start: var(--bento-gap);
  }

  @media screen and (max-width: 900px) {
    .bento-box {
      grid-template-columns: repeat(2, 1fr);
    }

    .bento-box__item {
      /* Prevent grid items from overflowing their cells when children have aspect-ratio */
      min-width: 0;
      overflow: hidden;
    }

    .bento-box__item:nth-child(3n + 1) {
      grid-column: span 1;
    }

    .bento-box__item:nth-child(3n + 2) {
      grid-column: span 1;
    }

    .bento-box__item:nth-child(3n + 3) {
      grid-column: span 2;
    }

    /* Ensure last items create a full row */
    .bento-box__item:last-child:nth-child(3n + 5) {
      grid-column: span 1;
    }

    .bento-box__item:last-child:nth-child(3n + 4) {
      grid-column: span 2;
    }
  }

  @media screen and (min-width: 901px) {
    .bento-box {
      grid-template-columns: repeat(12, 1fr);
      grid-template-areas:
        'A A A B B B B B B C C C'
        'D D D D D D E E E F F F'
        'G G G H H H I I I I I I'
        'J J J J K K K K L L L L';
    }

    .bento-box__item:nth-child(1) {
      grid-area: A;
    }

    .bento-box__item:nth-child(2) {
      grid-area: B;
    }

    .bento-box__item:nth-child(3) {
      grid-area: C;
    }

    .bento-box__item:nth-child(4) {
      grid-area: D;
    }

    .bento-box__item:nth-child(5) {
      grid-area: E;
    }

    .bento-box__item:nth-child(6) {
      grid-area: F;
    }

    .bento-box__item:nth-child(7) {
      grid-area: G;
    }

    .bento-box__item:nth-child(8) {
      grid-area: H;
    }

    .bento-box__item:nth-child(9) {
      grid-area: I;
    }

    .bento-box__item:nth-child(10) {
      grid-area: J;
    }

    .bento-box__item:nth-child(11) {
      grid-area: K;
    }

    .bento-box__item:nth-child(12) {
      grid-area: L;
    }

    /* === Overrides for specific item counts === */

    /* Exactly 1 item */
    .bento-box--items-1 {
      grid-template-areas: 'A A A A A A A A A A A A';
    }

    /* Exactly 2 items */
    .bento-box--items-2 {
      grid-template-areas: 'A A A A A A B B B B B B';
    }

    /* Exactly 4 items */
    .bento-box--items-4 {
      grid-template-areas:
        'A A A A B B B B B B B B'
        'C C C C C C C C D D D D';
    }

    /* Exactly 5 items */
    .bento-box--items-5 {
      grid-template-areas:
        'A A A B B B B B B C C C'
        'D D D D D D E E E E E E';
    }

    /* Exactly 7 items */
    .bento-box--items-7 {
      grid-template-areas:
        'A A A B B B B B B C C C'
        'D D D D D D D D D E E E'
        'F F F F F F G G G G G G';
    }

    /* Exactly 8 items */
    .bento-box--items-8 {
      grid-template-areas:
        'A A A B B B B B B C C C'
        'D D D D D D E E E F F F'
        'G G G H H H H H H H H H';
    }

    /* Exactly 10 items */
    .bento-box--items-10 {
      grid-template-areas:
        'A A A B B B B B B C C C'
        'D D D D D D E E E F F F'
        'G G G G G G G G G H H H'
        'I I I J J J J J J J J J';
    }

    /* Exactly 11 items */
    .bento-box--items-11 {
      grid-template-areas:
        'A A A B B B B B B C C C'
        'D D D D D D E E E F F F'
        'G G G H H H I I I I I I'
        'J J J J K K K K K K K K';
    }
  }
/* END_SNIPPET:bento-grid */

/* START_SNIPPET:blog-comment-form (INDEX:159) */
.blog-post-comments__form-container {
    --comment-form-gap: var(--gap-md);

    width: 100%;
    max-width: var(--normal-content-width);
    margin: var(--margin-4xl) auto 0;
  }

  .blog-post-comments__form {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--comment-form-gap);

    @media screen and (min-width: 750px) {
      grid-template-columns: 1fr 1fr;
    }
  }

  .blog-post-comments__form-input {
    padding: var(--padding-lg) var(--padding-xl);
    border: var(--style-border-width-inputs) solid var(--color-input-border);
  }

  .blog-post-comments__form-input--textarea {
    resize: vertical;
    min-height: var(--input-textarea-min-height);
  }

  .blog-post-comments__form-message {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
  }

  .blog-post-comments__form-body {
    grid-column: 1 / -1;
  }

  .blog-post-comments__form-input:focus-visible {
    outline: var(--focus-outline-width) solid currentcolor;
    outline-offset: var(--focus-outline-offset);
  }

  .blog-post-comments__form-moderated {
    font-size: var(--font-size--xs);
  }

  .blog-post-comments__form-submit {
    margin-block-start: var(--comment-form-gap);
  }
/* END_SNIPPET:blog-comment-form */

/* START_SNIPPET:buy-buttons-styles (INDEX:164) */
.buy-buttons-block {
    --buy-button-preferred-width: 185px;

    width: 100%;
  }

  .product-form-buttons {
    display: flex;
    flex-wrap: wrap;
  }

  .product-form-buttons:not(:has(.quantity-rules)) {
    gap: calc(var(--gap-sm) / 2);

    @media screen and (min-width: 750px) {
      gap: var(--gap-sm);
    }
  }

  .product-form-buttons
    > *:not(.quantity-selector-wrapper, .quantity-rules, .quantity-label, .volume-pricing, .product-form-text__error) {
    flex: 1 1 var(--buy-button-preferred-width, 0);
    min-width: fit-content;
  }

  .product-form-buttons--stacked
    > *:not(.quantity-selector-wrapper, .quantity-rules, .quantity-label, .volume-pricing, .product-form-text__error) {
    flex-basis: 51%;
  }

  .product-form-buttons button {
    width: 100%;
    padding-block: var(--padding-lg);
  }

  .quantity-selector {
    flex-grow: 0;
    flex-shrink: 0;
    height: var(--height-buy-buttons);
  }

  .quantity-label {
    flex: 1 0 100%;
    width: 100%;
    font-size: var(--font-size--sm);
    margin-block-end: var(--gap-xs);
  }

  .quantity-label__cart-count {
    color: var(--color-foreground-secondary);
  }

  .quantity-rules {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    row-gap: calc(var(--gap-xs) / 2);
    flex: 1 0 100%;
    width: 100%;
    font-size: var(--font-size--xs);
    color: var(--color-foreground-secondary);
    margin-block-start: var(--gap-xs);
    margin-block-end: var(--gap);
  }

  .product-form-buttons:has(~ .volume-pricing .volume-pricing__title) .quantity-rules {
    margin-block-end: var(--gap-md);
  }

  .quantity-rules__item {
    position: relative;
    display: inline-block;
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
  }

  .quantity-rules__item:not(:last-child) {
    padding-right: var(--padding-xl);
    margin-right: var(--margin-2xs);
  }

  .quantity-rules__item:not(:last-child)::after {
    content: '•';
    position: absolute;
    inset-inline-end: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.5em;
    line-height: 0;
  }

  .add-to-cart-button {
    height: var(--height-buy-buttons);
    text-transform: var(--button-text-case-primary);
  }

  .add-to-cart-button.button-secondary {
    text-transform: var(--button-text-case-secondary);
  }

  shopify-accelerated-checkout {
    --shopify-accelerated-checkout-button-border-radius: var(--style-border-radius-buttons-primary);
    --shopify-accelerated-checkout-button-block-size: var(--height-buy-buttons);
  }

  .product-form-buttons:has(.add-to-cart-button.button-secondary) shopify-accelerated-checkout {
    --shopify-accelerated-checkout-button-border-radius: var(--style-border-radius-buttons-secondary);
    --shopify-accelerated-checkout-button-block-size: var(--height-buy-buttons);
  }

  .product-form-text__error {
    display: flex;
    flex: 1 0 100%;
    align-items: flex-start;
    gap: var(--gap-xs);
    margin-block-end: var(--gap-xs);
  }

  .product__pickup-availabilities {
    width: 100%;
    color: var(--color, var(--color-foreground));
  }

  .pickup-availability__column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .pickup-availability__row {
    display: flex;
    gap: var(--padding-xs);
  }

  .pickup-availability__dialog-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .pickup-availability__header-container {
    padding-block-end: var(--padding-2xl);
  }

  .pickup-location__wrapper {
    display: flex;
    flex-direction: column;
    padding-block: var(--padding-2xl);
    padding-inline: var(--theme-drawer-padding);
    border-top: 1px solid var(--color-border);
    gap: var(--padding-xs);
  }

  .pickup-location__address-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--padding-md);
  }

  .pickup-location__text-sm {
    font-size: var(--font-size--sm);
    margin: 0;
  }

  .pickup-location__text-xs {
    font-size: var(--font-size--xs);
    margin: 0;
  }

  .pickup-location__button {
    width: fit-content;
    color: var(--color, var(--color-foreground));
    font-size: var(--font-size--xs);
    font-family: var(--font-body--family);
    padding: 0;
    cursor: pointer;
    margin-block: var(--margin-xs);
  }

  .pickup-location__button:hover {
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
  }

  .pickup-location__h4 {
    margin: 0;
  }

  .pickup-location__text-bold {
    font-size: var(--font-size--md);
    font-weight: 600;
    margin: 0;
  }

  .pickup-location__availability-wrapper {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
    font-family: var(--font-paragraph--family);
  }

  .pickup-location__address {
    font-style: normal;
  }

  .volume-pricing {
    display: block;
    width: 100%;
    margin-bottom: var(--gap);
  }

  .volume-pricing:not(:has(.volume-pricing__title)) {
    margin-top: 0;
    margin-bottom: 0;
  }

  .volume-pricing__title {
    display: block;
    margin-block-end: var(--gap-sm);
    font-size: var(--font-size--sm);
    font-weight: var(--font-body--weight);
    color: var(--color-foreground);
  }

  .volume-pricing__table {
    width: 100%;
  }

  .volume-pricing__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: var(--padding-sm);
    padding-inline: var(--padding-md);
    font-size: var(--font-size--sm);
  }

  .volume-pricing__row--even {
    background: rgb(var(--color-foreground-rgb) / var(--opacity-5));
  }

  .volume-pricing__row--odd {
    background: var(--color-background);
  }

  .volume-pricing__collapsible-wrapper {
    block-size: 0;
    overflow-y: clip;
    opacity: 0;
    interpolate-size: allow-keywords;
    transition: opacity var(--animation-speed-slow) var(--animation-easing),
      block-size var(--animation-speed-slow) var(--animation-easing);
  }

  .volume-pricing__toggle {
    width: 100%;
    padding-bottom: 0;
    padding-inline: 0;
    text-align: left;
    color: var(--color-foreground-secondary);
    font-size: var(--font-size--xs);
    cursor: default;
    margin-block-start: 0;
    pointer-events: none;
  }

  button.volume-pricing__toggle {
    /* Need the extra specificity to override .product-form-buttons button */
    padding-block: var(--padding-sm);
  }

  .volume-pricing__toggle-text {
    cursor: pointer;
    display: inline-block;
    pointer-events: auto;
  }

  .volume-pricing__show-less {
    display: none;
  }

  .volume-pricing--expanded .volume-pricing__collapsible-wrapper {
    opacity: 1;
    block-size: auto;

    @starting-style {
      block-size: 0;
      opacity: 0;
      overflow-y: clip;
    }
  }

  .volume-pricing--expanded .volume-pricing__show-more {
    display: none;
  }

  .volume-pricing--expanded .volume-pricing__show-less {
    display: inline;
  }

  /* Accelerated checkout styles — co-located here so they compile on pages
       where the quick-add modal can display buy buttons (e.g. collection pages). */
  .accelerated-checkout-block[data-shopify-visual-preview] {
    width: 300px;
  }

  more-payment-options-link {
    font-size: smaller;
  }

  more-payment-options-link a:hover {
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
  }

  .shopify-payment-button__more-options[aria-hidden='true'] {
    display: none;
  }
/* END_SNIPPET:buy-buttons-styles */

/* START_SNIPPET:card-gallery (INDEX:165) */
.card-gallery {
    position: relative;
    overflow: hidden;
    container-type: inline-size; /* Make card-gallery a container */
    container-name: card-gallery-container; /* Optional: name the container */
  }

  @container (max-width: 70px) {
    .card-gallery:hover .quick-add__button {
      display: none;
    }
  }

  .card-gallery__placeholder svg {
    height: 100%;
    width: 100%;
  }

  .card-gallery svg {
    aspect-ratio: var(--gallery-aspect-ratio, var(--ratio));
  }

  .product-card-gallery__title-placeholder {
    padding: var(--padding-md);
    font-size: var(--font-size--2xl);
    line-height: var(--line-height--display-loose);
    word-break: break-word;
    color: var(--color-foreground);
    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-5));
    aspect-ratio: var(--gallery-aspect-ratio);
    border-radius: var(--product-corner-radius);
    display: block;
  }

  .product-card-gallery__title-placeholder .title-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
  }

  .card-gallery[data-image-ratio='landscape'] .product-card-gallery__title-placeholder .title-text {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  @media screen and (min-width: 750px) {
    .product-grid[data-product-card-size='extra-large'] .product-card-gallery__title-placeholder {
      padding: var(--padding-3xl);
      font-size: var(--font-size--3xl);
    }

    .product-grid[data-product-card-size='large'] .product-card-gallery__title-placeholder {
      padding: var(--padding-2xl);
      font-size: var(--font-size--2xl);
    }

    .product-grid[data-product-card-size='medium'] .product-card-gallery__title-placeholder {
      padding: var(--padding-xl);
      font-size: var(--font-size--xl);
    }

    .product-grid[data-product-card-size='small'] .product-card-gallery__title-placeholder {
      padding: var(--padding-sm);
      font-size: var(--font-size--lg);
    }

    .product-grid[data-product-card-size='extra-large']
      .card-gallery.card-gallery--badge-top-right
      .product-card-gallery__title-placeholder {
      padding-right: calc(var(--padding-3xl) + 50px);
    }

    .product-grid[data-product-card-size='large']
      .card-gallery.card-gallery--badge-top-right
      .product-card-gallery__title-placeholder {
      padding-right: calc(var(--padding-2xl) + 50px);
    }

    .product-grid[data-product-card-size='medium']
      .card-gallery.card-gallery--badge-top-right
      .product-card-gallery__title-placeholder {
      padding-right: calc(var(--padding-xl) + 50px);
    }

    .product-grid[data-product-card-size='small']
      .card-gallery.card-gallery--badge-top-right
      .product-card-gallery__title-placeholder {
      padding-right: calc(var(--padding-sm) + 50px);
    }

    .product-grid[data-product-card-size='extra-large']
      .card-gallery.card-gallery--badge-top-left
      .product-card-gallery__title-placeholder {
      padding-top: calc(var(--padding-3xl) + 40px);
    }

    .product-grid[data-product-card-size='large']
      .card-gallery.card-gallery--badge-top-left
      .product-card-gallery__title-placeholder {
      padding-top: calc(var(--padding-2xl) + 40px);
    }

    .product-grid[data-product-card-size='medium']
      .card-gallery.card-gallery--badge-top-left
      .product-card-gallery__title-placeholder {
      padding-top: calc(var(--padding-xl) + 40px);
    }

    .product-grid[data-product-card-size='small']
      .card-gallery.card-gallery--badge-top-left
      .product-card-gallery__title-placeholder {
      padding-top: calc(var(--padding-sm) + 40px);
    }

    .product-grid[data-product-card-size='extra-large']
      .card-gallery.card-gallery--badge-bottom-left
      .product-card-gallery__title-placeholder {
      padding-bottom: calc(var(--padding-3xl) + 40px);
    }

    .product-grid[data-product-card-size='large']
      .card-gallery.card-gallery--badge-bottom-left
      .product-card-gallery__title-placeholder {
      padding-bottom: calc(var(--padding-2xl) + 40px);
    }

    .product-grid[data-product-card-size='medium']
      .card-gallery.card-gallery--badge-bottom-left
      .product-card-gallery__title-placeholder {
      padding-bottom: calc(var(--padding-xl) + 40px);
    }

    .product-grid[data-product-card-size='small']
      .card-gallery.card-gallery--badge-bottom-left
      .product-card-gallery__title-placeholder {
      padding-bottom: calc(var(--padding-sm) + 40px);
    }
  }

  @media screen and (max-width: 749px) {
    .product-card-gallery__title-placeholder {
      font-size: var(--font-size--xl);
      padding: var(--padding-md);
    }

    .product-grid[data-product-card-size]
      .card-gallery.card-gallery--badge-top-right
      .product-card-gallery__title-placeholder {
      padding-right: calc(var(--padding-sm) + 50px);
    }

    .product-grid[data-product-card-size]
      .card-gallery.card-gallery--badge-top-left
      .product-card-gallery__title-placeholder {
      padding-top: calc(var(--padding-sm) + 40px);
    }

    .product-grid[data-product-card-size]
      .card-gallery.card-gallery--badge-bottom-left
      .product-card-gallery__title-placeholder {
      padding-bottom: calc(var(--padding-sm) + 40px);
    }
  }

  [product-grid-view='zoom-out'] .card-gallery .product-card-gallery__title-placeholder {
    /* stylelint-disable-next-line declaration-no-important */
    padding: var(--padding-xs) !important;
    font-size: var(--font-size--xs);
  }

  [product-grid-view='zoom-out'] .card-gallery .slideshow-control {
    min-width: auto;
  }

  ul[product-grid-view='zoom-out'] .product-grid__card .card-gallery {
    display: block;
  }

  [product-grid-view='zoom-out']
    .card-gallery
    > :is(quick-add-component, .product-badges, slideshow-component > slideshow-controls) {
    display: none;
  }

  ul[product-grid-view='zoom-out'] .card-gallery > img {
    display: block;
  }

  .card-gallery slideshow-arrows .slideshow-control {
    /* Align icons with quick-add button */
    padding-inline: var(--padding-xl);

    @container (max-width: 249px) {
      padding-inline: 0 var(--padding-sm);
    }
  }

  /*
   * Card galleries preview the next or previous images on 'pointerenter', so we
   * try to kick load them beforehand (they are lazy loaded otherwise).
   */
  .card-gallery
    :is(
      slideshow-slide:has(+ slideshow-slide[aria-hidden='false']),
      slideshow-slide[aria-hidden='false'] + slideshow-slide
    ) {
    content-visibility: auto;

    slideshow-component[actioned] & {
      content-visibility: visible;
    }
  }
/* END_SNIPPET:card-gallery */

/* START_SNIPPET:cart-bubble (INDEX:166) */
.cart-bubble {
    --cart-padding: 0.2em;

    position: relative;
    width: 20px;
    aspect-ratio: 1;
    border-radius: 50%;
    border-width: 0;
    display: flex;
    line-height: normal;
    align-items: center;
    justify-content: center;
    color: var(--cart-bubble-text, var(--cart-bubble-text-fallback));
    padding-inline: var(--cart-padding);
  }

  .cart-bubble[data-maintain-ratio] {
    aspect-ratio: 1;
  }

  .cart-bubble[data-maintain-ratio] .cart-bubble__background {
    border-radius: var(--style-border-radius-50);
  }

  .cart-bubble__background {
    position: absolute;
    inset: 0;
    background-color: var(--cart-bubble-background, var(--cart-bubble-background-fallback));
    border-radius: var(--style-border-radius-lg);
  }

  .cart-bubble__text {
    font-size: var(--font-size--3xs);
    z-index: var(--layer-flat);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
/* END_SNIPPET:cart-bubble */

/* START_SNIPPET:cart-disclosure-tooltip (INDEX:167) */
.cart-disclosure-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    flex-shrink: 0;
  }

  .cart-disclosure-tooltip__button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    color: var(--color-foreground-secondary);
    line-height: 1;
    transition: color var(--animation-speed) var(--animation-easing);
    cursor: pointer;
  }

  .cart-items__title-row .cart-disclosure-tooltip {
    position: static;
    align-self: flex-start;
    width: 1em;
    height: 1em;
    margin-block-start: calc((1lh - 1em) / 2 + 0.3rem);
    line-height: calc(var(--font-size--md) * var(--font-paragraph--line-height));
  }

  .cart-page .cart-items__title-row .cart-disclosure-tooltip {
    margin-block-start: calc((1lh - 1em) / 2);
  }

  .cart-items__title-row .cart-disclosure-tooltip__button {
    position: relative;
    justify-content: center;
    width: 1em;
    height: 1em;
  }

  .cart-items__title-row .cart-disclosure-tooltip__button::before {
    content: '';
    position: absolute;
    inset-block: calc((1em - var(--minimum-touch-target)) / 2);
    inset-inline-start: 0;
    inset-inline-end: calc(1em - var(--minimum-touch-target));
  }

  .cart-disclosure-tooltip__button:hover {
    color: var(--color-foreground);
  }

  .cart-disclosure-tooltip__button .svg-wrapper,
  .cart-disclosure-tooltip__button .svg-wrapper > svg {
    width: 1em;
    height: 1em;
  }

  .cart-disclosure-tooltip__popover {
    --cart-disclosure-tooltip-popover-max-width: 280px;
    --cart-disclosure-tooltip-popover-spacing: 8px;
    --cart-disclosure-tooltip-popover-offset-block: -4px;
    --cart-disclosure-tooltip-popover-viewport-margin: 16px;
    --cart-disclosure-tooltip-symbol-inset-inline: var(--padding-md);
    --cart-disclosure-tooltip-popover-native-fallback-top: calc(
      anchor(bottom) + var(--cart-disclosure-tooltip-popover-spacing) +
        var(--cart-disclosure-tooltip-popover-offset-block)
    );
    --cart-disclosure-tooltip-popover-fixed-fallback-top: calc(
      (var(--anchor-top) + var(--anchor-height)) * 1px + var(--cart-disclosure-tooltip-popover-spacing) +
        var(--cart-disclosure-tooltip-popover-offset-block)
    );

    inset: unset;
    top: var(--cart-disclosure-tooltip-popover-top, var(--cart-disclosure-tooltip-popover-native-fallback-top));
    left: max(
      var(--cart-disclosure-tooltip-popover-viewport-margin),
      min(
        calc(anchor(left) - var(--cart-disclosure-tooltip-symbol-inset-inline)),
        calc(
          100vw - var(--cart-disclosure-tooltip-popover-max-width) -
            var(--cart-disclosure-tooltip-popover-viewport-margin)
        )
      )
    );
    min-inline-size: 240px;
    max-inline-size: var(--cart-disclosure-tooltip-popover-max-width);
    padding: 0;
    margin: 0;
    color: var(--color-foreground);
    background: var(--color-background);
    border: var(--style-border-popover);
    border-radius: var(--style-border-radius-popover, 0);
    box-shadow: var(--shadow-popover);
    opacity: 0;
    transition-property: display, opacity, translate;
    transition-duration: 0.3s;
    transition-timing-function: var(--ease-out-quad);
    transition-behavior: allow-discrete;
    translate: 0 20px;
    overflow: hidden;
  }

  @supports not (position-anchor: --cart-disclosure-trigger) {
    .cart-disclosure-tooltip__popover {
      position: fixed;
      top: var(--cart-disclosure-tooltip-popover-fixed-fallback-top);
      left: max(
        var(--cart-disclosure-tooltip-popover-viewport-margin),
        min(
          calc((var(--anchor-left) * 1px) - var(--cart-disclosure-tooltip-symbol-inset-inline)),
          calc(
            100vw - var(--cart-disclosure-tooltip-popover-max-width) -
              var(--cart-disclosure-tooltip-popover-viewport-margin)
          )
        )
      );
    }
  }

  .cart-disclosure-tooltip__popover:popover-open {
    opacity: 1;
    translate: 0 0;
  }

  .cart-disclosure-tooltip__list {
    display: flex;
    flex-direction: column;
  }

  .cart-disclosure-tooltip__row {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-sm);
    padding-block: var(--padding-xs);
    padding-inline: var(--cart-disclosure-tooltip-symbol-inset-inline, var(--padding-md)) var(--padding-md);
    font-size: var(--font-size--sm);
    color: var(--color-foreground);
    background: var(--color-background);
    overflow-wrap: break-word;
  }

  .cart-disclosure-tooltip__row:has(> .cart-disclosure-tooltip__symbol) {
    --cart-disclosure-tooltip-symbol-height: 1em;
    --cart-disclosure-tooltip-symbol-slot-width: calc(
      var(--cart-disclosure-tooltip-symbol-height) * var(--cart-disclosure-symbol-aspect-ratio, 1)
    );

    display: grid;
    grid-template-columns: var(--cart-disclosure-tooltip-symbol-slot-width) minmax(0, 1fr);
    min-inline-size: 0;
  }

  .cart-disclosure-tooltip__symbol {
    justify-self: center;
    width: auto;
    max-inline-size: 100%;
    height: var(--cart-disclosure-tooltip-symbol-height, 1em);
    margin: 0;
    object-fit: contain;
    translate: 0 1px;
  }

  .cart-disclosure-tooltip__title {
    min-width: 0;
    margin: 0;
    line-height: var(--line-height--body-tight);
  }

  .cart-disclosure-tooltip__dialog {
    display: contents;
  }

  .cart-disclosure-modal {
    --cart-disclosure-modal-width: 28rem;
    --cart-disclosure-modal-max-height: 72dvh;
    --cart-disclosure-modal-border-radius: min(var(--style-border-radius-popover), 8px);

    position: fixed;
    top: 50%;
    left: 50%;
    width: min(var(--cart-disclosure-modal-width), calc(100vw - (var(--padding-2xl) * 2)));
    max-height: min(var(--cart-disclosure-modal-max-height), calc(100dvh - (var(--padding-2xl) * 2)));
    padding: 0;
    margin: 0;
    color: var(--color-foreground);
    background: var(--color-background);
    border: var(--style-border-popover);
    border-radius: var(--cart-disclosure-modal-border-radius);
    box-shadow: var(--shadow-popover);
    overflow: hidden;
    isolation: isolate;
    translate: -50% -50%;
  }

  .cart-disclosure-modal.dialog-modal[open] {
    animation: modalSlideInTop var(--animation-speed) var(--animation-easing) forwards;
  }

  .cart-disclosure-modal.dialog-modal.dialog-closing {
    animation: modalSlideOutTop var(--animation-speed) var(--animation-easing);
  }

  .cart-disclosure-modal::backdrop {
    backdrop-filter: brightness(0.65) blur(2px);
    background: rgb(var(--color-foreground-rgb) / var(--opacity-60));
  }

  .cart-disclosure-modal__content {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xl);
    max-height: inherit;
    padding: var(--padding-2xl);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .cart-disclosure-modal .cart-disclosure-modal__heading {
    margin: 0;
    padding-inline-end: var(--minimum-touch-target);
    font-size: var(--font-size--2xl);
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: break-word;
  }

  .cart-disclosure-modal__list {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xl);
  }

  .cart-disclosure-modal__item {
    --cart-disclosure-modal-symbol-height: 1.5em;
    --cart-disclosure-modal-symbol-slot-width: calc(
      var(--cart-disclosure-modal-symbol-height) * var(--cart-disclosure-symbol-aspect-ratio, 1)
    );
    --cart-disclosure-modal-heading-offset: calc((var(--cart-disclosure-modal-symbol-height) - 1em) / 2);

    display: grid;
    grid-template-columns: var(--cart-disclosure-modal-symbol-slot-width) minmax(0, 1fr);
    align-items: flex-start;
    column-gap: var(--gap-xs);
    row-gap: var(--gap-xs);
    min-width: 0;
    font-size: var(--font-size--md);
    overflow-wrap: break-word;
  }

  .cart-disclosure-modal__item:not(:has(> .cart-disclosure-modal__symbol)) {
    grid-template-columns: minmax(0, 1fr);
  }

  .cart-disclosure-modal__symbol {
    justify-self: center;
    width: auto;
    max-inline-size: 100%;
    height: var(--cart-disclosure-modal-symbol-height);
    margin: 0;
    object-fit: contain;
  }

  .cart-disclosure-modal__item-content {
    display: contents;
  }

  .cart-disclosure-modal__item-heading {
    margin: 0;
    font-size: inherit;
    font-weight: 700;
    line-height: 1;
    overflow-wrap: break-word;
  }

  .cart-disclosure-modal__item:has(> .cart-disclosure-modal__symbol) .cart-disclosure-modal__item-heading {
    grid-column: 2;
    padding-block-start: var(--cart-disclosure-modal-heading-offset);
  }

  .cart-disclosure-modal__body {
    grid-column: 1 / -1;
    margin: 0;
    font-size: var(--font-size--sm);
    line-height: 1.35;
    overflow-wrap: break-word;
  }

  .cart-disclosure-modal__body > * {
    margin-block: 0;
  }

  .cart-disclosure-modal__close {
    position: absolute;
    inset-block-start: var(--padding-sm);
    inset-inline-end: var(--padding-sm);
    z-index: var(--layer-raised);
    overflow: visible;
  }

  @media screen and (min-width: 750px) {
    .cart-disclosure-modal__content {
      padding-block: var(--padding-2xl);
      padding-inline: var(--padding-2xl);
    }
  }

  @media screen and (max-width: 749px) {
    .cart-disclosure-modal {
      position: fixed;
      top: auto;
      left: 0;
      inset-block-start: auto;
      inset-block-end: 0;
      inset-inline: 0;
      width: 100%;
      height: fit-content;
      max-width: 100%;
      max-height: 100dvh;
      margin: auto 0 0;
      border-start-start-radius: var(--cart-disclosure-modal-border-radius);
      border-start-end-radius: var(--cart-disclosure-modal-border-radius);
      border-end-start-radius: 0;
      border-end-end-radius: 0;
      overflow: clip;
      translate: 0 0;
    }

    .cart-disclosure-modal__content {
      max-height: min(var(--modal-max-height), 100dvh);
    }
  }
/* END_SNIPPET:cart-disclosure-tooltip */

/* START_SNIPPET:cart-drawer (INDEX:168) */
cart-drawer-component {
    --cart-drawer-padding: var(--theme-drawer-padding);
    --font-paragraph--line-height: 1;
    display: contents;
  }

  .cart-drawer__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
  }

  .cart-drawer__inner > .cart-items-component {
    flex: 1;
    min-height: 0;
    height: auto;
  }

  .cart-drawer__content {
    height: calc(100% - var(--header-height));
    display: flex;
    flex-direction: column;
    padding: 0;
    background-color: var(--color-background);
    flex-grow: 1;
    overflow-y: auto;
  }

  .cart-drawer__items {
    display: flex;
    flex-direction: column;
    padding-inline: var(--cart-drawer-padding);
    overflow-y: auto;
  }

  .cart-drawer__items .cart-items__table-row {
    padding-bottom: var(--gap-xl);
    border-bottom: var(--style-border-width) solid rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
    margin-bottom: var(--gap-xl);
  }

  .cart-drawer__items .cart-items__table-row:has(+ .cart-items__nested-line) {
    border-bottom: none;
    margin-bottom: 0;
  }

  .cart-drawer__items .cart-items__table-row:last-child {
    border-bottom: none;
    padding-block-end: 0;
    margin-block-end: 0;
  }

  .cart-drawer__close-button--empty {
    margin-inline-start: auto;
  }

  .cart-drawer__summary {
    --cart-drawer-summary-padding: var(--padding-lg);

    position: sticky;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-xl);
    padding: var(--cart-drawer-summary-padding);
    margin-top: auto;
    background-color: var(--color-background);
    /* stylelint-disable-next-line color-named */
    mask-image: linear-gradient(to bottom, transparent, black var(--cart-drawer-summary-padding));

    @media screen and (min-width: 750px) {
      --cart-drawer-summary-padding: var(--padding-2xl);
    }
  }

  .theme-drawer__dialog[cart-summary-sticky='false'] .cart-drawer__summary {
    position: static;
    mask-image: none;
  }

  .theme-drawer__dialog[cart-summary-sticky='false'] .cart-drawer__items {
    overflow: unset;
  }

  .cart-actions summary {
    padding-inline: 0;
    padding-block: var(--padding-sm);
    line-height: 1.2;
    min-height: var(--minimum-touch-target);
  }

  .cart-drawer__summary .cart__summary-totals:not(:has(.cart__subtotal-container:empty)) {
    border-block-start: var(--style-border-width) solid rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
    padding-block-start: var(--padding-2xl);
  }

  .cart-drawer__summary .cart-note {
    @media screen and (min-width: 750px) {
      margin-block-start: var(--margin-3xs);
    }
  }

  .cart-drawer--empty .cart-drawer__content {
    text-align: center;
    align-items: center;
    justify-content: center;
    min-height: auto;
  }

  .cart-drawer--empty .cart-drawer__items {
    padding-inline: 0;
  }

  cart-drawer-component:not(:has(.cart-form)) .cart-drawer__content {
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  cart-drawer-component:not(:has(.cart-form)) .cart-drawer__items {
    padding-inline: 0;
  }

  @media screen and (prefers-reduced-motion: no-preference) {
    html:active-view-transition-type(empty-cart-drawer) {
      .theme-drawer__close-button {
        view-transition-name: cart-drawer-close-button;
      }
    }
  }

  :active-view-transition {
    .cart-drawer__header,
    .cart-drawer__content {
      background: transparent;
    }
  }
/* END_SNIPPET:cart-drawer */

/* START_SNIPPET:cart-items-component (INDEX:169) */
.cart-items-component {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  @media screen and (prefers-reduced-motion: no-preference) {
    html:active-view-transition-type(empty-cart-drawer),
    html:active-view-transition-type(fill-cart-drawer) {
      .cart-items-component {
        view-transition-name: cart-drawer-content;
      }
    }

    html:active-view-transition-type(empty-cart-page) {
      .cart-items-component {
        view-transition-name: cart-page-content;
      }
    }
  }

  ::view-transition-old(cart-page-content) {
    animation: cart-page-content-old var(--animation-speed-fast) var(--animation-easing) forwards;
  }

  @keyframes cart-page-content-old {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
      filter: blur(4px);
    }
  }

  ::view-transition-old(cart-drawer-content) {
    transform-origin: 50% 33%;
    animation: cart-contents-old var(--spring-d280-b0-duration) var(--spring-d280-b0-easing) forwards;
  }

  ::view-transition-new(cart-drawer-content) {
    transform-origin: top center;
    animation: cart-contents-new var(--spring-d280-b0-duration) var(--spring-d280-b0-easing) forwards;
  }

  @keyframes cart-contents-old {
    to {
      scale: 0.92;
      opacity: 0;
    }
  }

  @keyframes cart-contents-new {
    from {
      scale: 1.05;
      translate: 0 128px;
      filter: blur(1px);
      opacity: 0;
    }
  }
/* END_SNIPPET:cart-items-component */

/* START_SNIPPET:cart-products (INDEX:170) */
.cart-items {
    --cart-item-media-width-min: 2.5rem;
    --cart-item-media-width-max: 7.5rem;

    container-name: cart-items;
    container-type: inline-size;
    width: 100%;
  }

  .cart-items-disabled {
    pointer-events: none;
  }

  .cart-items__wrapper {
    display: flex;
    flex-direction: column;
  }

  .cart-page--empty .cart-items__wrapper {
    align-items: center;
    margin-block-start: 0;
    text-align: center;
  }

  .cart-items__wrapper--drawer-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .cart-items__table {
    width: 100%;
    border-spacing: 0;
  }

  .cart-items__table * {
    margin: 0;
  }

  .cart-items__table-row {
    --cart-item-price-width: 6rem;

    display: grid;
    grid-template-columns: clamp(2.5rem, 15cqi, 7.5rem) minmax(0, 1fr) minmax(var(--cart-item-price-width), auto);
    grid-template-areas:
      'media details price'
      'media quantity price'
      'media error error';
    column-gap: var(--gap-md);
    align-items: start;
    padding-bottom: var(--cart-items-gap);
    margin-bottom: var(--margin-lg);
  }

  .cart-items__details {
    grid-area: details;
    min-width: 0;
    color: rgb(var(--color-foreground-rgb) / var(--opacity-70));
  }

  .cart-items__product-info {
    min-width: 0;
  }

  /* Cart drawer: separate grid areas for variants and unit price */
  .cart-items__table-row--full-width-variants {
    grid-template-columns: clamp(2.5rem, 15cqi, 7.5rem) minmax(0, 1fr) auto;
    grid-template-rows: repeat(4, min-content) 1fr;
    grid-template-areas:
      'media details price'
      'media variants variants'
      'media unit_price unit_price'
      'media quantity quantity'
      'media error error';

    .cart-items__details {
      display: contents;
    }

    .cart-items__product-info {
      grid-area: details;
    }

    .cart-items__variants-wrapper {
      grid-area: variants;

      &:empty {
        display: none;
      }

      p {
        margin: 0;
      }
    }

    .cart-items__unit-price-wrapper {
      grid-area: unit_price;
      font-size: var(--font-size--sm);
    }

    .cart-items__price {
      min-width: auto;
      width: max-content;
    }
  }

  .cart-items__table-row.cart-items__nested-line td:first-child {
    width: 60%;
    justify-self: right;
  }

  html:active-view-transition-type(page-navigation) .cart-items__table-row {
    /* stylelint-disable-next-line declaration-no-important */
    view-transition-name: none !important;
  }

  .cart-items__table-row.removing {
    overflow: hidden;
    animation: removeRow calc(var(--animation-speed) * 2) var(--animation-easing) forwards;
    animation-delay: var(--animation-speed);
  }

  @keyframes removeRow {
    0% {
      height: var(--row-height);
    }

    100% {
      opacity: 0;
      height: 0;
      padding-bottom: 0;
      margin-bottom: 0;
      border-color: transparent;
    }
  }

  .cart-items__table-row.adding {
    interpolate-size: allow-keywords;
    overflow: hidden;
    animation: addRow calc(var(--animation-speed) * 2) var(--animation-easing) forwards;
  }

  @keyframes addRow {
    0% {
      opacity: 0;
      height: 0;
      padding-bottom: 0;
      margin-bottom: 0;
      border-color: transparent;
    }

    100% {
      opacity: 1;
      height: auto;
    }
  }

  .cart-items__table-row:last-child {
    padding-bottom: 0;
  }

  .cart-items--dividers .cart-items__table-row {
    border-bottom: 1px solid rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
    margin-bottom: var(--cart-items-gap);
  }

  .cart-items--dividers .cart-items__table-row:has(+ .cart-items__nested-line) {
    border-bottom: none;
    margin-bottom: 0;
  }

  .cart-items--dividers .cart-items__table-row:last-of-type {
    border-block-end: none;
    padding-block-end: 0;
    margin-bottom: 0;
  }

  .cart-items__details > * + *,
  .cart-items__bundle li {
    margin-block-start: var(--margin-3xs);
  }

  .cart-items__details * {
    font-size: var(--font-size--sm);
  }

  .cart-items__details a {
    text-decoration: none;
  }

  .cart-items__title-row {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-xs);
    max-width: 100%;
    min-width: 0;
  }

  .cart-items__title {
    font-size: var(--font-size--md);
    color: var(--color-foreground);
    text-transform: var(--product-title-case);
    display: block;
    margin-block-start: 0;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .cart-items__variants {
    display: block;
  }

  .cart-items__variant {
    display: inline;
  }

  .cart-items__variant dt,
  .cart-items__variant dd {
    display: inline;
    margin: 0;
  }

  .cart-items__quantity {
    grid-area: quantity;
    margin-block-start: var(--margin-xs);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--gap-xs);
    width: fit-content;
  }

  .cart-items__quantity-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--gap-xs);
    width: fit-content;
  }

  .cart-items__quantity-controls > .volume-pricing-info {
    margin-inline-start: calc(-1 * var(--minimum-touch-target) - var(--gap-xs));
  }

  .cart-items__quantity .quantity-selector {
    display: inline-flex;
    font-size: var(--font-size--sm);
    height: auto;
  }

  .cart-items__remove {
    background-color: transparent;
    color: var(--color-foreground);
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    justify-content: center;
    box-shadow: none;
    padding: 0;
  }

  .cart-items__media {
    grid-area: media;
    padding: 0;
  }

  .cart-items__price {
    grid-area: price;
    min-height: unset;
    min-width: var(--cart-item-price-width);
    text-align: end;
    display: block;
    font-size: var(--font-size--sm);
    line-height: var(--line-height);
  }

  .cart-items__price-unit {
    font-size: var(--font-size--xs);
    padding-block-start: var(--padding-2xs);
  }

  .cart-items__media-container {
    display: flex;
    aspect-ratio: var(--ratio);
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .cart-items__media-image {
    aspect-ratio: inherit;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: auto;
  }

  .cart-items__empty-button {
    margin-top: var(--margin-md);
    margin-inline: auto;
    padding-inline: var(--padding-4xl);
    padding-block: var(--padding-lg);
  }

  /*
   * Secondary continue-shopping link shown alongside a non-empty cart.
   * Deliberately quiet (no button chrome) so the checkout button in
   * cart-summary stays the one primary, unmissable action.
   */
  .cart-items__continue-shopping {
    display: inline-block;
    margin-top: var(--margin-md);
    font-size: var(--font-size--sm);
    text-decoration: none;
    color: rgb(var(--color-foreground-rgb) / var(--opacity-60));
  }

  .cart-items__continue-shopping:hover {
    color: rgb(var(--color-foreground-rgb) / var(--opacity-90));
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* Error message */
  .cart-items__error {
    display: flex;
    align-items: flex-start;
    width: 100%;
    grid-area: error;
    margin-block-start: var(--margin-xs);
    opacity: 1;
    overflow: hidden;
    transform: translateY(0);
    transition: opacity var(--drawer-animation-speed) var(--animation-easing),
      transform var(--drawer-animation-speed) var(--animation-easing);

    @starting-style {
      opacity: 0;
      transform: translateY(-0.5rem);
    }
  }

  .cart-item__error {
    display: flex;
    align-items: flex-start;
    width: 100%;
    font-size: var(--font-size--sm);
    padding-block: var(--padding-2xs);
  }

  /* QUANTITY MESSAGE [ours] — the quantity-rule message uses this same
     full-width row, styled like the product page's own
     .quantity-selector__error (xs size, error red, no icon). */
  .cart-items__error--quantity .svg-wrapper {
    display: none;
  }

  .cart-items__error--quantity .cart-item__error,
  .cart-items__error--quantity .cart-item__error-text {
    font-size: var(--font-size--xs);
    line-height: 1.3;
    color: var(--color-error, #d33);
  }

  .cart-item__error .svg-wrapper {
    flex-shrink: 0;
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
    margin-inline: var(--margin-3xs) var(--margin-xs);
    margin-block-start: var(--margin-3xs);
  }

  @container cart-items (min-width: 720px) {
    /* Cart page: original layout */
    .cart-items__table-row {
      --cart-item-price-width: 6rem;

      grid-template-columns: 7.5rem 1fr 1fr minmax(var(--cart-item-price-width), auto);
      grid-template-rows: min-content 1fr;
      grid-template-areas:
        'media details quantity price'
        'media details error error';
    }

    .cart-items__quantity,
    .cart-items__price {
      grid-area: initial;
    }

    .cart-items__quantity {
      margin-top: 0;
    }

    .cart-items__price {
      min-height: var(--minimum-touch-target);
      display: flex;
      flex-direction: column;
      align-items: flex-end;
    }

    /* Cart drawer: separate areas for variants and unit price */
    .cart-items__table-row--full-width-variants {
      grid-template-rows: min-content min-content min-content 1fr;
      grid-template-areas:
        'media details quantity price'
        'media variants variants variants'
        'media unit_price unit_price unit_price'
        'media error error error';

      .cart-items__quantity,
      .cart-items__price {
        grid-area: initial;
      }
    }
  }

  .cart__subtotal-container,
  .cart__total-container {
    display: flex;
    flex-direction: column;
  }

  .cart__total-container {
    row-gap: var(--gap-2xs);

    &.cart__total-container--has-installments {
      row-gap: var(--gap-xs);
    }
  }

  .cart__subtotal-container:empty {
    display: none;
  }

  .cart__summary-totals {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xl);
    width: 100%;
    border-block-start: none;

    &:has(> :first-child:not(.cart__subtotal-container, .cart__total-container)) {
      padding-block-start: 0;
      border-block-start: none;
    }

    @media screen and (min-width: 750px) {
      padding-block-start: 0;
    }
  }

  .cart__subtotal-container,
  .cart__subtotal-container * {
    font-size: var(--font-size--sm);
  }

  .cart__total {
    font-weight: var(--font-weight-bold);
  }

  .cart__total-label {
    font-size: var(--font-size--sm);
  }

  .cart__total-value {
    font-size: var(--font-size--xl);

    @media screen and (max-width: 749px) {
      font-size: var(--font-size--lg);
    }
  }

  .cart__ctas {
    width: 100%;
    display: grid;
    gap: var(--checkout-button-gap);
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }

  .cart__additional-checkout-buttons {
    width: 100%;
  }

  shopify-accelerated-checkout-cart {
    --shopify-accelerated-checkout-inline-alignment: center;
    --shopify-accelerated-checkout-button-border-radius: var(--style-border-radius-buttons-primary);
    --shopify-accelerated-checkout-button-block-size: var(--height-buy-buttons);
    --shopify-accelerated-checkout-row-gap: var(--checkout-button-gap, 10px);
  }

  /* Remove animation */
  .remove-icon-bottom,
  .remove-icon-top {
    transition: transform var(--animation-speed) var(--animation-easing);
  }

  .cart-items__remove:hover .remove-icon-top {
    transform: translate(calc(-1 * var(--icon-stroke-width)), var(--icon-stroke-width)) rotate(-15deg);
  }

  .cart-items__remove:is(:hover, :active) .remove-icon-bottom {
    transform: translateY(var(--icon-stroke-width));
  }

  .cart-items__table-row.removing .remove-icon-bottom {
    transform: translateY(0);
  }

  .cart-items__table-row.removing .remove-icon-top {
    animation: removeButtonClickedIconTop var(--animation-speed) var(--animation-easing) forwards;
  }

  @keyframes removeButtonClickedIconTop {
    50% {
      transform: translate(0, calc(-1 * var(--icon-stroke-width)));
    }

    100% {
      transform: translate(0, 0);
    }
  }

  .cart-items__properties {
    display: block;
    margin-block-start: var(--margin-2xs);
  }

  .cart-items__property {
    display: block;
  }

  .cart-items__properties dt,
  .cart-items__properties dd {
    display: inline;
    margin: 0;
    overflow-wrap: break-word;
  }

  /* QTY WIDTH [ours, 2026-09-29] — Horizon's 105px (desktop) / 124px
     (mobile) selector left the number input 17-36px wide, clipping 2-digit
     values ("80" -> "8("); this site orders in multiples of 20 up to 4
     digits. Widened so 4 digits fit; pill, buttons and step untouched. The
     input fills the space between the buttons (flex 1, min-width 0). */
  .cart-items .quantity-selector {
    --quantity-selector-width: 156px;

    width: var(--quantity-selector-width);
  }

  .cart-items .quantity-selector input[type='number'] {
    flex: 1 1 0;
    min-width: 0;
    width: 0;
    padding-inline: 0;
  }

  @media screen and (min-width: 750px) {
    .cart-items .quantity-selector {
      --quantity-selector-width: 136px;
      height: var(--button-size-md);
      width: var(--quantity-selector-width);
    }

    .cart-items .quantity-selector button {
      width: var(--button-size-md);
      height: var(--button-size-md);
    }

    .cart-items .quantity-selector input {
      max-width: calc(var(--quantity-selector-width) - var(--button-size-md) * 2);
    }
  }

  @media screen and (prefers-reduced-motion: no-preference) {
    html:active-view-transition-type(empty-cart-drawer) {
      .cart-items__empty-button,
      .cart__checkout-button {
        view-transition-name: cart-drawer-primary-action;

        & > .button-text {
          view-transition-name: cart-drawer-primary-action-text;
        }
      }
    }
  }

  ::view-transition-old(cart-drawer-primary-action-text),
  ::view-transition-new(cart-drawer-primary-action-text) {
    height: 100%;
    object-fit: none;
    overflow: clip;
    overflow-clip-margin: 1em;
  }

  ::view-transition-old(cart-drawer-primary-action-text) {
    animation: cart-drawer-primary-action-text var(--animation-speed) var(--animation-easing) reverse forwards;
  }
  ::view-transition-new(cart-drawer-primary-action-text) {
    animation: cart-drawer-primary-action-text var(--animation-speed) var(--animation-easing) forwards;
  }

  ::view-transition-old(cart-drawer-primary-action),
  ::view-transition-new(cart-drawer-primary-action) {
    height: 100%;
  }

  ::view-transition-group(cart-drawer-primary-action-text),
  ::view-transition-group(cart-drawer-primary-action) {
    animation-duration: var(--spring-d300-b0-duration);
    animation-timing-function: var(--spring-d300-b0-easing);
  }

  @keyframes cart-drawer-primary-action-text {
    from {
      filter: blur(3px);
      opacity: 0;
    }
    to {
      filter: none;
      opacity: 1;
    }
  }

  /*
   * TAP TARGET, MOBILE [ours] — mobile-audit/findings.csv: the empty-
   * cart message's own log-in link (`actions.log_in_html`, above — a
   * plain, unstyled `<a>`, no class of its own) measured 23.8x15-16px,
   * under 44 tall. No visible background/border to disturb — the same
   * centered, unstyled `::after` technique as this run's other plain
   * links, scoped to this exact paragraph (`.cart-items__wrapper` is
   * this file's own wrapper, above; the empty-state `<p>` inside it is
   * unique to this block) so nothing else sharing that generic locale
   * string elsewhere in the theme is touched.
   */
  @media screen and (max-width: 749px) {
    .cart-items__wrapper p a {
      position: relative;
    }

    .cart-items__wrapper p a::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 44px;
    }
  }
/* END_SNIPPET:cart-products */

/* START_SNIPPET:cart-summary (INDEX:171) */
.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-block: 1px solid rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
    padding-block: 0;
    margin-block-start: var(--margin-3xs);
  }

  .cart-actions__divider {
    border-block-start: 1px solid rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
  }

  .cart-totals:not(:has(.cart-actions)) {
    margin-block-start: var(--margin-3xs);
    border-block-start: 1px solid rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
    padding-block-start: var(--margin-xl);
  }

  .cart-totals__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cart-totals__tax-note {
    color: var(--color-foreground-subdued);
  }

  .cart-totals__tax-note a {
    color: var(--color-foreground-subdued);
    text-decoration-line: underline;
    text-decoration-color: currentColor;

    &:hover {
      text-decoration-color: transparent;
    }
  }

  .cart-totals__tax-note small {
    font-size: var(--font-size--2xs);
  }

  .cart-discounts {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .cart-discounts__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cart-discounts__label {
    display: flex;
    align-items: center;
    gap: var(--gap-2xs);
  }

  .cart-discounts__label svg {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    display: inline-block;
  }

  .cart-totals__original-container,
  .cart-totals__container {
    display: flex;
    flex-direction: column;
  }

  .cart-totals__container {
    row-gap: var(--gap-2xs);

    &.cart-totals__container--has-installments {
      row-gap: var(--gap-xs);
    }
  }

  .cart-totals__original-container:empty {
    display: none;
  }

  .cart-totals {
    display: flex;
    flex-direction: column;
    gap: var(--gap-xl);
    width: 100%;
    border-block-start: none;

    &:has(> :first-child:not(.cart-totals__original-container, .cart-totals__container)) {
      padding-block-start: 0;
      border-block-start: none;
    }

    @media screen and (min-width: 750px) {
      padding-block-start: 0;
    }
  }

  .cart-totals__original-container,
  .cart-totals__original-container * {
    font-size: var(--cart-font-size--sm);
  }

  .cart-totals__total {
    align-items: baseline;
    font-weight: var(--font-weight-bold);
  }

  .cart-totals__total-label {
    font-size: var(--cart-font-size--sm);
  }

  .cart-totals__total-value {
    font-size: var(--cart-font-size--xl);

    @media screen and (max-width: 749px) {
      font-size: var(--font-size--lg);
    }
  }

  .cart-totals__installments {
    color: var(--color-foreground);
    font-size: var(--font-size--2xs);
  }

  .cart-note {
    width: 100%;
  }

  @starting-style {
    .cart-note[open-by-default-on-desktop][open-by-default-on-mobile] .details-content {
      block-size: auto;
      opacity: 1;
      overflow-y: visible;
    }
  }

  .cart-note__inner {
    padding-block: var(--padding-2xs) var(--padding-sm);
  }

  .cart-note__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cart-note__summary:hover {
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
  }

  .cart-note__label {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-2xs);
    font-size: var(--font-size--2xs);
    font-weight: 500;
  }

  .cart-note__instructions {
    color: var(--color-input-text);
    background-color: var(--color-input-background);
    border-width: var(--style-border-width-inputs);
    border-color: var(--color-input-border);
    transition: box-shadow var(--animation-speed) ease;
    box-shadow: var(--input-box-shadow);
    min-height: 5.5rem;
    min-width: 100%;
    max-width: 100%;
    font-size: var(--font-size--sm);
    padding: max(4px, calc(var(--style-border-radius-inputs) * (1 - cos(45deg))));
  }

  .cart-totals__icon {
    height: var(--icon-size-xs);
    width: var(--icon-size-xs);
    margin: 0;
  }

  .cart__ctas {
    width: 100%;
    display: grid;
    gap: var(--checkout-button-gap);
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }

  .cart__ctas .cart__checkout-button {
    width: 100%;
    height: clamp(25px, var(--height-buy-buttons), 55px);
    padding-inline: var(--padding-4xl);
  }

  .cart-drawer__summary .cart-totals:not(:has(.cart-totals__original-container:empty)) {
    border-block-start: var(--style-border-width) solid rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
    padding-block-start: var(--padding-2xl);
  }

  .cart-drawer__summary .cart-note {
    @media screen and (min-width: 750px) {
      margin-block-start: var(--margin-3xs);
    }
  }

  .cart-discount__input {
    background-color: var(--color-input-background);
    color: var(--color-input-text);
    border-width: var(--style-border-width-inputs);
    border-color: var(--color-input-border);
    border-style: solid;
    border-radius: var(--style-border-radius-inputs);
    padding: var(--padding-sm) var(--padding-md);
    height: 100%;
    flex-grow: 1;
    min-width: 0;
    font-size: var(--font-size--sm);
  }

  .cart-discount__input::placeholder {
    color: rgb(var(--color-input-text-rgb) / var(--opacity-subdued-text));
  }

  .cart-discount__pill-code {
    overflow: hidden;
    max-width: 100px;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
  }

  .cart-discount {
    width: 100%;
  }

  .cart-discount__codes {
    display: none;
    gap: var(--padding-xs);
    flex-wrap: wrap;
    list-style: none;
    padding-inline: 0;
    margin: 0;
  }

  .cart-discount__codes:has(.cart-discount__pill) {
    display: flex;
  }

  .cart-discount__button {
    height: 100%;
  }

  .cart-discount__content {
    height: calc(var(--button-size) + var(--padding-2xs) + var(--padding-sm));
  }

  .cart-discount__pill {
    display: flex;
    color: var(--color-foreground);
    gap: var(--padding-xs);
    align-items: center;
    padding: var(--padding-xs) var(--padding-sm);
    border-radius: var(--style-border-radius-pills);
    background-color: var(--color-input-background);
    text-transform: uppercase;
  }

  .cart-discount__form {
    display: flex;
    gap: var(--padding-md);
    align-items: center;
    height: 100%;
    padding-block: var(--padding-2xs) var(--padding-sm);
  }

  :is(.cart-discount__pill-remove, .cart-discount__pill-remove:hover) {
    --close-icon-opacity: 0.4;

    color: var(--color-foreground);
    background-color: transparent;
    pointer-events: all;
    cursor: pointer;
    height: 100%;
  }

  .cart-discount__error {
    display: flex;
    align-items: center;
    width: 100%;
    padding-block: var(--padding-2xs) var(--padding-sm);
  }

  .cart-discount__error .svg-wrapper {
    flex-shrink: 0;
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
    margin-inline: var(--margin-3xs) var(--margin-xs);
  }

  .cart-discount__error-text {
    margin-block-start: var(--margin-3xs);
  }

  .cart-discount__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cart-discount__summary:hover {
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
  }

  .cart-discount__label {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-2xs);
    font-size: var(--font-size--2xs);
    font-weight: 500;
  }

  @media screen and (min-width: 750px) {
    .cart-summary--extend {
      height: 100%;
    }
  }
/* END_SNIPPET:cart-summary */

/* START_SNIPPET:cart-typography-styles (INDEX:172) */
.cart-primary-typography {
    font-family: var(--cart-primary-font-family);
    font-style: var(--cart-primary-font-style);
    font-weight: var(--cart-primary-font-weight);
  }

  .cart-secondary-typography {
    font-family: var(--cart-secondary-font-family);
    font-style: var(--cart-secondary-font-style);
    font-weight: var(--cart-secondary-font-weight);
  }
/* END_SNIPPET:cart-typography-styles */

/* START_SNIPPET:chat-drawer (INDEX:173) */
/* Pin the chat's mobile/desktop boundary so the theme and the chat agree
     on where standalone mode kicks in. Must stay in sync with the @media
     query below — @shopify/storefront-components reads this value once at
     init and uses it to decide when to force standalone mode. */
  shopify-chat {
    --shopify-chat-breakpoint: 768px;
  }

  shopify-chat[mode='managed'] {
    position: static;
    height: 100%;
  }

  .theme-drawer__dialog:has(shopify-chat[mode='standalone'][open]) {
    z-index: calc(var(--layer-menu-drawer) + 1);
  }

  /* Keep the panel rendered while closed so <shopify-chat>'s position-fixed
     "Ask anything" launcher stays visible. */
  .theme-drawer__dialog.chat-drawer:has(shopify-chat:defined) {
    display: flex;
  }
/* END_SNIPPET:chat-drawer */

/* START_SNIPPET:checkbox-styles (INDEX:174) */
.checkbox {
    --checkbox-path-opacity: 0;
    --checkbox-cursor: pointer;

    position: relative;
    display: flex;
    align-items: center;

    &.checkbox--disabled {
      --checkbox-cursor: not-allowed;
    }
  }

  .checkbox:has(.checkbox__input:checked) {
    --checkbox-path-opacity: 1;
  }

  .checkbox__input {
    position: absolute;
    opacity: 0;
    margin: 0;
    padding: 0;
    width: var(--checkbox-size);
    height: var(--checkbox-size);
    aspect-ratio: unset;
    border: none;
    border-radius: 0;
    background: transparent;
    appearance: auto;
    display: block;
    cursor: pointer;

    /* Outline is on the SVG instead, to allow it to have border-radius */
    &:focus-visible {
      outline: none;
    }
  }

  .checkbox__label {
    position: relative;
    display: inline-flex;
    cursor: var(--checkbox-cursor);
    line-height: var(--checkbox-size);
    min-width: var(--minimum-touch-target);
  }

  .checkbox .icon-checkmark {
    height: var(--checkbox-size);
    width: var(--checkbox-size);
    flex-shrink: 0;
    border: var(--checkbox-border);
    border-radius: var(--checkbox-border-radius);
    background-color: var(--color-background);
  }

  .checkbox__input:focus-visible + .checkbox__label .icon-checkmark {
    outline: var(--focus-outline-width) solid currentcolor;
    outline-offset: var(--focus-outline-offset);
  }

  .checkbox__input:checked + .checkbox__label .icon-checkmark {
    background-color: var(--color-foreground);
    border-color: var(--color-foreground);
  }

  .checkbox__input:disabled + .checkbox__label .icon-checkmark {
    background-color: var(--input-disabled-background-color);
    border-color: var(--input-disabled-border-color);
  }

  .checkbox__label-text {
    padding-inline-start: var(--checkbox-label-padding);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .checkbox .icon-checkmark path {
    stroke: var(--color-background);
    opacity: var(--checkbox-path-opacity);
    transition: opacity var(--animation-speed) var(--animation-easing);
  }

  .checkbox__input:disabled + .checkbox__label {
    color: var(--input-disabled-text-color);
  }
/* END_SNIPPET:checkbox-styles */

/* START_SNIPPET:collection-card (INDEX:176) */
.collection-card {
    --fixed-card-height: var(--height-small);

    width: 100%;
    position: relative;
    height: 100%;
    flex: 1 1 var(--card-width-small);
  }

  .collection-card > svg {
    height: 100%;
    width: 100%;
    aspect-ratio: var(--ratio);
  }

  .collection-card--image-bg .collection-card__inner {
    height: 100%;
  }

  .collection-card__link {
    position: absolute;
    inset: 0;

    /* allows focus outline to have radius in supported browsers */
    border-radius: var(--border-radius);
  }

  .collection-card__inner {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: var(--layer-flat);
    pointer-events: none;
    gap: var(--gap);

    a,
    button {
      pointer-events: auto;
    }
  }

  /* allow all blocks to be selectable in editor preview */
  .shopify-design-mode .collection-card__content * {
    pointer-events: auto;
  }

  .collection-card__content {
    --flex-wrap: wrap;

    display: flex;
    position: relative;
    height: 100%;
    width: 100%;
    max-width: 100%;
    gap: var(--gap);
  }

  /* Nested image block rules */

  .collection-card.collection-card--image-bg {
    aspect-ratio: var(--ratio);
  }

  .collection-card.collection-card--image-bg .collection-card__content {
    padding: var(--padding-lg);
  }

  .collection-card--image-height-fixed {
    height: 100%;
  }

  /* Bento layout rules */
  .collection-card--image-height-fixed .collection-card__image {
    height: var(--fixed-card-height);
    width: 100%;
  }

  .collection-card--image-height-fixed.collection-card--image-bg {
    height: var(--fixed-card-height);
    aspect-ratio: unset;
  }

  .collection-card__image .resource-image__image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
  }

  .collection-card--image-bg .collection-card__image {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .collection-card__image svg {
    height: 100%;
    width: 100%;
  }

  /* Editorial layout */
  .resource-list:not(.hidden--desktop) .collection-card--flexible-aspect-ratio {
    .collection-card__image {
      aspect-ratio: 99;
      height: 100%;
    }

    .collection-card__inner {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .collection-card__content {
      flex-shrink: 0;
    }

    &:not(.collection-card--image-bg) .collection-card__content {
      height: auto;
    }

    &.collection-card.collection-card--image-bg,
    &.collection-card .placeholder-svg {
      aspect-ratio: 99;
    }
  }
/* END_SNIPPET:collection-card */

/* START_SNIPPET:collection-wrapper-styles (INDEX:177) */
/* ------------------------------------------------------------------------------ */

  /* Collection Wrapper - Shared layout CSS for collection and search pages */

  /* ------------------------------------------------------------------------------ */

  .collection-wrapper {
    @media screen and (min-width: 750px) {
      --facets-vertical-col-width: 6;

      grid-template-columns:
        1fr repeat(
          var(--centered-column-number),
          minmax(0, calc((var(--page-width) - var(--page-margin) * 2) / var(--centered-column-number)))
        )
        1fr;
    }

    @media screen and (min-width: 990px) {
      --facets-vertical-col-width: 5;
    }
  }

  .collection-wrapper:has(.facets-block-wrapper--full-width),
  .collection-wrapper:has(.collection-wrapper--full-width) {
    @media screen and (min-width: 750px) {
      grid-column: 1 / -1;
      grid-template-columns:
        minmax(var(--page-margin), 1fr) repeat(
          var(--centered-column-number),
          minmax(0, calc((var(--page-width) - var(--page-margin) * 2) / var(--centered-column-number)))
        )
        minmax(var(--page-margin), 1fr);
    }
  }

  .collection-wrapper:has(.facets--vertical) .facets-block-wrapper--vertical:not(.hidden) ~ .main-collection-grid {
    @media screen and (min-width: 750px) {
      grid-column: var(--facets-vertical-col-width) / var(--full-width-column-number);
    }
  }

  .collection-wrapper:has(.facets-block-wrapper--vertical:not(#filters-drawer)):has(.collection-wrapper--full-width) {
    @media screen and (min-width: 750px) {
      grid-column: 1 / -1;
      grid-template-columns: 0fr repeat(var(--centered-column-number), minmax(0, 1fr)) 0fr;
    }
  }

  :is(.collection-wrapper--full-width, .collection-wrapper--full-width-on-mobile)
    [product-grid-view='default']
    .product-grid__card {
    @media screen and (max-width: 749px) {
      padding-inline-start: max(var(--padding-xs), var(--padding-inline-start));
      padding-inline-end: max(var(--padding-xs), var(--padding-inline-end));
    }
  }

  :is(.collection-wrapper--full-width, .collection-wrapper--full-width-on-mobile)
    [product-grid-view='mobile-single']
    .product-grid__card {
    @media screen and (max-width: 749px) {
      padding-inline-start: max(var(--padding-xs), var(--padding-inline-start));
      padding-inline-end: max(var(--padding-xs), var(--padding-inline-end));
    }
  }

  /* Make product media go edge-to-edge by using negative margins */
  :is(.collection-wrapper--full-width) .card-gallery,
  :is(.collection-wrapper--full-width-on-mobile) .card-gallery {
    @media screen and (max-width: 749px) {
      margin-inline-start: calc(-1 * max(var(--padding-xs), var(--padding-inline-start)));
      margin-inline-end: calc(-1 * max(var(--padding-xs), var(--padding-inline-end)));
    }
  }

  .collection-wrapper--full-width .main-collection-grid__title {
    margin-left: var(--page-margin);
  }

  .collection-wrapper--full-width-on-mobile .main-collection-grid__title {
    @media screen and (max-width: 749px) {
      margin-left: var(--page-margin);
    }
  }

  .collection-wrapper--grid-full-width .facets--vertical:not(.facets--drawer) {
    @media screen and (min-width: 750px) {
      padding-inline-start: max(var(--padding-sm), var(--padding-inline-start));
    }
  }

  .collection-wrapper:has(.product-grid-mobile--large) .facets-mobile-wrapper.facets-controls-wrapper {
    @media screen and (max-width: 749px) {
      display: none;
    }
  }

  .collection-wrapper:has(> .facets--horizontal) .facets__panel[open] {
    @media screen and (min-width: 750px) {
      z-index: var(--facets-open-z-index);
    }
  }
/* END_SNIPPET:collection-wrapper-styles */

/* START_SNIPPET:deferred-media-product-model-styles (INDEX:181) */
.product-media {
    aspect-ratio: var(--gallery-aspect-ratio, var(--ratio));
    min-height: 0;
    min-width: 0;
  }

  .product-media__image {
    object-position: var(--focal-point, center center);
  }

  /*** Media border-radius feature ****/
  @media screen and (min-width: 750px) {
    .media-gallery--carousel slideshow-container,
    .media-gallery--grid .product-media > * {
      border-radius: var(--media-radius, 0);
      overflow: hidden;
    }

    /* When the CAROUSEL is on the LEFT side */
    .product-information:not(.product-information--media-right)
      .media-gallery--carousel.media-gallery--extend
      slideshow-container {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }

    /* When the CAROUSEL is on the RIGHT side */
    .product-information.product-information--media-right
      .media-gallery--carousel.media-gallery--extend
      slideshow-container {
      border-top-right-radius: 0;
      border-bottom-right-radius: 0;
    }

    /* When the GRID is on the LEFT side */
    .product-information:not(.product-information--media-right) {
      /* One column */
      .media-gallery--grid.media-gallery--extend:not(.media-gallery--two-column) .product-media > *,
      /* Two column, small first image */
      .media-gallery--grid.media-gallery--extend.media-gallery--two-column:not(.media-gallery--large-first-image)
        .product-media-container:nth-of-type(odd)
        .product-media
        > *,
      /* Two column, large first image */
      .media-gallery--grid.media-gallery--extend.media-gallery--two-column.media-gallery--large-first-image
        .product-media-container:is(:first-of-type, :nth-of-type(even))
        .product-media
        > * {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
      }
    }

    /* When the GRID is on the RIGHT side */
    .product-information.product-information--media-right {
      /* One column */
      .media-gallery--grid.media-gallery--extend:not(.media-gallery--two-column) .product-media > *,
      /* Two column, small first image */
      .media-gallery--grid.media-gallery--extend.media-gallery--two-column:not(.media-gallery--large-first-image)
        .product-media-container:nth-of-type(even)
        .product-media
        > *,
      /* Two column, large first image */
      .media-gallery--grid.media-gallery--extend.media-gallery--two-column.media-gallery--large-first-image
        .product-media-container:is(:first-of-type, :nth-of-type(odd))
        .product-media
        > * {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
      }
    }
  }

  .product-media product-model {
    position: absolute;
  }

  .product-media-container--model {
    /* Usefull when view in your space is shown */
    flex-direction: column;
  }

  .shopify-model-viewer-ui__controls-area {
    bottom: calc(var(--minimum-touch-target) + var(--padding-sm));
  }

  /* If the product media is already providing an image cover, hide images provided by sibling product-model */
  .product-media__image ~ product-model .deferred-media__poster-image {
    display: none;
  }

  /* If the product model is playing, hide the preview image */
  .product-media-container:has(product-model .deferred-media__playing) .product-media__image {
    opacity: 0;
    transition: opacity var(--animation-speed) var(--animation-easing);
  }

  product-model {
    /* Height needed to make sure when it's set to be stretched, it takes the full height */
    height: 100%;
    width: 100%;
    position: relative;
  }

  /* Media that have a poster button sibling providing the size should be absolute-positioned.
  Otherwise, it should be a block to rely on its own size */
  product-model model-viewer,
  product-model > .deferred-media__poster-button ~ *:not(template) {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;

    /* Required to make sure the absolute position respects the padding of the wrapper: */
    padding: inherit;
  }

  product-model > .deferred-media__poster-button {
    width: 100%;
    height: 100%;
    aspect-ratio: var(--video-aspect-ratio, auto);
  }

  product-model > .deferred-media__poster-button.deferred-media__playing {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .button-shopify-xr {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--padding-md);
  }

  .button-shopify-xr > svg {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    margin-inline-end: var(--margin-md);
  }

  .button-shopify-xr[data-shopify-xr-hidden] {
    display: none;
  }

  product-model .deferred-media__poster-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  product-model .deferred-media__poster-icon svg {
    width: var(--button-size);
    height: var(--button-size);
    color: var(--color-white);
    filter: drop-shadow(var(--shadow-button));

    &:hover {
      color: rgb(var(--color-white-rgb) / var(--opacity-80));
    }

    @media screen and (min-width: 750px) {
      width: 4rem;
      height: 4rem;
    }
  }
/* END_SNIPPET:deferred-media-product-model-styles */

/* START_SNIPPET:deferred-media-video-styles (INDEX:182) */
.product-media deferred-media {
    position: absolute;
  }

  /* If the product media is already providing an image cover, hide images provided by sibling deferred-media */
  .product-media__image ~ deferred-media .deferred-media__poster-image {
    display: none;
  }

  /* If the product media video is playing, hide the preview image */
  .product-media-container:has(deferred-media .deferred-media__playing) .product-media__image {
    opacity: 0;
    transition: opacity var(--animation-speed) var(--animation-easing);
  }

  deferred-media {
    /* Height needed to make sure when it's set to be stretched, it takes the full height */
    height: 100%;
    width: 100%;
    position: relative;

    /* The overflow hidden in the deferred-media won't let the button show the focus ring */
    &:has(:focus-visible) {
      outline: var(--focus-outline-width) solid currentcolor;
      outline-offset: var(--focus-outline-offset);
    }

    @supports not selector(:focus-visible) {
      &:has(:focus) {
        outline: var(--focus-outline-width) solid currentcolor;
        outline-offset: var(--focus-outline-offset);
      }
    }
  }

  /* Media that have a poster button sibling providing the size should be absolute-positioned.
  Otherwise, it should be a block to rely on its own size */
  deferred-media > .deferred-media__poster-button ~ *:not(template) {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;

    /* Required to make sure the absolute position respects the padding of the wrapper: */
    padding: inherit;
  }

  deferred-media.border-style {
    /* Apply the border radius to the video */
    overflow: hidden;
  }

  deferred-media > .deferred-media__poster-button {
    width: 100%;
    height: 100%;
    aspect-ratio: var(--video-aspect-ratio, auto);
  }

  deferred-media > .deferred-media__poster-button.deferred-media__playing {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  deferred-media img {
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
  }

  deferred-media iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    aspect-ratio: var(--size-style-aspect-ratio, auto);
  }

  deferred-media[data-media-loaded] img {
    opacity: 0;
  }

  deferred-media .deferred-media__poster-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  deferred-media .deferred-media__poster-icon svg {
    width: var(--button-size);
    height: var(--button-size);
    color: var(--color-white);
    filter: drop-shadow(var(--shadow-button));

    &:hover {
      color: rgb(var(--color-white-rgb) / var(--opacity-80));
    }

    @media screen and (min-width: 750px) {
      width: 4rem;
      height: 4rem;
    }
  }

  deferred-media[class] :is(.deferred-media__poster-button img, .deferred-media__poster-button ~ video) {
    /* only apply this on the video block not product media */
    object-fit: cover;
    height: 100%;
    aspect-ratio: var(--size-style-aspect-ratio, auto);
  }

  .video-interaction-hint {
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: var(--layer-flat);
  }

  .video-interaction-hint:hover {
    opacity: 1;
  }
/* END_SNIPPET:deferred-media-video-styles */

/* START_SNIPPET:divider (INDEX:183) */
.divider {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: var(--divider-justify-content);
  }

  .divider__line {
    border-bottom: var(--divider-border-thickness) solid var(--color-border);
    border-right: var(--divider-border-thickness) solid var(--color-border);
    border-radius: calc(var(--style-border-radius-sm) * var(--divider-border-rounded));
    flex-basis: var(--divider-flex-basis);
    min-height: var(--divider-flex-basis);
  }
/* END_SNIPPET:divider */

/* START_SNIPPET:editorial-blog-grid (INDEX:184) */
.editorial-blog__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 1fr;
    gap: var(--gap-xl);

    .shopify-block {
      height: 100%;
    }
  }

  .editorial-blog__spacer {
    aspect-ratio: 1;
  }

  @media screen and (max-width: 749px) {
    .editorial-blog__grid {
      display: flex;
      flex-direction: column;
      gap: var(--gap-2xl);
    }

    .editorial-blog__spacer {
      display: none;
    }

    /* Mobile layout - also horizontally mirrored from collection grid */
    .editorial-blog__item-0 {
      width: 66%;
      align-self: flex-end; /* Originally flex-start, now flex-end */
    }

    .editorial-blog__item-1 {
      width: 83%;
      align-self: flex-start; /* Originally flex-end, now flex-start */
    }

    .editorial-blog__item-2 {
      width: 83%;
      align-self: flex-end; /* Originally flex-start, now flex-end */
    }

    .editorial-blog__item-3 {
      width: 100%;
      align-self: center; /* Stays centered */
    }
  }
/* END_SNIPPET:editorial-blog-grid */

/* START_SNIPPET:editorial-collection-grid (INDEX:185) */
.editorial-collection__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 1fr;
    gap: var(--gap-xl);

    .resource-list__item,
    .collection-card {
      height: 100%;
    }
  }

  .editorial-collection__spacer {
    aspect-ratio: 1;
  }

  @media screen and (max-width: 749px) {
    .editorial-collection__grid {
      display: flex;
      flex-direction: column;
      gap: var(--gap-2xl);
    }

    .editorial-collection__spacer {
      display: none;
    }

    .editorial-collection__item-0 {
      width: 66%;
      align-self: flex-start;
      aspect-ratio: 4 / 5;
    }

    .editorial-collection__item-1 {
      width: 83%;
      align-self: flex-end;
      aspect-ratio: 5 / 5;
    }

    .editorial-collection__item-2 {
      width: 83%;
      align-self: flex-start;
      aspect-ratio: 8 / 6;
    }

    .editorial-collection__item-3 {
      width: 100%;
      align-self: center;
      aspect-ratio: 8 / 6;
    }
  }
/* END_SNIPPET:editorial-collection-grid */

/* START_SNIPPET:editorial-product-grid (INDEX:186) */
.editorial-product__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 1fr;
    gap: var(--gap-xl);

    /* Make the aspect ratio super high on width, then increase the height of
     * slideshow containers until they fill all the available space */
    .card-gallery {
      /* stylelint-disable-next-line declaration-no-important */
      --gallery-aspect-ratio: 99 !important;
    }

    .card-gallery,
    slideshow-component,
    slideshow-container,
    slideshow-slides,
    .product-media__image {
      height: 100%;
    }

    /* Single-media cards skip the slideshow wrappers, so stretch the plain
     * media container directly to fill the editorial cell. The multi-media
     * container sits under slideshow-component and is unaffected. */
    .card-gallery > a > .product-media-container {
      height: 100%;
    }
  }

  .editorial-product__spacer {
    aspect-ratio: 1;
  }

  @media screen and (max-width: 749px) {
    .editorial-product__grid {
      display: flex;
      flex-direction: column;
      gap: var(--gap-2xl);
    }

    .editorial-product__spacer {
      display: none;
    }

    .editorial-product__item-0 {
      width: 83%;
      align-self: flex-start;
      aspect-ratio: 7 / 6;
    }

    .editorial-product__item-1 {
      width: 83%;
      align-self: flex-end;
      aspect-ratio: 4 / 5;
    }

    .editorial-product__item-2 {
      width: 66%;
      align-self: flex-start;
      aspect-ratio: 5 / 5;
    }

    .editorial-product__item-3 {
      width: 100%;
      aspect-ratio: 8 / 6;
    }
  }
/* END_SNIPPET:editorial-product-grid */

/* START_SNIPPET:filter-remove-buttons (INDEX:187) */
/* Facets - Remove buttons */
  .facets-remove {
    --variant-picker-swatch-width: 20px;
    --variant-picker-swatch-height: 20px;

    display: none;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--gap-xs);
    padding: 0 var(--drawer-padding);
    margin: 0;

    @media screen and (min-width: 750px) {
      --variant-picker-swatch-width: 16px;
      --variant-picker-swatch-height: 16px;

      gap: var(--gap-2xs);
    }
  }

  .facets-remove:has(facet-remove-component) {
    display: flex;
    margin-block-start: var(--margin-2xs);
    margin-block-end: var(--margin-md);
  }

  .facets:not(.facets--drawer) .facets-remove--mobile-and-vertical {
    @media screen and (min-width: 750px) {
      padding: 0;
    }
  }

  .facets--horizontal .facets-remove--mobile-and-vertical {
    @media screen and (min-width: 750px) {
      display: none;
    }
  }

  .facets-remove__pill {
    .svg-wrapper,
    .swatch {
      flex-shrink: 0;
    }
  }

  .facets--horizontal .facets-remove {
    @media screen and (min-width: 750px) {
      display: none;
    }
  }
/* END_SNIPPET:filter-remove-buttons */

/* START_SNIPPET:fly-to-cart-styles (INDEX:188) */
/* Fly to cart animation */
  fly-to-cart {
    --offset-y: 10px;

    position: fixed;
    width: var(--width, 40px);
    height: var(--height, 40px);
    left: 0;
    top: 0;
    z-index: calc(infinity);
    pointer-events: none;
    border-radius: var(--style-border-radius-buttons-primary);
    overflow: hidden;
    object-fit: cover;
    background-size: cover;
    background-position: center;
    opacity: 0;
    background-color: var(--color-foreground);
    translate: var(--start-x, 0) var(--start-y, 0);
    transform: translate(-50%, -50%);
    animation-name: travel-x, travel-y, travel-scale;
    animation-timing-function: var(--x-timing), var(--y-timing), var(--scale-timing);
    animation-duration: 0.6s;
    animation-composition: accumulate;
    animation-fill-mode: both;
  }

  fly-to-cart.fly-to-cart--main {
    --x-timing: cubic-bezier(0.7, -5, 0.98, 0.5);
    --y-timing: cubic-bezier(0.15, 0.57, 0.9, 1.05);
    --scale-timing: cubic-bezier(0.85, 0.05, 0.96, 1);
  }

  fly-to-cart.fly-to-cart--quick {
    --x-timing: cubic-bezier(0, -0.1, 1, 0.32);
    --y-timing: cubic-bezier(0, 0.92, 0.92, 1.04);
    --scale-timing: cubic-bezier(0.86, 0.08, 0.98, 0.98);

    animation-duration: 0.6s;
  }

  fly-to-cart.fly-to-cart--sticky {
    --x-timing: cubic-bezier(0.98, -0.8, 0.92, 0.5);
    --y-timing: cubic-bezier(0.14, 0.56, 0.92, 1.04);
    --scale-timing: cubic-bezier(0.86, 0.08, 0.98, 0.98);
    --radius: var(--style-border-radius-buttons-primary);

    @media screen and (max-width: 749px) {
      --x-timing: cubic-bezier(0.98, -0.1, 0.92, 0.5);
    }

    animation-duration: 0.8s;
  }

  @keyframes travel-scale {
    0% {
      opacity: var(--start-opacity, 1);
    }

    5% {
      opacity: 1;
    }

    100% {
      border-radius: 50%;
      opacity: 1;
      transform: translate(-50%, calc(-50% + var(--offset-y))) scale(0.25);
    }
  }

  @keyframes travel-x {
    to {
      translate: var(--travel-x, 0) 0;
    }
  }

  @keyframes travel-y {
    to {
      translate: 0 var(--travel-y, 0);
    }
  }
/* END_SNIPPET:fly-to-cart-styles */

/* START_SNIPPET:gift-card-recipient-form-styles (INDEX:193) */
.recipient-form {
    --options-border-radius: var(--variant-picker-button-radius);
    --options-border-width: var(--variant-picker-button-border-width);

    display: flex;
    flex-direction: column;
    color: var(--color, var(--color-foreground));
    padding-bottom: var(--padding-2xl);
  }

  .recipient-form__send-to {
    padding: 0;
    margin-block-end: var(--margin-xs);
  }

  .gift-card-form-option {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-sm);
    padding: 0;
    border: none;
  }

  .gift-card-form-option__button-label {
    display: flex;
    align-items: center;
    position: relative;
    padding-block: var(--padding-sm);
    padding-inline: var(--padding-lg);
    border: var(--style-border-width) solid var(--color-variant-border);
    border-radius: var(--options-border-radius);
    border-width: var(--options-border-width);
    overflow: clip;
    justify-content: center;
    min-width: auto;
    background-color: var(--color-variant-background);
    color: var(--color-variant-text);
    transition: background-color var(--animation-speed) var(--animation-easing),
      border-color var(--animation-speed) var(--animation-easing);

    &:hover {
      background-color: var(--color-variant-hover-background);
      border-color: var(--color-variant-hover-border);
      color: var(--color-variant-hover-text);
    }
  }

  .gift-card-form-option__button-label:has(:focus-visible) {
    --variant-picker-stroke-color: var(--color-foreground);

    border-color: var(--color-foreground);
    outline: var(--focus-outline-width) solid var(--color-foreground);
    outline-offset: var(--focus-outline-offset);
  }

  .gift-card-form-option__button-label:has(:checked) {
    color: var(--color-selected-variant-text);
    background-color: var(--color-selected-variant-background);
    border-color: var(--color-selected-variant-border);
    transition: background-color var(--animation-speed) var(--animation-easing),
      border-color var(--animation-speed) var(--animation-easing);

    &:hover {
      background-color: var(--color-selected-variant-hover-background);
      border-color: var(--color-selected-variant-hover-border);
      color: var(--color-selected-variant-hover-text);
    }
  }

  .gift-card-form-option__button-label input {
    position: absolute;
    inset: 0;
    opacity: 0;
    margin: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
  }

  .recipient-fields {
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
    transition: opacity 0.3s var(--animation-easing);
    padding-block-start: var(--padding-xl);
  }

  .recipient-fields[hidden] {
    display: none;
  }

  .field--send-on {
    display: flex;
    flex-direction: column;
  }

  .recipient-form__message {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--gap-sm);
    margin-top: var(--margin-sm);
  }

  .recipient-form-field-label {
    position: absolute;
    left: var(--padding-sm);
    bottom: var(--padding-sm);
    font-style: italic;
    color: var(--color-input-text);
  }

  .recipient-fields__textarea {
    min-height: 5.5rem;
    overflow-y: auto;

    /* Space for the character count */
    padding-bottom: calc(var(--padding-sm) * 3);
    scroll-padding-bottom: calc(var(--padding-sm) * 3);
  }

  .recipient-fields__input {
    flex-grow: 1;
    padding: var(--input-padding);
    background-color: var(--color-input-background);
    color: var(--color-input-text);
    text-align: left;
    font-size: var(--font-paragraph--size);
    border: var(--style-border-width-inputs) solid var(--color-input-border);
    border-radius: var(--style-border-radius-inputs);

    &:autofill {
      background-color: var(--color-input-background);
      color: var(--color-input-text);
    }

    &:is(:focus) {
      outline-color: var(--color-input-background);
    }
  }

  /* Date picker calendar icon
   * Safari doesn't show the icon and Firefox correctly applies the color from the input field.
   * Webkit browsers need the mask-image trick to use the correct icon color.
   */
  .field--send-on .recipient-fields__input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 24 24' %3E%3Cg%3E%3Cpath d='M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-image: none;
    background-color: currentColor;
    mask-type: match-source;
  }

  /* For Webkit browsers - text cursor for input area */
  .field--send-on .recipient-fields__input::-webkit-datetime-edit {
    cursor: text;
  }

  .field--send-on .recipient-fields__input::-webkit-datetime-edit-year-field,
  .field--send-on .recipient-fields__input::-webkit-datetime-edit-month-field,
  .field--send-on .recipient-fields__input::-webkit-datetime-edit-day-field {
    /* Override the disabled color */
    color: var(--color-input-text);
  }

  /* Fallback for other browsers */
  .field--send-on .recipient-fields__input {
    cursor: text;
  }

  /* For Firefox - entire field is clickable, so show pointer */
  @supports (-moz-appearance: none) {
    .field--send-on .recipient-fields__input {
      cursor: pointer;
    }
  }
/* END_SNIPPET:gift-card-recipient-form-styles */

/* START_SNIPPET:grid-density-controls (INDEX:195) */
.column-options-wrapper {
    --icon-offset: -3px;

    display: flex;
    gap: var(--gap-sm);
    min-width: fit-content;
    justify-content: flex-end;
    height: var(--minimum-touch-target);
    align-items: center;
    margin-right: var(--icon-offset);
  }

  .column-options-wrapper:only-child {
    margin-left: auto;
  }

  .facets__form-wrapper > .column-options-wrapper:first-child {
    margin-left: auto;
  }

  .facets .column-options-wrapper {
    display: none;

    @media screen and (min-width: 750px) {
      display: flex;
    }
  }

  .column-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-xs);
    margin: 0;
    padding: 0;
    border: none;

    @media screen and (min-width: 750px) {
      gap: var(--gap-2xs);
    }
  }

  .column-options__option {
    display: none;
    position: relative;
  }

  .column-options__option:has(.column-picker-mobile--single),
  .column-options__option:has(.column-picker-mobile--double) {
    @media screen and (max-width: 749px) {
      display: flex;
    }
  }

  .column-options__option:has(.column-picker--default),
  .column-options__option:has(.column-picker--zoom-out) {
    @media screen and (min-width: 750px) {
      display: flex;
    }
  }

  /* Override base rule for grid density controls - only when visible */
  .column-options-wrapper .column-options__option:has(input[type='radio']):has(.column-picker-mobile--single),
  .column-options-wrapper .column-options__option:has(input[type='radio']):has(.column-picker-mobile--double) {
    @media screen and (max-width: 749px) {
      display: flex;
    }
  }

  .column-options-wrapper .column-options__option:has(input[type='radio']):has(.column-picker--default),
  .column-options-wrapper .column-options__option:has(input[type='radio']):has(.column-picker--zoom-out) {
    @media screen and (min-width: 750px) {
      display: flex;
    }
  }

  .column-options__legend {
    padding: 0;
    margin: 0;
  }

  .column-options__option-input {
    /* this is a repeating pattern a bit with the variant picker buttons */

    /* remove the checkbox from the page flow */
    position: absolute;

    /* set the dimensions to match those of the label */
    inset: 0;

    /* hide it */
    opacity: 0;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    aspect-ratio: unset;
    border: none;
    border-radius: 0;
    background: transparent;
    appearance: auto;
    display: block;
    cursor: pointer;
  }

  .column-picker {
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-50));
    padding: var(--padding-2xs);
    border-radius: var(--style-border-radius-xs);
    transition: background-color var(--animation-speed) ease, color var(--animation-speed) ease;
  }

  .column-options__option:hover .column-picker {
    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-5));
  }

  .column-options__option-input:checked ~ .column-picker {
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)));
    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-5));
  }
/* END_SNIPPET:grid-density-controls */

/* START_SNIPPET:group (INDEX:196) */
.group-block__link {
    position: absolute;
    inset: 0;
  }

  .group-block__link ~ :is(.group-block-content, .group-block__media-wrapper) {
    pointer-events: none;

    :is(a, button, input, textarea, select) {
      pointer-events: auto;
    }
  }

  /* Needs the .group-block__link ~ to be specific enough to take effect. */
  .group-block__link ~ .group-block-content--design-mode {
    pointer-events: auto;
  }
/* END_SNIPPET:group */

/* START_SNIPPET:header-actions (INDEX:197) */
.header {
    --account-offset-top: calc(
      var(--header-group-height) + (var(--header-height) * var(--transparent-header-offset-boolean))
    );

    &[data-sticky-state='active'] {
      --account-offset-top: calc(var(--header-height) - 1px);
    }
  }

  .account-button {
    /* Remove the background color from the color scheme, we want to inherit the color of the header */
    background: transparent;
  }

  .account-button__icon,
  .account-button__text {
    color: var(--color-account-icon);
    transition: color var(--header-content-transition-timing);
    -webkit-font-smoothing: antialiased;
  }

  shopify-account {
    --shopify-account-font-heading: var(--font-heading--family);
    --shopify-account-font-heading-weight: var(--font-heading--weight);
    --shopify-account-font-body: var(--font-body--family);
    --shopify-account-font-body-weight: var(--font-body--weight);
    --shopify-account-radius-base: var(--style-border-radius-popover);
    --shopify-account-radius-button: var(--style-border-radius-buttons-primary);
    --shopify-account-radius-button-small: var(--style-border-radius-buttons-primary);
    --shopify-account-radius-input: var(--style-border-radius-buttons-primary);
    --shopify-account-color-background: var(--color-background);
    --shopify-account-color-text: var(--color-foreground);
    --shopify-account-color-accent: var(--color-primary-button-background);
    --shopify-account-color-accent-text: var(--color-primary-button-text);
    --shopify-account-dialog-position-top: var(--account-offset-top);

    &:not(:defined) {
      min-width: 44px;
      height: 44px;
      display: flex;
      justify-content: center;
      align-items: center;
      /* Match the line height of the other buttons */
      line-height: normal;
    }
  }

  .account-button__fallback {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--shopify-account-color-accent, #0a142f);
  }

  .account-button--text shopify-account {
    color: inherit;
  }

  .cart-actions summary {
    padding-inline: 0;
    padding-block: var(--padding-sm);
    line-height: 1.2;
    min-height: var(--minimum-touch-target);
  }

  header-actions {
    display: flex;

    @media screen and (max-width: 749px) {
      justify-self: flex-end;
    }
  }

  @media screen and (min-width: 750px) {
    .header-actions--text {
      gap: var(--gap-xl);
    }

    .header-actions__text-style {
      font-size: var(--header-actions-font-size);
      font-family: var(--header-actions-font-family);
      font-weight: var(--header-actions-font-weight);
      text-transform: var(--header-actions-text-case);
    }
  }

  #header-component[data-menu-style='drawer'] header-actions {
    justify-self: flex-end;
  }

  .header__column--right header-actions {
    margin-inline-start: calc(var(--gap-md) * -1);
  }

  .header-actions__cart-icon {
    --cart-bubble-size: 20px;
    --cart-bubble-top: 4.5px;
    --cart-bubble-right: 2.5px;

    position: relative;
  }

  .header-actions__cart-icon .cart-bubble {
    position: absolute;
    width: var(--cart-bubble-size, 20px);
    top: var(--cart-bubble-top);
    right: var(--cart-bubble-right);
  }

  @media screen and (min-width: 750px) {
    .header-actions__cart-icon--text.header-actions__cart-icon .cart-bubble {
      position: relative;
      top: 0;
    }
  }

  .header-actions__cart-icon .cart-bubble__text {
    font-family: var(--font-paragraph--family);
    font-weight: var(--font-paragraph--weight);
  }

  .header-actions__cart-icon.header-actions__cart-icon--has-cart svg {
    /* Create donut mask where the cart bubble sits */
    mask: radial-gradient(
      calc(var(--cart-bubble-size) + 2px) at calc(100% - var(--cart-bubble-right)) var(--cart-bubble-top),
      transparent 45.45%,
      #fff 45.45%,
      #fff 100%
    );
  }

  .cart-bubble.cart-bubble--animating .cart-bubble__background {
    animation: grow var(--animation-speed) var(--animation-easing);
  }

  .cart-bubble--animating .cart-bubble__text {
    --start-y: -1em;
    --start-opacity: 1;
    /* Set initial transform state before animation starts */
    transform: translate(0, var(--start-y, -1em));
    opacity: var(--start-opacity, 1);
    animation: move-and-fade var(--animation-speed) var(--animation-easing);
  }

  cart-icon:has(.cart-bubble__text-count:empty) {
    --cart-bubble-size: 10px;
    --cart-bubble-top: 9px;
    --cart-bubble-right: 9px;

    .svg-wrapper {
      --cart-bubble-top: 4px;
      --cart-bubble-right: 4px;
    }
  }

  @media screen and (min-width: 750px) {
    cart-icon.header-actions__cart-icon--text:has(.cart-bubble__text-count:empty) {
      --cart-bubble-right: 2.5px;
    }
  }

  .header-actions__text {
    display: flex;
    align-items: center;
  }

  @media screen and (min-width: 750px) {
    .header-actions__cart-icon--text {
      display: flex;
      align-items: center;
      gap: var(--gap-xs);
    }

    .header__column--right .header-actions--text {
      margin-inline-start: 0;
    }
  }

  /*
   * MOBILE LANGUAGE PICKER [ours] — see the doc comment above the render
   * call. Hidden by default (desktop keeps the existing `.dropdown-
   * localization` instance only); shown <=640px, matching this shop's
   * other mobile-only breakpoints (nils-store-shelf.liquid's compact bar,
   * nils-nav-glass.liquid). Font-size/panel-tint overrides below are the
   * two values genuinely different from the shared component's own
   * defaults (14px/white-tinted, tuned for the desktop instance) — every
   * other value (flag 18px, radius 8px, gap 6px, letter-spacing,
   * padding, colors, active dot) already matches the Framer source
   * because the shared component's own defaults already equal it
   * (mobile-audit/framer-language-picker-audit/REPORT.md).
   */
  .header-actions__lang-mobile {
    display: none;
  }

  @media screen and (max-width: 640px) {
    .header-actions__lang-mobile {
      display: flex;
      align-items: center;
    }

    .header-actions__lang-mobile .nils-lang-switcher2 {
      margin-block: 0;
    }

    .header-actions__lang-mobile .nils-lang-switcher2__trigger,
    .header-actions__lang-mobile .nils-lang-switcher2__item {
      font-size: 12px;
    }

    /* Framer source's measured mobile panel tint — black, not the
       desktop instance's white rgba(255,255,255,.25). */
    .header-actions__lang-mobile .nils-lang-switcher2__panel {
      background: rgba(0, 0, 0, 0.25);
    }
  }
/* END_SNIPPET:header-actions */

/* START_SNIPPET:header-drawer (INDEX:198) */
.header__icon--menu {
    position: initial;
  }

  .menu-drawer-container .header__icon--summary {
    color: var(--color-foreground);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--padding-lg);
  }

  .header__icon--summary .header-drawer-icon {
    margin: auto;
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }

  .menu-drawer__featured-content {
    z-index: var(--layer-base);
    container-type: inline-size;
  }

  .menu-drawer__featured-content--childlist {
    z-index: var(--layer-flat);
  }

  .menu-drawer__featured-content-list {
    display: flex;
    gap: 1em;
    overflow-x: auto;
    padding-block-end: var(--padding-lg);
  }

  .menu-drawer__featured-content-list-item {
    flex: 0 0 auto;
  }

  .menu-drawer__featured-content-list-item--product {
    width: 35cqi;
  }

  .menu-drawer__featured-content-list-item--collection img.resource-card__image {
    width: 80cqi;
  }

  .menu-drawer__featured-content-list-item:first-child {
    margin-inline-start: var(--margin-xl);
  }

  .menu-drawer__featured-content-list-item:last-child {
    margin-inline-end: var(--margin-xl);
  }

  .menu-drawer__navigation {
    padding: 0;

    @media screen and (min-width: 750px) {
      margin-top: var(--drawer-header-desktop-top);
    }
  }

  details:not(.menu-open) .header__icon--menu .header-drawer-icon--close {
    display: none;
  }

  details.menu-open .header__icon--menu .header-drawer-icon--close {
    @media screen and (min-width: 750px) {
      display: none;
    }
  }

  details.menu-open .header__icon--menu .header-drawer-icon--open {
    display: none;

    @media screen and (min-width: 750px) {
      display: flex;
    }
  }

  .menu-drawer {
    position: fixed;
    transform: translateX(-100%);
    visibility: hidden;
    height: var(--drawer-height);
    width: var(--drawer-width);
    max-width: var(--drawer-max-width);
    z-index: var(--layer-menu-drawer);
    left: 0;
    top: 0;
    padding: 0;
    background-color: var(--color-background);
    overflow: auto;
    display: flex;
    border-right: var(--style-border-drawer);
    flex-direction: column;

    @media screen and (min-width: 750px) {
      width: 25rem;
    }
  }

  /* When opening a submenu we don't want the first-level menu to be scrollable, so we reset the overflow  */
  .menu-drawer.menu-drawer--has-submenu-opened {
    overflow: initial;
  }

  .menu-drawer__backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    backdrop-filter: brightness(0.75);
    z-index: var(--layer-overlay);
    opacity: 0;
    transition: opacity var(--drawer-animation-speed) ease;

    /* Pre-JS-tap fix: keyed off the native [open] attribute (set by the
       browser the instant a real tap toggles the <details>, before any JS
       has necessarily run), not the JS-added .menu-open class — see
       .menu-drawer-container[open]:not(.menu-closing) > .menu-drawer below
       for the matching panel rule and why :not(.menu-closing) is there. */
    .menu-drawer-container[open]:not(.menu-closing) & {
      opacity: 1;
    }
  }

  .menu-drawer,
  details[open] > .menu-drawer__submenu {
    transition: transform var(--drawer-animation-speed) ease, visibility var(--drawer-animation-speed) ease,
      opacity var(--drawer-animation-speed) ease;
  }

  /* Pre-JS-tap fix [ours, 2026-09-09] — a tap lands on <summary> and the
     browser sets [open] immediately, before header-drawer.js has
     necessarily finished loading/executing; painting off .menu-open alone
     left the drawer invisible-but-present (and its backdrop still
     swallowing the tap) for that window. Paint now follows [open] itself.
     :not(.menu-closing) is load-bearing, not decoration: [open] itself
     can't be transitioned off (removing it snaps a <details> shut with no
     animation — confirmed empirically, a native browser behaviour), so it
     stays present for the whole closing animation same as always, and
     header-drawer.js's #close() adds this class immediately instead to
     pull the paint rule back down — an ordinary class toggle on a plain
     element transitions normally. */
  .menu-drawer-container[open]:not(.menu-closing) > .menu-drawer,
  details[open]:not(.menu-closing) > .menu-drawer__submenu:not(.menu-drawer__menu--childlist) {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    display: flex;
    flex-direction: column;
  }

  .menu-drawer__inner-container {
    position: relative;
    height: 100%;
  }

  .menu-drawer__navigation-container {
    display: grid;
    grid-template-rows: 1fr auto;
    align-content: space-between;
    overflow-y: auto;
    height: 100%;
  }

  .menu-drawer__inner-submenu {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;

    @media screen and (min-width: 750px) {
      margin-top: var(--drawer-header-desktop-top);
    }
  }

  .menu-drawer__nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .menu-drawer__menu {
    --menu-drawer-inline-padding: calc(var(--padding-sm) + 7px);

    list-style: none;
    padding-inline: var(--drawer-padding);
    margin-inline: 0;
    margin-block-start: 0;
  }

  .menu-drawer__menu--grid {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: var(--padding-sm);
    padding-inline-end: var(--menu-drawer-inline-padding);
    padding-block-start: var(--padding-xs);
  }

  .menu-drawer__menu--childlist:not(.menu-drawer__menu--grid) {
    flex-grow: 1;
  }

  .menu-drawer__menu.has-submenu,
  .menu-drawer__menu--childlist:not(:has(.menu-drawer__animated-element)) {
    margin-block-end: var(--margin-xs);

    @media screen and (min-width: 750px) {
      margin-block-end: 2.5rem;
    }
  }

  .menu-drawer__list-item--divider {
    border-block-end: 1px solid var(--color-border);
  }

  .menu-drawer__list-item--deep:not(.menu-drawer__list-item--divider) .menu-drawer__menu {
    margin-block-start: -0.3rem;
  }

  .menu-drawer__list-item--flat.menu-drawer__list-item--divider .menu-drawer__menu {
    margin-block-start: -0.4rem;
  }

  .menu-drawer__menu-container--divider {
    border-block-end: 1px solid var(--color-border);
  }

  .menu-drawer__menu > .menu-drawer__list-item {
    display: flex;
    min-height: calc(2 * var(--padding-lg) + var(--icon-size-xs));
  }

  .menu-drawer__list-item--deep .menu-drawer__list-item,
  .menu-drawer__list-item--flat .menu-drawer__list-item {
    min-height: auto;
  }

  .menu-drawer__menu .menu-drawer__list-item--flat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-block-end: var(--margin-md);
  }

  .menu-drawer__menu--childlist .menu-drawer__list-item--flat {
    margin-block-end: var(--margin-sm);

    @media screen and (min-width: 750px) {
      margin-block-end: var(--margin-lg);
    }
  }

  .menu-drawer__menu--childlist .menu-drawer__list-item--flat.menu-drawer__list-item--divider {
    margin-block-end: 0;
  }

  .menu-drawer__list-item--flat .menu-drawer__menu--childlist {
    width: 100%;
    padding-inline: 0;
  }

  .menu-drawer-container[open] .menu-drawer__animated-element {
    animation: menu-drawer-nav-open var(--drawer-animation-speed) ease-in-out;
    animation-delay: calc(var(--drawer-animation-speed) + (var(--menu-drawer-animation-index) - 1) * 0.1s);
    animation-fill-mode: backwards;
  }

  .menu-drawer__menu accordion-custom .details-content--no-animation {
    animation: none;
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition: none;
  }

  .menu-drawer__menu details,
  .menu-drawer__menu-item,
  .menu-drawer__menu accordion-custom {
    width: 100%;
  }

  .menu-drawer__list-item--divider .menu-drawer__menu-item:not(.menu-drawer__menu-item--child) {
    min-height: calc(2 * var(--padding-lg) + var(--icon-size-xs));
  }

  .menu-drawer__menu-item--mainlist {
    min-height: calc(2 * var(--padding-lg) + var(--icon-size-xs));
    font-family: var(--menu-top-level-font-family);
    font-style: var(--menu-top-level-font-style);
    font-weight: var(--menu-top-level-font-weight);
    font-size: var(--menu-top-level-font-size);
    line-height: var(--menu-top-level-font-line-height);
    text-transform: var(--menu-top-level-font-case);
    color: var(--menu-top-level-font-color);
    justify-content: space-between;

    &:hover {
      color: var(--menu-top-level-font-color);
    }
  }

  .menu-drawer__menu-item--parent {
    font-family: var(--menu-parent-font-family);
    font-style: var(--menu-parent-font-style);
    font-weight: var(--menu-parent-font-weight);
    font-size: var(--menu-parent-font-size);
    line-height: var(--menu-parent-font-line-height);
    text-transform: var(--menu-parent-font-case);
    color: var(--menu-parent-font-color);

    &:hover {
      color: var(--menu-parent-font-color);
    }
  }

  .menu-drawer__menu-item--child {
    font-family: var(--menu-child-font-family);
    font-style: var(--menu-child-font-style);
    font-weight: var(--menu-child-font-weight);
    font-size: var(--menu-child-font-size);
    line-height: var(--menu-child-font-line-height);
    text-transform: var(--menu-child-font-case);
    color: var(--menu-child-font-color);

    &:hover {
      color: var(--menu-child-font-color);
    }
  }

  .menu-drawer__menu--childlist summary.menu-drawer__menu-item {
    display: flex;
    width: 100%;
    padding-inline-end: 0;
  }

  .menu-drawer__list-item--deep .menu-drawer__menu,
  .menu-drawer__menu--grandchildlist {
    padding-inline: 0;
  }

  .menu-drawer__list-item--deep .menu-drawer__menu {
    padding-block-end: 0.5rem;
  }

  .menu-drawer__list-item--deep.menu-drawer__list-item--divider .menu-drawer__menu {
    padding-block-end: 0.3rem;
  }

  .menu-drawer__list-item--flat.menu-drawer__list-item--divider .menu-drawer__menu--grandchildlist {
    padding-block-end: 0.5rem;
  }

  .menu-drawer__menu-item {
    display: flex;
    padding: var(--padding-2xs) 0;
    position: relative;
    text-decoration: none;
    justify-content: space-between;
    align-items: center;
  }

  .menu-drawer__menu-item:has(> .menu-drawer__link-image) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    row-gap: var(--padding-3xs);
    padding: 0;
  }

  .menu-drawer__link-image {
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  /* Fix alignment for collection image mode links without images in drawer */

  /* Target menu items in grids that have images */
  .menu-drawer__menu--grid:has(.menu-drawer__link-image) .menu-drawer__menu-item:not(:has(> .menu-drawer__link-image)) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    row-gap: var(--padding-3xs);
    padding: 0;
  }

  .menu-drawer__menu--grid:has(.menu-drawer__link-image)
    .menu-drawer__menu-item:not(:has(> .menu-drawer__link-image))::before {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--color-foreground-muted);
    opacity: 0.1;
    border-radius: var(--menu-image-border-radius);
  }

  .menu-drawer__close-button {
    position: relative;
    right: auto;
    top: auto;
    width: fit-content;
    height: fit-content;
    color: inherit;
    padding: var(--padding-lg);
  }

  .menu-drawer__back-button {
    display: flex;
    width: 100%;
    padding: var(--padding-md) var(--padding-xl);
    border: none;
    align-items: center;
    color: var(--color-foreground);
    background-color: transparent;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    overflow-x: hidden;
    line-height: 1.2;
    box-shadow: none;
  }

  .menu-drawer__close-button.menu-drawer__close-button,
  .menu-drawer__back-button.menu-drawer__back-button {
    outline-color: var(--color-foreground-subdued);
  }

  .menu-drawer__menu-item-text {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /** Styles when the country selector is hidden */
  .menu-drawer .language-selector:not(.menu-drawer__submenu *) {
    width: fit-content;
    padding-inline-start: 0;

    .localization-form__select {
      text-align: left;
    }
  }

  .menu-drawer__menu-item > .svg-wrapper {
    width: fit-content;
    height: fit-content;
    margin: 0;
    padding-block: var(--padding-lg);
    padding-inline-start: var(--padding-xl);
    flex-shrink: 0;
  }

  .menu-drawer__list-item--divider .menu-drawer__menu-item > .svg-wrapper {
    padding-block: var(--padding-md);
  }

  .menu-drawer svg {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }

  .menu-drawer__submenu {
    position: absolute;
    width: 100%;
    top: 0;
    height: 100dvh;
    left: 0;
    background-color: var(--color-background);
    z-index: var(--layer-flat);
    transform: translateX(-5%);
    visibility: hidden;
    overflow-y: auto;
    opacity: 0;
  }

  .menu-drawer__back-button > .svg-wrapper {
    margin-right: var(--padding-md);
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }

  .menu-drawer__utility-links {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-block: auto var(--padding-sm);
    margin-inline-start: var(--padding-xl);
  }

  .menu-drawer__account {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-xs);
    text-decoration: none;
    height: 44px;
    font-size: 1.4rem;
    color: rgb(var(--color-foreground));
  }

  .menu-drawer__account svg {
    height: var(--icon-size-sm);
    width: var(--icon-size-sm);
  }

  .menu-drawer__account shop-user-avatar {
    --shop-avatar-size: 2.4rem;

    margin-right: 0.55rem;
    margin-left: -0.45rem;
  }

  .menu-drawer__link-image,
  .menu-drawer__featured-product-image,
  .menu-drawer__featured-collection-image,
  .menu-drawer__featured-collection-link::before {
    border-radius: var(--menu-image-border-radius);
  }

  @keyframes menu-drawer-nav-open {
    0% {
      visibility: hidden;
      opacity: 0;
      transform: translateX(-0.5rem);
    }

    100% {
      visibility: visible;
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes menu-drawer-subnav-open {
    0% {
      visibility: visible;
      opacity: 1;
      transform: translateX(0);
    }

    100% {
      visibility: hidden;
      opacity: 0;
      transform: translateX(-1rem);
    }
  }

  /* Drawer Localization Styles */
  .drawer-localization__button .icon-flag {
    width: var(--menu-localization-font-size, var(--icon-size-sm));
    height: var(--menu-localization-font-size, var(--icon-size-sm));
    clip-path: circle(50%); /* stylelint-disable-line */
    background-position: center;
    background-size: cover;
    margin-inline-end: 4px;
    position: relative;
  }

  .drawer-localization__button .icon-flag::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 var(--size-shadow) var(--color-shadow);
    border-radius: 50%;
  }

  .drawer-localization .country-filter {
    padding-block: 8px;
  }

  .drawer-localization .drawer-localization__button {
    display: flex;
    padding: 0;
    position: relative;
    text-decoration: none;
    height: 44px;

    &:hover {
      color: var(--color-foreground);
    }
  }

  .drawer-localization .drawer-localization__button .icon-caret {
    width: fit-content;
    height: fit-content;
    margin: 0;
    padding: var(--padding-xl) var(--padding-xl) var(--padding-xl) var(--padding-xs);
  }

  .menu-drawer__localization:not(drawer-localization-component) .language-selector {
    font-family: var(--menu-localization-font);
    font-size: var(--menu-localization-font-size);
  }

  .menu-drawer__localization .language-selector.h5 {
    padding-inline-start: 0;
  }

  .drawer-localization {
    display: contents;
    color: var(--color-foreground);
  }

  .drawer-localization localization-form-component {
    position: relative;
    height: 100%;
  }

  .drawer-localization .mobile-localization,
  .drawer-localization .drawer-localization__button--label {
    display: flex;
    gap: var(--gap-xs);
    margin-block: 0;
    align-items: center;
  }

  .drawer-localization__button--label.h6 {
    font-family: var(--menu-localization-font);
  }

  .drawer-localization img {
    width: var(--icon-size-sm);
  }

  .drawer-localization .localization-button__icon,
  .drawer-localization .localization-button__icon svg {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }

  .drawer-localization summary.is-disabled {
    pointer-events: none;
  }

  .drawer-localization .localization-wrapper {
    width: 100%;
  }

  .drawer-localization .localization-form {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .drawer-localization .localization-form > * {
    padding-inline: var(--padding-xl);
  }

  .drawer-localization .language-selector .svg-wrapper.icon-caret {
    transform: translateY(-50%) rotate(0deg);
    right: 20px;
  }

  .drawer-localization .language-selector .svg-wrapper.icon-caret svg {
    transform: none;
  }

  /* ============================================================
     Mobile nav-open state, ported from the Framer source
     (mobile-audit/navopen-source-2026-09-09.json — Sections/Nav "Phone
     Open" variant tDE_j8W_c, and Sections/NavOpen rDnVWwwXJ), not
     re-measured from the rendered page. Scoped to ≤640px only — nothing
     here changes the ≥641px experience, which keeps the stock docked
     drawer above untouched.

     Placed last in this stylesheet deliberately: every selector below has
     the same specificity as the stock rule it overrides (single class),
     and for tied specificity the LAST declaration in source order wins —
     confirmed the hard way in earlier work on this file, when an
     equivalent block sat near the top and silently lost the cascade. */
  @media screen and (max-width: 640px) {
    /* Background — source: "BG" frame, fill
       https://framerusercontent.com/images/Tf56WDrBqAhCE8pHfH4RQ0dKQ.jpg,
       fillImagePositionX/Y: center, top:0/bottom:null (top-anchored, the
       image is taller than the viewport and its excess extends below,
       clipped). Exported at its native 780x1818px to
       assets/nils-navopen-drawer-bg.jpg — a different, portrait crop of a
       different photo than assets/nils-prefooter-banner-smoke.webp (that
       one is 2880x1302 landscape, a wide banner crop, not what this menu
       uses). Because the asset is already portrait at close to this
       panel's own aspect ratio, a plain width-bound background-size
       reproduces the source's crop directly — no workaround needed. */
    /* DARKENING GRADIENT REMOVED [ours] — a prior pass layered
       `linear-gradient(180deg, rgb(10 10 10 / .97) 0% ... .35 100%)`
       under the image here, "for readability." Checked against the real
       source this round (framer.agent.serialize() on the live node
       tree, mobile-audit/navopen-source-2026-09-09.json /
       navopen-phoneopen-full.json): the BG frame carries no filter,
       opacity, blend-mode, or second fill of any kind — confirmed by
       grepping the full raw dump for filter/effect/opacity/blend/
       gradient/overlay/brightness/contrast, zero matches. That gradient
       was invented, not ported, and is exactly why the shop's photo
       read darker than the site's — removed outright, image only. */
    .menu-drawer {
      width: 100vw;
      max-width: 100vw;
      background-color: var(--color-background);
      background-image: var(--menu-drawer-navopen-bg-image);
      background-size: 100% auto;
      background-position: center top;
      background-repeat: no-repeat;
      transition: transform 0.3s cubic-bezier(0.44, 0, 0.56, 1), visibility 0.3s cubic-bezier(0.44, 0, 0.56, 1),
        opacity 0.3s cubic-bezier(0.44, 0, 0.56, 1);
      /* HIDDEN SCROLLBAR [ours] — source root's own "hideScrollbars":
         true (mobile-audit/navopen-phoneopen-full.json, Phone Open root
         attributes). This panel scrolls vertically on both the site and
         the shop (content is taller than the viewport on some locales),
         but the source's scrollbar never reflows layout — WebKit's
         default one here does, and confirmed live: it shrank this
         element's own padding box by its own width (clientWidth 369 vs
         offsetWidth 390), which is why `.menu-drawer__close-button`'s
         `right: 16px` below (itself already correct and unchanged) was
         rendering 21px further left than the site's. Hiding the
         scrollbar removes the reflow, not just the visual bar.
         `-ms-overflow-style` covers old Edge; no functional loss, this
         panel was never meant to show a scrollbar chrome either way. */
      scrollbar-width: none;
      -ms-overflow-style: none;

      &::-webkit-scrollbar {
        display: none;
      }
    }

    /* Logo — source: Sections/Nav "Phone Open" > Top > Logo, image fill
       https://framerusercontent.com/images/RMG0zxga9c1DGs4rPRCfSssSow.webp
       (same URL assets/nils-header-logo.webp already uses), absolute at
       the panel's top-left corner. Source gives no explicit render size
       for this frame's image (layout: null on the fill frame); 79x72 is
       carried over from this project's own prior live-DOM measurement,
       which also matches blocks/_header-logo.liquid's own NILS fallback
       sizing at this breakpoint. */
    .menu-drawer__logo {
      position: absolute;
      top: 0;
      left: 0;
      width: 79px;
      height: 72px;
      z-index: 1;
      display: block;
    }

    .menu-drawer__logo img {
      display: block;
      width: 79px;
      height: 72px;
      object-fit: cover;
    }

    /* Close control — source: Sections/Nav "Phone Open" > Top > NavIcon
       instance. Position/size (40x40 hit box, top:12px/right:16px) is
       this project's own prior live-DOM measurement; NavIcon itself is
       opaque external code (see the markup comment above the
       .menu-drawer__close-bar spans) so its glyph can't be read from the
       tree — the two-bar glyph below reproduces that same prior
       measurement (32x1px white bars, ±45°). */
    .menu-drawer__close-button {
      position: absolute;
      top: 12px;
      right: 16px;
      left: auto;
      width: 40px;
      height: 40px;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
    }

    .menu-drawer__close-button .svg-wrapper {
      display: none;
    }

    .menu-drawer__close-bar {
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      width: 32px;
      height: 1px;
      background-color: #fff;
    }

    .menu-drawer__close-bar--1 {
      transform: translate(-50%, -50%) rotate(45deg);
    }

    .menu-drawer__close-bar--2 {
      transform: translate(-50%, -50%) rotate(-45deg);
    }

    /* Nav content cleared below the absolutely-positioned logo (72px
       tall) plus breathing room, matching the source's own Top-bar height
       (64px) + padding proportions as measured against the live render. */
    .menu-drawer__navigation {
      padding-top: 114px;
    }

    /* Left inset — source's Nav Links frame sits flush with NavOpen's own
       root, which is itself flush with its parent content wrapper; 16px
       is this project's own prior live-DOM measurement of that resolved
       position (the source tree's own frames use layout-relative "auto"
       positions, not an absolute inset value to read directly). Scoped to
       this rule only, not the shared --drawer-padding token
       (cart-drawer/chat-drawer/theme-drawer also read that). */
    .menu-drawer__menu {
      padding-inline: 16px;
    }

    /* Item gap — source: Sections/NavOpen > Nav Links, gap: 32px between
       links, against a line-height-driven row of ≈32.5px (Heading 5c:
       25px/1.3em) → a rendered 64.5px top-to-top pitch (confirmed live-
       DOM measurement of the published site, matching to within 0.5px).
       This theme's own item box no longer matches the source's exact
       line-height 1:1 either (46px rendered here vs 32.5px there — the
       box's own min-height floor, calc(2 * --padding-lg + --icon-size-xs),
       still wins over the smaller line-height now that font-size/
       line-height are fixed above) — porting the 32px gap value literally
       onto that taller box would give a looser pitch than the source and,
       at 8 items, push the social row below the fold the source keeps
       on-screen. Value below is instead solved for the source's own
       64.5px pitch against this theme's real box (64.5 - 45.59375 =
       18.90625px, rounded 18.9px) — "same value" read as the rendered
       spacing the source produces, not the token in isolation, since the
       two diverge once box height doesn't match. Re-solved from the
       prior 17.5px (against a then-47px box) after the font-size fix
       above shrank the box; box height measured precisely post-fix
       (45.59375px, not a round 46) to close the last ~0.4px/item drift
       that had been visibly compounding into a growing offset by the
       list's last few items (confirmed via pixel-diff overlay against
       the source screenshot). */
    .menu-drawer__menu .menu-drawer__list-item--flat {
      margin-block-end: 18.9px;
    }

    /* Item typography — source: Heading 5c preset (Sections/NavOpen >
       Nav Links > each Link's textStylePreset): 25px/400/1.3em(32.5px)/
       -0.04em(-1px at 25px). fontFamily/weight/color already matched
       this theme's own drawer defaults; letter-spacing was the one value
       already carried here. font-size/line-height were NOT — this rule
       previously only set letter-spacing, so the item text fell through
       to --menu-top-level-font-size (a theme/merchant setting, currently
       28px), one theme-setting change away from silently drifting further
       from the source. Confirmed by live measurement (getComputedStyle
       on both the published site and the shop): site 25px/32.5px, shop
       28px/38.8px before this fix. */
    .menu-drawer__menu-item--mainlist {
      font-size: 25px;
      line-height: 32.5px;
      letter-spacing: -1px;
    }

    /* Per-item entrance — source: each Link's appearEffect, enter from
       {opacity:0, x:150} (from the RIGHT, not the left), spring-duration
       1s, delay 0.3s + 0.1s per item (item 1 = 0.3s ... item 8 = 1.0s).
       CSS has no native spring easing; approximated with an ease-out
       curve tuned to a similar settle feel, duration lengthened from the
       stock 0.2s tween to read closer to the source's slower spring.
       A NEW keyframe + delay formula, not an edit to
       @keyframes menu-drawer-nav-open (shared with ≥750px) — this all
       stays mobile-only by construction, not by a media-query wrapper
       around a change to shared assets. This also carries over the
       opacity/transform-only construction from this project's own prior
       fix to the shared keyframe (no visibility toggle — that toggle
       removes an element from hit-testing while animating in, which
       previously created a real tap dead zone on the last item during
       its own entrance window). */
    .menu-drawer-container[open] .menu-drawer__animated-element {
      animation-name: menu-drawer-nav-open-mobile;
      animation-duration: 0.5s;
      animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
      animation-delay: calc(var(--drawer-animation-speed) + var(--menu-drawer-animation-index) * 0.1s);
    }

    @keyframes menu-drawer-nav-open-mobile {
      0% {
        opacity: 0;
        transform: translateX(150px);
      }

      100% {
        opacity: 1;
        transform: translateX(0);
      }
    }

    /* Social row — source: Sections/NavOpen > Social Links (gap:16px,
       appears 60px below Nav Links — NavOpen root's own between-group
       gap) containing 2 Foundations/SocialButton "Big Icon" instances.
       Own .menu-drawer__social(-icon) classes rather than reusing the
       footer's (.nils-footer__social-icon is 32x32/8px-radius/~20px-glyph
       — a different, smaller component) — SVG paths and hrefs are this
       project's own social icons/links either way, not new content. */
    .menu-drawer__utility-links {
      margin-inline-start: 16px;
      margin-block: 60px 24px;
    }

    .menu-drawer__social {
      display: flex;
      gap: 16px;
    }

    .menu-drawer__social-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 60px;
      height: 60px;
      border-radius: 0;
      border: 1px solid rgb(255 255 255 / 0.1);
      background-color: var(--color-background);
      color: #fff;
    }

    .menu-drawer__social-icon svg {
      width: 40px;
      height: 40px;
      fill: currentColor;
    }
  }

  /*
   * TABLET PARITY PASS [ours, 2026-09-13] — full-bleed takeover on
   * touch, >=641px. The reference site's hamburger menu is ALWAYS a
   * full-viewport image takeover (position:fixed, 100% width/height) —
   * never Horizon's stock docked side panel — at every width tested,
   * mobile through desktop (mobile-audit/tablet-parity-2026-09-13/
   * site-open-*.png: 810/1180/1366px all measured full-viewport), and
   * regardless of touch (confirmed: even a non-touch 1440px mouse
   * session on the reference gets the same takeover).
   *
   * DESKTOP DRAWER PASS [ours, 2026-09-18] — this block was scoped to
   * touch devices only (`[data-menu-style='drawer']`), on the stated
   * assumption that non-touch desktop was "separately-verified" and out
   * of scope. It wasn't: `data-menu-style` is a pure touch-capability
   * flag (layout/theme.liquid's setHeaderMenuStyle(), independent of
   * viewport width — see sections/header.liquid's own TABLET TOUCH GRID
   * PARITY comment), and since the DESKTOP HEADER PASS (2026-09-11) made
   * the hamburger trigger permanent at every width for every visitor,
   * `data-menu-style='menu'` (any regular mouse user, at any width) was
   * opening this same `.menu-drawer` but getting none of this styling —
   * confirmed live, `data-menu-style` reads "menu" for an ordinary
   * 810/1180/1440px session, and the drawer that opens is Horizon's
   * plain default side panel. Since the reference is provably the same
   * regardless of touch, the `[data-menu-style='drawer']` gate is
   * dropped throughout this block and the next (was never a real
   * distinction to preserve) — `.menu-drawer` itself is scope enough.
   *
   * Reuses this file's own already-ported mobile values (typography,
   * pitch, animation timing, social row, and the mobile block's own
   * `.menu-drawer__logo`/`.menu-drawer__close-button` DUPLICATE-inside-
   * the-panel pattern) rather than re-deriving them — live measurement
   * of the reference's own tablet/desktop panel (810/1180/1440px) found
   * item font-size (25px), line-pitch (64.5px) and social-row spacing
   * IDENTICAL to the already-matched mobile numbers; only the background
   * image, the logo size/position, the content's own top offset, and —
   * newly measured this pass — the nav's own left inset and the close
   * button's own position differ, all by width tier (see the 810px and
   * 1440px blocks below).
   *
   * NAV LEFT INSET, CORRECTED [ours, 2026-09-18]: this block never
   * overrode `.menu-drawer__menu`'s own padding-inline, so every >=641px
   * width silently inherited the <=640px mobile value (16px). Live
   * re-measurement of the reference's own open panel found that's only
   * actually correct for 641-809px (15px, close enough) — 810-1439px is
   * really 32px and >=1440px is 64px, both previously unmatched. Fixed
   * here and in the two blocks below.
   *
   * CLOSE BUTTON, CORRECTED [ours, 2026-09-18]: live measurement of the
   * reference showed its own tablet/desktop "close" control is literally
   * the SAME hamburger trigger the closed header already shows (identical
   * rect at 1180px landscape, both closed and open) — tried mirroring
   * that by letting the real header show through on top of the now-full-
   * bleed panel (a z-index bump on #header-component, then .header__row,
   * up to z-index:999) and it never worked: `.header:has(#Details-menu-
   * drawer-container[open]) { contain: style; }` (this file's own sibling
   * rule, stock Horizon) drops `layout` containment while open so
   * `.menu-drawer`'s `position:fixed` resolves against the true viewport
   * instead of the header's own bounds, but that ALSO releases
   * `.menu-drawer` from #header-component's stacking context entirely,
   * so no z-index raised inside header-component can out-rank it once
   * it's stacking at the page root. Not chased further (fixing it
   * "properly" means touching that shared, stock `contain: style` rule).
   * Reverted to the same duplicate-close-button pattern mobile already
   * uses, sized/positioned to this pass's own fresh per-tier measurements
   * (top 20px throughout; right 24px/40px/72px across the three tiers —
   * previously a single guessed 16px at every tier) rather than the
   * shop's own trigger position, which varies with its own trailing
   * icon cluster (search/account/cart, which the reference doesn't have)
   * in a way no fixed corner placement could track anyway.
   */
  @media screen and (min-width: 641px) {
    /* DISCOVERY [ours, 2026-09-13] — `{% stylesheet %}` doesn't evaluate
       Liquid OUTPUT tags at all (not just "can't vary per request" — the
       narrower finding from 2026-09-10's own TABLET COLLAPSE POINT work).
       A first attempt wrote `background-image: url({{ 'file' | asset_url
       }})` directly in this block; the compiled asset (mobile-audit/
       tablet-parity-2026-09-13/compiled-css-dump2.txt) showed that
       `{{ }}` tag passed through completely UNPROCESSED, verbatim, as
       literal (invalid) CSS text — silently doing nothing (not even a
       CSS parse error, since `url({{ '...' }})` is syntactically odd but
       not fatal to the declaration list around it). Both background
       images are instead set as CSS custom properties on `<header-
       drawer>`'s own inline `style=""` attribute above (regular HTML
       markup, not a stylesheet tag — Liquid resolves there exactly as
       normal) and referenced here with `var()`. */
    .menu-drawer__logo {
      position: absolute;
      top: 0;
      left: 0;
      width: 79px;
      height: 72px;
      z-index: 1;
      display: block;
    }

    .menu-drawer__logo img {
      display: block;
      width: 79px;
      height: 72px;
      object-fit: cover;
    }

    .menu-drawer__close-button {
      position: absolute;
      top: 20px;
      right: 24px;
      left: auto;
      width: 40px;
      height: 40px;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1;
    }

    .menu-drawer__close-button .svg-wrapper {
      display: none;
    }

    .menu-drawer__close-bar {
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      width: 32px;
      height: 1px;
      background-color: #fff;
    }

    .menu-drawer__close-bar--1 {
      transform: translate(-50%, -50%) rotate(45deg);
    }

    .menu-drawer__close-bar--2 {
      transform: translate(-50%, -50%) rotate(-45deg);
    }

    .menu-drawer {
      width: 100vw;
      max-width: 100vw;
      background-color: var(--color-background);
      background-image: var(--menu-drawer-navopen-bg-image);
      background-size: cover;
      background-position: center top;
      background-repeat: no-repeat;
      scrollbar-width: none;
      -ms-overflow-style: none;

      &::-webkit-scrollbar {
        display: none;
      }
    }

    .menu-drawer__navigation {
      margin-top: 0;
      padding-top: 114px;
    }

    .menu-drawer .menu-drawer__menu .menu-drawer__list-item--flat {
      margin-block-end: 18.9px;
    }

    .menu-drawer .menu-drawer__menu-item--mainlist {
      font-size: 25px;
      line-height: 32.5px;
      letter-spacing: -1px;
    }

    .menu-drawer-container[open] .menu-drawer__animated-element {
      animation-name: menu-drawer-nav-open-mobile;
      animation-duration: 0.5s;
      animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
      animation-delay: calc(var(--drawer-animation-speed) + var(--menu-drawer-animation-index) * 0.1s);
    }

    .menu-drawer__utility-links {
      margin-inline-start: 16px;
      margin-block: 60px 24px;
    }

    .menu-drawer__social {
      display: flex;
      gap: 16px;
    }

    .menu-drawer__social-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 60px;
      height: 60px;
      border-radius: 0;
      border: 1px solid rgb(255 255 255 / 0.1);
      background-color: var(--color-background);
      color: #fff;
    }

    .menu-drawer__social-icon svg {
      width: 40px;
      height: 40px;
      fill: currentColor;
    }
  }

  /* Reference's own logo/asset threshold — 810px, matching this shop's
     own (blocks/_header-logo.liquid, same TABLET PARITY PASS) — large
     background, larger duplicate logo (measured live against the
     reference's own closed-header logo box at >=810px: inset 68px from
     the panel's left edge, 118x107), deeper top offset for the nav list
     to clear it (130px, vs. the phone range's 114px), a wider nav left
     inset (32px, vs. 641-809's 15px) and a wider close-button right
     inset (40px, vs. 641-809's 24px) — all measured directly against the
     reference's own open panel at those widths [ours, 2026-09-18: the
     nav-inset/close-inset pair is a new finding this pass, the rest
     already existed]. Close button hitbox stays the same 40x40 near-
     corner placement throughout (see this block's own opening comment
     for why it doesn't track the real trigger's position at this
     range). */
  @media screen and (min-width: 810px) {
    .menu-drawer {
      background-image: var(--menu-drawer-navopen-bg-image-large);
    }

    .menu-drawer__logo {
      width: 118px;
      height: 107px;
      left: 68px;
    }

    .menu-drawer__logo img {
      width: 118px;
      height: 107px;
    }

    .menu-drawer__navigation {
      padding-top: 130px;
    }

    .menu-drawer__menu {
      padding-inline: 32px;
    }

    .menu-drawer__close-button {
      right: 40px;
    }
  }

  /* Third tier [ours, 2026-09-18] — the reference's open panel takes one
     more step at exactly 1440px (confirmed via a binary search: 1439px
     still reads the 810px tier's own values, 1440px reads these; not a
     approximation), matching this shop's own --page-content-width cap
     (90rem = 1440px) used elsewhere. Logo size/background stay the
     810px tier's own values (unchanged at 1440px on the reference) —
     only the nav's left inset, the nav's top offset, and the close
     button's right inset step again. */
  @media screen and (min-width: 1440px) {
    .menu-drawer__navigation {
      padding-top: 162px;
    }

    .menu-drawer__menu {
      padding-inline: 64px;
    }

    .menu-drawer__close-button {
      right: 72px;
    }
  }
/* END_SNIPPET:header-drawer */

/* START_SNIPPET:jumbo-text (INDEX:204) */
.jumbo-text__container {
    width: 100%;
  }

  footer .jumbo-text__container {
    pointer-events: none;
  }

  jumbo-text {
    display: block;
    font-family: var(--font-family, inherit);
    font-style: var(--font-style, normal);
    color: var(--color, inherit);
    font-weight: var(--font-weight, inherit);
    letter-spacing: var(--letter-spacing, -0.02em);
    line-height: var(--line-height, 1);
    opacity: 0;
    visibility: hidden;
    text-align: var(--text-align);
    text-box: var(--text-trim, trim-end cap text);
    text-transform: var(--text-transform, none);
    transition: opacity 0.3s ease;
    width: 100%;
    margin-left: var(--margin-left-nudge, 0);
    margin-right: var(--margin-right-nudge, 0);
    overflow: visible;
  }

  jumbo-text.ready {
    opacity: 1;
    visibility: visible;
  }

  jumbo-text[data-cap-text='true'] {
    /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
    text-box-edge: cap text;
  }

  .jumbo-text-line {
    display: inline-flex;
    white-space: pre;
  }

  @media (prefers-reduced-motion: no-preference) {
    /* Blur effect */
    .ready[data-text-effect='blur'] {
      filter: blur(20px);
      opacity: 0.5;
      scale: 1.05;
      transition: filter 1.6s var(--animation-timing-fade-in), opacity 1.3s var(--animation-timing-fade-in),
        scale 1.6s var(--animation-timing-fade-in);
    }

    .jumbo-text-visible[data-text-effect='blur'] {
      filter: blur(0);
      opacity: 1;
      scale: 1;
    }

    /* Reveal effect */
    .ready[data-text-effect='reveal'] {
      overflow: hidden;
    }

    .ready[data-text-effect='reveal'] .jumbo-text-line {
      transform: translateY(100%);
    }

    .jumbo-text-visible[data-text-effect='reveal'] .jumbo-text-line {
      transition: transform 0.5s var(--animation-timing-fade-in) calc(var(--line-index) * 0.05s);
      transform: translateY(0);
    }

    .jumbo-text-visible[data-text-effect='reveal'] {
      overflow: visible;
      transition: overflow 0s linear 0.75s;
    }
  }
/* END_SNIPPET:jumbo-text */

/* START_SNIPPET:list-filter (INDEX:207) */
.facets__bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: calc(var(--variant-picker-swatch-height) / 1.5);
    min-width: 20px;
    padding: 0 6px;
    border-radius: 20px;
    font-family: var(--font-paragraph--family);
    font-size: var(--font-size--xs);
    font-weight: var(--font-paragraph--weight);
    color: var(--color-foreground);
    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
  }

  .facets__bubble svg {
    width: 12px;
    height: 12px;
  }

  .show-more__button {
    color: var(--color-foreground);
    cursor: pointer;
  }

  .show-more__button:hover {
    @media screen and (min-width: 750px) {
      color: rgb(var(--color-foreground-rgb) / var(--opacity-80));
    }
  }

  .show-more__label {
    text-align: start;
    font-size: var(--font-size--body-md);
    font-family: var(--font-paragraph--family);
  }

  .show-more__button .svg-wrapper {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }

  .show-more[data-expanded='true'] .show-more__label--more,
  .show-more[data-expanded='false'] .show-more__label--less {
    display: none;
  }

  .show-more__button .icon-plus :is(.horizontal, .vertical) {
    transition: transform var(--animation-speed) var(--animation-easing);
    transform: rotate(0deg);
    transform-origin: 50% 50%;
    opacity: 1;
  }

  .show-more:where([data-expanded='true']) .show-more__button .icon-plus .horizontal {
    transform: rotate(90deg);
  }

  .show-more:where([data-expanded='true']) .show-more__button .icon-plus .vertical {
    transform: rotate(90deg);
    opacity: 0;
  }

  .facets input:checked + label {
    font-weight: 500;
  }

  .facets .checkbox .icon-checkmark {
    transition: border-color 0.2s ease, background-color 0.2s ease;
  }

  .facets .checkbox:not(.checkbox--disabled):hover .icon-checkmark {
    border-color: rgb(var(--color-foreground-rgb) / var(--opacity-40-60));
    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-5));
  }

  /* Hover state for checked checkboxes - targeting via adjacent sibling */
  .facets .checkbox:not(.checkbox--disabled):hover .checkbox__input:checked + .checkbox__label .icon-checkmark {
    background-color: var(--color-foreground-subdued);
  }

  .facets .checkbox:not(.checkbox--disabled) .checkbox__label-text {
    color: var(--color-foreground-subdued);
  }
  .facets .checkbox:not(.checkbox--disabled):hover .checkbox__label-text {
    color: var(--color-foreground-rgb);
  }

  .facets .checkbox .checkbox__label-text {
    transition: color 0.2s ease, font-weight 0.2s ease;
  }

  /* Pill style */
  .facets__pill-label {
    --pill-label-padding-inline: var(--padding-xs);
    --pill-label-border-radius: var(--style-border-radius-md);
    --pill-label-border-width: var(--variant-picker-button-border-width);
    --pill-label-height: var(--button-size-md);
    --pill-label-focus-outline-color: var(--color-foreground);
    --pill-label-color: var(--color-foreground);
    --pill-label-color-rgb: var(--color-foreground-rgb);
    --pill-label-background-color: var(--color-background);
    --pill-label-background-color-rgb: var(--color-background-rgb);
    --pill-label-border-opacity: var(--facets-low-opacity);

    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 var(--pill-label-border-width) rgb(var(--pill-label-color-rgb) / var(--opacity-10-25));
    border-radius: var(--pill-label-border-radius);
    height: var(--pill-label-height);
    width: 100%;
    padding-inline: var(--pill-label-padding-inline);
    color: rgb(var(--pill-label-color-rgb));
    background-color: rgb(var(--pill-label-background-color-rgb));
    cursor: pointer;
    transition: color var(--animation-speed) var(--animation-easing),
      background-color var(--animation-speed) var(--animation-easing);
    outline-color: var(--pill-label-focus-outline-color);

    &:hover {
      --pill-label-border-opacity: 100%;
    }
  }

  .facets__pill-input:not(:checked) + .facets__pill-label:hover {
    --pill-label-color-rgb: var(--color-foreground-rgb);
    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-5));
  }

  .facets__pill-input {
    &:checked + .facets__pill-label {
      --pill-label-color-rgb: var(--color-background-rgb);
      --pill-label-background-color-rgb: var(--color-foreground-rgb);
      --pill-label-border-opacity: 0;

      font-weight: 500;
    }

    &:disabled + .facets__pill-label {
      opacity: var(--disabled-opacity);
      cursor: not-allowed;

      &:hover {
        --pill-label-border-opacity: var(--facets-low-opacity);
      }
    }
  }

  .facets__status-wrapper {
    display: flex;
    align-items: center;
  }

  .facets--drawer .facets__status-wrapper {
    @media screen and (max-width: 749px) {
      gap: var(--gap-3xs);
    }
  }

  .facets--vertical .facets__status-wrapper {
    gap: var(--gap-xs);
  }

  .facets--horizontal .facets__status-wrapper {
    gap: 0;
  }

  .facets__pill-input:disabled + .facets__pill-label svg {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: var(--style-border-radius-md);
  }

  .facets__pill-label svg line {
    stroke-width: 1.5px;
    stroke: rgb(var(--color-foreground-rgb) / var(--facets-low-opacity));
  }

  .facets__pill-wrapper {
    position: relative;
  }

  .facets__pill-input {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    aspect-ratio: unset;
    border: none;
    border-radius: 0;
    background: transparent;
    appearance: auto;
    display: block;
    opacity: 0;
    cursor: pointer;
  }

  /* Swatches */
  .facets__status--swatches {
    display: none;
  }

  .facets__swatch-wrapper {
    display: flex;
  }

  .variant-option__swatch-wrapper {
    position: relative;
    overflow: visible;
    border-radius: var(--options-border-radius);
  }

  .variant-option--swatches-disabled {
    pointer-events: none;
    cursor: not-allowed;
  }

  .variant-option--swatches-disabled .variant-option__swatch-wrapper {
    overflow: hidden;
  }

  .facets--horizontal .facets__status--swatches {
    @media screen and (min-width: 750px) {
      display: flex;
    }
  }

  .facets--horizontal .sorting-filter .facets__status {
    @media screen and (min-width: 750px) {
      display: none;
    }
  }

  .facets__status--swatches .swatch {
    width: calc(var(--variant-picker-swatch-width) / 1.5);
    height: calc(var(--variant-picker-swatch-height) / 1.5);
  }

  .facets__status--swatches .swatch + .swatch {
    margin-left: calc(var(--variant-picker-swatch-width) / -3);
    outline: 1px solid rgb(var(--color-background-rgb));
  }

  .facets__inputs-wrapper .facets__inputs-list--images {
    display: grid;
    grid-template-columns: repeat(var(--image-columns), 125px);
    gap: var(--gap-sm);
  }

  .facets--drawer .facets__inputs-wrapper .facets__inputs-list--images {
    grid-template-columns: repeat(3, 1fr);

    @media screen and (min-width: 750px) {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .facets--vertical .facets__inputs-wrapper .facets__inputs-list--images {
    grid-template-columns: repeat(2, 1fr);
  }

  .facets--drawer .facets__inputs-list--images {
    padding-top: var(--padding-xs);
  }

  .facets__image-wrapper {
    aspect-ratio: 1/1;
    width: 100%;
    padding: var(--padding-xs);
    position: relative;
    overflow: hidden;
  }

  .facets__image-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    border-radius: calc(var(--border-radius) / 2);
  }

  .facets__image-label {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-block-end: var(--padding-xs);
    cursor: pointer;
  }

  .facets__inputs-list-item--disabled .facets__image-label {
    cursor: not-allowed;
  }

  .facets__inputs-list-item:not(.facets__inputs-list-item--disabled) .facets__image-label:hover {
    font-weight: 500;
  }

  /* Filter-specific variant-option styles */
  .facets__inputs-list--swatches-grid .variant-option__button-label--has-swatch:hover .swatch {
    --focus-outline: var(--focus-outline-width) solid rgb(var(--color-foreground-rgb) / var(--opacity-35-55));

    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
  }

  .facets__inputs-list--swatches-grid .variant-option__button-label:has(:focus-visible) .swatch {
    --focus-outline: var(--focus-outline-width) solid currentcolor;

    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
  }

  .facets__inputs-list--swatches-grid .variant-option__button-label:has(:focus-visible) {
    outline: none;
  }

  .facets__inputs-list--swatches-grid .variant-option__button-label--has-swatch:hover {
    outline: none;
  }

  .facets__inputs-list--swatches-grid .variant-option__button-label--has-swatch:has(:checked) {
    --focus-outline: none;
  }

  .facets__inputs-list--swatches-grid .variant-option__button-label--has-swatch:has(:checked) .swatch {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
  }

  .facets__inputs-list--swatches .variant-option__button-label {
    --color-variant-text: var(--color-foreground);
  }

  .facets__inputs-list--swatches {
    --variant-picker-swatch-width: 32px;
    --variant-picker-swatch-height: 32px;

    @media screen and (min-width: 750px) {
      --variant-picker-swatch-width: 26px;
      --variant-picker-swatch-height: 26px;
    }
  }

  .facets--vertical .facets__inputs-wrapper .facets__inputs-list--swatches-grid {
    gap: var(--gap-sm);
  }

  .facets--vertical .facets__inputs-list--swatches .facets__inputs-list-item {
    display: flex;
  }

  .facets__inputs-wrapper .facets__inputs-list--swatches-grid {
    --columns: 2;

    display: grid;
    grid-template-columns: repeat(var(--columns), 1fr);
  }

  .facets__inputs-wrapper .facets__inputs-list--swatches-grid .variant-option--swatches {
    cursor: pointer;
    overflow: visible;
  }

  .facets__inputs-list-item--disabled .variant-option--swatches {
    cursor: not-allowed;
  }

  .facets__inputs-wrapper .facets__inputs-list--swatches-grid label {
    cursor: pointer;
    word-break: break-word;
    white-space: normal;
  }

  .facets__inputs-list--swatches-grid .facets__inputs-list-item--disabled label {
    cursor: not-allowed;
  }

  .facets__inputs-list-item--disabled .variant-option__button-label {
    cursor: not-allowed;
  }

  .facets__inputs-wrapper
    .facets__inputs-list--swatches-grid
    .variant-option__button-label--has-swatch:has(input[type='checkbox']) {
    align-items: center;
    overflow: visible;
    justify-content: flex-start;
    display: flex;
    width: 100%;
    flex-basis: unset;
    gap: var(--gap-sm);
  }

  .facets__inputs-wrapper .facets__inputs-list--swatches-grid .variant-option__button-label:has(:checked) {
    color: rgb(var(--color-foreground-rgb));
    background-color: rgb(var(--color-background-rgb));
    font-weight: 500;
    transition: font-weight 0.2s ease;
  }

  .facets .variant-option--swatches {
    --options-border-radius: var(--variant-picker-swatch-radius);

    width: auto;
  }

  .facets__inputs-list-item:not(.facets__inputs-list-item--disabled) .variant-option__button-label:hover {
    font-weight: 500;
  }

  /* Variant option images (filters) */
  .variant-option--images {
    --image-facet-border-width: var(--variant-picker-button-border-width);
    --image-facet-border-opacity: var(--facets-low-opacity);
    --image-facet-border-radius: var(--style-border-radius-xs);

    position: relative;
    border-radius: var(--image-facet-border-radius);
    box-shadow: inset 0 0 0 var(--image-facet-border-width)
      rgb(var(--color-foreground-rgb) / var(--image-facet-border-opacity));

    &:hover {
      --image-facet-border-opacity: 100%;
    }

    &:has(input:checked) {
      font-weight: 500;
      transition: font-weight 0.2s ease;
    }

    &:has(input:checked):hover {
      --image-facet-border-width: calc(var(--variant-picker-button-border-width) + 0.5px);
    }

    &:has(input:focus-visible) {
      outline: var(--focus-outline-width) solid currentcolor;
      outline-offset: var(--focus-outline-offset);
    }
  }

  .variant-option--images input {
    /* remove the checkbox from the page flow */
    position: absolute;

    /* set the dimensions to match those of the label */
    inset: 0;

    /* hide it */
    opacity: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    border: none;
    border-radius: 0;
    background: transparent;
    appearance: auto;
    display: block;
    cursor: pointer;
  }

  .facets__inputs-list-item--disabled .variant-option--images {
    --image-facet-border-opacity: 0;

    opacity: var(--disabled-opacity);
    cursor: not-allowed;

    &:hover {
      --image-facet-border-opacity: 0;
    }

    img {
      opacity: var(--disabled-opacity);
    }

    input,
    label,
    .facets__image-label {
      cursor: not-allowed;
    }

    .facets__image-wrapper {
      border: var(--style-border-width) solid rgb(var(--color-foreground-rgb) / var(--opacity-30));
      border-radius: var(--image-facet-border-radius);
    }
  }

  /* Position disabled-svg */
  .variant-option--images svg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    stroke-width: var(--border-width);
    stroke: rgb(var(--color-foreground-rgb) / var(--opacity-5));
  }

  /* Position label text and handle overflow */
  .facets__inputs-list-item,
  .variant-option--images {
    min-width: 0;
  }

  /* Safari < 16.4 outline border-radius workaround - filter-specific */
  @supports not (background-color: rgb(from red 150 g b / alpha)) {
    .facets__inputs-list--swatches-grid .variant-option__button-label--has-swatch:hover .swatch {
      outline: none;
      position: relative;
      overflow: visible;
    }

    .facets__inputs-list--swatches-grid .variant-option__button-label--has-swatch:hover .swatch::after {
      content: '';
      position: absolute;
      inset: calc(-1 * var(--focus-outline-offset));
      border: var(--focus-outline);
      border-radius: var(--focus-outline-radius, 50%);
      background-color: transparent;
      display: inherit;
    }
  }
/* END_SNIPPET:list-filter */

/* START_SNIPPET:localization-form (INDEX:208) */
/* Localization */
  localization-form-component {
    display: flex;
    width: var(--width, auto);

    @media screen and (min-width: 750px) {
      position: relative;
    }
  }

  localization-form-component[data-show-filter='false'] .country-selector-form__wrapper {
    padding-block-start: var(--padding-xs);
  }

  .localization-form {
    width: 100%;
  }

  localization-form-component .button:is(:not(.country-filter__reset-button)) {
    --button-color: var(--color-foreground);
    --button-background-color: var(--language-button-background-color, var(--color-background));
    --button-border-color: var(--language-button-border-color, var(--color-border));

    text-decoration-color: transparent;
    text-decoration-thickness: 0.075em;
    text-underline-offset: 0.125em;
    transition: text-decoration-color var(--animation-speed) var(--animation-easing);
  }

  localization-form-component .button:is(:not(.country-filter__reset-button)):hover,
  .localization-form__list-item:hover,
  .localization-form__list-item:focus {
    --button-color: var(--color-foreground-subdued);

    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-8));
  }

  .localization-form__list-item[aria-current='true'] {
    --button-color: var(--color-primary-active);

    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-10));
  }

  .localization-form__list-item-disabled {
    pointer-events: none;
  }

  .localization-form__list-item:focus-visible {
    outline: none;
  }

  localization-form-component .localization-selector {
    display: flex;
    align-items: center;
    gap: var(--margin-2xs);
  }

  localization-form-component .country-filter__search-icon {
    left: 8px;
    right: auto;
    color: var(--color-foreground-muted);
    pointer-events: none;
  }

  .country-filter__search-icon .svg-wrapper svg {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
  }

  .disclosure {
    width: 100%;
  }

  .localization-form__list {
    position: relative;
    width: 100%;
    padding-block: 0 var(--padding-xs);
    font-size: var(--font-size-lg);
    scroll-padding: var(--padding-xs) 0;
    overflow-y: auto;
    white-space: nowrap;

    /* Hide scrollbar which would cause extra right padding in Safari */
    scrollbar-width: none;

    &::-webkit-scrollbar {
      display: none;
    }
  }

  .localization-form__list-item:not([hidden]) {
    margin-block-end: var(--margin-3xs);
    display: flex;
    gap: var(--margin-sm);
    padding: 8px;
    border-radius: 8px;
    line-height: var(--font-line-height-md);
    align-items: center;
    text-align: start;
    cursor: pointer;
    transition: background-color var(--animation-speed) var(--animation-easing);

    .country {
      flex: 1;
      color: var(--color-foreground);
    }

    &:hover {
      background-color: rgb(var(--color-foreground-rgb) / var(--opacity-8));
    }

    &[aria-current='true'] {
      .country {
        font-weight: 500;
      }
    }
  }

  .localization-form__list-item#no-results-message {
    grid-template-columns: 1fr;
    text-align: center;
    color: var(--color-foreground-subdued);
  }

  .is-searching .localization-form__list-item .country {
    color: var(--color-foreground-subdued);
  }

  .localization-form__list-item .country mark {
    font-weight: 500;
    background: none;
    color: var(--color-foreground);
  }

  .country-filter {
    position: relative;
    padding: var(--padding-xs);
    border-bottom: var(--style-border-width) solid transparent;
    transition: border-color var(--animation-values);
  }

  .country-filter.is-scrolled {
    border-color: var(--color-border);
  }

  .country-selector-form__wrapper {
    overflow-y: auto;
    max-height: 100%;
    flex-grow: 1;
  }

  .language-selector {
    display: flex;
    gap: var(--gap-xs);
    padding: var(--padding-md) var(--padding-lg);
    position: relative;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .language-selector--top-shadow::before {
    content: '';
    box-shadow: 0 0 10px var(--color-shadow);
    position: absolute;
    z-index: var(--layer-lowest);
    inset: 0;
    clip-path: inset(-50px 0 0 0); /* stylelint-disable-line */
  }

  .language-selector__label {
    flex-shrink: 0;
    color: var(--color-foreground-subdued);
  }

  .localization-form__select {
    border: none;
    color: var(--color-foreground);
    appearance: none;
    background-color: var(--color-background);
    padding-block: var(--padding-3xs);
    padding-inline: var(--padding-xs) calc(var(--icon-size-xs) + var(--padding-xs));
    text-align: right;
    cursor: pointer;
    max-width: 40vw;
    text-overflow: ellipsis;
    field-sizing: content;

    &:focus-visible {
      outline: var(--focus-outline-width) solid currentcolor;
    }

    &:focus {
      outline: none;
    }
  }

  #header-component[transparent] localization-form-component .localization-form .localization-form__select {
    background-color: transparent;
  }

  .localization-form__select option {
    background-color: var(--color-input-background);
    color: var(--color-input-text);
  }

  .language-selector .svg-wrapper.icon-caret {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
  }

  .language-selector--collapse-space {
    padding-inline-end: var(--padding-2xs);
  }

  .language-selector--collapse-space .localization-form__select {
    padding-inline-end: var(--icon-size-xs);
  }

  .language-selector--collapse-space .svg-wrapper.icon-caret {
    right: 0;
  }

  .localization-form .icon-checkmark {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }

  .localization-form .svg-wrapper.icon-checkmark {
    visibility: hidden;
  }

  .localization-form__list-item[aria-current='true'] .svg-wrapper.icon-checkmark {
    visibility: visible;
  }

  .country-filter__input {
    width: 100%;
    height: 44px;
    font-size: var(--font-size-lg);
    padding: var(--padding-md) var(--padding-lg) var(--padding-md) calc(var(--margin-md) + var(--padding-xl));
    border: 1px solid var(--color-foreground);
    color: var(--color-input-text);
    background-color: var(--color-input-background);
    outline-offset: -1px;

    @media screen and (min-width: 750px) {
      height: 36px;
    }
  }

  .country-filter__input::placeholder {
    color: inherit;
  }

  .country-filter .field {
    position: relative;
  }

  .country-filter .field__label {
    font-size: var(--font-size-lg);
    left: var(--margin-2xl);
    top: var(--margin-xl);
    pointer-events: none;
    position: absolute;
  }

  .country-filter__input:focus ~ .field__label,
  .country-filter__input:not(:placeholder-shown) ~ .field__label,
  .country-filter__input:-webkit-autofill ~ .field__label {
    font-size: var(--font-size-xs);
    top: var(--margin-xs);
  }

  .country-filter .field__button:not([hidden]) {
    display: flex;
    height: fit-content;
    position: absolute;
    padding: 0;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    background-color: transparent;
    color: var(--color-input-text);
    border: 0;
  }

  input[type='search']::-webkit-search-cancel-button {
    appearance: none;
  }

  .country-selector__close-button {
    display: none;
  }
/* END_SNIPPET:localization-form */

/* START_SNIPPET:media (INDEX:209) */
.media-block {
    overflow: hidden;
    position: relative;

    @media screen and (min-width: 750px) {
      min-height: var(--media-height);
    }
  }

  .media-block__media {
    height: var(--media-height-mobile, auto);
    object-fit: var(--image-position, 'cover');
    object-position: center center;
    width: 100%;

    @media screen and (min-width: 750px) {
      height: 100%;
      position: absolute;
    }
  }

  deferred-media[class].media-block__media
    :is(.deferred-media__poster-button img, .deferred-media__poster-button ~ video) {
    object-fit: var(--video-position, 'cover');
  }

  /* This is to support corner radius on video and align the video to the center of the block */
  .media-block__placeholder {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    overflow: hidden;
    position: relative;
  }

  .media-block__media--video {
    display: flex;
    align-items: center;
    justify-content: center;

    @media screen and (max-width: 749px) {
      --media-height-mobile: auto;
    }
  }
/* END_SNIPPET:media */

/* START_SNIPPET:nils-chat-widget (INDEX:214) */
/*
   * COMPARE DRAWER [ours] — `--nils-compare-drawer-height` is written by
   * sections/nils-store-shelf.liquid (assets/nils-shelf.js
   * #syncDrawerHeight) whenever its compare drawer is on screen; unset/
   * 0px everywhere else (product pages, or this page before any product
   * is selected), so the `calc()` below is a no-op there. The launcher
   * must stay clickable while the drawer is present (LAW: nothing on the
   * page may sit permanently underneath it), so it shifts straight up by
   * the drawer's own live height rather than picking a fixed guess.
   */
  .nils-chat__fab {
    position: fixed;
    right: 24px;
    /* STICKY BAR CLEARANCE [ours] — assets/sticky-add-to-cart.js sets
       --nils-sticky-bar-offset on <html> (the bar's bottom gap + its own
       height) for exactly as long as the product-page add-to-cart bar is
       showing, and removes it when the bar hides, so the launcher rides
       above the bar and returns to its normal spot with it. Unset = 0px,
       so every other page and state is unchanged. */
    bottom: calc(24px + var(--nils-compare-drawer-height, 0px) + var(--nils-sticky-bar-offset, 0px));
    z-index: var(--layer-sticky);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--nils-red);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.4), 0 0 0 1px rgb(var(--nils-red-rgb) / 0.3);
    transition:
      opacity var(--animation-speed-slow) var(--ease-out-quad),
      transform var(--animation-speed-slow) var(--ease-out-quad),
      /* 0.3s, same duration and curve as .sticky-add-to-cart__bar's own
         transform/opacity transition (sections/product-information.liquid),
         so the lift and the bar move as one. */
      bottom 0.3s var(--ease-out-quad),
      background-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  /* FOOTER CLEARANCE [ours] — at the very end of a product page the fixed
     launcher used to sit on the footer's bottom row ("Privacy Policy",
     "Copyright"). The ≤640 block below already reserves 88px at the end of
     the page for it; the same reservation now applies at every width, so
     the last footer row always scrolls up clear of the launcher. */
  body.template-product .page-wrapper {
    /* STICKY BAR CLEARANCE [ours] — the launcher rides above the product
       page's add-to-cart bar by --nils-sticky-bar-offset (set only while the
       bar shows), so the end-of-page reservation grows by the same amount:
       one padding, not two. Unset = 0px, i.e. the plain 88px. Same 0.3s
       curve as the bar and the launcher's own lift. */
    padding-bottom: calc(88px + var(--nils-sticky-bar-offset, 0px));
    transition: padding-bottom 0.3s var(--ease-out-quad);
  }

  .nils-chat__fab:hover {
    background: rgb(var(--nils-red-rgb) / 0.85);
    box-shadow: 0 0 24px rgb(var(--nils-red-rgb) / 0.4), 0 0 0 1px rgb(var(--nils-red-rgb) / 0.5);
  }

  /* FAB steps aside while the panel is open — one close affordance at a time (the panel's own "Chiudi"), not two overlapping ones. */
  .nils-chat[data-open='true'] .nils-chat__fab {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
  }

  /*
   * CHAT LAUNCHER [ours, run C — replaces run B's hide] — the compare
   * sheet (sections/nils-store-shelf.liquid) is 75% viewport width,
   * centered (run A: `left`/`right: 12.5%`), so this button's own
   * resting spot (`right: 24px`, above) already sits inside the 12.5%
   * gap to its right — never under the sheet horizontally, at any
   * vertical position. The only reason to move it at all is the big
   * `bottom: calc(24px + var(--nils-compare-drawer-height))` shift
   * (above): that value climbs to ~85vh while the sheet is open, which
   * was built for the drawer's OLD full-width days (climb clear of
   * whatever spans the whole bottom edge) and would now just strand the
   * launcher up near the top of the page for no reason — nothing at
   * that height needs clearing any more. Same attribute run B used
   * (`data-nils-compare-sheet-open` on `<html>`, assets/nils-shelf.js
   * #syncDrawerHeight, single writer, cleared on collapse/close either
   * way) — reposition instead of hide: pin `bottom` back to its own
   * plain resting value for this state alone, stay fully visible and
   * clickable in the gap. Collapsed-bar behavior (the `--nils-compare-
   * drawer-height`-driven shift above) is untouched.
   */
  :root[data-nils-compare-sheet-open] .nils-chat__fab {
    bottom: 24px;
  }

  /*
   * MOBILE PASS 2026-09-08 — at ≤640px the store's compare sheet is
   * full-width (sections/nils-store-shelf.liquid docks it edge to edge),
   * so the 12.5% side gap the rule above relies on doesn't exist and the
   * launcher sat on top of the sheet's bottom-right cells. Same treatment
   * the wizard's own sheet already gets below: step aside while open.
   */
  @media (max-width: 640px) {
    :root[data-nils-compare-sheet-open] .nils-chat__fab {
      opacity: 0;
      pointer-events: none;
    }
  }

  /*
   * REACHABLE INSIDE THE WIZARD [ours, RUN C] — the widget's DOM position
   * never changes (still rendered once, globally, from layout/theme.liquid)
   * and stays completely inert on templates other than product/index (see
   * the doc block up top); this only elevates it, via two attributes the
   * wizard's own #open/#close/#syncChatElevation write on <html>
   * (sections/nils-kit-wizard.liquid, assets/nils-kit-wizard.js) — the
   * exact same cross-component signaling shape `data-nils-compare-sheet-
   * open` (above) already established, not a new pattern.
   *
   * ALL WIDTHS [WIZARD CARDS RUN 2] — was `@media (min-width: 861px)` only
   * (the threshold the wizard's own sidebar switches from a rail to a
   * mobile drawer at): the reasoning at the time was "below it the drawer
   * already wins over everything in the wizard, chat included" — true of
   * the drawer's own z-index, but it meant the FAB was simply unreachable
   * on every phone, full stop, not a deliberate tradeoff. The gate is
   * gone; the same elevation now applies at every width. Desktop's own
   * behavior is unchanged — it already had this rule.
   *
   * 310 clears the wizard root's own z-index: 300 with headroom, the same
   * "explicit small delta above the thing being cleared" shape RUN B's
   * own z-index: 25 (clearing the wizard's internal 18/20 max) already
   * used, not a new convention. All three elevated together to the same
   * value: the FAB and panel are already mutually exclusive at rest (the
   * FAB fades out the moment the panel opens, above), so there's no
   * ordering between them left to preserve.
   */
  :root[data-nils-wizard-open] .nils-chat__fab,
  :root[data-nils-wizard-open] .nils-chat__veil,
  :root[data-nils-wizard-open] .nils-chat__panel {
    z-index: 310;
  }

  /*
   * SHIFT ABOVE THE WIZARD'S OWN BAR [ours, RUN C] — same idea as the
   * store's own `--nils-compare-drawer-height`/`data-nils-compare-
   * sheet-open` mechanism above, deliberately NOT reused directly: the
   * wizard's own compareEngine keeps `globalSideEffects: false` (assets/
   * nils-kit-wizard.js) specifically so a second, independently-
   * lifecycled instance never writes the STORE's own shared globals —
   * doing so would leave them stuck at a stale value once the wizard
   * closes if the store's own bar happened to be open first. This is
   * that same shift, on the wizard's own separately-namespaced
   * attribute instead. The base rule resets to the plain 24px resting
   * value whenever the wizard is open with no bar/sheet of its own
   * showing — needed because the store's `--nils-compare-drawer-height`
   * could itself be genuinely non-zero and stale (a real prior store-
   * page interaction, not a bug) at the moment the wizard opens over
   * it; without this reset the FAB would keep reading that stale value
   * while inside the wizard. 152px is DRAWER_HEIGHT_BAR (assets/nils-
   * compare-engine.js: 48px header + 104px body) kept in lockstep by
   * hand, same convention that constant's own doc comment already
   * documents. WIZARD CARDS RUN 2 — no longer desktop-only (above);
   * this shift now also applies at every width.
   */
  :root[data-nils-wizard-open] .nils-chat__fab {
    bottom: 24px;
  }

  :root[data-nils-wizard-open][data-nils-wizard-compare-state='bar'] .nils-chat__fab {
    bottom: calc(24px + 152px);
  }

  /*
   * SHEET FADE [ours, RUN 6] — the wizard's compare table and its
   * single-product Info panel both use the same trayState='sheet'
   * mechanism (assets/nils-compare-engine.js openSheet/openSheetWithRenderer),
   * and the sheet is near-fullscreen at MOBILE widths (unlike desktop's
   * own 75%-inset sheet, which the FAB's plain 24px resting spot already
   * clears — see the store's own `data-nils-compare-sheet-open` rule
   * above), so there is no bottom offset that clears it without
   * stranding the FAB near the top of the screen. Same treatment
   * `.nils-chat[data-open='true']` already gives the FAB when the chat
   * panel itself opens (above): step aside instead of relocating.
   * Mobile-only so desktop, where this problem doesn't exist, stays
   * byte-identical. data-nils-wizard-compare-state flips to 'sheet'
   * synchronously, before the sheet's own open transition starts
   * (assets/nils-kit-wizard.js #syncChatElevation), so this covers the
   * bar->sheet transition too, not just the settled state.
   */
  @media (max-width: 640px) {
    :root[data-nils-wizard-open][data-nils-wizard-compare-state='sheet'] .nils-chat__fab {
      opacity: 0;
      pointer-events: none;
    }
  }

  /*
   * MOBILE COMPARE BAR IS TALLER [WIZARD CARDS RUN 2] — the 152px above
   * (48px header + 104px body, DRAWER_HEIGHT_BAR) is correct at 641px and
   * up, where the compare bar's body is still the desktop's single row.
   * At ≤640px (sections/nils-store-shelf.liquid's own TRAY BODY, MOBILE
   * fix from the previous run) that body is a column stack instead —
   * measured live just now, this width, all 4 locales, 2 items picked:
   * 155px body + 48px header + ~3px border = 206px, not 152px. Without
   * this override the FAB's own shift (152px) undershoots the real
   * mobile tray by ~50px and the FAB sits partly behind it — found live
   * while confirming this run's own "the launcher covers none of the
   * compare tray" requirement. Same 24px clearance the desktop rule
   * keeps, against the real mobile height instead of the desktop one.
   */
  @media (max-width: 640px) {
    :root[data-nils-wizard-open][data-nils-wizard-compare-state='bar'] .nils-chat__fab {
      bottom: calc(24px + 206px);
    }
  }

  /* Desktop-inert: no veil for a small popover panel (matches this file's own dropdown convention — filter menus, search suggestions — click-outside-closes, no dimming). Only relevant at the mobile full-screen breakpoint below. */
  .nils-chat__veil {
    display: none;
    position: fixed;
    inset: 0;
    z-index: var(--layer-overlay);
    background: rgb(0 0 0 / 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity var(--animation-speed-slow) var(--ease-out-quad),
      visibility 0s linear var(--animation-speed-slow);
  }

  .nils-chat__panel {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: var(--layer-overlay);
    display: flex;
    flex-direction: column;
    width: 360px;
    height: 480px;
    /*
     * IPAD KEYBOARD [ours] — `100vh` is the LAYOUT viewport, which on
     * Safari (iPad included) doesn't shrink when the on-screen keyboard
     * opens — the panel kept its pre-keyboard max-height, so the input
     * (at the panel's own bottom) ended up under the keyboard rather than
     * above it. `100dvh` tracks the VISUAL viewport instead, shrinking
     * live with the keyboard, so `max-height` — and therefore where the
     * input sits — actually follows it.
     */
    max-height: calc(100dvh - 48px);
    border-radius: var(--nils-radius);
    border: 1px solid var(--nils-hairline-strong);
    background: rgb(18 18 18 / 0.98);
    box-shadow: 0 24px 64px rgb(0 0 0 / 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px) scale(0.98);
    transition:
      opacity var(--animation-speed-slow) var(--ease-out-quad),
      transform var(--animation-speed-slow) var(--ease-out-quad),
      visibility 0s linear var(--animation-speed-slow);
  }

  .nils-chat[data-open='true'] .nils-chat__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
      opacity var(--animation-speed-slow) var(--ease-out-quad),
      transform var(--animation-speed-slow) var(--ease-out-quad);
  }

  /*
   * TABLET LAYER AUDIT [ours, 2026-09-17] — this file's own small-popover
   * `.nils-chat__panel` rule (above) uses `z-index: var(--layer-overlay)`
   * (16) at every width from 641px up, same as desktop. Live-measured at
   * 641-1200px: `.header-section` (sections/header.liquid) is
   * `position: sticky; z-index: var(--layer-menu-drawer)` (18) whenever
   * this store's header is sticky (which it always effectively is here) —
   * that's the real ceiling, not `#header-component` itself (16, only
   * when `[transparent]`), because the header's OWN dropdowns (account/
   * cart flyouts, `.nils-lang-switcher2__panel` in snippets/nils-
   * localization-form.liquid, `position:absolute; top: calc(100% + 6px)`)
   * are all descendants painted inside that same z-18 stacking context
   * regardless of their own smaller z-index values — none of them need
   * individual handling, clearing the ANCESTOR clears all of them at
   * once. (Search/cart/quick-add all use native `<dialog
   * >`.showModal() — browser top-layer, already unconditionally above
   * any z-index either side of this, confirmed via assets/theme-
   * drawer.js's own doc comment — not this panel's problem to solve.)
   * This didn't SHOW as a bug before this run because the resting popover
   * (360x480, bottom-right) never physically reached up into the header's
   * own row or its dropdowns' drop-zone; it becomes real the moment the
   * panel is redocked to start right at the header's own bottom edge,
   * below.
   *
   * DECISION, PER ELEMENT — z-index placement for the header, NOT a
   * `data-nils-chat-open`-hides-it rule (contrast the ≤640 approach,
   * which hides the store's own sticky furniture entirely): at this
   * width the panel is a partial, right-docked pane, not a full-screen
   * takeover — most of the page (site header included) stays genuinely
   * visible and usable beside it, so hiding the header would remove real,
   * still-reachable navigation/branding for no reason. Raising the
   * panel's own z-index above the header's ceiling (18) instead makes it
   * win the one place they can actually visually compete — a dropdown
   * that opens low enough to reach into the panel's own screen region —
   * without touching header.liquid/header-drawer.liquid (stock Horizon
   * files) or hiding anything a visitor might still want. 19 is the same
   * "small explicit delta above the thing being cleared" convention this
   * file's own wizard-clearing rule below (310, clearing the wizard's own
   * 300) and sections/nils-store-shelf.liquid's compare-tray tick (25,
   * clearing 18/20) already use — not a round/semantic `--layer-*` token,
   * since none of this scale's existing tokens land exactly one above 18
   * without reusing a differently-intentioned one (`--layer-temporary`,
   * 20, means something else entirely in nils-store-shelf.liquid).
   */
  @media (min-width: 641px) and (max-width: 1200px) {
    /*
     * TABLET DOCK [ours, 2026-09-17] — the resting rule above (360x480,
     * bottom-right) leaves real dead space below the panel on a tablet
     * viewport and strands the input mid-screen instead of at the
     * bottom — reported live on an iPad. Redocked to actually use the
     * available height: right-anchored (same 24px the resting rule
     * already uses — a floating card, not an edge-to-edge takeover),
     * fixed ~400px width, `top` pinned to the SAME live `--header-height`
     * custom property snippets/nils-nav-search.liquid's own dropdown
     * already anchors to (assets/header.js/assets/utilities.js keep it
     * current), `bottom: 0` instead of a fixed `height` — the browser
     * resolves the box's height from top+bottom directly, so it always
     * fills exactly "below the header to the viewport bottom" without a
     * second, separately-maintained height number to keep in sync.
     * `max-height` is dropped (`none`) for the same reason — the old
     * `calc(100dvh - 48px)` cap doesn't apply once top+bottom already
     * bound the box.
     *
     * KEYBOARD [unchanged] — assets/nils-chat-widget.js's existing
     * `#tabletChatViewportQuery` (641-1200, from the 2026-09-15 session)
     * sets this SAME element's inline `top`/`height` directly once the
     * keyboard opens. Per Bug B's own confirmed-live finding that
     * session, an explicit `top` + `height` inline pair outranks this
     * rule's own `bottom: 0` in the browser's over-constrained
     * `position: fixed` box resolution — same mechanism, now resolving
     * against `bottom: 0` here instead of the old `bottom: 24px`, no JS
     * change needed.
     */
    .nils-chat__panel {
      top: var(--header-height, 82px);
      right: 24px;
      bottom: 0;
      z-index: 19;
      width: 400px;
      height: auto;
      max-height: none;
    }

    /* Same home-indicator/safe-area clearance the ≤640 rule already gives
       the input row (below) — a docked-to-the-bottom-edge panel needs it
       here too now that `bottom: 0` actually reaches the real edge,
       which the old floating `bottom: 24px` popover never did. */
    .nils-chat__form {
      padding-bottom: max(var(--padding-md), env(safe-area-inset-bottom));
    }
  }

  .nils-chat__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: var(--padding-lg);
    border-bottom: 1px solid var(--nils-hairline-strong);
  }

  .nils-chat__title {
    margin: 0;
    font-family: var(--font-heading--family);
    font-style: italic;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
  }

  .nils-chat__disclaimer {
    margin: 4px 0 0;
    font-size: var(--font-size--3xs);
    color: rgb(255 255 255 / 0.4);
  }

  .nils-chat__close {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--nils-hairline-strong);
    background: transparent;
    color: rgb(255 255 255 / 0.6);
    font-family: var(--font-body--family);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
  }

  .nils-chat__close:hover {
    color: #fff;
    border-color: rgb(var(--nils-red-rgb) / 0.4);
  }

  /* Same thin/dark scrollbar tokens as the filter dropdowns and the sticky bar's own pills. */
  .nils-chat__messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    /*
     * SCROLL CHAIN [ours, 2026-09-16] — `assets/nils-chat-widget.js`
     * already calls the theme's own `lockScroll`/`unlockScroll`
     * (assets/utilities.js) while the panel is open, which sets
     * `html[scroll-lock] { overflow: hidden }` (assets/base.css). That
     * stops programmatic/wheel scrolling of the document, but iOS Safari
     * doesn't honor `overflow: hidden` for a TOUCH drag that starts
     * inside a nested scroller and keeps going past its own scroll
     * bounds — without an explicit stop, the gesture "rubber-band
     * chains" past this element to the document underneath, which is
     * exactly what let the store page's chips-track/compact-bar keep
     * scrolling (and repainting) while someone dragged through the chat
     * messages list. Same fix this theme already applies to every other
     * touch-scrollable panel with a locked document behind it —
     * `snippets/cart-disclosure-tooltip.liquid`, `snippets/product-
     * media-gallery-content.liquid` — this is the one scrollable region
     * in this widget that was missing it.
     */
    overscroll-behavior: contain;
    padding: var(--padding-lg);
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--nils-hairline-strong) transparent;
  }

  .nils-chat__messages::-webkit-scrollbar {
    width: 6px;
  }

  .nils-chat__messages::-webkit-scrollbar-track {
    background: transparent;
  }

  .nils-chat__messages::-webkit-scrollbar-thumb {
    background-color: var(--nils-hairline-strong);
    border-radius: 999px;
  }

  .nils-chat__messages::-webkit-scrollbar-thumb:hover {
    background-color: rgb(255 255 255 / 0.16);
  }

  /* POLISH RUN — the system-font override this widget used to carry is gone; every running-text element in the theme now shares --font-body--family, chat bubbles included. FONT RUN's shared rule (custom-fonts.liquid) sets this element's weight/line-height (Light cut, 1.85) — not set here, to avoid a second copy. */
  .nils-chat__message {
    margin: 0;
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-family: var(--font-body--family);
    font-size: 14px;
  }

  .nils-chat__message--user {
    align-self: flex-end;
    background: var(--nils-red);
    color: #fff;
    border-bottom-right-radius: 4px;
  }

  .nils-chat__message--assistant {
    align-self: flex-start;
    background: rgb(255 255 255 / 0.06);
    color: rgb(255 255 255 / 0.85);
    border-bottom-left-radius: 4px;
  }

  .nils-chat__message--typing {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 14px;
  }

  .nils-chat__message--typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.4);
    animation: nils-chat-typing 1s infinite ease-in-out;
  }

  .nils-chat__message--typing span:nth-child(2) {
    animation-delay: 0.15s;
  }

  .nils-chat__message--typing span:nth-child(3) {
    animation-delay: 0.3s;
  }

  @keyframes nils-chat-typing {
    0%, 60%, 100% {
      opacity: 0.3;
      transform: translateY(0);
    }
    30% {
      opacity: 1;
      transform: translateY(-3px);
    }
  }

  /*
   * STARTER CHIPS [ours] — the ghost chip language already established
   * in snippets/nils-design-language.liquid's `.nils-btn--ghost`
   * (transparent-ish fill, faint border, red-tinted hover, a translateY
   * lift), color/border/hover formula ported as-is; size/shape scaled
   * down from that class's own big-button proportions (14px 32px
   * padding, 13px uppercase tracked text) to something that fits three
   * of these under a chat bubble — small pill, sentence case.
   */
  .nils-chat__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: -2px;
  }

  .nils-chat__chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgb(255 255 255 / 0.15);
    background: rgb(255 255 255 / 0.05);
    color: rgb(var(--color-foreground-rgb) / 0.8);
    font-family: var(--font-body--family);
    font-size: 12px;
    cursor: pointer;
    transition: transform 0.35s var(--nils-ease), background-color 0.35s var(--nils-ease),
      border-color 0.35s var(--nils-ease), color 0.35s var(--nils-ease);
  }

  .nils-chat__chip:hover {
    transform: translateY(-2px);
    background: rgb(var(--nils-red-rgb) / 0.12);
    border-color: rgb(var(--nils-red-rgb) / 0.4);
    color: var(--nils-red);
  }

  .nils-chat__form {
    flex: none;
    display: flex;
    gap: 8px;
    padding: var(--padding-md);
    border-top: 1px solid var(--nils-hairline-strong);
  }

  .nils-chat__input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--nils-hairline-strong);
    background: rgb(255 255 255 / 0.03);
    color: #fff;
    font-family: var(--font-body--family);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
  }

  .nils-chat__input:focus {
    border-color: rgb(var(--nils-red-rgb) / 0.5);
  }

  .nils-chat__input::placeholder {
    color: rgb(255 255 255 / 0.35);
  }

  .nils-chat__send {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: var(--nils-red);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  .nils-chat__send:hover {
    background: rgb(var(--nils-red-rgb) / 0.85);
  }

  .nils-chat__send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /*
   * MOBILE — the panel takes the screen like the wizard drawer: same
   * solid panel / veil / labeled-close mechanism (LAW 3), full-screen
   * rather than the wizard's own partial side sliver (see the doc block
   * above for why). This file's own established mobile cutoff (640px),
   * not an invented breakpoint.
   */
  @media (max-width: 640px) {
    .nils-chat__veil {
      display: block;
    }

    .nils-chat[data-open='true'] .nils-chat__veil {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transition: opacity var(--animation-speed-slow) var(--ease-out-quad);
    }

    .nils-chat__panel {
      inset: 0;
      right: auto;
      bottom: auto;
      z-index: var(--layer-menu-drawer);
      width: 100%;
      /*
       * `100%` of a `position: fixed` box resolves against the layout
       * viewport, which on iOS Safari doesn't shrink for the bottom
       * toolbar/keyboard the way the VISUAL viewport does — the panel
       * could extend past what's actually visible. `100dvh` tracks the
       * visual viewport instead, so the panel — and the input pinned to
       * its bottom, below — always matches what's actually on screen.
       */
      height: 100dvh;
      max-height: none;
      border-radius: 0;
      border: none;
      transform: translateY(24px);
    }

    .nils-chat[data-open='true'] .nils-chat__panel {
      transform: translateY(0);
    }

    /*
     * iOS ZOOM [ours] — Safari auto-zooms the page on focusing any input
     * whose computed font-size is under 16px (this input is 14px on the
     * desktop/tablet rule above). A `maximum-scale` viewport hack would
     * suppress that same zoom for every input sitewide, including ones
     * this fix isn't about — the input's own font-size is the actual
     * cause, so that's what changes, scoped to the one input this bug is
     * about.
     */
    .nils-chat__input {
      font-size: 16px;
    }

    /*
     * KEYBOARD SAFE AREA [ours] — the input row is already pinned to the
     * panel's bottom via normal flow (`.nils-chat__form` is `flex: none`,
     * last in the column). `env(safe-area-inset-bottom)` adds the home-
     * indicator gap on notched iPhones on top of the row's own padding,
     * so the input never sits flush against — or under — that bar.
     * `max()` keeps the original padding as a floor on devices that
     * report 0 for the inset (everything else).
     */
    .nils-chat__form {
      padding-bottom: max(var(--padding-md), env(safe-area-inset-bottom));
    }

    .nils-chat__fab {
      right: 16px;
      /* Same drawer-height shift as the desktop rule above — see its doc comment. */
      bottom: calc(16px + var(--nils-compare-drawer-height, 0px) + var(--nils-sticky-bar-offset, 0px));
    }

    /*
     * FURNITURE, RETIRED [ours] — the 96px clearance this rule used to
     * add was for Horizon's own sticky-add-to-cart bar (sections/
     * product-information.liquid, `enable_sticky_add_to_cart`). That bar
     * only ever renders `and customer_approved` (same file, the section's
     * own gate) — for every visitor who isn't an approved B2B account
     * (i.e. everyone seeing the locked "Accedi per il prezzo" pricing),
     * it never renders at all, so the clearance was reserving space for a
     * bar that, in practice, is never there: the FAB floated 80px higher
     * than the store page's own launcher for no visible reason. Same
     * bottom offset as the store page now (mobile base rule, above:
     * `bottom: calc(16px + var(--nils-compare-drawer-height, 0px))`) —
     * this selector is kept, empty, rather than deleted outright, as the
     * one place to reintroduce a real clearance if the sticky bar's own
     * gate ever changes.
     */

    /*
     * PAGE RESERVES SPACE FOR IT [ours, UPDATED] — mobile-audit/
     * findings.md found the launcher floating over real tappable content
     * at rest (the product page's own Overview accordion toggle, a
     * related-product link); `.page-wrapper`'s own `padding-bottom`
     * already reserves live clearance for the compare drawer elsewhere in
     * the theme, so this reserves the FAB's own footprint here too, the
     * same pattern. `body.template-product` (layout/theme.liquid's own
     * class) scopes it to this one page — the store page gets its own
     * number from sections/nils-store-shelf.liquid instead (it also
     * clears the back-to-top arrow stacked above the FAB there, which
     * this page doesn't have).
     *
     * Value follows the FAB's own retired-clearance fix above: `bottom:
     * calc(16px + drawer-height)` + 56px tall = a flat 72px top edge (no
     * drawer on this page to add in), +16px of the same breathing room
     * every other fixed-control reservation in this codebase carries.
     */
    body.template-product .page-wrapper {
      padding-bottom: calc(88px + var(--nils-sticky-bar-offset, 0px));
    }

    /*
     * TAP TARGETS [ours] — mobile-audit/findings.csv: three controls in
     * this panel measure under 44 tall (`.nils-chat__close` 80x28,
     * `.nils-chat__chip` 135.5x40.2, `.nils-chat__send` 40x40, above).
     * All three carry a visible border or background that fills their
     * own box, so padding would visibly grow the control itself — the
     * `position: relative` + centered, unstyled `::after` technique
     * every other bordered/filled control this run touched uses here
     * too, leaving the visible box exactly as drawn.
     */
    .nils-chat__close {
      position: relative;
    }

    .nils-chat__close::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 44px;
    }

    .nils-chat__chip {
      position: relative;
    }

    .nils-chat__chip::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 44px;
    }

    .nils-chat__send {
      position: relative;
    }

    .nils-chat__send::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 44px;
      height: 44px;
    }
  }
/* END_SNIPPET:nils-chat-widget */

/* START_SNIPPET:nils-header-nav (INDEX:218) */
/*
   * TABLET PARITY PASS [ours, 2026-09-13] — this row's own show/hide is
   * now a single global 1200px breakpoint (see this file's own doc block
   * above for the full why/measurement), a plain literal rather than a
   * per-request Liquid value — it compiles fine into this ordinary,
   * static stylesheet tag; the inline-<style>-in-markup workaround this
   * used to need (2026-09-10 through 2026-09-11) is gone along with the
   * per-locale value that required it. The touch-vs-non-touch grid/
   * picker/search parity fix this row's visibility used to carry
   * alongside it (2026-09-12) has moved to sections/header.liquid, since
   * it was never really about THIS row — see that file's own doc block.
   */
  .nils-header-nav {
    display: none;
  }

  @media screen and (min-width: 1200px) {
    .nils-header-nav {
      display: flex;
      align-items: center;
      height: 100%;
    }
  }

  /* HEADER FINAL PASS — target gap to the switcher is now 32px (the
     site's own measured link-to-switcher gap, header-recon/
     full-diff.json), not the prior 8px minimum-clearance value. The
     row's flex container already contributes var(--gap-xl) (20px);
     this rule supplies the remainder as an explicit, positive
     trailing margin instead of the old negative one. Still scoped
     via :has() to the very next sibling only — unaffected by
     search/account/cart. Only ever takes effect once `.nils-header-nav`
     is already visible (1200px+ above), so it's safe unconditional. */
  .nils-header-nav:has(+ .dropdown-localization) {
    margin-inline-end: calc(32px - var(--gap-xl));
  }

  .nils-header-nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nils-header-nav__item {
    display: flex;
    align-items: center;
  }

  .nils-header-nav__link {
    font-family: 'Cube OT Regular', 'Cube OT Regular Placeholder', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.64px;
    text-transform: none;
    color: var(--color-foreground);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 150ms ease;
  }

  .nils-header-nav__link:hover,
  .nils-header-nav__link:focus-visible {
    opacity: 0.75;
  }
/* END_SNIPPET:nils-header-nav */

/* START_SNIPPET:nils-localization-form (INDEX:220) */
/*
   * LANGUAGE SWITCHER v2 [ours] — full side-by-side values against the
   * live site are in this run's own report, not repeated here.
   * margin-block below is --padding-md (0.8rem), restoring the header
   * row's own shared height per this file's own doc block above — not a
   * padding change on the trigger, which stays the site's measured 7px.
   */
  .nils-lang-switcher2 {
    position: relative;
    display: inline-flex;
    margin-block: 10px;
  }

  /* SWITCHER WIDTH — .dropdown-localization is the flex item
     header__column--right actually positions (justify-content:
     flex-end, sections/header.liquid). That row anchors every item's
     RIGHT edge off what follows it, so growing the trigger's own width
     shifts its LEFT edge left, dragging the nav links with it. This
     negative margin cancels the trigger's own 2px growth out of that
     flex-item's outer-box footprint, so header__column--right still
     positions nav/switcher exactly as before the caret's margin-left;
     the trigger's real (wider) border box then overflows 2px past this
     box's own right edge with nothing to clip it, so only that edge
     moves — matching the site's growth direction exactly. */
  .dropdown-localization:has(.nils-lang-switcher2) {
    margin-right: -2px;
  }

  .nils-lang-switcher2__trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    background-color: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-body--family);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    white-space: nowrap;
    transition: background-color 0.15s ease;
  }

  .nils-lang-switcher2__trigger:hover,
  .nils-lang-switcher2__trigger[aria-expanded='true'] {
    background-color: rgba(255, 255, 255, 0.08);
  }

  #header-component[transparent] .nils-lang-switcher2__trigger {
    background-color: transparent;
  }

  /* HEADER FINAL PASS — site's declared font-family stack for this text
     (header-recon/full-diff.json), scoped to the desktop header instance
     only (.dropdown-localization is unique to sections/header.liquid's
     desktop render; snippets/header-drawer.liquid's mobile instance is
     untouched). */
  .dropdown-localization .nils-lang-switcher2__trigger {
    font-family: 'Cube OT', Inter, system-ui, sans-serif;
  }

  .nils-lang-switcher2__flag {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .nils-lang-switcher2__caret {
    /* HEADER FINAL PASS — site's measured caret box exactly (header-
       recon/full-diff.json): 8x4, not the square icon-size-xs token.
       Vertical position falls out of the trigger's own align-items:
       center (unchanged) once the height shrinks. */
    width: 8px;
    height: 4px;
    display: flex;
    align-items: center;
    /* SWITCHER WIDTH — site's caret carries its own margin-left: 2px on
       top of the trigger's 6px flex gap (text→caret only, not flag→text);
       that's the full source of the site's 73.516px vs our old 71.516px
       trigger width (header-recon/full-diff-v2-table.json). */
    margin-left: 2px;
    transition: transform 0.2s ease;
  }

  .nils-lang-switcher2__trigger[aria-expanded='true'] .nils-lang-switcher2__caret {
    transform: rotate(180deg);
  }

  .nils-lang-switcher2__panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: var(--layer-overlay, 9999);
    min-width: 100%;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  }

  .nils-lang-switcher2__panel[hidden] {
    display: none;
  }

  /*
   * DRAWER DIRECTION [ours] — the mobile drawer's own trigger sits in a
   * bottom-fixed footer (menu-drawer__localization), so opening downward
   * (the desktop default) pushes the panel below the viewport, invisible.
   * Measured: the site's own mobile switcher lives in the header instead,
   * always room below — this shop's drawer placement is the one thing
   * this run leaves as-is (moving it is a layout change, out of scope),
   * so the panel opens upward here instead to stay on-screen.
   */
  .nils-lang-switcher2--upward .nils-lang-switcher2__panel {
    top: auto;
    bottom: calc(100% + 6px);
  }

  .nils-lang-switcher2__item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    background-color: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-body--family);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
    text-align: left;
    transition: background-color 0.12s ease;
  }

  .nils-lang-switcher2__item:hover,
  .nils-lang-switcher2__item:focus-visible {
    background-color: rgba(255, 255, 255, 0.08);
  }

  .nils-lang-switcher2__item--current {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
  }

  .nils-lang-switcher2__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--nils-red, rgb(204, 0, 0));
    flex-shrink: 0;
  }
/* END_SNIPPET:nils-localization-form */

/* START_SNIPPET:nils-nav-glass (INDEX:224) */
/* ============================================================
     Permanent tint — measured on nilsyourbike.com at 1920px:
     their nav bar's own overlay div (`framer-l9gn8w`) is a FLAT fill,
     `background-color: rgba(10, 10, 10, 0.15)`, `background-image: none`.
     No gradient was found anywhere over the bar (checked directly and
     via a broad gradient search across the whole top of the page) —
     despite reading as one, it isn't. Confirmed identical: at scroll
     top and scrolled 900px on the homepage, and on a product page
     (/gamma-nils/race-4t-racing-full-synthetic-engine-oil).

     `!important` on the backgrounds: base.css's
     `.shopify-section:not(.header-section) :is(.section, .cart-summary)
     { background: transparent }` reset wins that property over a
     higher-specificity ID-scoped selector regardless — Shopify bundles
     each section's own stylesheet into a layer that unlayered
     theme-asset CSS always beats for non-important declarations
     (confirmed empirically in an earlier pass on this same bar).
     ============================================================ */
  #header-group .header[transparent] {
    top: 0;
  }

  /* Horizon's own underlay carries the header row's background; force it
     to our flat tint always, ignoring the height-animated solid-swap it
     would otherwise do on hover / once data-sticky-state='active'
     (which — because enable_sticky_header stays "always" for the whole
     site — fires almost immediately on any scroll). Never solid. */
  #header-group .header[transparent] .header__underlay-closed,
  #header-group .header[transparent] .header__underlay-open {
    background: rgba(10, 10, 10, 0.15) !important;
    height: 100% !important;
  }

  /* Pin the transparent-state text colour permanently too — otherwise
     the same data-sticky-state='active' / menu-hover branches that
     used to trigger the solid swap also switch --color-foreground back
     to `inherit`. */
  #header-group .header[transparent] {
    --color-foreground: #ffffff !important;
    --color-foreground-rgb: 255 255 255 !important;
    --color-border: #ffffff !important;
    --color-border-rgb: 255 255 255 !important;
    --color-primary-button-background: #ffffff !important;
    --color-primary-button-text: #0a0a0a !important;
  }

  /* ============================================================
     Nav item text — measured on nilsyourbike.com at 1920px (their
     .framer-text nav links): font-size 16px, weight 400, letter-spacing
     -0.64px, text-transform none, color #fff at full opacity, 32px gap
     between items, vertically centered in the 64px bar. Applied to our
     Home / Catalog / Contact. Font-family maps to our theme's own "Cube
     OT" regular weight (their "Cube OT Regular" isn't a font we have —
     same family, our naming for the same weight).
     ============================================================ */
  #header-group .header[transparent] .menu-list__link {
    font-family: var(--font-body--family);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.64px;
    text-transform: none;
    color: #ffffff;
    opacity: 1;
  }

  /* The visible gap between item labels isn't a flex `gap` on this
     theme's overflow-list — the shadow-DOM list itself is forced to
     `gap: 0` (blocks/_header-menu.liquid, .overflow-menu::part(list))
     and real spacing comes from --gap-xl-driven padding on each
     .menu-list__link-title, compensated by a matching negative
     margin-inline on the list so the outer edges stay flush. Overriding
     --gap-xl here (rather than fighting the part(list) gap directly)
     keeps both halves of that mechanism in sync. Default --gap-xl is
     1.25rem (20px); live's measured item-to-item spacing is 32px. */
  #header-group .header[transparent] .menu-list {
    --gap-xl: 32px;
  }

  /* Nav block right-side inset — was anchored to the wrong element.
     Two runs back this padding was tuned so OUR cart's right edge
     tracked the SITE's hamburger right edge (header-recon/
     navinset-verify-formula.mjs). Wrong anchor: the site's row ends
     switcher-then-hamburger (one item after the switcher); ours ends
     switcher-then-three-icons (search, account, cart). Matching the
     last element in each row means matching a different-length tail,
     which pushes our switcher (and everything before it — nav
     included) short of the site's.

     Re-anchored on the one element both rows share in the same
     position: the language switcher. Measured the site's switcher at
     the same 8 widths (header-recon/navanchor-before.json) — its LEFT
     edge follows the exact same max()-shaped formula as the hamburger
     did (same underlying max-width: 1440px centered container), just
     offset by the switcher's own fixed distance from the hamburger:

       site_switcher_left(w) = w - max(184px, (w - 1440px) / 2 + 120px) - 73.515625px

     (73.515625px = the site's own switcher width, constant across
     widths; 120px = the fixed gap from switcher to hamburger on the
     site, also constant — both confirmed by the residual being exactly
     0 at all 8 measured widths.)

     Ours must reproduce that same LEFT edge. Our switcher sits at
     `cart.right - K`, where K = the fixed content width from switcher
     to cart (switcher + its trailing gaps + search + account + cart) —
     measured as a constant 212.28125px at every one of the 8 widths,
     confirmed with the OLD (cart-anchored) padding still in place, so
     it isn't an artifact of any padding value. And cart.right =
     viewport - 40px (our own flat page-margin) - padding-inline-end.
     Solving padding-inline-end so switcher.left lands on the target
     above, with viewport width w:

       padding-inline-end(w) = max(184, w/2 - 600) - 178.765625
                              = max(5.234375px, calc(50vw - 778.765625px))

       width  | site switcher.left | ours before | padding-inline-end (after)
       1280   |     1022.484375    |  1003.71875 |    5.234375px
       1366   |     1108.484375    |  1089.71875 |    5.234375px
       1440   |     1182.484375    |  1163.71875 |    5.234375px
       1600   |     1326.484375    |  1307.71875 |   21.234375px
       1728   |     1390.484375    |  1371.71875 |   85.234375px
       1920   |     1486.484375    |  1467.71875 |  181.234375px
       2200   |     1626.484375    |  1607.71875 |  321.234375px
       2560   |     1806.484375    |  1787.71875 |  501.234375px

     Icons (search/account/cart) are untouched siblings of the switcher
     in the same flex row — they shift with it as a group, their own
     internal gaps (the search.liquid negative-margin cluster) are
     unaffected.

     HEADER FINAL PASS — K (switcher-to-cart fixed content width) isn't
     only the switcher-to-search gap growing to 80px; the switcher's OWN
     width also changed here (the font-family swap and the caret's
     13.594px -> 8x4px resize both shrink it), so K couldn't be hand-
     derived from the old K plus one gap delta — re-measured directly
     post-edit instead (cart.right - switcher.left, confirmed constant
     across all 8 widths again): K = 281.078125px. Re-solved:

       inset(w) = max(184, w/2 - 600) + (73.515625 - 40 - 281.078125)
                = max(-63.5625px, calc(50vw - 847.5625px))

     CART CLIP FIX — the 80px switcher->search gap plus the fixed
     switcher/icons content (K=281.078125px total at gap=80) overflowed
     the viewport from 1280 through ~1695px (cart clipped ~23.6px at
     1440 — header-recon's own headerfinal report proved this). Rather
     than moving the switcher (forbidden — its left edge must stay
     pinned to the site's x), the switcher->search gap itself now
     shrinks below 80px, only as far as needed to keep cart.right
     exactly flush with the theme's normal 40px page margin, never past
     it. That "flush" cart position pins this column's own inset back
     to a plain non-negative value — max(-63.5625, ...) above becomes
     max(0, ...) below, since the negative floor was only ever needed
     to let cart bleed past the margin, which no longer happens: */
  @media screen and (min-width: 750px) {
    #header-group .header[transparent] .header__column--right {
      margin-inline-end: max(0px, calc(50vw - 847.5625px));
    }
  }

  /* CART CLIP FIX — companion to the inset change above. K's fixed
     part excluding this gap (switcher + search + account + cart widths
     + their own fixed gaps) measured 201.078125px. Holding cart.right
     at exactly viewport-40 (flush margin, matching the inset rule
     above) and solving for the gap that keeps the ALREADY-PINNED
     switcher.left consistent with that: gap(w) = min(80px, max(
     16.4375px, 50vw - 767.5625px)) — 16.4375px is the flat-region
     floor (1280-1568px, where the site's own switcher-position formula
     is itself flat, see the derivation above), rising 1:1 with half
     the viewport past 1568px, capped back at 80px once it would
     naturally exceed it (solves to exactly 1695.125px — confirmed live,
     see this run's own report). Below, expressed as margin-inline-start
     (that formula minus the container's own gap: var(--gap-xl), 20px):
     min(60px, max(-3.5625px, 50vw - 787.5625px)). Still overrides ONLY
     margin-inline-start — search.liquid's own margin-inline-end
     (-var(--gap-xs), toward account/cart) is untouched, so the icons
     keep their spacing among themselves. */
  @media screen and (min-width: 750px) {
    #header-group .header[transparent] .header__column--right .search-action {
      margin-inline-start: min(60px, max(-3.5625px, calc(50vw - 787.5625px)));
    }
  }
/* END_SNIPPET:nils-nav-glass */

/* START_SNIPPET:nils-nav-search (INDEX:225) */
.nils-nav-search__panel {
    position: fixed;
    top: var(--header-height, 82px);
    right: var(--nils-nav-search-right, 20px);
    z-index: var(--layer-menu-drawer);
    width: 400px;
    max-width: calc(100vw - 40px);
    border-radius: var(--nils-radius);
    border: 1px solid var(--nils-hairline-strong);
    background: rgb(18 18 18 / 0.98);
    box-shadow: 0 24px 64px rgb(0 0 0 / 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity var(--animation-speed-slow) var(--ease-out-quad),
      transform var(--animation-speed-slow) var(--ease-out-quad),
      visibility 0s linear var(--animation-speed-slow);
  }

  .nils-nav-search[data-open='true'] .nils-nav-search__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      opacity var(--animation-speed-slow) var(--ease-out-quad),
      transform var(--animation-speed-slow) var(--ease-out-quad);
  }

  .nils-nav-search__field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--nils-hairline);
  }

  .nils-nav-search__icon {
    flex: none;
    color: rgb(255 255 255 / 0.35);
  }

  .nils-nav-search__input {
    flex: 1;
    min-width: 0;
    border: none;
    background: none;
    outline: none;
    font-family: var(--font-body--family);
    font-size: 14px;
    color: #fff;
  }

  .nils-nav-search__input::placeholder {
    color: rgb(255 255 255 / 0.35);
  }

  .nils-nav-search__close {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: rgb(255 255 255 / 0.5);
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
  }

  .nils-nav-search__close:hover {
    color: #fff;
    background: rgb(255 255 255 / 0.08);
  }

  /* Same drawer-solid popover language as the shelf's own search suggestions (sections/nils-store-shelf.liquid `.nils-shelf__search-dropdown-*`) — one visual system, not a second one for this panel. */
  .nils-nav-search__results {
    max-height: 360px;
    overflow-y: auto;
    padding: var(--padding-xs);
    scrollbar-width: thin;
    scrollbar-color: var(--nils-hairline-strong) transparent;
  }

  .nils-nav-search__results[hidden] {
    display: none;
  }

  .nils-nav-search__results::-webkit-scrollbar {
    width: 6px;
  }

  .nils-nav-search__results::-webkit-scrollbar-track {
    background: transparent;
  }

  .nils-nav-search__results::-webkit-scrollbar-thumb {
    background-color: var(--nils-hairline-strong);
    border-radius: 999px;
  }

  .nils-nav-search__item {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
    padding: var(--padding-xs) var(--padding-sm);
    border-radius: 6px;
    text-decoration: none;
    color: rgb(255 255 255 / 0.85);
  }

  .nils-nav-search__item:hover,
  .nils-nav-search__item:focus-visible {
    background: rgb(255 255 255 / 0.05);
  }

  .nils-nav-search__thumb {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgb(255 255 255 / 0.04);
    overflow: hidden;
  }

  .nils-nav-search__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .nils-nav-search__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
  }

  .nils-nav-search__name {
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nils-nav-search__family {
    min-width: 0;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* color set inline per item — the product's own family color */
  }

  .nils-nav-search__empty {
    padding: var(--padding-sm);
    font-size: 13px;
    color: rgb(255 255 255 / 0.45);
  }

  @media (max-width: 640px) {
    .nils-nav-search__panel {
      left: 0;
      right: 0;
      width: 100%;
      max-width: 100%;
      border-left: none;
      border-right: none;
      border-radius: 0;
    }

    /*
     * TAP TARGET, MOBILE [ours] — mobile-audit/findings.csv: this input
     * measures 290x24.4px (its own text line-height, no padding of its
     * own — `.nils-nav-search__input`, above — under 44px tall. Neither
     * of this run's usual techniques applies here: `<input>` is a
     * replaced element, so a `::after` pseudo-element attaches but never
     * paints (checked live — confirmed against a throwaway test page,
     * not assumed); adding padding straight to the input the way `.nils
     * -shelf__search-input` (sections/nils-store-shelf.liquid) could
     * safely skip would grow `.nils-nav-search__field`'s own visible
     * height (that field's `align-items: center`, above, sizes to its
     * tallest child, and this input already IS that child) — a real
     * appearance change, not just a bigger hit area.
     *
     * Redistributed instead: `.nils-nav-search__field`'s own vertical
     * padding drops from 14px to 4px each side (-10px), the input's own
     * padding-block picks up the same 10px each side. The field's total
     * height is unchanged — the same 20px, now split between outer
     * (field) and inner (input) padding instead of sitting entirely
     * outside the input's own box — so nothing about the bar's visible
     * height, or the icon's own centering within it (`align-items:
     * center` still centers against the same total row height), moves.
     * Only the input's OWN box grows, from 24.4px to a live-measured
     * 44.4px — the padding it gained is real box, real hit-test area,
     * even though the pixels it occupies were already part of the
     * field's visible padding before.
     */
    .nils-nav-search__field {
      padding-block: 6px;
    }

    .nils-nav-search__input {
      padding-block: 11px;
    }

    /*
     * TAP TARGET [ours] — mobile-audit/findings.csv: this button (28x28,
     * no visible background/border of its own, above) measured under
     * 44x44. Same centered, unstyled `::after` technique as this run's
     * other plain controls.
     */
    .nils-nav-search__close {
      position: relative;
    }

    .nils-nav-search__close::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 44px;
      height: 44px;
    }
  }
/* END_SNIPPET:nils-nav-search */

/* START_SNIPPET:nils-pending-price-styles (INDEX:226) */
.nils-price-pending {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    cursor: default;
  }

  .nils-price-pending__icon {
    flex: none;
    color: rgb(255 255 255 / 0.35);
    margin-top: 0.2em;
  }

  .nils-price-pending__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .nils-price-pending__title {
    font-size: 1em;
    font-weight: 500;
    color: rgb(255 255 255 / 0.7);
  }

  .nils-price-pending__body {
    font-size: 0.85em;
    line-height: 1.4;
    color: rgb(255 255 255 / 0.45);
  }
/* END_SNIPPET:nils-pending-price-styles */

/* START_SNIPPET:nils-request-form (INDEX:231) */
/* Purely structural — carries no box of its own, so wrapping the success block + fields doesn't change their layout. Safe here specifically because THIS element never itself carries `[hidden]` (only its children do, toggled by assets/nils-request-form-status.js) — `display: contents` would otherwise outrank the UA's own `[hidden] { display: none }`. */
  nils-request-form-status {
    display: contents;
  }

  .nils-request-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
  }

  .nils-request-form__field--full {
    grid-column: 1 / -1;
  }

  .nils-request-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /*
   * POLISH RUN — the system-font override this form used to carry (same
   * recipe as snippets/nils-chat-widget.liquid's chat bubbles) is gone.
   * Labels, inputs, the (opzionale) markers via inheritance, the consent
   * line, and success/error copy now take the card's own font-family
   * (--font-body--family) like every other running-text element in the
   * theme, with the label's own extra tracking dropped to match. The
   * modal's own title, the standalone page's own heading/kicker, and the
   * submit button all keep Cube OT's heading treatment untouched, as
   * before. FONT RUN's shared rule (custom-fonts.liquid) sets weight/
   * line-height (Light cut, 1.85) on these same elements — not set here,
   * to avoid a second copy.
   */
  .nils-request-form__field label {
    font-family: var(--font-body--family);
    font-size: 14px;
    letter-spacing: normal;
    color: rgb(255 255 255 / 0.75);
  }

  .nils-request-form__req {
    color: var(--nils-red);
    margin-left: 2px;
  }

  .nils-request-form__opt {
    color: rgb(255 255 255 / 0.4);
  }

  .nils-request-form__field input,
  .nils-request-form__field textarea {
    width: 100%;
    font-family: var(--font-body--family);
    font-size: 14px;
    color: #fff;
    background: rgb(255 255 255 / 0.05);
    border: 1px solid rgb(255 255 255 / 0.15);
    border-radius: 8px;
    padding: 12px 16px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
  }

  .nils-request-form__field textarea {
    resize: vertical;
    min-height: 100px;
  }

  .nils-request-form__field input::placeholder,
  .nils-request-form__field textarea::placeholder {
    color: rgb(255 255 255 / 0.35);
  }

  .nils-request-form__field input:focus-visible,
  .nils-request-form__field textarea:focus-visible {
    outline: none;
    border-color: var(--nils-red);
    background: rgb(255 255 255 / 0.08);
  }

  /*
   * CHECKBOX ALIGNMENT [ours] — base.css's own `label:has(input[type=
   * "radio"]), label:has(input[type="checkbox"])` sets `align-items:
   * center` on every native checkbox/radio label, this one included
   * (confirmed live via computed styles: this rule, not the one below,
   * was winning). `:has()`'s specificity is that of its argument —
   * `input[type="checkbox"]` — so that selector totals one type + one
   * attribute selector on top of `label` itself, out-specificity-ing
   * this plain single-class selector. `!important` here, same idiom
   * already established in snippets/nils-nav-glass.liquid's own doc
   * comment for the identical base.css-vs-section-stylesheet conflict.
   *
   * SPACING [ours] — the same base.css rule also sets its own `gap:
   * var(--padding-2xs)` (4px), which was winning here too (confirmed
   * live: computed gap was 4px, not the 12px declared below) — same
   * specificity fight as align-items, same fix. 12px reads as a
   * deliberate, comfortable checkbox-to-label gap (~0.6x the 20px box,
   * in line with the 8-16px range typical for this pairing) rather than
   * the cramped 4px base.css was silently forcing.
   */
  .nils-request-form__consent {
    display: flex;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-top: 28px;
    cursor: pointer;
  }

  .nils-request-form__consent input {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
  }

  .nils-request-form__consent-box {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border-radius: 4px;
    border: 1px solid rgb(255 255 255 / 0.3);
    background: rgb(255 255 255 / 0.05);
    transition: background-color 0.2s ease, border-color 0.2s ease;
  }

  .nils-request-form__consent input:checked + .nils-request-form__consent-box {
    background: var(--nils-red);
    border-color: var(--nils-red);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13px 13px;
  }

  .nils-request-form__consent input:focus-visible + .nils-request-form__consent-box {
    outline: 2px solid var(--nils-red);
    outline-offset: 2px;
  }

  /*
   * LINE-HEIGHT [ours] — this element is also targeted by custom-fonts.
   * liquid's shared "FONT RUN" rule (line-height: 1.85, the theme's
   * running-text rhythm), which is right for actual paragraphs but too
   * loose for a two/three-line consent note — at 1.85 the lines read as
   * separate sentences instead of one block. Overridden HERE, locally,
   * not in that shared rule (nothing else it targets should tighten).
   * `var(--line-height--body-normal)` (1.4, snippets/theme-styles-
   * variables.liquid) is the theme's own "normal" body reading rhythm —
   * tighter than running-text "loose" (1.6) without going as tight as
   * "tight" (1.2), which reads cramped for a real sentence with a link.
   */
  .nils-request-form__consent-text {
    font-family: var(--font-body--family);
    font-size: 14px;
    line-height: var(--line-height--body-normal);
    color: rgb(255 255 255 / 0.6);
  }

  .nils-request-form__consent-text a {
    color: rgb(255 255 255 / 0.85);
    text-decoration: underline;
  }

  .nils-request-form__consent-text a:hover {
    color: #fff;
  }

  .nils-request-form__submit {
    margin-top: 28px;
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, #cc0000, #900000);
  }

  .nils-request-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgb(204 0 0 / 0.5), 0 8px 30px rgb(0 0 0 / 0.4);
  }

  .nils-request-form__error {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgb(204 0 0 / 0.12);
    border: 1px solid rgb(204 0 0 / 0.3);
    color: #fff;
    font-family: var(--font-body--family);
    font-size: 14px;
  }

  .nils-request-form__success {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  /*
   * FIX-4 [ours] — DIAGNOSED (not local reasoning: confirmed against the
   * actual deployed theme file via `shopify theme pull`, byte-identical
   * to this source). This element gained an always-present `hidden`
   * attribute in FIX-2 (client-side success reveal, assets/nils-request-
   * form-status.js), but the `display: flex` right above was never given
   * the same author-vs-UA-origin fix this codebase already established
   * for exactly this shape (sections/nils-store-shelf.liquid's own
   * `.nils-shelf__no-results[hidden]`/`.nils-shelf__item[hidden]`/etc.,
   * originally `.nils-kit-wizard__toast[hidden]`): a normal AUTHOR
   * declaration always outranks the browser's own normal UA declaration
   * (`[hidden] { display: none }`) regardless of specificity or source
   * order — so `display: flex` above made `hidden` completely inert on
   * this element, full stop, whether or not the reveal condition ever
   * matched. This compound selector is itself author-origin and MORE
   * specific than the bare class above (0,2,0 vs 0,1,0), so it wins
   * within that same origin and actually restores the hide.
   *
   * `.nils-request-form__fields` (the sibling this same reveal toggles)
   * was checked too and is innocent — it carries no `display` rule of
   * its own anywhere in this file or elsewhere, so its `hidden` resolves
   * from the UA stylesheet alone (`[hidden]` 0,1,0 outranks the UA's own
   * `div { display: block }` 0,0,1 by specificity, same origin) and
   * hides correctly already. No fix added there — nothing to fix.
   */
  .nils-request-form__success[hidden] {
    display: none;
  }

  .nils-request-form__success-icon {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgb(var(--nils-red-rgb) / 0.15);
    color: var(--nils-red);
  }

  .nils-request-form__success-title {
    margin: 0 0 6px;
    font-family: var(--font-body--family);
    font-weight: 700;
    font-size: 14px;
    color: #fff;
  }

  .nils-request-form__success-body {
    margin: 0;
    font-family: var(--font-body--family);
    font-size: 14px;
    color: rgb(255 255 255 / 0.65);
  }

  @media (max-width: 640px) {
    .nils-request-form__grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
  }
/* END_SNIPPET:nils-request-form */

/* START_SNIPPET:nils-request-modal (INDEX:232) */
.nils-request-modal__veil {
    position: fixed;
    inset: 0;
    z-index: 320;
    background: rgb(0 0 0 / 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity var(--animation-speed-slow) var(--ease-out-quad),
      visibility 0s linear var(--animation-speed-slow);
  }

  .nils-request-modal[data-open='true'] .nils-request-modal__veil {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity var(--animation-speed-slow) var(--ease-out-quad);
  }

  .nils-request-modal__panel {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 320;
    display: flex;
    flex-direction: column;
    width: calc(100% - 48px);
    max-width: 760px;
    max-height: calc(100vh - 48px);
    border-radius: var(--nils-radius);
    border: 1px solid var(--nils-hairline-strong);
    background: rgb(18 18 18 / 0.98);
    box-shadow: 0 24px 64px rgb(0 0 0 / 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.98);
    transition:
      opacity var(--animation-speed-slow) var(--ease-out-quad),
      transform var(--animation-speed-slow) var(--ease-out-quad),
      visibility 0s linear var(--animation-speed-slow);
  }

  .nils-request-modal[data-open='true'] .nils-request-modal__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    transition:
      opacity var(--animation-speed-slow) var(--ease-out-quad),
      transform var(--animation-speed-slow) var(--ease-out-quad);
  }

  .nils-request-modal__header {
    flex: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: var(--padding-lg) 40px;
    border-bottom: 1px solid var(--nils-hairline-strong);
  }

  .nils-request-modal__title {
    margin: 0;
    font-family: var(--font-heading--family);
    font-style: italic;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
  }

  .nils-request-modal__close {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid var(--nils-hairline-strong);
    background: transparent;
    color: rgb(255 255 255 / 0.6);
    font-family: var(--font-body--family);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
  }

  .nils-request-modal__close:hover {
    color: #fff;
    border-color: rgb(var(--nils-red-rgb) / 0.4);
  }

  .nils-request-modal__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 40px;
    scrollbar-width: thin;
    scrollbar-color: var(--nils-hairline-strong) transparent;
  }

  .nils-request-modal__body::-webkit-scrollbar {
    width: 6px;
  }

  .nils-request-modal__body::-webkit-scrollbar-track {
    background: transparent;
  }

  .nils-request-modal__body::-webkit-scrollbar-thumb {
    background-color: var(--nils-hairline-strong);
    border-radius: 999px;
  }

  @media (max-width: 640px) {
    .nils-request-modal__header {
      padding: var(--padding-md) 20px;
    }

    .nils-request-modal__body {
      padding: 28px 20px;
    }

    /*
     * TAP TARGET [ours] — mobile-audit/findings.csv: this button (80x28,
     * a visible border, above) measured under 44 tall. Same `position:
     * relative` + centered, unstyled `::after` technique as every other
     * bordered control this run touched — the border/text stay exactly
     * as drawn, only the tappable area grows.
     */
    .nils-request-modal__close {
      position: relative;
    }

    .nils-request-modal__close::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 44px;
    }
  }
/* END_SNIPPET:nils-request-modal */

/* START_SNIPPET:overlay (INDEX:236) */
.overlay {
    position: absolute;
    inset: 0;
    z-index: var(--overlay-layer);
    pointer-events: none;
    border-radius: var(--overlay-border-radius, 0);
  }

  .overlay--solid {
    background: var(--overlay-color);
  }

  .overlay--gradient {
    background: linear-gradient(var(--overlay-direction), var(--overlay-color), var(--overlay-color--end));
  }
/* END_SNIPPET:overlay */

/* START_SNIPPET:pagination-controls (INDEX:237) */
.pagination {
    --pagination-size: 36px;
    --pagination-inset: 2px;
    --pagination-radius: 6;

    display: flex;
    justify-content: center;
    padding: var(--padding-xl) var(--padding-sm);
    margin-top: var(--padding-xl);
    position: relative;
    isolation: isolate;
  }

  .pagination__list {
    display: flex;
    gap: 0;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
  }

  .pagination__item {
    width: var(--pagination-size);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
  }

  .pagination__link {
    display: grid;
    place-items: center;
    color: var(--color-foreground);
    text-decoration: none;
    width: 100%;
    height: 100%;
    user-select: none;
    position: relative;
    outline-color: var(--color-foreground);
    -webkit-tap-highlight-color: transparent;
    font-size: var(--font-size--md);
    font-weight: var(--font-weight-normal);
    border-radius: calc(var(--pagination-radius) * 1px);
    transition: color var(--hover-transition-duration) var(--hover-transition-timing),
      opacity var(--hover-transition-duration) var(--hover-transition-timing);
  }

  .pagination__link:focus-visible {
    outline: 2px solid var(--color-foreground);
    outline-offset: 2px;
  }

  .pagination__link--current {
    color: var(--color-background);
    font-weight: var(--font-weight-medium);
    cursor: default;
  }

  .pagination__link--gap {
    cursor: default;
    pointer-events: none;
  }

  .pagination__link--arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .pagination__link--disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
  }

  .pagination__link svg {
    width: 0.5rem;
    height: 0.75rem;
    flex-shrink: 0;
  }

  .pagination__item--mobile-only {
    display: none;
  }

  /* Fallback for browsers without anchor positioning support */
  @supports not (anchor-name: --pagination-active) {
    .pagination__link:not(.pagination__link--gap)::before {
      content: '';
      position: absolute;
      inset: var(--pagination-inset);
      border-radius: calc(var(--pagination-radius) * 1px);
      background: rgb(var(--color-foreground-rgb) / var(--opacity-10));
      z-index: -1;
      opacity: 0;
      transition: background var(--hover-transition-duration) var(--hover-transition-timing),
        opacity var(--hover-transition-duration) var(--hover-transition-timing);
    }

    .pagination__link[aria-current='page']::before {
      background: var(--color-foreground);
      opacity: 1;
    }

    .pagination__link:hover:not([aria-current='page'], .pagination__link--gap, .pagination__link--disabled)::before {
      opacity: 1;
    }
  }

  /* Modern approach with anchor positioning */
  @supports (anchor-name: --pagination-active) {
    .pagination__list::before {
      content: '';
      z-index: -1;
      position: absolute;
      width: calc(var(--pagination-size) - (2 * var(--pagination-inset)));
      aspect-ratio: 1;
      pointer-events: none;
      opacity: 0;
      border-radius: calc(var(--pagination-radius) * 1px);
      background: rgb(var(--color-foreground-rgb) / var(--opacity-10));
      transition: left var(--hover-transition-duration) var(--hover-transition-timing),
        top var(--hover-transition-duration) var(--hover-transition-timing);
    }

    /* Hide hover indicator on touch devices */
    @media (hover: none) and (pointer: coarse) {
      .pagination__list::before {
        content: unset;
      }
    }

    .pagination__list:has(
        .pagination__link:is(:hover, :focus-visible):not(.pagination__link--gap, .pagination__link--disabled)
      )::before {
      opacity: 1;
    }

    /* Style current page directly */
    .pagination__link[aria-current='page']::before {
      content: '';
      position: absolute;
      inset: var(--pagination-inset);
      border-radius: calc(var(--pagination-radius) * 1px);
      background: var(--color-foreground);
      z-index: -1;
    }

    .pagination__list
      .pagination__item:has(
        .pagination__link:is(:hover, :focus-visible):not(.pagination__link--gap, .pagination__link--disabled)
      ) {
      anchor-name: --pagination-hover;
    }

    /* Position hover indicator using anchor */
    .pagination__list::before {
      position-anchor: --pagination-hover;
      left: calc(anchor(left) + var(--pagination-inset));
      top: calc(anchor(top) + var(--pagination-inset));
    }

    .pagination__item:has(+ .pagination__item--gap) .pagination__link::after,
    .pagination__item--gap + .pagination__item .pagination__link::after {
      position: absolute;
      content: '';
      pointer-events: auto;
    }

    .pagination__item:has(+ .pagination__item--gap) .pagination__link::after {
      inset: 0 -50% 0 100%;
    }

    .pagination__item--gap + .pagination__item .pagination__link::after {
      inset: 0 100% 0 -50%;
    }
  }

  @media screen and (max-width: 749px) {
    .pagination {
      --pagination-size: 44px;
      --pagination-inset: 5px;

      padding: var(--padding-lg) var(--padding-sm);
    }

    .pagination__link {
      font-size: var(--font-size--sm);
    }

    .pagination__item--mobile-hide {
      display: none;
    }

    .pagination__item--mobile-only {
      display: grid;
    }

    .pagination__item:has(.pagination__link--gap) {
      width: calc(var(--pagination-size) * 0.5);
    }
  }
/* END_SNIPPET:pagination-controls */

/* START_SNIPPET:password-layout-styles (INDEX:238) */
.password-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .password-dialog {
    max-width: 100vw;
    max-height: 100svh;
    width: 100vw;
    height: 100svh;
    border: none;
    transition: opacity var(--animation-values), display var(--animation-speed) allow-discrete,
      overlay var(--animation-speed) allow-discrete;

    &::backdrop {
      display: none;
    }
  }

  .password-dialog[open] {
    opacity: 1;
    top: 0;
    left: 0;
  }

  @starting-style {
    .password-dialog[open] {
      opacity: 0;
    }
  }

  .password-dialog:not([open]) {
    opacity: 0;
  }

  @starting-style {
    .password-dialog:not([open]) {
      opacity: 1;
    }
  }

  .password-dialog__close-button {
    cursor: pointer;
  }

  .password-dialog__header {
    position: absolute;
    top: 0;
    right: 0;
    padding: var(--padding-lg);
    z-index: var(--layer-raised);
  }

  .password-dialog__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--padding-lg);
    height: 100%;
    transition: transform var(--animation-values);
  }

  .password-dialog__content .email-signup__message {
    padding-block-start: var(--padding-xl);
  }

  .password-dialog[open] .password-dialog__content {
    transform: translateY(0);
  }

  @starting-style {
    .password-dialog[open] .password-dialog__content {
      transform: translateY(1em);
    }
  }

  .password-dialog:not([open]) .password-dialog__content {
    transform: translateY(1em);
  }

  @starting-style {
    .password-dialog:not([open]) .password-dialog__content {
      transform: translateY(0);
    }
  }

  .storefront-password-form {
    max-width: 400px;
    width: 100%;
  }

  .email-signup__input-group,
  .password-dialog__submit-button {
    width: 100%;

    @media screen and (min-width: 750px) {
      width: auto;
    }
  }
/* END_SNIPPET:password-layout-styles */

/* START_SNIPPET:payment-terms-styles (INDEX:239) */
form.payment-terms {
    padding-top: 0.5em;
    font-size: min(0.85em, var(--font-paragraph--size));
    font-weight: var(--font-paragraph--weight);
    color: var(--color, rgb(var(--color-foreground-rgb) / var(--opacity-subdued-text)));
  }

  .installments:not(:has(shopify-payment-terms)) {
    display: none;
  }
/* END_SNIPPET:payment-terms-styles */

/* START_SNIPPET:pills-styles (INDEX:240) */
/* Pills (used in facets and predictive search) */

  .pills__pill {
    --pills-pill-background-color: rgb(var(--color-foreground-rgb) / var(--opacity-5-15));

    color: var(--color-foreground);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap-sm);
    min-width: 48px;
    padding: 6px 12px;
    border-radius: var(--style-border-radius-pills);
    cursor: pointer;
    background-color: var(--pills-pill-background-color);
    transition: background-color var(--animation-speed) var(--animation-easing);

    &:hover {
      --pills-pill-background-color: rgb(var(--color-foreground-rgb) / var(--opacity-10-25));
    }

    @media screen and (max-width: 749px) {
      padding: var(--padding-xs) var(--padding-md);
    }
  }

  .pills__pill > .svg-wrapper {
    --close-icon-opacity: 0.4;
    --icon-stroke-width: 1px;

    color: var(--color-foreground);
  }

  .pills__pill--swatch {
    @media screen and (max-width: 749px) {
      padding-inline-start: var(--padding-sm);
    }
  }

  .pills__pill--swatch .swatch {
    margin-right: -4px;
  }

  .pills__pill--desktop-small {
    @media screen and (min-width: 750px) {
      font-size: var(--font-size--xs);
    }
  }
/* END_SNIPPET:pills-styles */

/* START_SNIPPET:predictive-search-styles (INDEX:244) */
/* Shared predictive search styles (used by both predictive-search and predictive-search-empty sections) */
  .predictive-search-dropdown {
    display: flex;
    flex-direction: column;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--layer-base);
  }

  .predictive-search-results__inner {
    flex-grow: 1;
    overflow-y: auto;
    padding-block: var(--padding-lg);
    container-type: inline-size;
    color: var(--color-foreground);
  }

  .predictive-search-results__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size--body-md);
    font-weight: 500;
    margin-block: var(--margin-sm) var(--margin-xs);
    width: 100%;
    text-transform: var(--title-case);

    &:first-of-type {
      margin-block-start: 0;
    }

    @media screen and (max-width: 749px) {
      margin-block: var(--margin-lg) var(--margin-sm);
    }
  }

  .predictive-search-results__no-results {
    animation-delay: 100ms;
    transition: opacity var(--animation-speed-medium) var(--animation-timing-fade-in);
  }

  .predictive-search-results__no-results:last-child {
    margin-block: var(--margin-lg);
    text-align: center;
  }

  /* Predictive search section styles */
  input[type='search']::-webkit-search-decoration {
    -webkit-appearance: none; /* stylelint-disable-line */
  }

  .search-action .predictive-search {
    z-index: calc(var(--layer-header-menu) + 2);
  }

  .search-action .search-modal .predictive-search {
    z-index: var(--layer-window-overlay);
  }

  .header__column--right .predictive-search-form__content-wrapper {
    right: 0;
    left: unset;
  }

  .search-modal .predictive-search-form__content-wrapper {
    width: 100%;

    @media screen and (min-width: 750px) {
      height: fit-content;
    }
  }
  .dialog-modal .predictive-search-form__header-inner {
    @media screen and (min-width: 750px) {
      border: 0;
    }
  }

  .search-modal__content .predictive-search-form__content {
    max-height: var(--modal-max-height);
  }

  .predictive-search:has(.predictive-search-dropdown) .search-input {
    outline-color: transparent;
  }

  .predictive-search:has(.predictive-search-dropdown) .predictive-search-form__header-inner:focus-within {
    border-top-color: transparent;
    border-right-color: transparent;
    border-left-color: transparent;

    @media screen and (max-width: 749px) {
      border-bottom-color: transparent;
    }
  }

  .predictive-search:has(.predictive-search-dropdown[aria-expanded='true'])
    .predictive-search-form__header-inner:focus-within {
    border-top-color: transparent;
    border-right-color: transparent;
    border-left-color: transparent;
    border-radius: var(--search-border-radius);

    @media screen and (max-width: 749px) {
      border-radius: var(--style-border-radius-inputs);
    }
  }

  .dialog-modal .predictive-search-form__header {
    border: 0;
    border-radius: 0;
    background-color: var(--color-background);
    border-bottom: var(--style-border-width) solid var(--color-border);

    @media screen and (min-width: 750px) {
      padding: var(--padding-2xs) var(--padding-2xs) 0;
      border-bottom: var(--search-border-width) solid var(--color-border);
    }

    @media screen and (max-width: 749px) {
      transition: box-shadow 0.2s ease;
      box-shadow: none;
    }
  }

  .search-action .predictive-search:has(.predictive-search-dropdown) .predictive-search-form__header:focus-within {
    border-radius: var(--search-border-radius) var(--search-border-radius) 0 0;
    transition: box-shadow var(--animation-speed) var(--animation-easing);
    background-color: var(--color-background);

    @media screen and (max-width: 749px) {
      border-radius: var(--style-border-radius-inputs) var(--style-border-radius-inputs) 0 0;
    }
  }

  @media screen and (max-width: 749px) {
    .dialog-modal .predictive-search__close-modal-button {
      padding-inline-start: var(--margin-xs);
      margin-inline-start: 0;
    }
  }

  .dialog-modal[open] {
    @media screen and (max-width: 749px) {
      border-radius: 0;
    }
  }

  .dialog-modal .predictive-search-form__header:has(.predictive-search-form__header-inner:focus-within) {
    @media screen and (min-width: 750px) {
      border-bottom-color: transparent;
    }
  }

  @media screen and (max-width: 749px) {
    .dialog-modal {
      .predictive-search__reset-button-icon {
        display: none;
      }

      .predictive-search__reset-button-text {
        display: block;
      }

      .predictive-search-form__content {
        /* The parent has overflow auto, we want to prevent a double scrollbar during animation */
        max-height: 100%;
      }

      .predictive-search-form__content-wrapper {
        box-shadow: none;
      }

      .predictive-search-form__header {
        box-shadow: none;
      }

      .predictive-search-form__footer {
        padding-block: var(--padding-2xl);
      }
    }
  }

  .predictive-search-results__pill {
    font-weight: 500;
    white-space: nowrap;
    color: var(--color-foreground);
    transition: background-color var(--animation-speed-medium) var(--animation-timing-hover),
      box-shadow var(--animation-speed-medium) var(--animation-timing-bounce),
      transform var(--animation-speed-medium) var(--animation-timing-bounce);
    margin: 2px;

    &:hover {
      transform: scale(1.03);
      box-shadow: 0 2px 5px rgb(0 0 0 / var(--opacity-8));
    }
  }

  .predictive-search-results__pill mark {
    background-color: transparent;
    font-weight: 200;
    color: var(--color-foreground-subdued);
  }

  .predictive-search-results__pill:focus,
  .predictive-search-results__pill:hover,
  .predictive-search-results__card--query:is([aria-selected='true'], :focus-within) .predictive-search-results__pill {
    --pill-background-color: rgb(var(--color-foreground-rgb) / var(--opacity-8));

    background-color: var(--pill-background-color);
    outline: var(--border-width-sm) solid var(--color-border);
    border: var(--border-width-sm);
    text-decoration: none;
  }

  .predictive-search-results__wrapper.predictive-search-results__wrapper-queries {
    margin-bottom: var(--margin-lg);
    padding-inline: var(--padding-xl);
    gap: var(--gap-2xs);
  }

  .predictive-search-results__card {
    --title-font-size: var(--font-size--md);
    --title-margin-block: var(--margin-xs);

    flex: 0 0 auto;
    scroll-snap-align: start;
    scroll-margin-block: calc(var(--title-font-size) + var(--title-margin-block) + var(--padding-sm))
      calc(var(--padding-xl) + var(--button-padding-block) * 2);
    transition: transform var(--animation-speed-medium) var(--animation-timing-default),
      background-color var(--animation-speed-medium) var(--animation-timing-hover),
      border-color var(--animation-speed-medium) var(--animation-timing-hover);

    &:nth-last-child(3) {
      scroll-snap-align: end;
    }

    &:active {
      transform: scale(0.97);
      transition: transform 100ms var(--animation-timing-active);
    }
  }

  .recently-viewed-wrapper .predictive-search-results__card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .recently-viewed-wrapper.removing .predictive-search-results__card {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }

  .predictive-search-results__card--product,
  .recently-viewed-wrapper .predictive-search-results__card--product {
    &:active {
      transform: scale(0.97);
      transition: transform 100ms var(--animation-timing-active);
    }

    &:hover {
      background-color: var(--card-bg-hover);
      border-radius: var(--product-corner-radius);
      padding: calc(var(--padding-2xs) + 2px);
      margin: calc((var(--padding-2xs) + 2px) * -1);
    }

    &:is([aria-selected='true'].keyboard-focus, &:focus-visible, &:has(.resource-card:focus-visible)) {
      background-color: var(--card-bg-hover);
      padding: calc(var(--padding-2xs) + 1px);
      margin: calc((var(--padding-2xs) + 1px) * -1);
      outline: var(--border-width-sm) solid var(--color-border);
      border-radius: calc(var(--product-corner-radius) + 1px);
      border-color: var(--card-border-focus);
    }
  }

  .predictive-search-results__card:not(.predictive-search-results__card--product) {
    padding: var(--padding-sm);
    border: var(--border-width-sm) solid var(--color-border);
    border-radius: var(--card-corner-radius);
    width: 60cqi;
    content-visibility: visible;

    @media screen and (min-width: 750px) {
      width: 27.5cqi;
    }

    &:hover {
      border-color: var(--card-border-hover);
      background-color: var(--card-bg-hover);
    }

    &[aria-selected='true'].keyboard-focus {
      border-color: var(--card-border-hover);
      background-color: var(--card-bg-hover);
    }

    &:active {
      transform: scale(0.97);
      transition: transform var(--animation-speed-medium) var(--animation-timing-active);
    }
  }

  @keyframes search-element-scale-in {
    0% {
      transform: scale(0.95);
      opacity: 0;
    }

    40% {
      opacity: 1;
    }

    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  @keyframes search-element-scale-out {
    0% {
      transform: scale(1);
      opacity: 1;
    }

    100% {
      transform: scale(0.95);
      opacity: 0;
    }
  }

  @keyframes search-element-slide-in-top {
    from {
      margin-top: calc(var(--modal-top-margin) + var(--padding-sm));
      opacity: 0;
    }

    to {
      margin-top: var(--modal-top-margin);
      opacity: 1;
    }
  }

  @keyframes search-element-slide-out-top {
    from {
      margin-top: var(--modal-top-margin);
      opacity: 1;
    }

    to {
      margin-top: calc(var(--modal-top-margin) + var(--padding-sm));
      opacity: 0;
    }
  }

  @keyframes content-slide {
    from {
      transform: translateY(var(--slide-from, 0));
      opacity: var(--slide-opacity-from, 1);
    }

    to {
      transform: translateY(var(--slide-to, 0));
      opacity: var(--slide-opacity-to, 1);
    }
  }

  .predictive-search-results__list {
    --slide-width: 27.5%;
    --slideshow-gap: var(--gap-md);

    /* Make space for the outline to be visible */
    padding-block-start: var(--border-width-sm);
  }

  .predictive-search-results__list slideshow-arrows {
    @media screen and (max-width: 749px) {
      display: none;
    }
  }

  .predictive-search-results__no-results,
  .predictive-search-results__wrapper,
  .predictive-search-results__wrapper-products .predictive-search-results__card {
    animation: search-element-slide-up var(--animation-speed-medium) var(--animation-timing-bounce) backwards;
  }

  slideshow-slide .resource-card {
    /* stylelint-disable-next-line declaration-no-important */
    animation-delay: 0ms !important;
  }

  .predictive-search-results__list,
  .predictive-search-results__wrapper {
    animation-duration: var(--animation-speed-medium);
  }

  .predictive-search-results__wrapper-queries {
    animation-delay: 50ms;
  }

  .predictive-search-results__list:nth-of-type(2) {
    animation-delay: 150ms;
  }

  .predictive-search-results__list:nth-of-type(3) {
    animation-delay: 200ms;
  }

  .predictive-search-results__list:nth-of-type(4) {
    animation-delay: 250ms;
  }

  .predictive-search-results__list:last-child {
    margin-block-end: 0;
  }

  [data-resource-type] {
    /* stylelint-disable-next-line declaration-no-important */
    animation-delay: 0ms !important;
  }

  .predictive-search-results__no-results.removing,
  .predictive-search-results__wrapper.removing {
    animation: search-element-slide-down var(--animation-speed-medium) var(--animation-timing-fade-out) forwards;
  }

  .predictive-search-results__card.removing {
    animation: fadeOut var(--animation-speed-medium) var(--animation-timing-fade-out) forwards;
  }

  .predictive-search-results__wrapper {
    transition: opacity var(--animation-speed-medium) var(--animation-timing-fade-in);
  }

  @keyframes search-element-slide-up {
    from {
      opacity: 0;
      transform: translateY(8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes search-element-slide-down {
    from {
      opacity: 1;
      transform: translateY(0);
    }

    to {
      opacity: 0;
      transform: translateY(8px);
    }
  }

  .predictive-search-results__card--query {
    transition: transform var(--animation-speed-medium) var(--animation-timing-bounce);
    transform-origin: center;

    &:active {
      transform: scale(0.97);
    }
  }

  /* Products list styles */
  .predictive-search-results__products {
    padding-inline: var(--padding-xl);
  }

  .recently-viewed-wrapper {
    display: grid;
    grid-template-rows: auto auto;
    max-height: 1000px;
    opacity: 1;
    overflow: visible;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top center;
    transform: translateY(0);
  }

  .recently-viewed-wrapper.removing {
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .predictive-search-results__clear.button-unstyled {
    color: var(--color-foreground);
    opacity: 0.68;
    transition: opacity var(--animation-speed-medium) var(--animation-easing);
    padding: 0;
    margin-left: var(--margin-sm);

    &:hover {
      opacity: 1;
    }
  }

  .recently-viewed-wrapper.removing .predictive-search-results__card {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .recently-viewed-wrapper > * {
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .predictive-search-results__wrapper-products .predictive-search-results__card:nth-child(1) {
    animation-delay: 30ms;
  }

  .predictive-search-results__wrapper-products .predictive-search-results__card:nth-child(2) {
    animation-delay: 60ms;
  }

  .predictive-search-results__wrapper-products .predictive-search-results__card:nth-child(3) {
    animation-delay: 90ms;
  }

  .predictive-search-results__wrapper-products .predictive-search-results__card:nth-child(4) {
    animation-delay: 120ms;
  }

  .predictive-search-results__wrapper-products .predictive-search-results__card:nth-child(n + 5) {
    animation-delay: 150ms;
  }

  .predictive-search-results__wrapper-products {
    animation-delay: 50ms;
  }

  /* Resource carousel styles */
  .predictive-search-results__wrapper {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    padding-block-end: var(--padding-sm);
    padding-inline: 0;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 var(--padding-xl);
    scrollbar-width: none;
    -ms-overflow-style: none;

    &::-webkit-scrollbar {
      display: none;
    }
  }

  .predictive-search-results__wrapper slideshow-slides {
    --gutter-slide-width: var(--padding-xl);

    /* Add padding to prevent hover animations from being clipped in slideshow
       15px accommodates:
       - Scale effect (9px on each side from 1.03 scale)
       - Lift effect (4px upward movement)
       - Shadow (15px spread with -5px offset)
       Using 16px for better alignment with our spacing scale */
    padding-block: var(--padding-xl);
    margin-block: calc(-1 * var(--padding-xl));
    gap: var(--gap-md);
  }

  .predictive-search-results__resource-header {
    display: flex;
    padding-inline: var(--padding-xl);
    justify-content: space-between;
    align-items: center;
    height: 32px;
  }

  .predictive-search-results__resource-header .svg-wrapper {
    width: var(--icon-size-xs);
  }

  .predictive-search-results__wrapper-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding-block-end: var(--padding-sm);
    gap: var(--gap-md);
    transition: height var(--animation-speed-medium) var(--animation-easing);

    @container (min-width: 550px) {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .predictive-search-results__wrapper-products:last-child {
    padding-block-end: var(--padding-lg);

    @media screen and (min-width: 750px) {
      padding-block-end: var(--padding-sm);
    }
  }

  .predictive-search-results__resource-header .predictive-search-results__title {
    margin-block-end: 0;
  }

  .predictive-search-results__resource-header:has(slideshow-controls) .predictive-search-results__title {
    margin-block-end: 0;
  }

  .predictive-search-results__resource-header slideshow-controls {
    @media screen and (max-width: 749px) {
      display: none;
    }
  }
/* END_SNIPPET:predictive-search-styles */

/* START_SNIPPET:price-filter (INDEX:245) */
/* Price filter */
  .price-facet {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
  }
  .price-facet--horizontal {
    min-width: 360px;
  }

  .price-facet__inputs-wrapper {
    display: flex;
    flex-direction: row;
    padding: var(--style-border-width-inputs);
    gap: calc(var(--gap-sm) + (var(--style-border-width-inputs) * 2));
  }

  @container (max-width: 199px) {
    .price-facet__inputs-wrapper {
      flex-wrap: wrap;
    }
  }

  .price-facet__input {
    width: 100%;
    text-align: right;
    padding-left: calc(2.5 * var(--input-padding-x));
  }

  .price-facet__input::placeholder {
    color: var(--facets-input-label-color);
  }

  .price-facet__separator {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-paragraph--size);
  }

  .price-facet__highest-price {
    color: var(--color-foreground-muted);
    padding: var(--padding-xs) 0 var(--padding-sm);
  }

  .price-facet__highest-price--horizontal {
    padding: 0 var(--padding-md) var(--padding-xs);
  }

  .price-facet__label {
    top: 0;
    left: 0;
    color: var(--facets-input-label-color);
    padding: var(--input-padding-y) var(--input-padding-x);
    transform: none;
  }
/* END_SNIPPET:price-filter */

/* START_SNIPPET:price-lock-styles (INDEX:246) */
.nils-shelf__lock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgb(255 255 255 / 0.35);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .nils-shelf__lock:hover {
    color: rgb(255 255 255 / 0.6);
  }

  .nils-shelf__lock svg {
    flex: none;
  }

  .nils-shelf__lock:focus-visible {
    outline: 2px solid var(--nils-red);
    outline-offset: 2px;
    border-radius: 4px;
  }

  /*
   * ONE WINNER, MOBILE [ours] — mobile-audit/findings.md: on the cart
   * page's own recommendations grid (`<product-card>`, base.css), this
   * link sits inside the card's whole-card stretched link (`.product-
   * card__link { position: absolute; inset: 0; }`, base.css) — both
   * cover the exact same pixels under the lock's own text (confirmed
   * live: 173x14.4px overlap, all four cards, every width). Two tap
   * targets on one spot means whichever happens to paint on top wins
   * silently; `.product-card__link` is absolute with no z-index while
   * this link is merely `display: inline-flex` (no stacking context of
   * its own), so — checked live before this fix — the card's own link
   * was the one actually receiving the tap there, sending "Accedi per
   * il prezzo" to the product page instead of the request-access flow
   * its own text promises.
   *
   * Decided the lock wins: its whole job (this file's own name) is
   * leading to that flow, and a control whose visible label says
   * "Accedi per il prezzo" / "Log in for pricing" has to do the one
   * thing a tap on it reads as promising — landing on the product page
   * instead reads as the link silently failing, not as "also works".
   * `position: relative` gives it a stacking context to hold a z-index
   * in; `z-index: 1` only has to clear the card link's own `auto`
   * (unpositioned-in-the-stacking-sense default, base.css) to win the
   * pixels it occupies — the stretched link still owns every pixel of
   * the card this element doesn't cover, unchanged.
   *
   * Scoped to `product-card` (the exact custom element base.css's
   * stretched-link pattern renders on, confirmed live via `.closest()`
   * against the actual cart-page markup) so the store shelf's own grid/
   * row/compare variants of this same base class (`--card`/`--row`/
   * `--compare`, sections/nils-store-shelf.liquid, its own non-
   * stretched-link cards, never had this conflict) are untouched.
   */
  @media (max-width: 640px) {
    product-card .nils-shelf__lock {
      position: relative;
      z-index: 1;
    }

    /*
     * TAP TARGET [ours] — mobile-audit/findings.csv: this same link
     * also measured 173x14.4px, under 44 tall. Same `::after` — the
     * `z-index: 1` right above already gives it a stacking context and
     * this just adds the sizing to it, no separate `position` needed.
     */
    product-card .nils-shelf__lock::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 44px;
    }

    /*
     * TAP TARGET [ours] — mobile-audit/findings.csv: the cart page's
     * "View all" link (its own recommendations section header, `.link`
     * — a generic Horizon utility class also carrying a block-instance-
     * specific suffix, `.section-resource-list__header` is the stable
     * part) measured 49.7x22.4px, under 44 tall. No visible background/
     * border to disturb (checked live: transparent, no border) — same
     * centered, unstyled `::after` technique as this run's other plain
     * links. Scoped to `.section-resource-list__header` rather than the
     * bare `.link` class, which is generic and used well beyond this
     * one section.
     */
    .section-resource-list__header .link {
      position: relative;
    }

    .section-resource-list__header .link::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      height: 44px;
    }
  }
/* END_SNIPPET:price-lock-styles */

/* START_SNIPPET:product-badges-styles (INDEX:248) */
.product-badges {
    --badge-inset: max(var(--padding-xs), calc((var(--border-radius) + var(--padding-xs)) * (1 - cos(45deg))));

    position: absolute;
    z-index: var(--layer-flat);
  }

  .product-badges--bottom-left {
    bottom: calc(var(--badge-inset) + var(--padding-block-start));
    left: calc(var(--badge-inset) + var(--padding-inline-start));
  }

  .product-badges--top-left {
    top: calc(var(--badge-inset) + var(--padding-block-start));
    left: calc(var(--badge-inset) + var(--padding-inline-start));
  }

  .product-badges--top-right {
    top: calc(var(--badge-inset) + var(--padding-block-start));
    right: calc(var(--badge-inset) + var(--padding-inline-start));
  }

  .product-badges__badge {
    --badge-font-size: var(--font-size--xs);

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-foreground);
    background: var(--color-background);
    font-size: var(--badge-font-size);
    font-family: var(--badge-font-family);
    font-weight: var(--badge-font-weight);
    text-transform: var(--badge-text-transform);
    border-radius: var(--badge-border-radius);
  }

  .product-badges__badge--rectangle {
    padding-block: var(--badge-rectangle-padding-block);
    padding-inline: var(--badge-rectangle-padding-inline);
  }
/* END_SNIPPET:product-badges-styles */

/* START_SNIPPET:product-card-gallery-zoom-details-styles (INDEX:249) */
.product-grid-view-zoom-out--details {
    display: none;
  }

  .product-grid-view-zoom-out--details .h4,
  .product-grid-view-zoom-out--details span,
  .product-grid-view-zoom-out--details s {
    font-size: var(--font-size--xs);
    font-family: var(--font-paragraph--family);
  }

  .product-grid-view-zoom-out--details span {
    font-weight: 500;
  }

  .product-grid-view-zoom-out--details .h4 {
    line-height: 1.3;
    font-weight: 400;
  }

  .product-grid-view-zoom-out--details > span.h6,
  .product-grid-view-zoom-out--details > div.h6 > product-price {
    display: inline-block;
    line-height: 0;
    margin-top: var(--margin-2xs);
  }

  .product-grid-view-zoom-out--details > span.h6 > *,
  .product-grid-view-zoom-out--details > div.h6 > * > * {
    line-height: 1.2;
  }
/* END_SNIPPET:product-card-gallery-zoom-details-styles */

/* START_SNIPPET:product-card-styles (INDEX:250) */
.product-grid__card.product-grid__card {
    display: flex;
    flex-flow: column nowrap;
    gap: var(--product-card-gap);
    align-items: var(--product-card-alignment);
    text-decoration: none;
    color: var(--color, var(--color-foreground));
    padding-block: var(--padding-block-start) var(--padding-block-end);
    padding-inline: var(--padding-inline-start) var(--padding-inline-end);
    overflow: hidden;
  }

  .product-grid__card .group-block > * {
    @media screen and (max-width: 749px) {
      flex-direction: column;
    }
  }

  /* Collection and product list cards have equal heights */
  :is(.product-grid__item, .resource-list__item) .product-card {
    display: grid;
    height: 100%;
  }

  /* Product card title truncation - applied on mobile regardless of view */
  @media screen and (max-width: 749px) {
    :is(.product-card, .product-grid__card) :is(h4, .h4) {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      -webkit-line-clamp: 3;
    }
  }

  .product-card__placeholder-image svg {
    height: 100%;
  }

  .product-card__content slideshow-component {
    --cursor: pointer;
  }

  @media screen and (max-width: 749px) {
    .product-card slideshow-arrows .slideshow-control {
      display: none;
    }
  }
/* END_SNIPPET:product-card-styles */

/* START_SNIPPET:product-grid (INDEX:252) */
/* Product grid */
  .product-grid-container {
    display: block;
    width: 100%;
    padding-block: var(--padding-block-start) var(--padding-block-end);

    @media screen and (min-width: 750px) {
      display: grid;
    }
  }

  [product-grid-view='default'] {
    --product-grid-gap: 16px;
    --padding-block-start: 24px;
    --padding-block-end: 24px;
    --padding-inline-start: 0px;
    --padding-inline-end: 0px;
  }

  .product-grid {
    --product-grid-gap: var(--product-grid-gap-mobile);
    --mobile-columns: 2; /* Default value */

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--product-grid-gap);
    margin: auto;
    padding: 0;
    list-style: none;
    isolation: isolate;

    @media screen and (min-width: 750px) {
      --product-grid-gap: var(--product-grid-gap-desktop);

      grid-template-columns: var(--product-grid-columns-desktop);
    }
  }

  .product-grid :is(h3, p) {
    margin: 0;
  }

  .product-grid__item {
    border: var(--product-card-border-width) solid rgb(var(--color-border-rgb) / var(--product-card-border-opacity));
  }

  [product-grid-view='default'] .product-grid__item {
    padding-block: 0;
  }

  .product-grid--organic[product-grid-view='default'] .product-grid__item {
    height: fit-content;
  }

  [product-grid-view='zoom-out'] .product-grid__card.product-grid__card {
    row-gap: var(--padding-xs);
  }

  [product-grid-view='mobile-single'],
  .product-grid-mobile--large {
    @media screen and (max-width: 749px) {
      grid-template-columns: 1fr;
    }
  }

  ul[product-grid-view='zoom-out'] .product-grid__card > * {
    display: none;
  }

  [product-grid-view='zoom-out'] {
    --product-grid-columns-desktop: repeat(
      10,
      minmax(clamp(50px, calc(100% - 9 * var(--product-grid-gap)) / 10, 80px), 1fr)
    );
  }

  @media (prefers-reduced-motion: no-preference) {
    :root:active-view-transition-type(product-grid) {
      details[open] floating-panel-component {
        view-transition-name: panel-content;

        .checkbox *,
        .facets__pill-label {
          transition: none;
        }

        .facets--vertical & {
          view-transition-name: none;
        }
      }

      .product-grid {
        view-transition-name: product-grid;
      }

      footer {
        view-transition-name: footer;
      }

      .product-grid__item,
      floating-panel-component {
        transition: none;
      }
    }
  }

  ::view-transition-group(panel-content) {
    z-index: 1;
  }

  ::view-transition-new(product-grid) {
    animation-delay: 150ms;
    animation-name: fadeInUp;
    animation-duration: var(--animation-speed);
    animation-timing-function: var(--animation-easing);
  }

  results-list[initialized] {
    .product-grid__item {
      transition: opacity var(--animation-speed) var(--animation-easing),
        transform var(--animation-speed) var(--animation-easing);

      @starting-style {
        opacity: 0;
        transform: translateY(10px);
      }
    }
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Product card title truncation - applied only to zoom-out view */
  [product-grid-view='zoom-out'] :is(.product-card, .product-grid__card) :is(h4, .h4) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
  }

  .product-grid slideshow-arrows .slideshow-control {
    display: none;

    @media screen and (min-width: 750px) {
      display: grid;
    }
  }

  /* This triggers iOS < 16.4 */
  @supports not (background-color: rgb(from red 150 g b / alpha)) {
    /* Force aspect ratio to auto for iOS < 16.4 since it's not compatible with the infinite pagination */
    .product-grid .product-media,
    .product-grid .product-media-container {
      aspect-ratio: auto;
    }
  }

  .main-collection-grid {
    grid-column: var(--grid-column--mobile);
    padding: var(--grid--margin--mobile);

    @media screen and (min-width: 750px) {
      grid-column: var(--grid-column--desktop);
      padding: var(--padding-block-start) var(--padding-inline-end) var(--padding-block-end) var(--padding-inline-start);
    }
  }

  .main-collection-grid__empty {
    padding-block: var(--padding-6xl);
    padding-inline: var(--page-margin);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--padding-sm);
  }

  .main-collection-grid__empty-title {
    margin: 0;
  }
/* END_SNIPPET:product-grid */

/* START_SNIPPET:product-information-content (INDEX:253) */
.product-information {
    gap: var(--gap) 0;
  }

  /* Base grid layout */
  .product-information__grid {
    display: grid;
    grid-template-columns: subgrid;
    grid-column: 1 / -1;
  }

  /* Default column positions */
  .product-details {
    order: 1;
  }

  .product-information__media {
    order: 0;
    width: 0;
    min-width: 100%;
  }

  .product-information__media .product-media-gallery__placeholder-image {
    width: 100%;
    height: 100%;
  }

  /* Mobile styles */
  @media screen and (max-width: 749px) {
    .product-information__media {
      grid-column: 1 / -1;
    }

    .product-details {
      grid-column: 2 / 3;
    }
  }

  /* Desktop styles */
  @media screen and (min-width: 750px) {
    .product-information__grid {
      grid-column: 2;
    }

    /* Position when there is no media */
    .product-information__grid.product-information--media-none {
      .product-details {
        width: var(--narrow-content-width);
        margin: 0 auto;
      }
    }

    /* Position when there is media */
    .product-information__grid:not(.product-information--media-none) {
      /* Media on the left side */
      &.product-information--media-left {
        grid-template-columns: 1fr min(50vw, var(--sidebar-width));

        .product-information__media {
          padding-right: calc(var(--gap, 0) / 2);
        }

        .product-details {
          padding-left: calc(var(--gap, 0) / 2);
        }

        &:has(.media-gallery--extend) {
          grid-column: 1 / 3;
        }
      }

      /* Media on the right side */
      &.product-information--media-right {
        grid-template-columns: min(50vw, var(--sidebar-width)) 1fr;

        .product-information__media {
          padding-left: calc(var(--gap, 0) / 2);
          order: 1;
        }

        .product-details {
          padding-right: calc(var(--gap, 0) / 2);
          order: 0;
        }

        &:has(.media-gallery--extend) {
          grid-column: 2 / -1;
        }
      }

      /* Equal width columns */
      &.product-information__grid--half,
      &.product-information__grid--half:has(.media-gallery--extend) {
        grid-column: 1 / -1;
        grid-template-columns:
          var(--full-page-grid-margin) calc(var(--full-page-grid-central-column-width) / 2) calc(
            var(--full-page-grid-central-column-width) / 2
          )
          var(--full-page-grid-margin);

        &.product-information--media-left {
          .product-information__media {
            grid-column: 2 / 3;

            &:has(.media-gallery--extend) {
              grid-column: 1 / 3;
            }
          }

          .product-details {
            grid-column: 3 / 4;
          }
        }

        &.product-information--media-right {
          .product-information__media {
            grid-column: 3 / 4;

            &:has(.media-gallery--extend) {
              grid-column: 3 / -1;
            }
          }

          .product-details {
            grid-column: 2 / 3;
          }
        }
      }
    }

    /* Handle full width section */
    .section--full-width {
      .product-information__grid:not(.product-information--media-none) {
        &.product-information--media-left,
        &.product-information--media-right {
          grid-column: 1 / -1;
        }

        &.product-information--media-left .product-details {
          padding-inline-end: var(--padding-lg);
        }

        &.product-information--media-right .product-details {
          padding-inline-start: var(--padding-lg);
        }

        &.product-information__grid--half.product-information--media-left {
          .product-information__media {
            grid-column: 1 / 3;
          }

          .product-details {
            grid-column: 3 / -1;
          }
        }

        &.product-information__grid--half.product-information--media-right {
          .product-information__media {
            grid-column: 3 / -1;
          }

          .product-details {
            grid-column: 1 / 3;
          }
        }
      }
    }
  }

  /* Wider sidebar for large screens */
  @media screen and (min-width: 1200px) {
    .product-information__grid:not(
        .product-information__grid--half,
        .product-information--media-none
      ).product-information--media-left {
      grid-template-columns: 2fr 1fr;
    }

    .product-information__grid:not(
        .product-information__grid--half,
        .product-information--media-none
      ).product-information--media-right {
      grid-template-columns: 1fr 2fr;
    }
  }

  .product-information__grid--limit-details .product-details > .group-block {
    --details-max-width: var(--sidebar-width);
    max-width: var(--details-max-width);
  }

  @media screen and (min-width: 1600px) {
    .product-information__grid--limit-details .product-details > .group-block {
      --details-max-width: 32rem;
    }
  }

  /* If the header is sticky, make product details content stick underneath the header */
  body:has(#header-group #header-component[data-sticky-state='active']) .product-details.sticky-content--desktop {
    --sticky-header-offset: var(--header-height);
  }
/* END_SNIPPET:product-information-content */

/* START_SNIPPET:product-media-container-styles (INDEX:254) */
:where(:not(.dialog-zoomed-gallery)) > .product-media-container {
    --slide-width: 100%;

    display: flex;
    aspect-ratio: var(--gallery-aspect-ratio, var(--media-preview-ratio));
    max-height: var(--constrained-height);
    width: var(--slide-width, 100%);

    /* Relative position needed for video and 3d models */
    position: relative;
    overflow: hidden;

    &:where(.constrain-height) {
      /* arbitrary offset value based on average theme spacing and header height */
      --viewport-offset: 400px;
      --constrained-min-height: 300px;
      --constrained-height: max(var(--constrained-min-height), calc(100vh - var(--viewport-offset)));

      margin-right: auto;
      margin-left: auto;
    }

    @supports (--test: round(up, 100%, 1px)) {
      /* width and overflow forces children to shrink to parent width */
      --slide-width: round(up, 100%, 1px);
    }
  }

  @media screen and (max-width: 749px) {
    .product-media-container.constrain-height {
      max-height: none;
    }
  }

  @media screen and (min-width: 750px) {
    .product-media-container.constrain-height {
      --viewport-offset: var(--header-height, 100px);
      --constrained-min-height: 500px;
    }

    body:has(header-component[transparent]) .product-media-container.constrain-height {
      --viewport-offset: 0px;
    }
  }

  .product-media-container img {
    aspect-ratio: inherit;
    object-fit: contain;
  }

  .product-media-container.media-fit-contain img {
    object-position: center center;
  }

  .product-media-container.media-fit {
    --product-media-fit: cover;

    img {
      object-fit: var(--product-media-fit);
    }
  }
/* END_SNIPPET:product-media-container-styles */

/* START_SNIPPET:product-media-gallery-content-styles (INDEX:255) */
/* Product Media */
  media-gallery {
    display: block;
    width: 100%;
  }

  :where(media-gallery, .product-grid__item) {
    .media-gallery__grid {
      grid-template-columns: 1fr;
      gap: var(--image-gap);
    }
  }

  @media screen and (min-width: 750px) {
    .media-gallery--large-first-image .product-media-container:first-child,
    .media-gallery--two-column .product-media-container:only-child {
      /* First child spans 2 columns */
      grid-column: span 2;
    }
  }

  media-gallery:where(.media-gallery--grid) .media-gallery__grid {
    display: none;
  }

  media-gallery.media-gallery--grid .media-gallery__grid .product-media-container {
    /* Needed for safari to stretch to full grid height */
    height: 100%;
  }

  @media screen and (min-width: 750px) {
    .media-gallery--two-column .media-gallery__grid {
      grid-template-columns: repeat(2, 1fr);
    }

    /* Display grid view as a carousel on mobile, grid on desktop */
    media-gallery:is(.media-gallery--grid) slideshow-component {
      display: none;
    }

    media-gallery:where(.media-gallery--grid) .media-gallery__grid {
      display: grid;
    }
  }

  zoom-dialog dialog {
    width: 100vw;
    height: 100vh;
    border: none;
    margin: 0;
    padding: 0;
    max-width: 100%;
    max-height: 100%;
    background: #fff;
    opacity: 0;
    transition: opacity var(--animation-speed) var(--animation-easing);
    scrollbar-width: none;

    &[open] {
      opacity: 1;
    }

    @media (prefers-reduced-motion: no-preference) {
      scroll-behavior: smooth;
    }

    &::backdrop {
      background: transparent;
    }
  }

  .product-media-container__zoom-button {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: var(--layer-flat);
    cursor: zoom-in;
    background-color: transparent;

    &:hover {
      background-color: transparent;
    }
  }

  slideshow-slide.product-media-container--tallest {
    content-visibility: visible;
  }

  .product-media__drag-zoom-wrapper {
    aspect-ratio: inherit;
    min-height: inherit;
    min-width: inherit;
    display: inherit;
    flex: inherit;
  }

  .media-gallery__mobile-controls {
    grid-area: auto;
  }

  .product-media-container--zoomable.product-media-container--image {
    cursor: zoom-in;
  }
/* END_SNIPPET:product-media-gallery-content-styles */

/* START_SNIPPET:product-media-gallery-content (INDEX:256) */
.dialog-thumbnails-list-container {
    position: fixed;
    width: 100%;
    bottom: 0;
    display: flex;
    z-index: var(--layer-raised);
  }

  .dialog-thumbnails-list {
    --active-thumbnail-border-color: rgb(var(--color-border-rgb) / var(--media-border-opacity));

    position: relative;
    display: inline-flex;
    flex-direction: row;
    gap: 8px;
    bottom: 0;
    overflow-x: auto;
    opacity: 0;
    padding: var(--padding-lg);
    margin-inline: auto;
    scrollbar-width: none;
    animation: thumbnailsSlideInBottom calc(var(--animation-speed) * 0.75) var(--animation-easing) forwards;
    animation-delay: calc(var(--animation-speed) * 1.5);
  }

  .dialog--closed .dialog-thumbnails-list {
    animation: thumbnailsSlideOutBottom var(--animation-speed) var(--animation-easing) forwards;
  }

  @media screen and (min-width: 750px) {
    .dialog-thumbnails-list {
      position: fixed;
      flex-direction: column;
      inset: 50% var(--margin-lg) auto auto;
      right: 0;
      max-height: calc(100vh - 200px);
      overflow-y: auto;
      animation: thumbnailsSlideInTop var(--spring-d220-b0-duration) var(--spring-d220-b0-easing) forwards;
      animation-delay: calc(var(--spring-d220-b0-duration) * 0.5);
    }

    .dialog--closed .dialog-thumbnails-list {
      animation: thumbnailsSlideOutTop var(--animation-speed) var(--animation-easing) forwards;
    }
  }

  .dialog-thumbnails-list__thumbnail {
    width: var(--thumbnail-width);
    height: auto;
    transition: transform var(--animation-speed) var(--animation-easing);
    flex-shrink: 0;
    border-radius: var(--media-radius);

    img {
      height: 100%;
      object-fit: cover;
      border-radius: var(--media-radius);
      aspect-ratio: var(--aspect-ratio);
    }

    &:is([aria-selected='true']) {
      outline: var(--focus-outline-width) solid currentcolor;
      outline-offset: calc(var(--focus-outline-offset) / 2);
      border: var(--style-border-width) solid var(--active-thumbnail-border-color);
    }
  }

  @supports (anchor-name: --test) {
    .dialog-thumbnails-list:has(.dialog-thumbnails-list__thumbnail:is([aria-selected='true']))::after {
      --inset-offset: calc(var(--focus-outline-offset) / 2);

      content: '';
      position: absolute;
      inset: anchor(top) anchor(right) anchor(bottom) anchor(left);
      position-anchor: --selected-thumbnail;
      outline: var(--focus-outline-width) solid currentcolor;
      outline-offset: calc(var(--focus-outline-offset) / 2);
      border: var(--style-border-width) solid var(--active-thumbnail-border-color);
      border-radius: var(--media-radius);
      z-index: var(--layer-raised);
    }

    @media (prefers-reduced-motion: no-preference) {
      .dialog-thumbnails-list:has(.dialog-thumbnails-list__thumbnail:is([aria-selected='true']))::after {
        transition-property: inset;
        transition-duration: var(--spring-d180-b0-duration);
        transition-timing-function: var(--spring-d180-b0-easing);
      }
    }

    .dialog-thumbnails-list__thumbnail:is([aria-selected='true']) {
      outline: none;
      border: none;
      anchor-name: --selected-thumbnail;
    }
  }

  .dialog-zoomed-gallery .shopify-model-viewer-ui__controls-area.shopify-model-viewer-ui__controls-area {
    /* Move the controls above the thumbnails. Need to calculate the height of the thumbnails list */
    bottom: calc(var(--thumbnail-width) / var(--media-preview-ratio) + var(--padding-lg) * 2);
    right: var(--padding-lg);
  }

  @media screen and (min-width: 750px) {
    .dialog-zoomed-gallery .shopify-model-viewer-ui__controls-area.shopify-model-viewer-ui__controls-area {
      /* Move the controls up to match the padding on the thumbnails */
      bottom: var(--padding-lg);

      /* Move the controls to the left of the thumbnails list on the right */
      right: calc(var(--thumbnail-width) + var(--padding-lg) * 2);
    }
  }

  @media screen and (max-width: 749px) {
    /* Media gallery has a peeking slide on the right side always, and on the left side when the current slide is the last one */
    .media-gallery--hint
      :is(
        slideshow-slide:has(+ slideshow-slide[aria-hidden='false']:last-of-type),
        slideshow-slide[aria-hidden='false'] + slideshow-slide
      ) {
      content-visibility: auto;

      slideshow-component[actioned] & {
        content-visibility: visible;
      }
    }
  }

  .dialog-zoomed-gallery__dialog {
    background-color: var(--color-background);
    view-transition-name: zoom-dialog-ui;
  }

  .dialog-zoomed-gallery {
    cursor: zoom-out;
  }

  .dialog--preloading {
    opacity: 0;
  }

  @media screen and (max-width: 749px) {
    .dialog-zoomed-gallery {
      /* Prevent scroll wheel or swipe scrolling */
      overscroll-behavior: none;
      scrollbar-width: none;
      display: flex;
      scroll-snap-type: x mandatory;
      overflow-x: hidden;
      scroll-behavior: smooth;
      height: 100%;

      &::-webkit-scrollbar {
        display: none;
      }
    }

    .dialog-zoomed-gallery .product-media-container {
      flex: 0 0 100%;
      scroll-snap-align: start;
      position: relative;
    }

    .dialog-zoomed-gallery .product-media-container--image .product-media {
      aspect-ratio: auto;
      height: 100%;
      width: 100%;
      overflow: hidden;
    }

    .dialog-zoomed-gallery .product-media-container--video,
    .dialog-zoomed-gallery .product-media-container--external_video {
      align-content: center;
    }

    .dialog-zoomed-gallery
      :is(.product-media-container--video, .product-media-container--external_video, .product-media-container--model)
      .product-media {
      aspect-ratio: auto;
      align-items: center;
      height: 100%;

      .product-media__image {
        height: 100%;
      }
    }

    .product-media__drag-zoom-wrapper {
      display: flex;
      aspect-ratio: auto;
      height: 100%;
      width: 100%;
      overflow: scroll;
      scrollbar-width: none;
      justify-content: center;

      &::-webkit-scrollbar {
        display: none;
      }
    }

    .product-media__drag-zoom-wrapper .product-media__image {
      --product-media-fit: contain;

      object-fit: var(--product-media-fit);
      overflow: hidden;
      transform: scale(var(--drag-zoom-scale))
        translate(var(--drag-zoom-translate-x, 0), var(--drag-zoom-translate-y, 0));
    }

    .media-gallery--hint {
      --slideshow-gap: var(--gap-2xs);

      :not(.dialog-zoomed-gallery) > .product-media-container:not(:only-child) {
        width: 90%;

        .product-media img {
          object-fit: cover;
        }
      }
    }
  }

  .dialog-zoomed-gallery__close-button {
    color: #fff;
    mix-blend-mode: difference;
    z-index: var(--layer-raised);
  }

  /* Mobile thumbnails styling */
  @media screen and (max-width: 749px) {
    .media-gallery__mobile-controls[thumbnails] {
      --thumbnail-width: 44px;
    }

    .media-gallery__mobile-controls[thumbnails] .slideshow-controls__thumbnail {
      width: var(--thumbnail-width);
      height: auto;
    }
  }

  .dialog-zoomed-gallery .product-media-container--zoomable.product-media-container--image {
    cursor: zoom-out;
  }

  .dialog-zoomed-gallery .product-media-container--video deferred-media,
  .dialog-zoomed-gallery .product-media-container--external_video deferred-media {
    height: auto;
    aspect-ratio: var(--ratio);
  }

  .dialog-zoomed-gallery .product-media-container--model .product-media__image {
    /* Make the height match the height of the model-viewer */
    height: 100vh;
  }

  :root:active-view-transition .dialog-zoomed-gallery__dialog {
    background-color: transparent;
  }

  ::view-transition-group(zoom-dialog-ui) {
    z-index: calc(var(--layer-overlay) + 1);
  }

  ::view-transition-old(gallery-item-open),
  ::view-transition-new(gallery-item-open) {
    animation-timing-function: step-start;
  }

  ::view-transition-old(gallery-item-close),
  ::view-transition-new(gallery-item-close) {
    animation-timing-function: step-end;
  }

  @media screen and (min-width: 750px) {
    :root:active-view-transition .product-media__image {
      background-color: transparent;
    }
  }

  ::view-transition-group(gallery-item-open),
  ::view-transition-group(gallery-item-close) {
    z-index: var(--layer-overlay);
    border-radius: var(--gallery-media-border-radius);
    overflow: clip;
  }

  ::view-transition-group(gallery-item-open) {
    animation-timing-function: var(--spring-d300-b0-easing);
    animation-duration: var(--spring-d300-b0-duration);
  }

  ::view-transition-group(gallery-item-close) {
    animation-timing-function: var(--spring-d220-b0-easing);
    animation-duration: var(--spring-d220-b0-duration);
  }

  @media screen and (max-width: 749px) {
    ::view-transition-group(gallery-item-open),
    ::view-transition-group(gallery-item-close) {
      animation-timing-function: step-start;
      animation-duration: 0.1s;
    }

    ::view-transition-new(gallery-item-open) {
      animation: fade-in var(--spring-d180-b0-duration) var(--spring-d180-b0-easing) forwards;
      animation-timing-function: var(--spring-d180-b0-easing);
      animation-duration: var(--spring-d180-b0-duration);
    }

    ::view-transition-old(gallery-item-close) {
      animation: fade-out 0.08s linear forwards;
    }
  }

  @keyframes fade-in {
    from {
      scale: 0.98;
      opacity: 0.8;
    }
  }

  @keyframes fade-out {
    to {
      opacity: 0;
    }
  }

  /*
   * Product media gallery slideshow context styles
   */
  .product-media-gallery__slideshow--single-media slideshow-container {
    @media screen and (max-width: 749px) {
      grid-area: unset;
    }
  }

  /* Display grid view as a carousel on mobile, grid on desktop */
  media-gallery:is(.media-gallery--grid) slideshow-component {
    @media screen and (min-width: 750px) {
      display: none;
    }
  }

  @media screen and (max-width: 749px) {
    /* Media gallery has a peeking slide on the right side always, and on the left side when the current slide is the last one */
    .media-gallery--hint
      :is(
        slideshow-slide:has(+ slideshow-slide[aria-hidden='false']:last-of-type),
        slideshow-slide[aria-hidden='false'] + slideshow-slide
      ) {
      content-visibility: auto;

      slideshow-component[actioned] & {
        content-visibility: visible;
      }
    }
  }

  @media screen and (min-width: 750px) {
    .media-gallery--carousel slideshow-component:has(slideshow-controls[thumbnails]) {
      &:has(slideshow-controls[pagination-position='right']) {
        display: grid;
        grid-template:
          'container controls' auto
          'arrows controls' min-content
          / 1fr auto;
      }

      &:has(slideshow-controls[pagination-position='left']) {
        display: grid;
        grid-template:
          'controls container' auto
          'controls arrows' min-content
          / auto 1fr;
      }

      slideshow-controls[pagination-position='left'] {
        order: -1;
      }
    }
  }

  .media-gallery--carousel slideshow-arrows .slideshow-control {
    padding-inline: 0 var(--padding-md);
    opacity: 1;
  }

  @media screen and (max-width: 749px) {
    slideshow-component:has(:not(.mobile\:hidden) :is(.slideshow-controls__dots, .slideshow-controls__counter))
      .shopify-model-viewer-ui__controls-area {
      /* Position the controls just above the counter */
      bottom: calc(var(--minimum-touch-target) + var(--padding-sm));
    }
  }

  @media screen and (min-width: 750px) {
    slideshow-component:has(:not(.desktop\:hidden) :is(.slideshow-controls__dots, .slideshow-controls__counter))
      .shopify-model-viewer-ui__controls-area {
      /* Position the controls just above the counter */
      bottom: calc(var(--minimum-touch-target) + var(--padding-sm));
    }
  }

  slideshow-slide.product-media-container--tallest {
    content-visibility: visible;
  }
/* END_SNIPPET:product-media-gallery-content */

/* START_SNIPPET:product-recommendations-styles (INDEX:258) */
.product-recommendations {
    display: block;
  }

  .product-recommendations__skeleton-item {
    aspect-ratio: 3 / 4;
    background-color: var(--color-foreground);
    opacity: var(--skeleton-opacity);
    border-radius: 4px;
  }

  @media screen and (max-width: 749px) {
    .product-recommendations__skeleton-item:nth-child(2n + 1) {
      display: none;
    }
  }

  product-recommendations:has([data-has-recommendations='false']) {
    display: none;
  }
/* END_SNIPPET:product-recommendations-styles */

/* START_SNIPPET:quantity-selector-styles (INDEX:259) */
/* Quantity selector */
  .quantity-selector {
    --quantity-selector-width: 124px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    /* QUANTITY ERROR [ours] — lets .quantity-selector__error (hidden by
       default, so no effect until shown) wrap onto its own row below
       minus/input/plus instead of squeezing into the same one. */
    flex-wrap: wrap;
    color: var(--color-input-text);
    background-color: var(--color-input-background);
    border: var(--style-border-width-inputs) solid var(--color-input-border);
    border-radius: var(--style-border-radius-inputs);
    flex: 1 1 var(--quantity-selector-width);
    align-self: stretch;
  }

  .product-form-buttons:has(.add-to-cart-button.button-secondary) .quantity-selector {
    border-radius: var(--style-border-radius-buttons-secondary);
  }

  .quantity-selector :is(.quantity-minus, .quantity-plus) {
    /* Unset button styles */
    padding: 0;
    background: transparent;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    flex-shrink: 0;
    color: var(--color-input-text);
  }

  .quantity-selector .quantity-minus {
    border-start-start-radius: var(--style-border-radius-inputs);
    border-end-start-radius: var(--style-border-radius-inputs);
  }

  .quantity-selector .quantity-plus {
    border-start-end-radius: var(--style-border-radius-inputs);
    border-end-end-radius: var(--style-border-radius-inputs);
  }

  .product-details .quantity-selector,
  .quick-add-modal .quantity-selector {
    border-radius: var(--style-border-radius-buttons-primary);
  }

  .product-details .quantity-selector .quantity-minus,
  .quick-add-modal .quantity-selector .quantity-minus {
    border-start-start-radius: var(--style-border-radius-buttons-primary);
    border-end-start-radius: var(--style-border-radius-buttons-primary);
  }

  .product-details .quantity-selector .quantity-plus,
  .quick-add-modal .quantity-selector .quantity-plus {
    border-start-end-radius: var(--style-border-radius-buttons-primary);
    border-end-end-radius: var(--style-border-radius-buttons-primary);
  }

  .quantity-selector .svg-wrapper {
    transition: transform var(--animation-speed) var(--animation-easing);
  }

  .quantity-selector svg {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }

  :is(.quantity-minus, .quantity-plus):active .svg-wrapper {
    transform: scale(0.9);
  }

  .quantity-selector input[type='number'] {
    margin: 0;
    text-align: center;
    border: none;
    appearance: none;
    max-width: calc(var(--quantity-selector-width) - var(--minimum-touch-target) * 2);
    border-radius: var(--style-border-radius-buttons);
    color: var(--color-input-text);
    background-color: transparent;
  }

  /* Chrome, Safari, Edge, Opera */
  .quantity-selector input[type='number']::-webkit-inner-spin-button,
  .quantity-selector input[type='number']::-webkit-outer-spin-button {
    appearance: none;
  }

  /* Firefox */
  .quantity-selector input[type='number'] {
    appearance: textfield;
  }
/* END_SNIPPET:quantity-selector-styles */

/* START_SNIPPET:quantity-selector (INDEX:260) */
.quantity-selector-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: calc(var(--gap-sm) / 2);

    @media screen and (min-width: 750px) {
      gap: var(--gap-sm);
    }
  }

  /* QUANTITY ERROR [ours] — a normal-flow row inside the pill's own
     flex box, not an overlay: `flex: 1 0 100%` forces it onto its own
     line below minus/input/plus (their combined width never approaches
     the container's, so `flex-wrap: wrap` — added to the shared
     .quantity-selector class in quantity-selector-styles.liquid — has no
     effect on any instance while this stays `hidden` [UA default
     `display: none`, contributes nothing to the flex layout]; the pill's
     own border/background simply grows to include this line once shown,
     instead of floating over whatever sits below it). */
  .quantity-selector__error {
    flex: 1 0 100%;
    width: 100%;
    margin: 0;
    padding: 0 var(--gap-xs) var(--gap-2xs, 4px);
    font-size: var(--font-size--xs);
    line-height: 1.3;
    color: var(--color-error, #d33);
  }

  .price-per-item {
    display: block;
    color: var(--color-foreground);
    font-size: var(--font-size--sm);
    font-weight: normal;
  }
/* END_SNIPPET:quantity-selector */

/* START_SNIPPET:quick-add-modal-styles (INDEX:261) */
#quick-add-dialog {
    display: contents;
  }

  /* Inputs inside the quick-add modal use the global Input Fields settings,
     not any per-block overrides set on the product page. */
  .quick-add-modal .quantity-selector-wrapper {
    --color-input-background: inherit;
    --color-input-text: inherit;
    --color-input-text-rgb: inherit;
    --color-input-border: inherit;
    --style-border-width-inputs: inherit;
    --style-border-radius-inputs: inherit;
    --style-border-radius-buttons-primary: var(--style-border-radius-inputs);
    --style-border-radius-buttons-secondary: var(--style-border-radius-inputs);
  }

  .quick-add-modal .product-details .quantity-selector {
    border-radius: var(--style-border-radius-inputs);
  }

  @media screen and (min-width: 750px) {
    .quick-add-modal {
      width: var(--quick-add-modal-width);
      height: var(--quick-add-modal-height);
      max-width: none;
    }
  }

  .quick-add-modal {
    padding: 0;
    border: var(--style-border-popover);
    overflow: hidden;
    box-shadow: 0 5px 30px rgb(0 0 0 / var(--opacity-15));

    @media screen and (max-width: 749px) {
      position: fixed;
      margin: auto 0 0 0;
      min-height: unset;
      max-width: 100%;
      border-radius: 0;
      overflow: clip;
      height: fit-content;
    }
  }

  .quick-add-modal[open] {
    @media screen and (max-width: 750px) {
      border-top-left-radius: var(--style-border-radius-popover);
      border-top-right-radius: var(--style-border-radius-popover);
    }
  }

  .quick-add-modal[open] {
    @media screen and (min-width: 750px) {
      display: flex;
    }
  }

  .quick-add-modal .view-more-details__wrapper {
    @media screen and (max-width: 749px) {
      display: none;
    }
  }

  .quick-add-modal[open] {
    animation: modalSlideInTop var(--animation-speed) var(--animation-easing) forwards;
  }

  .quick-add-modal.dialog-closing {
    animation: modalSlideOutTop var(--animation-speed) var(--animation-easing) forwards;
  }

  .quick-add-modal__close {
    position: absolute;
    top: var(--margin-2xs);
    right: var(--margin-2xs);
    transition: transform 0.15s var(--animation-timing-bounce);
    z-index: var(--layer-raised);
    overflow: visible;
    transform-origin: center;
  }

  .quick-add-modal__close:active {
    transform: scale(0.99) translateY(1px);
  }

  .quick-add-modal__close {
    &:focus-visible {
      outline: none;
    }

    &:focus-visible::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: calc(var(--style-border-radius-popover) - var(--margin-2xs));
      outline: var(--focus-outline-width) solid currentColor;
    }
  }

  .quick-add-modal__content {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 100% 1fr;
    position: relative;
    overflow-y: auto;
    max-height: 100vh;
    flex-grow: 1;

    @media screen and (max-width: 749px) {
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: auto;
      padding-inline: var(--padding-xl);
      padding-block: var(--padding-xl);
      gap: var(--gap-lg);
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      height: auto; /* Prevent a bug in Safari where height:fit-content is not respected */
      max-height: 100vh;
    }
  }

  .quick-add-modal__content .media-gallery--grid .media-gallery__grid {
    grid-template-columns: 1fr;
  }

  .quick-add-modal__content .media-gallery--grid.media-gallery--two-column .product-media-container:first-child {
    grid-column: auto;
  }

  .quick-add-modal__content {
    /* One column */
    .media-gallery--grid:not(.media-gallery--two-column) .product-media > *,
      /* Two column, small first image */
      .media-gallery--grid.media-gallery--two-column:not(.media-gallery--large-first-image)
      .product-media-container:nth-of-type(odd)
      .product-media > *,
      /* Two column, large first image */
      .media-gallery--grid.media-gallery--two-column.media-gallery--large-first-image
        .product-media-container:is(:first-of-type, :nth-of-type(even))
        .product-media > *,
        /* Carousel */
      .media-gallery--carousel slideshow-container {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }
  }

  .quick-add-modal__content .view-more-details__wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
  }

  .view-more-details__wrapper .view-more-details {
    display: flex;
    align-items: center;
    width: fit-content;
  }

  .quick-add-modal__content .product-header {
    @media screen and (max-width: 749px) {
      display: flex;
      flex-direction: column;
      grid-column: 2 / -1;
      grid-row: 1;
      padding-right: var(--padding-2xl);
    }
  }

  .quick-add-modal__content .product-header a:not(product-price *) {
    @media screen and (max-width: 749px) {
      font-size: var(--font-size--md);
      font-weight: 500;
      color: inherit;
      width: fit-content;
    }
  }

  .quick-add-modal__content variant-picker,
  .quick-add-modal__content product-form-component {
    @media screen and (max-width: 749px) {
      grid-column: 1 / -1;
    }
  }

  .quick-add-modal__content .product-media-container__zoom-button {
    cursor: default;
  }

  .quick-add-modal__content .product-details {
    grid-column: 4 / -1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    position: relative;

    dialog[open] & {
      animation: fadeSlideIn 0.3s var(--animation-timing-fade-in) both;
      animation-delay: 0.1s;
    }

    @media screen and (max-width: 749px) {
      grid-column: 2 / span 2;
      grid-row: span 1;
      max-height: 100%;
      height: 100%;
    }
  }

  @property --quick-add-modal-mask-start {
    syntax: '<length>';
    initial-value: 0px;
    inherits: false;
  }

  @property --quick-add-modal-mask-end {
    syntax: '<length>';
    initial-value: 0px;
    inherits: true;
  }

  @keyframes detect-scroll {
    from,
    to {
      --can-scroll: ;
    }
  }

  @supports (animation-timeline: scroll(self)) {
    dialog[open] .quick-add-modal__content .product-details {
      mask-image: linear-gradient(to bottom, transparent 0%, #000 var(--quick-add-modal-mask-start), #000 100%);
      animation: 0.3s var(--animation-timing-fade-in) 0.1s both fadeSlideIn, scrollStart 1s linear both,
        scrollEnd 1s linear both, detect-scroll 1ms linear none;
      animation-timeline: auto, scroll(self), scroll(self), scroll(self);
      animation-range: normal, 0px 48px, calc(100% - 48px) 100%, 0% 100%;
    }
  }

  @keyframes scrollStart {
    from {
      --quick-add-modal-mask-start: 0px;
    }
    to {
      --quick-add-modal-mask-start: 48px;
    }
  }

  @keyframes scrollEnd {
    from {
      --quick-add-modal-mask-end: 0px;
    }
    to {
      --quick-add-modal-mask-end: 48px;
    }
  }

  .quick-add-modal__content .product-details > .group-block {
    flex-grow: 1;
    width: auto;
  }

  .quick-add-modal__content > * {
    min-height: 0;
  }

  .quick-add-modal__content .product-details :is(.view-product-title, .buy-buttons-block) {
    flex: 0 0 auto;
  }
  .quick-add-modal__content .product-details :is(.buy-buttons-block) {
    margin-top: auto;
    position: sticky;
    bottom: 0;
    padding-bottom: var(--padding-3xl);
    background-color: var(--color-background);
    z-index: var(--layer-raised);

    &::before {
      --quick-add-modal-mask-end-progressive-enhanced: 0px;

      position: absolute;
      content: '';
      display: block;
      inset: auto 0 100% 0;
      pointer-events: none;
      height: min(var(--gap-2xl), var(--gap));
      background-color: inherit;
      mask-image: linear-gradient(
        to top,
        #000 0%,
        #000 calc(var(--gap-2xs)),
        transparent calc(100% - var(--quick-add-modal-mask-end-progressive-enhanced)),
        transparent
      );
    }
  }

  .quick-add-modal__content .product-details .buy-buttons-block:has(gift-card-recipient-form) {
    position: static;
    padding-bottom: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .quick-add-modal__content .product-details .buy-buttons-block:has(gift-card-recipient-form) > product-form-component {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .quick-add-modal__content .product-details .buy-buttons-block:has(gift-card-recipient-form) form {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .quick-add-modal__content .product-details .buy-buttons-block:has(gift-card-recipient-form)::before {
    display: none;
  }

  .quick-add-modal__content .product-details .buy-buttons-block__bar {
    display: block;
    position: sticky;
    bottom: 0;
    margin-top: auto;
    padding-block: var(--gap-md) var(--padding-3xl);
    background-color: var(--color-background);
    z-index: var(--layer-raised);

    &::before {
      --quick-add-modal-mask-end-progressive-enhanced: 0px;

      position: absolute;
      content: '';
      display: block;
      inset: auto 0 100% 0;
      pointer-events: none;
      height: min(var(--gap-2xl), var(--gap));
      background-color: inherit;
      mask-image: linear-gradient(
        to top,
        #000 0%,
        #000 calc(var(--gap-2xs)),
        transparent calc(100% - var(--quick-add-modal-mask-end-progressive-enhanced)),
        transparent
      );
    }
  }

  @supports (animation-timeline: scroll(self)) {
    .quick-add-modal__content .product-details :is(.buy-buttons-block)::before,
    .quick-add-modal__content .product-details .buy-buttons-block__bar::before {
      --mask-if-scroll: var(--can-scroll) var(--quick-add-modal-mask-end);
      --mask-if-no-scroll: 48px;
      --quick-add-modal-mask-end-progressive-enhanced: var(--mask-if-scroll, var(--mask-if-no-scroll));
      height: calc(var(--gap-2xs) + 48px);
    }
  }

  .quick-add-modal__content .product-details .variant-picker {
    flex: 0 0 auto;

    padding-block: min(var(--gap-2xl), var(--gap));
    margin-block-end: calc(var(--focus-outline-offset) + var(--focus-outline-width));
  }

  .quick-add-modal__content .variant-option--swatches {
    padding-inline-start: var(--padding-2xs);
  }

  .quick-add-modal__content .variant-option--swatches legend {
    margin-inline-start: calc(-1 * var(--padding-2xs));
  }

  .quick-add-modal__content:not(:has(.product-information__media)) .product-details {
    grid-column: 1 / -1;
  }

  .quick-add-modal__content .view-product-title {
    display: flex;
    padding-block: 0;
    margin-block-end: 12px;

    /* Prevent overlap between title and close button */
    padding-inline-end: calc(var(--padding-2xl) + calc(var(--minimum-touch-target) / 2));
  }

  .quick-add-modal__content .view-product-title a {
    color: inherit;
    text-decoration: none;
    text-align: left;
    font-size: var(--font-size--2xl);
    font-weight: 600;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s var(--animation-easing);
  }

  .quick-add-modal__content .product-details product-price {
    --text-align: left;
  }

  .quick-add-modal__content .product-details product-price.text-block--align-center {
    margin-inline: 0;
  }

  .quick-add-modal__content .product-details product-price.text-center {
    --text-align: left;
  }

  .quick-add-modal__content .product-details product-price > * {
    text-align: left;
  }

  .quick-add-modal__content
    .product-details
    *:not(
      .group-block,
      .group-block-content,
      .buy-buttons-block,
      .buy-buttons-block *,
      .view-product-title,
      .view-product-title *,
      variant-picker,
      variant-picker *,
      product-price,
      product-price *,
      product-inventory,
      product-inventory *,
      .view-more-details__wrapper,
      .view-more-details__wrapper *
    ) {
    @media screen and (min-width: 750px) {
      /* stylelint-disable-next-line declaration-no-important */
      display: none !important;
    }
  }

  .quick-add-modal__content
    .group-block:not(
      :has(
          .buy-buttons-block,
          .buy-buttons-block *,
          .view-product-title,
          .view-product-title *,
          variant-picker,
          variant-picker *,
          product-price,
          product-price *,
          product-inventory,
          product-inventory *,
          .view-more-details__wrapper,
          .view-more-details__wrapper *
        ),
      .buy-buttons-block
    ) {
    display: none;
  }

  @media screen and (min-width: 750px) {
    .quick-add-modal__content .group-block-content {
      gap: 0;
    }

    .quick-add-modal__content .media-gallery__grid {
      gap: min(var(--gap-2xs), var(--image-gap));
      border-radius: var(--style-border-radius-popover, 0);
    }

    .quick-add-modal__content .media-gallery--grid .product-media img {
      border-radius: 0;
    }
  }

  .quick-add-modal__content .product-details > .group-block {
    padding-block: var(--padding-3xl) 0;
  }

  .quick-add-modal__content :where(.product-details > .group-block > .group-block-content > *) {
    padding-inline: var(--padding-3xl);
  }

  .quick-add-modal__content slideshow-slide:not([aria-hidden='false']) {
    content-visibility: auto;
  }

  .quick-add-modal__content .product-information__media {
    width: 100%;
    grid-column: 1 / span 1;
    grid-row: 1;
    position: relative;
    top: 0;
    animation: fadeIn 0.4s var(--animation-timing-fade-in) both;

    @media screen and (min-width: 750px) {
      position: sticky;
      grid-column: 1 / 4;
      width: var(--quick-add-modal-gallery-width);
      overflow-y: auto;
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

    &::-webkit-scrollbar {
      display: none;
    }
  }

  .quick-add-modal__content .product-information__media media-gallery {
    pointer-events: none;

    @media screen and (min-width: 750px) {
      position: absolute;
      inset: 0;
    }
  }

  .quick-add-modal media-gallery {
    padding: 0;
  }

  .quick-add-modal__content .product-information__media slideshow-arrows {
    display: none;
  }

  .quick-add-modal__content .product-information__media slideshow-container {
    display: block;
  }

  .quick-add-modal__content .product-information__media slideshow-slides {
    display: flex;
    flex-direction: column;
    gap: var(--gap-2xs);
    overflow: visible;
    scroll-snap-type: none;
  }

  .quick-add-modal__content .product-information__media slideshow-slide {
    width: 100%;
    flex: none;
    scroll-snap-align: unset;
    position: relative;
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s var(--animation-easing);
  }

  .quick-add-modal__content .product-information__media slideshow-slide[aria-hidden='true'] {
    @media screen and (max-width: 749px) {
      display: none;
    }
  }

  .quick-add-modal__content .product-information__media slideshow-slide:nth-child(1) {
    animation: fadeSlideIn 0.3s var(--animation-timing-fade-in) both;
  }

  .quick-add-modal__content .product-information__media slideshow-slide:nth-child(2) {
    animation: fadeSlideIn 0.3s var(--animation-timing-fade-in) both;
    animation-delay: 0.05s;
  }

  .quick-add-modal__content .product-information__media slideshow-slide:nth-child(3) {
    animation: fadeSlideIn 0.3s var(--animation-timing-fade-in) both;
    animation-delay: 0.1s;
  }

  .quick-add-modal__content .product-information__media :is(slideshow-controls, slideshow-controls[thumbnails]) {
    display: none;
  }

  .quick-add-modal__content .sticky-content,
  .quick-add-modal__content .sticky-content--desktop {
    top: 0;
  }

  .quick-add-modal__content .text-block.rte:not(product-price),
  .quick-add-modal__content .view-more-details__wrapper {
    display: none;
  }

  @keyframes fadeSlideIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
/* END_SNIPPET:quick-add-modal-styles */

/* START_SNIPPET:quick-add-styles (INDEX:263) */
/* Quick Add */
  .quick-add {
    --quick-add-offset: var(--padding-sm);
    --quick-add-right: calc(var(--quick-add-offset) + var(--padding-inline-end));
    --quick-add-bottom: calc(var(--quick-add-offset) + var(--padding-block-end));
    --quick-add-inset-inline-end: max(
      var(--quick-add-right),
      calc((var(--border-radius) + var(--quick-add-right)) * (1 - cos(45deg)))
    );
    --quick-add-inset-block-end: max(
      var(--quick-add-bottom),
      calc((var(--border-radius) + var(--quick-add-bottom)) * (1 - cos(45deg)))
    );

    position: absolute;
    inset: 0;
    z-index: var(--layer-raised);
    pointer-events: none;

    @media screen and (min-width: 750px) {
      --quick-add-offset: var(--padding-md);
    }
  }

  .quick-add .variant-option__button-label input[data-option-available='false'] {
    cursor: not-allowed;
  }

  /* Hide "Add" button when "Choose" button is shown */
  [data-quick-add-button='choose'] add-to-cart-component {
    display: none;
  }

  /* Hide "Choose" button when "Add" button is shown */
  [data-quick-add-button='add'] .quick-add__button--choose {
    display: none;
  }

  product-card:is(:hover, :focus-within) .quick-add__button {
    opacity: 1;
  }

  button.quick-add__button {
    --quick-add-collapsed-width: var(--button-size-md);
    --quick-add-icon-width: calc(var(--button-size-md) - 4px);
    --quick-add-expanded-width: max-content;

    display: var(--quick-add-mobile-display, none);
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    background: linear-gradient(var(--quick-add-background, var(--color-background)) 0 100%) padding-box;
    padding: 0;
    border-radius: 50px;
    border: 2px solid hsl(0 0% 0% / 0.15);
    height: var(--button-size-md);
    width: var(--quick-add-collapsed-width);
    cursor: pointer;
    opacity: var(--quick-add-mobile-opacity, 0);
    overflow: hidden;
    color: var(--quick-add-foreground, var(--color-foreground));
    pointer-events: all;
    position: absolute;
    inset-inline-end: var(--quick-add-inset-inline-end);
    inset-block-end: var(--quick-add-inset-block-end);
    max-inline-size: calc(100% - var(--quick-add-inset-inline-end));
    min-inline-size: 0;
    white-space: nowrap;
    backdrop-filter: blur(20px) saturate(180%);
    interpolate-size: allow-keywords;

    &:hover {
      scale: 1.03;

      /* Hover stabilizer: extends hit area to maintain hover state */
      &::before {
        content: '';
        position: absolute;
        inset: -10px;
        z-index: -1;
      }
    }

    &:active {
      scale: 0.99;
    }

    .quick-add[stay-visible] & {
      display: flex;
    }

    @media screen and (min-width: 750px) {
      display: var(--quick-add-display, flex);
      opacity: 0;
    }
  }

  .quick-add__button.add-to-cart-button {
    height: var(--button-size-md);
  }

  .quick-add__button .svg-wrapper .checkmark-burst {
    width: 22px;
    height: 22px;
  }

  .quick-add__button > .add-to-cart-icon {
    flex-shrink: 0;
    width: var(--quick-add-icon-width);
    height: 100%;
  }

  .quick-add__product-form-component {
    height: 100%;
  }

  .quick-add__product-form-component .shopify-product-form {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    container-type: inline-size;
    height: 100%;
  }

  .quick-add-modal .product-media {
    width: 100%;
    height: 100%;
  }

  .quick-add-modal deferred-media {
    display: none;
  }

  .quick-add-modal .media-gallery--carousel slideshow-component {
    --cursor: default;
  }

  @media screen and (min-width: 750px) {
    .quick-add__button:is(:hover, :focus-visible) {
      width: var(--quick-add-expanded-width);
      padding-inline-end: var(--padding-sm);
    }
  }

  .quick-add__button[data-added='true'] {
    width: var(--quick-add-collapsed-width);
    color: transparent;
  }

  .quick-add__button[data-added='true'] > .add-to-cart-icon {
    opacity: 0;
  }

  .quick-add__button[data-added='true'] .add-to-cart__added {
    color: var(--quick-add-foreground, var(--color-foreground));
  }

  @media (prefers-reduced-motion: no-preference) {
    button.quick-add__button {
      transition-property: scale, translate, opacity, width;
      transition-duration: var(--animation-speed);
      transition-timing-function: var(--ease-out-cubic);
    }
  }
/* END_SNIPPET:quick-add-styles */

/* START_SNIPPET:resource-card (INDEX:266) */
.resource-card__wrapper {
    display: block;
    height: 100%;
  }

  .resource-card {
    --resource-card-secondary-image-opacity: 0;
    --resource-card-primary-image-opacity: calc(1 - var(--resource-card-secondary-image-opacity));

    display: flex;
    flex-direction: column;
    row-gap: var(--padding-xs);
    position: relative;
    text-decoration: none;
    height: 100%;
    opacity: 0;
    animation: fadeIn var(--animation-speed-medium) var(--animation-timing-fade-in) forwards;
  }

  .resource-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .resource-card__content {
    display: flex;
    flex-direction: column;
    color: var(--color-foreground);
    gap: var(--padding-3xs);

    .price {
      font-weight: 500;
    }

    .volume-pricing-note {
      display: block;
      margin-top: var(--padding-3xs);
      font-family: var(--font-body--family);
      font-weight: normal;
      font-size: min(0.85em, var(--font-paragraph--size));
      line-height: normal;
      letter-spacing: normal;
      text-transform: none;
      color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
    }
  }

  .resource-card[data-resource-type='article'] .resource-card__content,
  .resource-card[data-resource-type='page'] .resource-card__content {
    gap: var(--padding-xs);
  }

  .resource-card__image {
    aspect-ratio: var(--resource-card-aspect-ratio, auto);
    object-fit: cover;
    border-radius: var(--resource-card-corner-radius);
    opacity: var(--resource-card-primary-image-opacity);
  }

  .resource-card__image--secondary {
    position: absolute;
    top: 0;
    opacity: var(--resource-card-secondary-image-opacity);
    border-radius: var(--resource-card-corner-radius);
  }

  .resource-card__media:empty {
    display: none;
  }

  .resource-card__image-placeholder {
    padding: var(--padding-sm);
    font-size: var(--font-size--lg);
    line-height: var(--line-height--display-loose);
    word-break: break-word;
    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-5));
    aspect-ratio: var(--resource-card-aspect-ratio, auto);
    border-radius: var(--resource-card-corner-radius);
    color: var(--color-foreground);
  }

  .resource-card__title {
    margin-block: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .resource-card__title.paragraph {
    line-height: 1.3;
  }

  .resource-card--overlay {
    height: 100%;

    &::before {
      content: '';
      position: absolute;
      inset: 50% 0 0;
      background: var(--gradient-image-overlay);
      border-radius: var(--resource-card-corner-radius);
      pointer-events: none;
      z-index: var(--layer-flat);
    }
  }

  .resource-card--overlay .resource-card__image {
    height: 100%;
  }

  .resource-card--overlay .resource-card__content {
    position: absolute;
    inset: auto 0 0;
    padding: var(--padding-lg) var(--padding-lg) var(--padding-sm);
    z-index: var(--layer-raised);
  }

  .resource-card--overlay .resource-card__title {
    color: var(--color-white);
  }

  /* Collection images */
  .resource-card__image-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-2xs);
  }

  .resource-card__collection-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: calc(var(--card-corner-radius) - (var(--padding-xs) / 2));
  }

  .resource-card__subtext {
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
    margin-block-start: 0;
  }

  .resource-card__subtext.paragraph {
    font-size: var(--font-size--body-sm);
    line-height: var(--line-height--body-tight);
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
  }

  .resource-card:has(.resource-card__image--secondary) {
    &:hover,
    &:focus {
      --resource-card-secondary-image-opacity: 1;
    }
  }
/* END_SNIPPET:resource-card */

/* START_SNIPPET:resource-image (INDEX:267) */
.resource-image {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: var(--layer-base);
    overflow: hidden;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: var(--ratio);
  }

  .resource-image__image {
    object-fit: cover;
    aspect-ratio: var(--ratio);
    width: 100%;
    height: 100%;
  }

  .resource-image--placeholder {
    width: 100%;
    height: 100%;
  }
/* END_SNIPPET:resource-image */

/* START_SNIPPET:resource-list-carousel (INDEX:268) */
.resource-list__carousel {
    --slide-width: 60vw;
    width: 100%;
    position: relative;
    container-type: inline-size;
    container-name: resource-list-carousel;

    .slideshow-control[disabled] {
      display: none;
    }

    .slideshow-control--next {
      margin-inline-start: auto;
    }
  }

  @container resource-list-carousel (max-width: 749px) {
    .resource-list__carousel .resource-list__slide {
      --slide-width: clamp(150px, var(--mobile-card-size, 60cqw), var(--slide-width-max));
    }
  }

  @container resource-list-carousel (min-width: 750px) {
    .resource-list__carousel .resource-list__slide {
      --section-slide-width: calc(
        (100% - (var(--resource-list-column-gap) * (var(--column-count) - 1)) - var(--peek-next-slide-size)) /
          var(--column-count)
      );
      --fallback-slide-width: clamp(150px, var(--mobile-card-size, 60cqw), var(--slide-width-max));
      --slide-width: var(--section-slide-width, var(--fallback-slide-width));
    }
  }

  .resource-list__carousel slideshow-slides {
    gap: var(--resource-list-column-gap);

    /* Add padding to prevent hover animations from being clipped in slideshow
     15px accommodates:
     - Scale effect (9px on each side from 1.03 scale)
     - Lift effect (4px upward movement)
     - Shadow (15px spread with -5px offset)
     Using 16px for better alignment with our spacing scale */
    margin-block: -16px;
    padding-block: 16px;
  }

  .resource-list__carousel slideshow-arrows {
    padding-inline: var(--util-page-margin-offset);
  }

  .resource-list__carousel .resource-list__slide {
    width: var(--slide-width);
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 0;
  }

  /*
   * Resource list carousels have peeking slides on both sides.
   * We try to kick load them beforehand (they are lazy loaded otherwise).
   */
  .resource-list__carousel
    :is(
      slideshow-slide:has(+ slideshow-slide[aria-hidden='false']),
      slideshow-slide[aria-hidden='false'] + slideshow-slide
    ) {
    content-visibility: auto;

    slideshow-component[actioned] & {
      content-visibility: visible;
    }
  }
/* END_SNIPPET:resource-list-carousel */

/* START_SNIPPET:resource-list-styles (INDEX:269) */
.resource-list {
    --resource-list-mobile-gap-max: 9999px;
    --resource-list-column-gap: min(var(--resource-list-column-gap-desktop), var(--resource-list-mobile-gap-max));
    --resource-list-row-gap: min(var(--resource-list-row-gap-desktop), var(--resource-list-mobile-gap-max));

    width: 100%;

    @media screen and (max-width: 749px) {
      --resource-list-mobile-gap-max: 12px;
    }

    @container resource-list (max-width: 749px) {
      --resource-list-mobile-gap-max: 12px;
    }
  }

  .resource-list--grid {
    display: grid;
    gap: var(--resource-list-row-gap) var(--resource-list-column-gap);
    grid-template-columns: var(--resource-list-columns-mobile);

    @media screen and (min-width: 750px) {
      grid-template-columns: var(--resource-list-columns);
    }

    @container resource-list (max-width: 449px) {
      grid-template-columns: var(--resource-list-columns-mobile);
    }

    @container resource-list(min-width: 450px) and (max-width: 749px) {
      --resource-list-columns-per-row: 3;

      grid-template-columns: repeat(var(--resource-list-columns-per-row), 1fr);

      /* Avoid orphan in last row when there are 4, 7, or 10 items */
      &:has(.resource-list__item:first-child:nth-last-child(3n + 1)),
      /* Clean two full rows when there are 8 items */
      &:has(.resource-list__item:first-child:nth-last-child(8n)) {
        --resource-list-columns-per-row: 4;
      }
    }

    @container resource-list (min-width: 750px) {
      grid-template-columns: repeat(var(--resource-list-columns-per-row), 1fr);

      &:has(.resource-list__item:first-child:nth-last-child(n + 9)) {
        --resource-list-columns-per-row: 5;
      }

      &:has(.resource-list__item:first-child:nth-last-child(n + 7):nth-last-child(-n + 8)) {
        --resource-list-columns-per-row: 4;
      }

      &:has(.resource-list__item:first-child:nth-last-child(6)) {
        --resource-list-columns-per-row: 3;
      }

      &:has(.resource-list__item:first-child:nth-last-child(5)) {
        --resource-list-columns-per-row: 5;
      }

      &:has(.resource-list__item:first-child:nth-last-child(-n + 4)) {
        --resource-list-columns-per-row: 4;
      }
    }

    @container resource-list (min-width: 1200px) {
      &:has(.resource-list__item:first-child:nth-last-child(6)) {
        --resource-list-columns-per-row: 6;
      }
    }
  }

  .resource-list__item {
    height: 100%;
    color: var(--color-foreground);
    text-decoration: none;
  }
/* END_SNIPPET:resource-list-styles */

/* START_SNIPPET:search-modal (INDEX:272) */
/* Search modal style */
  .search-modal {
    --search-border-radius: var(--style-border-radius-popover);
    --search-border-width: var(--style-border-width);
  }

  .search-modal__content {
    /* Approx set the top so when the content is at max height, the modal is centered */
    --modal-top-margin: calc(50dvh - var(--modal-max-height) / 2 - 2rem);
    --modal-width: 66dvw;

    padding: 0;
    border: var(--style-border-popover);

    @media screen and (min-width: 750px) {
      width: var(--modal-width);
      margin-block-start: var(--modal-top-margin);
      overflow: hidden;
    }
  }

  /* Hide the default dialog backdrop on small screens */
  @media screen and (max-width: 749px) {
    .search-modal__content::backdrop {
      display: none;
    }
  }

  .dialog-modal[open].search-modal__content {
    transform-origin: bottom center;
    animation: search-element-slide-in-bottom 300ms var(--ease-out-quad) forwards;
    border-radius: var(--search-border-radius);
    box-shadow: var(--shadow-popover);

    @media screen and (max-width: 749px) {
      border-radius: 0;
    }
  }

  .dialog-modal.search-modal__content.dialog-closing {
    animation: search-element-slide-out-bottom 200ms var(--ease-out-quad) forwards;
  }

  .search-modal__content[open] {
    display: flex;
  }

  .search-modal__content :is(.predictive-search-dropdown, .predictive-search-form__content-wrapper) {
    position: relative;
  }

  .dialog-modal
    .predictive-search-form__header:has(
      .predictive-search__reset-button:not(.predictive-search__reset-button[hidden])
    )::before {
    content: '';
    position: absolute;
    right: calc(var(--padding-sm) + var(--minimum-touch-target));
    top: 0;
    bottom: 0;
    width: var(--border-width-sm);
    background-color: var(--color-border);
  }

  .dialog-modal
    .predictive-search-form__header:has(.predictive-search__reset-button:not(.predictive-search__reset-button[hidden]))
    > .predictive-search__close-modal-button {
    &::before {
      content: none;
    }
  }

  @media screen and (min-width: 750px) {
    .dialog-modal
      .predictive-search-form__header:has(
        .predictive-search__reset-button:not(.predictive-search__reset-button[hidden])
      )::before {
      right: calc(var(--padding-2xl) * 2);
    }
  }

  predictive-search-component {
    --resource-card-corner-radius: var(--product-corner-radius);

    display: flex;
    width: 100%;
    position: relative;
    margin-inline: auto;
    align-items: center;
    background-color: var(--color-background);
    z-index: var(--layer-heightened);
  }

  .predictive-search-form__footer {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    @media screen and (min-width: 750px) {
      --to-top-gradient-background: linear-gradient(
        to top,
        rgb(var(--color-background-rgb) / var(--opacity-90)),
        rgb(var(--color-background-rgb) / var(--opacity-80)),
        rgb(var(--color-background-rgb) / var(--opacity-40)),
        transparent
      );

      padding-block: var(--padding-xs) var(--padding-lg);
      background-image: var(--to-top-gradient-background);
    }
  }

  predictive-search-component:has([data-search-results]):not(:has(.predictive-search-results__no-results))
    .predictive-search-form__footer {
    display: block;
  }

  .predictive-search-form {
    position: relative;
    width: 100%;
    align-self: flex-start;
  }

  .predictive-search-form__content {
    max-height: 50dvh;
    overflow-y: auto;
    background-color: var(--color-background);

    /* Firefox */
    scrollbar-width: none;

    /* Webkit browsers */
    &::-webkit-scrollbar {
      display: none;
    }
  }

  .predictive-search-form__content-wrapper {
    position: absolute;
    top: 100%;
    width: 100%;
    left: 0;
    z-index: var(--layer-raised);
    display: flex;
    flex-direction: column;
    border-radius: 0 0 var(--search-border-radius) var(--search-border-radius);
    transition: box-shadow var(--animation-speed) var(--animation-easing);
    transform: translateZ(0);
    overflow: hidden;

    @media screen and (max-width: 749px) {
      border-radius: 0;
    }

    @media screen and (min-width: 750px) {
      max-height: var(--modal-max-height);
    }
  }

  /* Add new rule to apply bottom padding only when search button exists */
  .predictive-search-form__content-wrapper:has([data-search-results]):not(:has(.predictive-search-results__no-results))
    > .predictive-search-form__content {
    padding-block-end: var(--padding-6xl);
  }

  .predictive-search-form__header-inner {
    background: var(--color-background);
    border: var(--search-border-width) solid var(--color-border);
    color: var(--color-foreground);
    border-radius: var(--style-border-radius-popover);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    @media screen and (max-width: 749px) {
      border-radius: var(--style-border-radius-inputs);
      border: none;
    }
  }

  .predictive-search-form__header-inner:focus-within {
    outline-offset: var(--focus-outline-offset);

    @media screen and (min-width: 750px) {
      outline: var(--focus-outline-width) solid var(--color-foreground);
    }
  }

  .predictive-search-form__header {
    display: flex;
    position: sticky;
    top: 0;
    z-index: var(--layer-heightened);
    width: 100%;
    align-items: center;
    background-color: var(--color-input-background);
    border: var(--search-border-width) solid var(--color-border);
    border-radius: var(--style-border-radius-inputs);

    @media screen and (max-width: 749px) {
      padding: var(--padding-2xs) var(--padding-sm);
    }
  }

  .predictive-search-form__header:focus-within,
  .predictive-search-form__header-inner:focus-within,
  .predictive-search-form__header-inner:has(.search-input:is(:focus, :focus-visible)) {
    outline: none;
    box-shadow: none;
    /* stylelint-disable-next-line declaration-no-important */
    border-color: var(--color-border) !important;
  }

  input.search-input {
    border-radius: var(--style-border-radius-inputs);
    padding-block: var(--padding-sm);
    font-size: var(--font-size--md);
    width: 100%;
    color: var(--color-foreground);
    padding-inline: calc(var(--margin-lg) + var(--icon-size-lg)) 0;
    background: transparent;
    text-overflow: ellipsis;
    overflow: hidden;
    outline: none;
    border: 0;
  }

  input.search-input::placeholder {
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-muted-text));
  }

  input.search-input,
  input.search-input:is(:focus, :focus-visible, :focus-within),
  .predictive-search-form__header *:is(:focus, :focus-visible) {
    outline: none;
    box-shadow: none;
  }

  input.search-input:hover {
    background-color: transparent;
  }

  .predictive-search__icon {
    position: absolute;
    left: var(--margin-xl);
    top: auto;
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-60));

    @media screen and (min-width: 750px) {
      left: var(--margin-md);
    }
  }

  .predictive-search__icon > svg {
    width: var(--icon-size-md);
    height: var(--icon-size-md);
  }

  .predictive-search__reset-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    padding: 0;
    margin-inline-end: var(--margin-md);
    background: transparent;
    color: var(--color-foreground);
    opacity: 0.68;
    transition: opacity var(--animation-speed-medium) var(--animation-timing-fade-out),
      visibility var(--animation-speed-medium) var(--animation-timing-fade-out);

    &:hover {
      color: var(--color-foreground);
    }

    &:active {
      transform: scale(0.9);
      transition: transform 100ms var(--animation-timing-active);
    }

    @media screen and (min-width: 750px) {
      margin-inline-end: var(--margin-2xs);
    }
  }

  .predictive-search__reset-button[hidden] {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .predictive-search__reset-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
    transition: background-color var(--animation-speed-medium) ease-in-out,
      transform var(--animation-speed-medium) var(--animation-timing-bounce);
    border-radius: 50%;

    &:hover {
      background-color: rgb(var(--color-foreground-rgb) / var(--opacity-8));
    }
  }

  .predictive-search__reset-button:active .predictive-search__reset-button-icon {
    transform: scale(0.85);
    transition-timing-function: var(--animation-timing-active);
    transition-duration: 100ms;
  }

  .predictive-search__reset-button svg {
    width: var(--icon-size-md);
    height: var(--icon-size-md);
  }

  .predictive-search__reset-button-text {
    display: none;
  }

  .predictive-search__search-button {
    margin: auto;
    z-index: var(--layer-raised);
    transition: transform var(--animation-speed-medium) var(--animation-timing-bounce),
      box-shadow var(--animation-speed-medium) var(--animation-timing-hover);
    transform-origin: center;

    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgb(0 0 0 / var(--opacity-5));
    }

    &:active {
      transform: scale(0.97);
      transition: transform 100ms var(--animation-timing-active);
      box-shadow: none;
    }
  }

  .predictive-search__close-modal-button {
    --button-color: var(--color-foreground);
    --button-background-color: transparent;

    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    margin-inline-start: var(--margin-sm);
    padding: 0;
    box-shadow: none;

    &:active {
      transform: scale(0.8);
      transition: transform 100ms var(--animation-timing-active);
    }

    .svg-wrapper,
    svg {
      width: var(--icon-size-xs);
      height: var(--icon-size-xs);
    }
  }

  .predictive-search__close-modal-button:hover {
    --button-color: var(--color-foreground);
    --button-background-color: transparent;
  }
/* END_SNIPPET:search-modal */

/* START_SNIPPET:search (INDEX:273) */
.search-action {
    --search-border-radius: var(--style-border-radius-inputs);
    --search-border-width: var(--style-border-width-inputs);

    display: flex;
  }

  @media screen and (max-width: 749px) {
    .search-action--hidden-on-drawer {
      display: none;
    }
  }

  @media screen and (min-width: 750px) {
    [data-menu-style='drawer'] .search-action--hidden-on-drawer {
      display: none;
    }

    [data-menu-style='menu'] .search-action--hidden-on-menu {
      display: none;
    }
  }

  [data-menu-style='menu'] .header__column--left .search-action {
    @media screen and (min-width: 750px) {
      margin-inline: calc(var(--padding-lg) * -1);
    }
  }

  .header__column--right .search-action {
    @media screen and (min-width: 750px) {
      margin-inline: calc(var(--gap-md) * -1) calc(var(--gap-xs) * -1);
    }
  }

  @media screen and (min-width: 750px) {
    .header__column--right .search-action--text {
      margin-inline: 0;
    }

    [data-menu-style='menu'] .header__column--left .search-action--text {
      margin-inline: 0;
    }
  }
/* END_SNIPPET:search */

/* START_SNIPPET:section (INDEX:274) */
.section-wrapper {
    --section-height-offset: 0px;
  }

  .section[data-shopify-visual-preview] {
    min-height: var(--section-preview-height);
    padding-top: 0;
  }

  .section[data-shopify-visual-preview] .custom-section-background {
    display: none;
  }

  body:has(#header-group > .header-section > #header-component[transparent]):not(
      :has(#header-group > .header-section + .shopify-section)
    )
    #MainContent
    > .section-wrapper:first-child {
    --section-height-offset: var(--header-group-height, 0);
  }

  .custom-section-background {
    grid-column: 1 / -1;
  }

  .custom-section-content {
    z-index: var(--layer-flat);
  }
/* END_SNIPPET:section */

/* START_SNIPPET:skip-to-content-link (INDEX:276) */
.skip-to-content-link {
    position: absolute;
    left: -99999px;
  }

  .skip-to-content-link:focus {
    z-index: var(--layer-temporary);
    overflow: auto;
    width: auto;
    height: auto;
    padding: var(--padding-lg) var(--padding-4xl);
    left: var(--margin-lg);
    top: var(--margin-lg);
    background-color: var(--color-background);
    box-shadow: 0 0 0 var(--focus-outline-offset) var(--color-background);
  }
/* END_SNIPPET:skip-to-content-link */

/* START_SNIPPET:slideshow-arrow (INDEX:278) */
.slideshow-control--large {
    .icon-caret {
      --icon-stroke-width: 1px;
    }

    .icon-caret {
      --icon-stroke-width: 1px;
    }

    .svg-wrapper,
    svg {
      width: var(--slideshow-controls-icon);
      height: var(--slideshow-controls-icon);
    }
  }

  /* Slideshow control shape styles */
  .slideshow-control.slideshow-control--shape-square,
  .slideshow-control.slideshow-control--shape-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background-color: var(--color-primary-button-background);
    color: var(--color-primary-button-text);
  }

  .slideshow-control.slideshow-control--shape-circle {
    border-radius: 50%;
  }

  .slideshow-control.slideshow-control--shape-square {
    border-radius: 0;
  }

  .slideshow-control .icon-caret {
    rotate: -90deg;
  }
/* END_SNIPPET:slideshow-arrow */

/* START_SNIPPET:slideshow-arrows (INDEX:279) */
slideshow-arrows {
    --cursor-previous: w-resize;
    --cursor-next: e-resize;

    position: absolute;
    inset: 0;
    display: flex;
    z-index: var(--layer-heightened);
    pointer-events: none;
    mix-blend-mode: difference;
    align-items: flex-end;

    &[position='left'] {
      justify-content: flex-start;
      padding-inline: var(--padding-xs);
    }

    &[position='right'] {
      justify-content: flex-end;
      padding-inline: var(--padding-xs);
    }

    &[position='center'] {
      justify-content: space-between;
      align-items: center;
    }
  }

  slideshow-arrows:has(.slideshow-control--shape-square),
  slideshow-arrows:has(.slideshow-control--shape-circle) {
    mix-blend-mode: normal;
  }

  slideshow-component[disabled='true'] slideshow-arrows {
    display: none;
  }

  slideshow-arrows .slideshow-control {
    pointer-events: auto;
    opacity: 0;
    min-height: var(--minimum-touch-target);
    min-width: var(--minimum-touch-target);
    padding: 0 var(--padding-xs);
    color: var(--color-white);
  }

  slideshow-arrows .slideshow-control.slideshow-control--style-none {
    display: none;
  }
/* END_SNIPPET:slideshow-arrows */

/* START_SNIPPET:slideshow-controls (INDEX:280) */
slideshow-controls {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    scrollbar-width: none;
    min-height: var(--minimum-touch-target);
    grid-area: controls;

    &[controls-on-media] {
      position: absolute;
      bottom: 0;
    }
  }

  slideshow-controls::-webkit-scrollbar {
    display: none;
  }

  slideshow-controls button {
    --color: rgb(var(--color-foreground-rgb) / var(--opacity-30));
    --color-active: var(--color-foreground);
    --color-hover: rgb(var(--color-foreground-rgb) / var(--opacity-50));

    display: inline-block;
    height: var(--minimum-touch-target);
    width: var(--minimum-touch-target);
    cursor: pointer;
  }

  slideshow-controls .icon {
    width: var(--icon-size-sm);
    height: var(--icon-size-xs);
  }

  slideshow-controls[pagination-position='center'] {
    align-items: center;
    justify-content: center;
  }

  slideshow-controls[pagination-position='center'][thumbnails] {
    width: 100%;
  }

  slideshow-controls[pagination-position='center']:not([controls-on-media], [thumbnails], [icons-on-media]) {
    justify-content: space-between;
  }

  @media screen and (min-width: 750px) {
    slideshow-controls[thumbnails]:is([pagination-position='right'], [pagination-position='left']) {
      display: flex;
      flex-direction: column;
      height: 0;
      min-height: 100%;

      .slideshow-controls__thumbnails-container {
        overflow: hidden auto;
      }

      &:not([controls-on-media]) {
        .slideshow-controls__thumbnails-container {
          position: sticky;
          top: var(--sticky-header-offset, 0);
        }

        .slideshow-controls__thumbnails {
          padding-block-start: var(--focus-outline-offset);
        }
      }
    }

    slideshow-controls:is([pagination-position='right'], [pagination-position='left']) .slideshow-controls__thumbnails {
      flex-direction: column;
    }

    slideshow-controls:not([controls-on-media]) {
      &:is([pagination-position='left'], [pagination-position='right']) .slideshow-controls__thumbnails {
        padding-block: var(--padding-2xs);
      }

      &[pagination-position='right'] .slideshow-controls__thumbnails {
        padding-inline-end: var(--slideshow-thumbnails-padding-inline, var(--focus-outline-offset));
      }

      &[pagination-position='left'] .slideshow-controls__thumbnails {
        padding-inline-start: var(--slideshow-thumbnails-padding-inline, var(--focus-outline-offset));
      }
    }
  }

  slideshow-controls:not([controls-on-media])[icons-on-media] {
    &[pagination-position='right'] {
      justify-content: flex-end;
    }

    &[pagination-position='left'] {
      justify-content: flex-start;
    }
  }

  slideshow-controls[controls-on-media] {
    z-index: var(--layer-raised);

    &:has(.slideshow-controls__dots, .slideshow-controls__counter) {
      --color-foreground: #fff;
      --color-foreground-rgb: var(--color-white-rgb);
    }

    &[pagination-position='right'] {
      right: 0;
    }

    &[pagination-position='left'] {
      left: 0;
    }

    &[pagination-position='center'] {
      width: 100%;
    }

    &:not([thumbnails])[pagination-position='left'] {
      width: fit-content;
      align-self: flex-start;
    }

    &:not([thumbnails])[pagination-position='right'] {
      width: fit-content;
      align-self: flex-end;
    }
  }

  .slideshow-controls__arrows {
    display: flex;
    justify-content: space-between;
    height: var(--minimum-touch-target);
    grid-area: arrows;

    button {
      padding: 0 var(--padding-xs);
    }
  }

  .slideshow-controls__dots,
  .slideshow-controls__counter {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    list-style: none;

    button {
      --color: rgb(var(--color-foreground-rgb) / var(--opacity-30));
      --color-active: var(--color-foreground);
      --color-hover: rgb(var(--color-foreground-rgb) / var(--opacity-50));
    }
  }

  slideshow-controls:has(.slideshow-controls__dots),
  slideshow-component[autoplay] slideshow-controls {
    mix-blend-mode: difference;
  }

  .slideshow-controls__dots {
    gap: 0.6rem;
    padding: var(--padding-sm) var(--padding-lg);
    border-radius: 3rem;
    overflow: hidden;

    button {
      --size: 0.56rem;

      display: flex;
      align-items: center;
      justify-content: center;
      width: calc(var(--size) * 2);
      height: calc(var(--size) * 2);
      margin: calc(var(--size) / -2);
      font-size: 0;
      border-radius: calc(var(--size));

      &::after {
        content: '';
        display: block;
        background-color: var(--color);
        height: var(--size);
        width: var(--size);
        border-radius: calc(var(--size) / 2);
        box-shadow: inset 0 0 0 1.5px hsl(0 0% 0% / 0.15);

        @supports not (view-timeline-axis: inline) {
          &[aria-selected='true'] {
            --color: var(--color-active);
          }
        }

        &:hover {
          --color: var(--color-hover);
        }
      }

      &[aria-selected='true'] {
        --color: var(--color-active);

        &::after {
          box-shadow: inset 0 0 0 1.5px hsl(0 0% 0% / 0.4);
        }
      }
    }
  }

  .slideshow-controls__dots,
  .slideshow-controls__counter {
    &:only-child {
      margin-inline: auto;
    }
  }

  .slideshow-controls__counter {
    color: var(--color-foreground);
    background-color: rgb(0 0 0 / 40%);
    width: auto;
    border-radius: 2rem;
    padding: 0.3rem var(--padding-sm);
    margin-inline: var(--margin-sm);
    backdrop-filter: blur(10px);
    font-variant-numeric: tabular-nums;
    font-size: var(--font-size--xs);

    .slash {
      color: rgb(var(--color-foreground-rgb) / var(--opacity-40));
      padding-inline: var(--padding-2xs);
      margin-block-start: -0.1rem;
    }
  }

  .slideshow-control[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
  }

  /* Slideshow Thumbnails */
  .slideshow-controls__thumbnails-container {
    display: flex;
    width: 100%;
    max-height: 100%;
    overflow-x: scroll;
    scrollbar-width: none;
  }

  .slideshow-controls__thumbnails {
    display: inline-flex;
    padding-inline: var(--slideshow-thumbnails-padding-inline, var(--padding-sm));
    padding-block: var(--slideshow-thumbnails-padding-block, var(--padding-sm));
    gap: var(--gap-xs);
    margin-inline: auto;
    height: fit-content;

    .slideshow-control {
      border-radius: var(--thumbnail-radius, var(--media-radius));
      width: clamp(44px, 7vw, var(--thumbnail-width));
      height: auto;
      aspect-ratio: var(--aspect-ratio);

      img {
        height: 100%;
        object-fit: cover;
        border-radius: var(--thumbnail-radius, var(--media-radius));
      }

      &:is([aria-selected='true']) {
        outline: var(--focus-outline-width) solid currentcolor;
        outline-offset: calc(var(--focus-outline-offset) / 2);
        border: var(--style-border-width) solid rgb(var(--color-border-rgb) / var(--media-border-opacity));
      }
    }
  }

  .slideshow-controls__thumbnail {
    position: relative;
  }

  .slideshow-controls__thumbnail-badge {
    position: absolute;
    top: var(--padding-2xs);
    right: var(--padding-2xs);
    width: clamp(16px, 10%, 20px);
    height: clamp(16px, 10%, 20px);
    background-color: var(--color-background);
    border-radius: var(--style-border-radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgb(var(--color-foreground-rgb) / var(--opacity-5));
  }

  .slideshow-controls__thumbnail-badge svg {
    width: 60%;
    height: 60%;
    fill: var(--color-foreground);
    opacity: 0.6;
  }

  /* Slideshow Play/Pause */
  .slideshow-control:is(.icon-pause, .icon-play) {
    color: var(--color-active);

    &:hover {
      color: var(--color-hover);
    }

    svg {
      display: none;
    }
  }

  slideshow-component:is([autoplay]) {
    &:is([paused]) {
      .icon-play > svg {
        display: block;
      }
    }

    &:not([paused]) {
      .icon-pause > svg {
        display: block;
      }
    }
  }
/* END_SNIPPET:slideshow-controls */

/* START_SNIPPET:slideshow-styles (INDEX:282) */
/*
   * Slideshow Component
   */
  slideshow-component {
    --cursor: grab;
    --slide-offset: 6px;

    position: relative;
    display: flex;
    flex-direction: column;
    timeline-scope: var(--slideshow-timeline);
  }

  .slideshow--single-media {
    --cursor: default;
  }

  a slideshow-component {
    --cursor: pointer;
  }

  slideshow-component [data-placeholder='true'] * {
    cursor: grab;
  }

  /*
   * Slideshow Slides
   */
  slideshow-slides {
    width: 100%;
    position: relative;
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-color: transparent transparent;
    scrollbar-width: none;
    gap: var(--slideshow-gap, 0);
    cursor: var(--cursor);
    min-height: var(--slide-min-height);
    align-items: var(--slideshow-align-items, normal);

    @media (prefers-reduced-motion) {
      scroll-behavior: auto;
    }

    &::-webkit-scrollbar {
      width: 0;
    }

    &::-webkit-scrollbar-track {
      background: transparent;
    }

    &::-webkit-scrollbar-thumb {
      background: transparent;
      border: none;
    }

    @media screen and (min-width: 750px) {
      min-height: var(--slide-min-height-desktop);
    }
  }

  .slideshow--stretch-content slideshow-slides > * {
    height: auto;
  }

  slideshow-component[disabled='true'] slideshow-slides {
    overflow: hidden;
  }

  /**
   * By default, slideshows have overflow: hidden (no compositor layer).
   * When the slideshow enters the viewport, JavaScript adds [in-viewport] which enables scrolling.
   */
  slideshow-component:not([in-viewport]) slideshow-slides {
    overflow: hidden;
  }

  slideshow-component[mobile-disabled] slideshow-slides {
    @media screen and (max-width: 749px) {
      overflow: hidden;
    }
  }

  slideshow-slides[gutters*='start'] {
    padding-inline-start: var(--gutter-slide-width, 0);
    scroll-padding-inline-start: var(--gutter-slide-width, 0);
  }

  slideshow-slides[gutters*='end'] {
    padding-inline-end: var(--gutter-slide-width, 0);
  }

  slideshow-component[dragging] {
    --cursor: grabbing;

    * {
      pointer-events: none;
    }
  }

  slideshow-component[dragging] slideshow-arrows {
    display: none;
  }

  slideshow-container {
    width: 100%;
    display: block;
    position: relative;
    grid-area: container;
    container-type: inline-size;
    background-color: var(--color-background);
  }

  /*
   * Be specific about HTML children structure to avoid targeting nested slideshows.
   * Ensure that the content is 'visible' while scrolling instead of 'auto' to avoid issues in Safari.
   */
  slideshow-component:is([dragging], [transitioning], :hover)
    > slideshow-container
    > slideshow-slides
    > slideshow-slide {
    content-visibility: visible;
  }

  @keyframes slide-reveal {
    0% {
      translate: calc(var(--slideshow-slide-offset, 6) * 1rem) 0;
      opacity: 0;
    }

    50% {
      opacity: 1;
    }

    100% {
      translate: calc(var(--slideshow-slide-offset, 6) * -1rem) 0;
      opacity: 0;
    }
  }

  /*
   * Slideshow Slide
   */
  slideshow-slide {
    position: relative;
    scroll-snap-align: center;
    width: var(--slide-width, 100%);
    max-height: 100%;
    flex-shrink: 0;
    view-timeline-name: var(--slideshow-timeline);
    view-timeline-axis: inline;
    content-visibility: auto;
    contain-intrinsic-size: auto none;
    border-radius: var(--corner-radius, 0);
    overflow: hidden;

    slideshow-component[actioned] &,
    &[aria-hidden='false'] {
      content-visibility: visible;
    }

    slideshow-component slideshow-slide:not([aria-hidden='false']) {
      content-visibility: hidden;
    }

    &[hidden]:not([reveal]) {
      display: none;
    }

    /* Make inactive slides appear clickable */
    &[aria-hidden='true'] {
      cursor: pointer;
    }
  }

  slideshow-slide .shopify-model-viewer-ui__controls-area.shopify-model-viewer-ui__controls-area {
    bottom: var(--padding-sm);
    right: var(--padding-sm);
  }

  slideshow-component.slideshow--content-below-media slideshow-slide {
    display: grid;
  }

  .slideshow--content-below-media slideshow-slide :is(.slide__image-container, .slide__content) {
    position: static;
  }

  .slideshow--content-below-media slideshow-slide {
    grid-template-rows: var(--grid-template-rows);

    @media screen and (min-width: 750px) {
      grid-template-rows: var(--grid-template-rows-desktop);
    }
  }
/* END_SNIPPET:slideshow-styles */

/* START_SNIPPET:sorting (INDEX:284) */
.sorting-filter__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: var(--drawer-padding) 0;
    padding-block: var(--padding-sm);
    margin-inline-end: var(--margin-md);
    position: relative;
  }

  .sorting-filter__container .facets__label {
    font-size: var(--font-h4--size);
  }

  .sorting-filter__select-wrapper {
    display: flex;
    position: relative;
    border-radius: var(--variant-picker-button-radius);
    align-items: center;
    overflow: clip;
    padding: var(--padding-2xs) var(--padding-xs);
  }

  .sorting-filter__select-wrapper:has(:focus-visible) {
    outline: var(--focus-outline-width) solid currentcolor;
    outline-offset: var(--focus-outline-offset);
  }

  .sorting-filter__select-wrapper:has(:focus-visible) .sorting-filter__select {
    outline: none;
  }

  .sorting-filter__container .sorting-filter__select {
    appearance: none;
    border: 0;
    margin: 0;
    cursor: pointer;
    width: 100%;
    padding-inline-end: var(--icon-size-2xs);
    text-align: right;

    /* Needed for Safari */
    text-align-last: right;
  }

  .sorting-filter__select .icon {
    position: absolute;
    right: var(--padding-md);
    top: 50%;
    transform: translateY(-50%);
    width: var(--icon-size-2xs);
    height: var(--icon-size-2xs);
    pointer-events: none;
  }

  .sorting-filter {
    @media screen and (min-width: 750px) {
      z-index: var(--facets-upper-z-index);
    }
  }

  .sorting-filter__options {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    position: absolute;
    top: 100%;
    right: 0;
    color: var(--color-foreground);
    z-index: var(--facets-upper-z-index);
    box-shadow: var(--shadow-popover);
    border: var(--style-border-popover);
    background-color: var(--color-background);
    border-radius: var(--style-border-radius-popover);
    width: max-content;
    min-width: var(--facets-panel-min-width);
    min-height: 0;

    transition: grid-template-rows var(--animation-speed-slow) var(--animation-easing),
      opacity var(--animation-speed-slow) var(--animation-easing);
  }

  details[open] .sorting-filter__options {
    opacity: 1;
    grid-template-rows: 1fr;
  }

  .sorting-filter__options-inner {
    display: flex;
    flex-direction: column;
    grid-row: 1 / span 2;
    gap: var(--gap-sm);
    padding: calc(var(--drawer-padding) / 2);
    color: var(--color-foreground);
    overflow: clip;
    scrollbar-width: none;
    -ms-overflow-style: none;

    &::-webkit-scrollbar {
      display: none;
    }

    @media screen and (min-width: 750px) {
      gap: 0;
    }
  }

  .sorting-filter__option {
    cursor: pointer;
    display: grid;
    grid-template-columns: var(--icon-size-sm) 1fr;
    gap: var(--margin-2xs);
    align-items: center;
    min-width: 180px;
    max-width: 16em;
    padding: var(--padding-2xs) calc(var(--drawer-padding) / 2) var(--padding-2xs) var(--padding-2xs);

    &:hover {
      border-radius: calc(var(--style-border-radius-popover) / 2);
      background-color: rgb(var(--color-foreground-rgb) / var(--opacity-8));
    }

    &:focus {
      border-radius: calc(var(--style-border-radius-popover) / 2);
    }
  }

  .sorting-filter__input {
    display: none;

    &:checked + .sorting-filter__checkmark + .sorting-filter__label {
      font-weight: 500;
    }
  }

  .sorting-filter__checkmark {
    visibility: hidden;
  }

  *:checked ~ .sorting-filter__checkmark {
    visibility: visible;
  }

  .sorting-filter__label {
    cursor: pointer;
    pointer-events: none;
  }

  .facets-toggle--no-filters .sorting-filter__select-wrapper {
    @media screen and (max-width: 749px) {
      padding-inline-start: 0;
    }
  }

  .facets-mobile-wrapper .sorting-filter .facets__panel {
    padding-inline: 0;
    position: relative;
  }

  .facets-mobile-wrapper .sorting-filter .facets__status {
    display: none;
  }

  .facets-mobile-wrapper:has(> :nth-child(2)) .sorting-filter .sorting-filter__options {
    left: 0;
    right: unset;
  }

  .facets-mobile-wrapper .sorting-filter .facets__label {
    margin-inline-end: var(--margin-2xs);
    font-size: var(--font-paragraph--size);
    color: var(--color-foreground-muted);
  }

  .facets-toggle .sorting-filter__container {
    @media screen and (max-width: 749px) {
      padding: 0;
    }
  }

  .facets-toggle .sorting-filter__container .facets__label {
    @media screen and (max-width: 749px) {
      display: none;
    }
  }

  .facets-toggle .sorting-filter::before {
    @media screen and (max-width: 749px) {
      display: none;
    }
  }

  .facets--drawer .sorting-filter {
    @media screen and (min-width: 750px) {
      display: none;
    }
  }
/* END_SNIPPET:sorting */

/* START_SNIPPET:swatch-styles (INDEX:290) */
/* Swatches */
  .swatch {
    --color-border: rgb(var(--color-foreground-rgb) / var(--style-border-swatch-opacity));
    --min-width-unitless: 15.9999; /* want to avoid division by 0 */
    --min-height-unitless: 15.9999; /* want to avoid division by 0 */
    --min-height: 16px;
    --min-width: 16px;

    /* mobile values */
    --scaling-factor: 0.5;
    --max-swatch-size: 28px;
    --max-pill-size: 20px;
    --max-filter-size: 32px;

    /* From the settings */
    --offset-swatch-width: calc(var(--variant-picker-swatch-width-unitless) - var(--min-width-unitless));
    --offset-swatch-height: calc(var(--variant-picker-swatch-height-unitless) - var(--min-height-unitless));

    /**
    Offset values are obtained from the following formulas:
      offset-width = width - min-width
      offset-height = height - min-height

    The offset-scaled-width and heigth are obtained by extending the line from
    [min,min] to [W,H] and taking the intersection with a square that starts at
    [min,min] and ends at [max,max].

    The extending line forms right angle triangles with the [min,min]->[max,max]
    box that enable us to derive the following formulas

    We also want the result to always be smaller than the input (pdp > everywhere else)
    by some scaling factor.
  */
    --offset-scaled-width: calc(
      var(--scaling-factor) * var(--offset-swatch-width) / var(--offset-swatch-height) * var(--offset-max-swatch-size)
    );
    --offset-scaled-height: calc(
      var(--scaling-factor) * var(--offset-swatch-height) / var(--offset-swatch-width) * var(--offset-max-swatch-size)
    );
    --offset-max-swatch-size: calc(var(--max-swatch-size) - var(--min-width));

    /* width = min(m + sU, (m + s * W'/H' * M'), M) */
    --swatch-width: min(
      calc(var(--min-width) + var(--scaling-factor) * var(--offset-swatch-width) * 1px),
      calc(var(--min-width) + var(--offset-scaled-width)),
      var(--max-swatch-size)
    );

    /* height = min(m + sV, (m + s * H'/W' * M'), M) */
    --swatch-height: min(
      calc(var(--min-height) + var(--scaling-factor) * var(--offset-swatch-height) * 1px),
      calc(var(--min-height) + var(--offset-scaled-height)),
      var(--max-swatch-size)
    );

    display: block;
    background: var(--swatch-background);
    background-position: var(--swatch-focal-point, center);
    border-radius: var(--variant-picker-swatch-radius);
    border: var(--style-border-swatch-width) var(--style-border-swatch-style) var(--color-border);
    width: var(--swatch-width);
    height: var(--swatch-height);

    /* This is different than `background-size: cover` because we use `box-sizing: border-box`,
   * doing it like makes the background clip under the border without repeating.
   */
    background-size: var(--swatch-width) var(--swatch-height);

    &.swatch--unavailable {
      border-style: dashed;
    }

    &.swatch--unscaled {
      /* for when you want fixed sizing (e.g. pdp) */
      --swatch-width: var(--variant-picker-swatch-width);
      --swatch-height: var(--variant-picker-swatch-height);
    }

    &.swatch--filter {
      --swatch-width: var(--max-filter-size);
      --swatch-height: var(--max-filter-size);

      border-radius: var(--variant-picker-swatch-radius);
    }

    &.swatch--pill {
      --swatch-width: var(--max-pill-size);
      --swatch-height: var(--max-pill-size);

      border-radius: var(--variant-picker-swatch-radius);
    }

    /* swatches in filters and pills always have a border  */
    &.swatch--filter,
    &.swatch--pill {
      --style-border-swatch-width: var(--variant-picker-border-width);
      --style-border-swatch-style: var(--variant-picker-border-style);
      --color-border: rgb(var(--color-foreground-rgb) / var(--variant-picker-border-opacity));
    }

    &.swatch--variant-image {
      background-size: cover;
    }

    @media screen and (min-width: 750px) {
      /* desktop values */
      --max-swatch-size: 32px;
      --max-pill-size: 16px;
      --max-filter-size: 28px;
      --scaling-factor: 0.65;
    }
  }
/* END_SNIPPET:swatch-styles */

/* START_SNIPPET:text-component-shimmer-styles (INDEX:293) */
text-component {
    --shimmer-text-color: rgb(var(--color-foreground-rgb) / var(--opacity-50));
    --shimmer-color-light: rgb(var(--color-foreground-rgb) / var(--opacity-10));
    --shimmer-speed: 1.25s;

    display: inline-block;
    position: relative;
    transition: color var(--animation-speed-slow) ease;
    line-height: 1;

    &::after {
      /* Empty alt text: the pseudo-element is a visual shimmer overlay, not announceable content.
        Without this, VoiceOver reads attr(value) in addition to the inner text node, doubling the announcement. */
      content: attr(value) / '';
      position: absolute;
      inset: 0;
      color: transparent;
      opacity: 0;
      transition: opacity var(--animation-speed-slow) var(--animation-easing);
      pointer-events: none;
      background-image: linear-gradient(
        -85deg,
        var(--shimmer-text-color) 10%,
        var(--shimmer-color-light) 50%,
        var(--shimmer-text-color) 90%
      );
      background-clip: text;
      background-size: 200% 100%;
      background-position: 100% 0;
      place-content: center;
    }

    &[shimmer] {
      color: transparent;

      &::after {
        opacity: 1;
        animation: text-shimmer var(--shimmer-speed) infinite linear;
      }
    }
  }

  @keyframes text-shimmer {
    0% {
      background-position: 100% 0;
    }

    100% {
      background-position: -100% 0;
    }
  }
/* END_SNIPPET:text-component-shimmer-styles */

/* START_SNIPPET:text (INDEX:294) */
:root {
    --text-align-default: left;
  }

  [style*='--horizontal-alignment: center'] .text-block {
    --text-align-default: center;
  }

  [style*='--horizontal-alignment: flex-end'] .text-block {
    --text-align-default: right;
  }

  [style*='--horizontal-alignment: flex-start'] > .text-block {
    --text-align-default: left;
  }

  [style*='--horizontal-alignment: center'] > .text-block {
    --text-align-default: center;
  }

  [style*='--horizontal-alignment: flex-end'] > .text-block {
    --text-align-default: right;
  }

  .text-block {
    width: var(--width);
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: var(--horizontal-alignment);
    color: var(--color, var(--color-foreground));
  }

  .text-block > * {
    width: var(--width);
    max-inline-size: min(100%, var(--max-width, 100%));
    text-align: var(--text-align, var(--text-align-default));
    text-wrap: var(--text-wrap);
  }

  .text-block:not(.text-block--full-width).rte,
  .text-block:not(.text-block--full-width).paragraph {
    /* Safari doesn't support pretty, so fallback to balance */
    text-wrap: balance;
    text-wrap: pretty;
  }

  .text-block:not(.text-block--full-width):is(.h1, .h2, .h3, .h4, .h5, .h6) {
    text-wrap: balance;
  }

  /* Hide underline unless text is using paragraph styles. */
  .text-block.text-block:is(.h1, .h2, .h3, .h4, .h5, .h6) a {
    text-decoration-line: none;
    color: currentColor;

    &:hover {
      text-decoration-line: none;
      color: currentColor;
    }
  }

  .text-block h1,
  .text-block.h1 > * {
    margin-block: var(--font-h1--spacing);
  }

  .text-block h2,
  .text-block.h2 > * {
    margin-block: var(--font-h2--spacing);
  }

  .text-block h3,
  .text-block.h3 > * {
    margin-block: var(--font-h3--spacing);
  }

  .text-block h4,
  .text-block.h4 > * {
    margin-block: var(--font-h4--spacing);
  }

  .text-block h5,
  .text-block.h5 > * {
    margin-block: var(--font-h5--spacing);
  }

  .text-block h6,
  .text-block.h6 > * {
    margin-block: var(--font-h6--spacing);
  }

  .text-block p,
  .text-block.p > * {
    margin-block: var(--font-paragraph--spacing);
  }

  .text-block > *:first-child {
    margin-block-start: 0;
  }

  .text-block > *:last-child {
    margin-block-end: 0;
  }

  .text-block--align-center,
  .text-block--align-center > * {
    margin-inline: auto;
  }

  .text-block--align-right,
  .text-block--align-right > * {
    margin-inline-start: auto;
  }

  .text-block--background {
    background-color: var(--text-background-color);
    border-radius: var(--text-corner-radius);

    /* To avoid text being cropped when using a border radius we add a minimum padding. */
    padding-block-start: max(var(--text-padding), var(--padding-block-start, 0));
    padding-block-end: max(var(--text-padding), var(--padding-block-end, 0));
    padding-inline-start: max(var(--text-padding), var(--padding-inline-start, 0));
    padding-inline-end: max(var(--text-padding), var(--padding-inline-end, 0));
  }

  .custom-color,
  .custom-color > :is(h1, h2, h3, h4, h5, h6, p, *) {
    color: var(--color);
  }
/* END_SNIPPET:text */

/* START_SNIPPET:theme-drawer-styles (INDEX:296) */
theme-drawer {
    display: contents;
  }

  .theme-drawer__dialog {
    --theme-drawer-padding: var(--padding-xl);

    z-index: calc(var(--layer-sticky) + var(--drawer-stack-order, 0));
    position: fixed;
    inset: unset;
    top: 0;
    right: calc(-1 * var(--theme-drawer-width, var(--sidebar-width)));
    flex-direction: column;
    width: var(--theme-drawer-width, var(--sidebar-width));
    max-width: 100%;
    max-height: none;
    height: 100dvh;
    padding: 0;
    border: none;
    border-left: var(--style-border-drawer);
    background-color: var(--color-background);
    color: var(--color-foreground);
  }

  .theme-drawer__dialog[open] {
    display: flex;
    right: 0;
  }

  .theme-drawer__dialog--opening {
    animation: drawer-slide-in var(--animation-speed) var(--animation-timing-fade-in);
  }

  .theme-drawer__dialog--opening-inline-start {
    animation: drawer-slide-in-inline-start var(--animation-speed) var(--animation-timing-fade-in);
  }

  .theme-drawer__dialog--closing {
    animation: drawer-slide-out var(--animation-speed) var(--animation-timing-fade-out) forwards;
  }

  .theme-drawer__dialog-instant {
    animation: none;
  }

  @keyframes drawer-slide-in {
    from {
      right: calc(-1 * var(--theme-drawer-width, var(--sidebar-width)));
    }
  }

  @keyframes drawer-slide-in-inline-start {
    from {
      right: calc(var(--theme-drawer-width, var(--sidebar-width)) / 2);
    }
  }

  @keyframes drawer-slide-out {
    to {
      right: calc(-1 * var(--theme-drawer-width, var(--sidebar-width)));
    }
  }

  .theme-drawer__dialog::backdrop {
    background: rgb(var(--backdrop-color-rgb) / var(--backdrop-opacity));
  }

  /* Exclude open drawers from the page navigation cross-fade so they
     stay frozen (visually unchanged) while the rest of the page transitions. */
  html:active-view-transition-type(page-navigation) .theme-drawer__dialog[open] {
    view-transition-name: theme-drawer;
  }

  ::view-transition-old(theme-drawer),
  ::view-transition-new(theme-drawer) {
    animation: none;
  }

  .theme-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--theme-drawer-padding);
    flex-shrink: 0;
    color: var(--color-foreground);
  }

  .theme-drawer__title {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
    margin: 0;
  }

  .theme-drawer__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: var(--style-border-radius-lg);
    background-color: rgb(var(--color-foreground-rgb) / 0.1);
    font-family: var(--font-paragraph--family);
    font-weight: var(--font-paragraph--weight);
    color: var(--color-foreground);
    font-size: clamp(var(--font-size--3xs), 0.75em, var(--font-size--xs));
    padding-inline: 0.5em;
    line-height: 1;
  }

  .theme-drawer__badge[data-maintain-ratio] {
    aspect-ratio: 1 / 1;
    padding-inline: 0.2em;
  }

  .theme-drawer__close-button {
    --private-button-size: 34px;
    --private-focus-ring-size: 2px;
    --private-motion-speed: 150ms;
    --private-motion-ease: cubic-bezier(0.25, 0, 0.1, 1);
    --private-border-width: 1px;
    --private-button-border-color: rgb(0, 0, 0, 0.06);
    --private-button-shadow: 0 2px 6px 0 var(--private-button-border-color);

    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: auto;
    width: var(--private-button-size);
    height: var(--private-button-size);
    border-radius: var(--private-button-size);
    background-color: var(--color-background);
    outline: var(--private-focus-ring-size) solid transparent;
    outline-offset: var(--private-focus-ring-size);
    transition-property: color, outline-color, background-color;
    transition-duration: var(--private-motion-speed);
    transition-timing-function: var(--private-motion-ease);

    /* Legacy non-contrast-aware color scheme */
    --button-icon-opacity: 0.8;
    color: var(--color-foreground);
    border: var(--private-border-width) solid var(--private-button-border-color);
    box-shadow: var(--private-button-shadow);

    &:hover:not(:active) {
      /* Legacy non-contrast-aware color scheme */
      --button-icon-opacity: 1;
    }

    &:focus-visible {
      outline-color: var(--color-foreground);
    }
  }

  @supports (color: oklch(from red l c h)) {
    .theme-drawer__close-button {
      --contrast-color: oklch(from var(--color-background) clamp(0, (0.6 / l - 1) * infinity, 1) 0 0);
      --button-icon-opacity: 1;
      --private-button-border-color: color-mix(in srgb, var(--contrast-color) 6%, transparent);
      --private-button-shadow: 0 2px 6px 0 var(--private-button-border-color);

      color: color-mix(in srgb, var(--contrast-color) 50%, transparent);

      &:hover:not(:active) {
        color: color-mix(in srgb, var(--contrast-color) 70%, transparent);
      }
    }

    .theme-drawer__close-button:hover:not(:active) {
      background-color: color-mix(in srgb, var(--contrast-color) 6%, var(--color-background));
    }
  }
/* END_SNIPPET:theme-drawer-styles */

/* START_SNIPPET:variant-picker-styles (INDEX:309) */
/* Variant picker container styles - unique to main variant picker */
  .variant-picker {
    width: 100%;
  }

  .variant-picker__form {
    width: 100%;
  }

  .variant-picker[data-shopify-visual-preview] {
    min-width: 300px;
    padding-inline-start: max(4px, var(--padding-inline-start));
  }

  /* Dropdown variant option styles */
  .variant-option__select-wrapper {
    display: flex;
    position: relative;
    border: var(--style-border-width-inputs) solid var(--color-variant-border);
    border-radius: var(--style-border-radius-inputs);
    align-items: center;
    margin-top: var(--margin-2xs);
    overflow: clip;
    color: var(--color-variant-text);
  }

  .variant-option__select-wrapper:has(.swatch) {
    --variant-picker-swatch-width: 20px;
    --variant-picker-swatch-height: 20px;
  }

  .variant-option__select-wrapper:hover {
    border-color: var(--color-variant-hover-border);
    color: var(--color-variant-hover-text);
  }

  .variant-option__select-wrapper:hover .variant-option__select {
    background-color: var(--color-variant-hover-background);
  }

  .variant-option__select:focus-visible {
    outline: var(--focus-outline-width) solid currentcolor;
    outline-offset: var(--focus-outline-offset);
  }

  .variant-option__select {
    padding-block: var(--padding-md);
    padding-inline: var(--padding-lg) calc(var(--padding-lg) + var(--icon-size-2xs));
    appearance: none;
    background-color: var(--color-variant-background);
    color: inherit;
    border: 0;
    width: 100%;
    margin: 0;
    cursor: pointer;
  }

  .variant-option__select-wrapper .icon {
    position: absolute;
    right: var(--padding-md);
    top: 50%;
    transform: translateY(-50%);
    width: var(--icon-size-2xs);
    height: var(--icon-size-2xs);
    pointer-events: none;
  }

  .variant-option__select--has-swatch {
    padding-inline-start: calc((2 * var(--padding-sm)) + var(--variant-picker-swatch-width));
  }

  .variant-option__select-wrapper .swatch {
    position: absolute;
    top: 50%;
    left: var(--padding-md);
    transform: translateY(-50%);
  }

  /* Variant picker alignment modifiers */
  .variant-picker--center,
  .variant-picker--center .variant-option {
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .variant-picker--right,
  .variant-picker--right .variant-option {
    text-align: right;
    justify-content: right;
  }

  .variant-picker .variant-option--buttons label:has(.swatch) {
    border-radius: var(--variant-picker-swatch-radius);
  }

  /* Variant option component */
  .variant-option {
    --options-border-radius: var(--variant-picker-button-radius);
    --options-border-width: var(--variant-picker-button-border-width);
    --variant-option-padding-inline: var(--padding-md);
  }

  .variant-option + .variant-option {
    margin-top: var(--padding-lg);
  }

  .variant-option--swatches {
    --options-border-radius: var(--variant-picker-swatch-radius);

    width: 100%;

    overflow-list::part(list) {
      padding-block: var(--overflow-list-padding-block, 0);
      padding-inline: var(--overflow-list-padding-inline, 0);
    }
  }

  .variant-option--swatches > overflow-list {
    justify-content: var(--product-swatches-alignment);

    @media screen and (max-width: 749px) {
      justify-content: var(--product-swatches-alignment-mobile);
    }
  }

  .variant-option--buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-sm);
    margin: 0;
    padding: 0;
    border: none;
  }

  .variant-option--buttons legend {
    padding: 0;
    margin-block-end: var(--margin-xs);
  }

  .variant-option--buttons legend,
  .variant-option--dropdowns > label,
  .variant-option[data-testid='variant-option-single'] {
    color: var(--variant-option-label-color, var(--color-foreground));
  }

  .variant-option__swatch-value {
    padding-inline-start: var(--padding-xs);
    color: var(--variant-option-label-color-subdued, var(--color-foreground-subdued));
  }

  @media (prefers-reduced-motion: no-preference) {
    .variant-option__button-label,
    .variant-option__select-wrapper,
    .variant-option__button-label::before,
    .variant-option__button-label::after,
    .variant-option__button-label:has([data-previous-checked='true'], [data-current-checked='true'])
      .variant-option__button-label__pill {
      transition-duration: var(--animation-speed);
      transition-timing-function: var(--animation-easing);
    }

    .variant-option__button-label__pill {
      transition-property: transform;
    }

    .variant-option__button-label:has([data-previous-checked='true'], [data-current-checked='true'])
      .variant-option__button-label__pill {
      transition-property: transform;
    }

    .variant-option__button-label::after {
      transition-property: clip-path;
    }

    .variant-option__button-label::before {
      transition-property: border-color;
    }

    .variant-option__select-wrapper,
    .variant-option__button-label {
      transition-property: background-color, border-color, color;
    }
  }

  .variant-option__button-label {
    --variant-picker-stroke-color: var(--color-variant-border);

    cursor: pointer;
    display: flex;
    flex: 0 0 3.25em;
    align-items: center;
    position: relative;
    padding-block: var(--padding-sm);
    padding-inline: var(--padding-lg);
    border: var(--options-border-width) solid var(--color-variant-border);
    border-radius: var(--options-border-radius);
    overflow: clip;
    justify-content: center;
    min-height: 3.25em;
    min-width: fit-content;
    white-space: nowrap;
    background-color: var(--color-variant-background);
    color: var(--color-variant-text);
    gap: 0;

    &:hover,
    &:hover:has([aria-disabled='true']):has([data-option-available='false']) {
      --variant-picker-stroke-color: var(--color-variant-hover-border);

      background-color: var(--color-variant-hover-background);
      border-color: var(--color-variant-hover-border);
      color: var(--color-variant-hover-text);
    }

    /* we need something like overflow-clip-margin to use the pseudoelement but it doesn't work in Safari */

    /* so instead use the layered background image trick */
    &:not(.variant-option__button-label--has-swatch):has([data-option-available='false']) {
      border-width: 0;
    }

    /* ::after/::before act as a fake border for the button style variant */

    /* ::after is the unavailable variant border that clips in */
    &:not(.variant-option__button-label--has-swatch)::before,
    &:has([data-option-available='false']):not(.variant-option__button-label--has-swatch)::after {
      content: '';
      position: absolute;
      inset: 0;
      border: var(--options-border-width) solid var(--color-selected-variant-border);
      border-radius: inherit;
      pointer-events: none;
      z-index: 2;
      /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
      clip-path: inset(var(--clip, 0 0 0 0));
    }

    &:has([data-option-available='false']):not(.variant-option__button-label--has-swatch)::before {
      inset: 0;
    }

    &:not(.variant-option__button-label--has-swatch)::before {
      /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
      clip-path: inset(0 0 0 0);
      border-color: var(--color-variant-border);
      inset: calc(var(--options-border-width) * -1);
    }

    &:has(:checked):not(.variant-option__button-label--has-swatch, :has([data-option-available='false']))::before {
      border-color: var(--color-selected-variant-border);
    }

    /* setting left/right accounts for variant buttons of different widths */
    &:not(:has(:checked)):has(~ label > :checked),
    &:has(:checked):has(~ label > [data-previous-checked='true']) {
      .variant-option__button-label__pill {
        right: 0;
        left: unset;
      }
    }

    &:has([data-previous-checked='true']) ~ label:has([data-current-checked='true']),
    &:has(:checked) ~ label {
      .variant-option__button-label__pill {
        left: 0;
        right: unset;
      }
    }

    &:not(:has(:checked)):has(~ label > :checked) {
      --pill-offset: calc(100% + 1px);
    }

    &:has(:checked) ~ label {
      --pill-offset: calc(-100% - 1px);
    }

    &:has([data-current-checked='true']):first-of-type
      ~ label:last-of-type:not(.variant-option__button-label--has-swatch),
    &:not(:has(:checked)):has(~ label > :checked):not(.variant-option__button-label--has-swatch) {
      --clip: 0 0 0 100%;
    }

    &:not(:has([data-current-checked='true'])):first-of-type:has(~ label:last-of-type > :checked):not(
        .variant-option__button-label--has-swatch
      ),
    &:has(:checked) ~ label:not(.variant-option__button-label--has-swatch) {
      --clip: 0 100% 0 0;
    }

    &:has([data-previous-checked='true'], [data-current-checked='true']) .variant-option__button-label__pill {
      width: max(var(--pill-width-current, 100%), var(--pill-width-previous, 100%));
    }

    @media screen and (min-width: 750px) {
      padding: var(--padding-xs) var(--variant-option-padding-inline);
    }
  }

  /* wrap around only for 3 or more variants in a row */

  /* the more complex selector rules here produce the wrap around effect for first/last variants */
  .variant-option--buttons:has(:nth-of-type(3)) {
    .variant-option__button-label:has([data-current-checked='true']):first-of-type ~ label:last-of-type {
      --pill-offset: calc(100% + 1px);
    }

    .variant-option__button-label:not(:has([data-current-checked='true'])):first-of-type:has(
        ~ label:last-of-type > :checked
      ) {
      --pill-offset: calc(-100% - 1px);
    }
  }

  .variant-option__button-label__pill {
    background: var(--color-selected-variant-background);
    position: absolute;
    top: calc(var(--options-border-width) * -1);
    bottom: calc(var(--options-border-width) * -1);
    border-radius: inherit;
    pointer-events: none;
    width: 100%;
    transform: translateX(var(--pill-offset, 0));
  }

  .variant-option__button-label__text {
    pointer-events: none;
    text-align: start;
    text-wrap: auto;
    z-index: 2;
  }

  .variant-option--equal-width-buttons {
    --variant-min-width: clamp(44px, calc(var(--variant-option-padding-inline) * 2 + var(--variant-ch)), 100%);

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(var(--variant-min-width), 1fr));

    .variant-option__button-label {
      min-width: var(--variant-min-width);
    }

    .variant-option__button-label__text {
      text-align: center;
      text-wrap: balance;
    }
  }

  .variant-option__button-label:has(:focus-visible) {
    --variant-picker-stroke-color: var(--color-foreground);

    border-color: var(--color-foreground);
    outline: var(--focus-outline-width) solid var(--color-foreground);
    outline-offset: var(--focus-outline-offset);
  }

  .variant-option__button-label--has-swatch {
    --focus-outline-radius: var(--variant-picker-swatch-radius);

    padding: 0;
    border: none;
    flex-basis: auto;
    min-height: auto;
  }

  /* Override global label:has(input) display rule with higher specificity */
  .variant-option__button-label--has-swatch:has(input) {
    display: block;
  }

  .variant-option__button-label:has(:checked) {
    --variant-picker-stroke-color: var(--color-selected-variant-border);

    color: var(--color-selected-variant-text);
    border-color: var(--color-selected-variant-border);
  }

  .variant-option__button-label:has(:checked):hover {
    border-color: var(--color-selected-variant-hover-border);
    color: var(--color-selected-variant-hover-text);

    .variant-option__button-label__pill {
      background-color: var(--color-selected-variant-hover-background);
    }
  }

  .variant-option__button-label:has([data-option-available='false']) {
    color: rgb(var(--color-variant-text-rgb) / var(--opacity-60));
  }

  .variant-option__button-label--has-swatch:hover {
    outline: var(--focus-outline-width) solid var(--color-variant-hover-border);
    outline-offset: var(--focus-outline-offset);
  }

  .variant-option__button-label--has-swatch:has([data-option-available='false']) svg,
  .variant-option__button-label--has-swatch:has([data-option-available='false']) .swatch {
    stroke: rgb(var(--color-variant-text-rgb) / var(--opacity-subdued-text));
  }

  /* Disable the duplicate overlay line so the subdued stroke doesn't double up */
  .variant-option__button-label--has-swatch:has([data-option-available='false']) svg line:last-of-type {
    stroke: none;
  }

  .variant-option__button-label--has-swatch:has(:checked) {
    --focus-outline: var(--focus-outline-width) solid var(--color-selected-variant-border);

    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
  }

  /* This triggers iOS < 16.4. The outline bug is not recognized as a lack of @supports */
  @supports not (background-color: rgb(from red 150 g b / alpha)) {
    /** There is a bug in safari < 16.4 that causes the outline to not follow the elements border radius. This is a workaround. **/
    .variant-option__button-label--has-swatch:has(:checked),
    .variant-option__button-label:has(:focus-visible) .swatch {
      outline: none;
      position: relative;
      overflow: visible;
    }

    .variant-option__button-label--has-swatch:has(:checked)::after,
    .variant-option__button-label:has(:focus-visible) .swatch::after {
      content: '';
      position: absolute;
      inset: calc(-1 * var(--focus-outline-offset));
      border: var(--focus-outline);
      border-radius: var(--focus-outline-radius, 50%);
      background-color: transparent;
      display: inherit;
    }
  }

  .variant-option__button-label:has([data-option-available='false']):has(:checked) {
    --variant-strikethrough-color: rgb(var(--color-selected-variant-text-rgb) / var(--opacity-subdued-text));

    background-color: var(--color-selected-variant-background);
    color: rgb(var(--color-selected-variant-text-rgb) / var(--opacity-subdued-text));
  }

  .variant-option__button-label:has([data-option-available='false']):has(:checked):hover {
    background-color: var(--color-selected-variant-hover-background);
    color: var(--color-selected-variant-hover-text);
  }

  .variant-option__button-label input {
    /* remove the checkbox from the page flow */
    position: absolute;

    /* set the dimensions to match those of the label */
    inset: 0;

    /* hide it */
    opacity: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    border: none;
    border-radius: 0;
    background: transparent;
    appearance: auto;
    display: block;
    cursor: pointer;
  }

  .variant-option__button-label svg {
    position: absolute;
    left: var(--options-border-width);
    top: var(--options-border-width);
    height: calc(100% - (var(--options-border-width) * 2));
    width: calc(100% - (var(--options-border-width) * 2));
    cursor: pointer;
    pointer-events: none;
    stroke-width: var(--style-border-width);
    stroke: var(--variant-picker-stroke-color);
  }

  .variant-option__button-label:not(.variant-option__button-label--has-swatch) svg {
    stroke: var(--variant-strikethrough-color, rgb(var(--color-variant-text-rgb) / var(--opacity-60)));

    line {
      stroke-width: var(--options-border-width);
    }

    /* The second stroke line exists for "motion overlay". Disabled for swatches, remove line to avoid overlapping lines  */
    line:last-of-type {
      stroke: none;
    }
  }

  /* Override for swatch labels to maintain block display */
  .variant-option__button-label--has-swatch:has(input[type='radio']) {
    display: block;
  }

  /* Swatches do not take a background-color since a transparent or missing swatch would end up filled */
  .variant-option__button-label--has-swatch:has([data-option-available='false']):has(:checked),
  .variant-option__button-label--has-swatch:has([data-option-available='false']):has(:checked):hover {
    background-color: inherit;
  }
/* END_SNIPPET:variant-picker-styles */

/* START_SNIPPET:variant-swatches (INDEX:310) */
swatches-variant-picker-component {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: var(--product-swatches-alignment-mobile);

    @media screen and (min-width: 750px) {
      justify-content: var(--product-swatches-alignment);
    }

    --overflow-list-padding-block: calc(
        var(--product-swatches-padding-block-start) + var(--focus-outline-offset) + var(--focus-outline-width)
      )
      calc(var(--product-swatches-padding-block-end) + var(--focus-outline-offset) + var(--focus-outline-width));
    --overflow-list-padding-inline: calc(
        var(--product-swatches-padding-inline-start) + var(--focus-outline-offset) + (1.5 * var(--focus-outline-width))
      )
      calc(var(--product-swatches-padding-inline-end) + var(--focus-outline-offset) + var(--focus-outline-width));

    overflow-list::part(list) {
      gap: var(--gap-sm);
    }
  }

  swatches-variant-picker-component overflow-list[disabled='true'] {
    --overflow-list-padding-block: 0px;
    margin-block-start: calc(
      var(--product-swatches-padding-block-start) + var(--focus-outline-offset) + var(--focus-outline-width)
    );
    margin-block-end: calc(
      var(--product-swatches-padding-block-end) + var(--focus-outline-offset) + var(--focus-outline-width)
    );
  }

  .hidden-swatches__count {
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    color: rgb(var(--color-foreground-rgb) / var(--opacity-40-60));
    background-color: transparent;
    padding: 0;
    border: 0;
    border-radius: 0;

    &::before {
      /* This doesn't work in Safari without the counter-reset. https://stackoverflow.com/a/40179718 */
      counter-reset: overflow-count var(--overflow-count);
      content: '+' counter(overflow-count);
      line-height: 1;
      cursor: pointer;
    }
  }

  .hidden-swatches__count:hover {
    color: var(--color-foreground-rgb);
  }
/* END_SNIPPET:variant-swatches */

/* START_SNIPPET:video-background-styles (INDEX:311) */
.video-background,
  .video-background * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .video-background--cover * {
    object-fit: cover;
  }

  .video-background--contain * {
    object-fit: contain;
  }

  @media (prefers-reduced-motion: reduce) {
    video-background-component video {
      display: none;
    }
  }
/* END_SNIPPET:video-background-styles */

/* START_SNIPPET:video-placeholder-styles (INDEX:312) */
.video-placeholder-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: var(--size-style-aspect-ratio, auto);
  }

  :not(deferred-media) > .video-placeholder-wrapper {
    width: var(--video-placeholder-width);
  }

  .video-placeholder-wrapper > * {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .video-placeholder-wrapper.border-style {
    /* Apply the border radius to the video */
    overflow: hidden;
  }

  .video-placeholder-wrapper__poster-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .video-placeholder-wrapper__poster-icon svg {
    width: var(--button-size);
    height: var(--button-size);
    color: var(--color-white);
    filter: drop-shadow(var(--shadow-button));

    &:hover {
      color: rgb(var(--color-white-rgb) / var(--opacity-80));
    }

    @media screen and (min-width: 750px) {
      width: 4rem;
      height: 4rem;
    }
  }
/* END_SNIPPET:video-placeholder-styles */

/* START_SNIPPET:volume-pricing-info (INDEX:314) */
.volume-pricing-info {
    display: inline-flex;
  }

  .volume-pricing-info__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    color: var(--color-foreground-secondary);
    cursor: pointer;
    transition: color var(--animation-speed) var(--animation-easing);
    flex-shrink: 0;
  }

  .volume-pricing-info__button:hover {
    color: var(--color-foreground);
  }

  .volume-pricing-info__button .svg-wrapper {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
  }

  .volume-pricing-info__button--with-label {
    width: auto;
    gap: var(--gap-sm);
  }

  .volume-pricing-info__popover {
    --volume-pricing-popover-max-width: 320px;
    --volume-pricing-popover-spacing: 8px;
    --volume-pricing-popover-viewport-margin: 16px;

    min-inline-size: 280px;
    max-inline-size: var(--volume-pricing-popover-max-width);
    background: var(--color-background);
    border: var(--style-border-popover);
    border-radius: var(--style-border-radius-popover, 0);
    box-shadow: var(--shadow-popover);
    overflow: hidden;
    padding: 0;
    margin: 0;
    transition-property: display, opacity, translate;
    transition-duration: 0.3s;
    transition-timing-function: var(--ease-out-quad);
    transition-behavior: allow-discrete;
    translate: 0 20px;
    opacity: 0;
  }

  /* Native anchor positioning for supported browsers */
  .volume-pricing-info__popover {
    inset: unset;
    top: calc(anchor(bottom) + var(--volume-pricing-popover-spacing));
    left: anchor(left);
  }

  @supports (position-try-fallbacks: --top-left) {
    .volume-pricing-info__popover {
      position-try-fallbacks: --top-left;
    }

    @position-try --top-left {
      top: calc(anchor(top) - var(--volume-pricing-popover-spacing));
      bottom: auto;
      transform: translateY(-100%);
    }
  }

  /* Fallback positioning using custom properties */
  @supports not (position-anchor: --volume-pricing-trigger) {
    .volume-pricing-info__popover {
      position: fixed;
      top: calc(var(--anchor-bottom) * 1px + var(--volume-pricing-popover-spacing));
      left: max(
        var(--volume-pricing-popover-viewport-margin),
        min(
          var(--anchor-left) * 1px,
          100vw - var(--volume-pricing-popover-max-width) - var(--volume-pricing-popover-viewport-margin)
        )
      );
    }
  }

  .volume-pricing-info__popover:popover-open {
    translate: 0 0;
    opacity: 1;
  }

  @starting-style {
    .volume-pricing-info__popover:popover-open {
      translate: 0 20px;
      opacity: 0;
    }
  }

  .volume-pricing-info__rules {
    display: flex;
    flex-direction: column;
    gap: var(--gap-2xs);
    padding: var(--padding-md);
    font-size: var(--font-size--xs);
  }

  .volume-pricing-info__rules,
  .volume-pricing-info__rules > span {
    color: rgb(var(--color-rgb, var(--color-foreground-rgb)) / var(--opacity-subdued-text));
  }

  .volume-pricing-info__table {
    display: flex;
    flex-direction: column;
  }

  .volume-pricing-info__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--padding-sm) var(--padding-md);
    font-size: var(--font-size--sm);
    background: var(--color-background);
    border-inline-start: 3px solid transparent;
    transition: border-color var(--animation-speed) var(--animation-easing);
  }

  .volume-pricing-info__row:nth-child(odd) {
    background: rgb(var(--color-foreground-rgb) / var(--opacity-5));
  }

  .volume-pricing-info__row--active {
    border-inline-start-color: var(--color-foreground);
    font-weight: var(--font-weight-medium);
  }

  .volume-pricing-info__quantity {
    color: var(--color-foreground);
  }

  .volume-pricing-info__price {
    display: flex;
    align-items: center;
    color: var(--color-foreground);
  }

  .volume-pricing-info__checkmark {
    display: none;
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    color: var(--color-foreground);
  }

  .volume-pricing-info__row--active .volume-pricing-info__checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
/* END_SNIPPET:volume-pricing-info */