/** Shopify CDN: Minification failed

Line 1337:2 Unexpected "{"
Line 1337:3 Expected identifier but found "%"
Line 1365:2 Unexpected "{"
Line 1365:3 Expected identifier but found "%"
Line 1367:20 Unexpected "{"
Line 1367:29 Expected ":"
Line 1369:34 Expected identifier but found whitespace
Line 1369:36 Unexpected "{"
Line 1369:54 Expected ":"
Line 1369:59 Expected ":"
... and 140 more hidden warnings

**/


/* CSS from section stylesheet tags */
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';

      &[reverse] {
        grid-template-areas: 'image text';
        grid-template-columns: var(--template-column-ratio) 1fr;
      }

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

      @media (width < 750px) {
        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 (width < 750px) {
      image-block {
        max-width: 100%;
      }
    }
  }
.featured-product-section .section-content-wrapper {
    grid-template-columns: 1fr;
    display: grid;
    overflow: hidden;

    @media (width >= 750px) {
      grid-template-columns: 1fr 1fr;
    }
  }

  /* Here I should maybe set the width to auto when the ratio is set to adapt */
  .featured-product-section .product-media-container.constrain-height {
    /* arbitrary offset value based on average theme spacing and header height */
    --viewport-offset: 400px;
    --constrained-min-height: var(--visual-preview--height, 80dvh);

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

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

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

  @media screen and (width < 750px) {
    .featured-product-section .media-block {
      order: -1;
    }
  }
.four-box-grid__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--box-gap, 0);
    width: 100%;
  }

  .four-box-grid__box {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .four-box-grid__box-link {
    position: absolute;
    inset: 0;
    z-index: 4;
  }

  .four-box-grid__box-link ~ .four-box-grid__content {
    pointer-events: none;
  }

  .four-box-grid__box-link ~ .four-box-grid__content .four-box-grid__buttons a,
  .four-box-grid__box-link ~ .four-box-grid__content .four-box-grid__buttons button {
    pointer-events: auto;
  }

  .four-box-grid__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .four-box-grid__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .four-box-grid__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
  }

  .four-box-grid__content {
    position: relative;
    z-index: 3;
    padding: var(--page-margin);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: var(--content-vertical, flex-end);
    align-items: var(--content-horizontal, flex-start);
    color: var(--color-foreground);
  }

  .four-box-grid__heading {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    color: var(--color-foreground-heading);
    font-size: var(--heading-font-size, clamp(1.5rem, 4vw, 2.5rem));
    text-transform: var(--heading-text-case, none);
  }

  .four-box-grid__heading :is(h1, h2, h3, h4, h5, h6, p) {
    color: var(--color-foreground-heading);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: var(--heading-text-case, none);
    font-size: var(--heading-font-size, clamp(1.5rem, 4vw, 2.5rem));
  }

  .four-box-grid__subheading {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1rem;
    color: var(--color-foreground);
    font-size: var(--subheading-font-size, clamp(0.875rem, 2vw, 1.125rem));
    text-transform: var(--subheading-text-case, none);
  }

  .four-box-grid__subheading :is(h1, h2, h3, h4, h5, h6, p) {
    color: var(--color-foreground);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: var(--subheading-text-case, none);
    font-size: var(--subheading-font-size, clamp(0.875rem, 2vw, 1.125rem));
  }

  .four-box-grid__text {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    color: var(--color-foreground);
    font-size: var(--text-font-size, clamp(0.875rem, 2vw, 1rem));
    text-transform: var(--text-text-case, none);
  }

  .four-box-grid__text :is(h1, h2, h3, h4, h5, h6, p) {
    color: var(--color-foreground);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: var(--text-text-case, none);
    font-size: var(--text-font-size, clamp(0.875rem, 2vw, 1rem));
  }

  .four-box-grid__buttons {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
  }

  /* Section-level button shape override - only applies if custom radius is set */
  .four-box-grid__buttons[style*="--four-box-button-radius"] .button:not([style*="--button-"]),
  .four-box-grid__buttons[style*="--four-box-button-radius"] .button-secondary:not([style*="--button-"]) {
    border-radius: var(--four-box-button-radius) !important;
  }

  /* Per-button shape override - highest priority */
  .four-box-grid__buttons a[style*="--button-1-radius"] {
    border-radius: var(--button-1-radius) !important;
  }

  .four-box-grid__buttons a[style*="--button-2-radius"] {
    border-radius: var(--button-2-radius) !important;
  }

  .four-box-grid__buttons a[style*="--button-3-radius"] {
    border-radius: var(--button-3-radius) !important;
  }

  /* Section-level button color override */
  .four-box-grid__buttons[style*="--four-box-button-background"] .button:not([style*="--button-custom"]),
  .four-box-grid__buttons[style*="--four-box-button-background"] .button-secondary:not([style*="--button-custom"]),
  .four-box-grid__buttons[style*="--four-box-button-color"] .button:not([style*="--button-custom"]),
  .four-box-grid__buttons[style*="--four-box-button-color"] .button-secondary:not([style*="--button-custom"]) {
    --button-background-color: var(--four-box-button-background, var(--button-background-color)) !important;
    --button-color: var(--four-box-button-color, var(--button-color)) !important;
    background-color: var(--button-background-color) !important;
    color: var(--button-color) !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
  }

  /* Hover state - apply hover colors when available */
  .four-box-grid__buttons .button:hover:not([style*="--button-custom"]),
  .four-box-grid__buttons .button-secondary:hover:not([style*="--button-custom"]) {
    --button-background-color: var(--four-box-button-hover-background, var(--four-box-button-background, var(--button-background-color))) !important;
    --button-color: var(--four-box-button-hover-color, var(--four-box-button-color, var(--button-color))) !important;
    background-color: var(--button-background-color) !important;
    color: var(--button-color) !important;
  }

  /* Mobile: Stack vertically */
  @media screen and (max-width: 749px) {
    .four-box-grid__container {
      grid-template-columns: 1fr;
      gap: var(--box-gap, 0);
    }

    .four-box-grid__box {
      aspect-ratio: 1;
    }

    .four-box-grid__content {
      padding: calc(var(--page-margin) * 1.5);
    }
  }

  /* Tablet adjustments */
  @media screen and (min-width: 750px) and (max-width: 989px) {
    .four-box-grid__container {
      grid-template-columns: repeat(2, 1fr);
    }
  }
.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 (width < 750px) {
      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;

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

  .announcement-bar__slider slideshow-arrows {
    padding: 0;
  }

  .announcement-bar__slider slideshow-arrows[shape='none'] {
    mix-blend-mode: normal;
  }

  .announcement-bar__slider slideshow-arrows .slideshow-control--shape-none {
    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 (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;
  }
body {
    --header-height: 0px;
    --header-group-height: var(--header-height);
  }

  body:has(> #header-group > header) {
    --header-height: 60px;
  }

  body:has(> #header-group:empty) {
    --header-group-height: 0px;
  }

  .header[transparent] {
    --language-button-background-color: transparent;
    --language-button-border-color: transparent;
    /* used to apply transparency to .header__row, will only ever be transparent or unset */
    --header-bg-color: transparent;
    /* 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;
    /* transparent color scheme on .header should never apply its background color */
    background-color: transparent;
    z-index: var(--layer-overlay);

    &[transparent='not-sticky'][data-sticky-state='active'],
    &:has(
        .header__row:hover,
        .mega-menu__list:is(:hover),
        .header-menu:is([aria-expanded='true']),
        nav[header-menu]:is(:focus-within),
        .menu-list__link[data-animating],
        .account-popover[open],
        .localization-wrapper:not([hidden])
      ) {
      /* should be opaque, negate all transparent properties */
      --header-logo-display: unset;
      --header-logo-inverse-display: unset;
      --header-bg-color: unset;
      --color-foreground: inherit;
      --color-background: inherit;
      --color-border: inherit;
    }

    .header__row {
      transition: color var(--animation-speed) var(--animation-easing),
        border-color var(--animation-speed) var(--animation-easing),
        background-color var(--animation-speed) var(--animation-easing);
    }
  }

  :is(
      .header[transparent]:not([data-sticky-state='active']),
      .header[transparent='always'][data-sticky-state='active'],
      .account-popover[open],
      .localization-wrapper:not([hidden])
    )
    .header__row:not(:hover):not(
      :has(
          .header-menu[aria-expanded='true'],
          .menu-list__link[data-animating],
          .account-popover[open],
          .localization-wrapper:not([hidden])
        )
    ) {
    /* while transparent, header-row ignores its color-scheme settings, pull from the header-component */
    --color-foreground: inherit;
    --color-border: inherit;
    --color-primary-button-background: inherit;
    --color-primary-button-text: inherit;
  }

  .header--inherit-color-scheme-on-menu-open:has(
      .mega-menu__list:is(:hover),
      .header-menu:is([aria-expanded='true']),
      nav[header-menu]:is(:focus-within),
      .menu-list__link[data-animating]
    )
    .header__row {
    --color-foreground: inherit;
    --color-background: inherit;
    --color-border: inherit;
  }

  .header-section {
    position: relative;
  }

  #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-sticky);
  }

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

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

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

  .header__row {
    position: relative;
    /* will default to bg from its color scheme unless --header-bg-color is transparent */
    background-color: var(--header-bg-color, var(--color-background));
  }

  .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(--color-border);
  }

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

  .header__row.divider--page-width:not(.section--page-width) .header__columns {
    @media screen and (width >= 1025px) {
      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: 1024px) {
      display: contents;
    }
  }

  .header__column--left {
    gap: 0;
    grid-area: left;
    justify-content: flex-start;
  }

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

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

  /* Desktop: Logo always centered - equal thirds for true centering */
  /* NOTE: Only applies to 1025px+, NOT iPad (750-1024px) */
  @media screen and (width >= 1025px) {
    .header__columns:has(.header__column--center:has(.header-logo)) {
      grid-template-columns: 1fr 1fr 1fr;
    }
    
    .header__column--center:has(.header-logo) {
      justify-content: center;
    }
    
    .header__item--logo {
      justify-content: center;
      margin: 0 auto;
    }
    
    .header-logo {
      margin: 0 auto;
      justify-self: center;
    }
    
    /* Desktop: Responsive logo sizing - scales down as screen gets smaller */
    /* Small Desktop (1025px - 1280px) */
    @media screen and (width >= 1025px) and (width < 1281px) {
      .header-logo__image {
        max-height: calc(var(--header-logo-image-height, 60px) * 0.85);
        max-width: calc(var(--header-logo-image-width, 200px) * 0.85);
        height: auto;
        width: auto;
      }
      
      .header-logo__text {
        font-size: calc(var(--font-size--md, 1rem) * 0.9);
      }
    }
    
    /* Medium Desktop (1280px - 1440px) */
    @media screen and (width >= 1280px) and (width < 1441px) {
      .header-logo__image {
        max-height: calc(var(--header-logo-image-height, 60px) * 0.95);
        max-width: calc(var(--header-logo-image-width, 200px) * 0.95);
        height: auto;
        width: auto;
      }
      
      .header-logo__text {
        font-size: calc(var(--font-size--md, 1rem) * 0.95);
      }
    }
    
    /* Large Desktop (1440px - 1920px) - Full size */
    @media screen and (width >= 1440px) and (width < 1921px) {
      .header-logo__image {
        max-height: var(--header-logo-image-height, 60px);
        max-width: var(--header-logo-image-width, 200px);
        height: auto;
        width: auto;
      }
      
      .header-logo__text {
        font-size: var(--font-size--md, 1rem);
      }
    }
    
    /* Extra Large Desktop (1920px+) - Slightly larger */
    @media screen and (width >= 1920px) {
      .header-logo__image {
        max-height: calc(var(--header-logo-image-height, 60px) * 1.1);
        max-width: calc(var(--header-logo-image-width, 200px) * 1.1);
        height: auto;
        width: auto;
      }
      
      .header-logo__text {
        font-size: calc(var(--font-size--md, 1rem) * 1.1);
      }
    }
  }

  .header__column--right {
    gap: 0;
    justify-content: flex-end;
    grid-area: right;
    width: 100%;
    margin-left: auto;

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

  /* Header items - each element in separate div */
  .header__item {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
  }

  .header__item--menu {
    justify-content: flex-start;
  }

  .header__item--logo {
    justify-content: center;
  }

  .header__item--actions {
    justify-content: flex-end;
  }

  .header__item--localization {
    justify-content: flex-start;
  }

  .header__columns {
    display: grid;
    grid-template-areas: 'left center right';
    grid-gap: 0;
    width: 100%;

    /* Default three column layout */
    grid-template-columns: 1fr auto 1fr;
    
    /* When all items are on the right, make right column take full width */
    &:has(.header__column--right:not(:empty)):not(:has(.header__column--left:not(:empty))):not(:has(.header__column--center:not(:empty))) {
      grid-template-columns: 0fr 0fr 1fr;
    }
    
    /* When items are on the right but not all items, adjust spacing */
    &:has(.header__column--right:not(:empty)):has(.header__column--left:not(:empty)):not(:has(.header__column--center:not(:empty))) {
      grid-template-columns: auto auto;
      grid-template-areas: 'left right';
    }
    
    &:has(.header__column--right:not(:empty)):has(.header__column--center:not(:empty)):not(:has(.header__column--left:not(:empty))) {
      grid-template-columns: auto auto;
      grid-template-areas: 'center right';
    }



    /* ============================================
       Mobile (below 1025px)
       ============================================ */
    @media screen and (max-width: 1024px) {
      /* Mobile: Two-column layout - Logo left, Actions right */
      grid-template-areas: 'logo actions';
      grid-template-columns: auto 1fr;
      column-gap: var(--padding-xs);
      align-items: center;
      padding-block: 0;
      padding-inline: var(--padding-sm);
      
      /* Mobile: Logo on left */
      .header__column--left:has(.header-logo),
      .header__column--center:has(.header-logo),
      .header__column--right:has(.header-logo) {
        grid-area: logo;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        flex-shrink: 0;
        width: auto;
        min-width: 0;
        max-width: none;
      }
      
      /* Mobile: Hide center column if it doesn't have logo */
      .header__column--center:not(:has(.header-logo)) {
        display: none;
      }
      
      /* Mobile: Hide desktop menu */
      .header__column--left:has(.header-menu),
      .header__column--center:has(.header-menu),
      .header__column--right:has(.header-menu),
      .header-menu {
        display: none;
      }
      
      /* Mobile: Actions on right */
      .header__column--right:has(header-actions),
      .header__column--left:has(header-actions),
      .header__column--center:has(header-actions) {
        grid-area: actions;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex: 1;
        width: auto;
        min-width: fit-content;
      }
      
      /* Mobile: Logo styling */
      .header__item--logo {
        justify-content: flex-start;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
      }
      
      .header-logo {
        margin: 0;
        padding: 0;
        justify-self: start;
        align-self: center;
        max-width: none;
        width: auto;
        flex-shrink: 0;
        display: flex;
        align-items: center;
      }
    }
    
    /* ============================================
       Desktop ONLY (above 1024px) - COMPLETELY INDEPENDENT
       ============================================ */
  }

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

  /* Set header paddings based on height setting */
  .header {
    --header-padding: var(--padding-sm);
    --font-paragraph--line-height: 1;
  }

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

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

  .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);
  }

  /* When the header is transparent, and when there is no header-section below it, offset the first main-section with
   * the height of the header
   */
  body:has(> #header-group #header-component[transparent]):not(:has(> #header-group .header-section + .shopify-section))
    > main
    > .shopify-section:first-child
    .section:not(.disable-section-top-offset) {
    &.spacing-style,
    .spacing-style {
      --section-top-offset: var(--header-height);

      /* Any nested sections should not be offset */
      :is(.spacing-style, .inherit-spacing) {
        --section-top-offset: 0px;
      }
    }

    /* Make sticky content immediately stick to the top of the page */
    .sticky-content {
      margin-top: calc(var(--header-height) * -1);
    }
  }
.hero-wrapper {
    --hero-height-offset: 0px;
  }

  body:has(> #header-group > .header-section > #header-component[transparent]):not(
      :has(> #header-group > .header-section + .shopify-section)
    )
    .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)
      rgba(from var(--color-border) r g b / 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 (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-wrapper {
    position: absolute;
    inset: 0;
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(var(--hero-media-count, 1), 1fr);
  }

  .hero--auto .hero__image,
  .hero--auto .hero__video {
    aspect-ratio: var(--hero-media-aspect-ratio);
  }

  .hero--no-blocks-auto-height {
    :is(.hero__image, .hero__video) {
      width: 100%;
      aspect-ratio: auto;
    }
    .hero__media-wrapper {
      /* When there are no blocks and the height is auto, allow the image to appear. */
      position: relative;
    }
  }

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

  /* Desktop and Mobile Media Display */
  .hero__image--mobile,
  .hero__video--mobile {
    display: none;
  }

  .hero__image--desktop,
  .hero__video--desktop {
    display: block;
  }

  @media screen and (width < 750px) {
    .hero__image--mobile,
    .hero__video--mobile {
      display: block;
    }
    
    .hero__image--desktop,
    .hero__video--desktop {
      display: none;
    }

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

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

  .hero__media-wrapper,
  .hero__content-wrapper {
    pointer-events: none;
    a,
    button,
    input,
    textarea,
    select {
      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, black 0%, black 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 {
    overflow: inherit;
  }

  .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 img {
    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;
      }
    }
  }
.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(from var(--color-foreground) r g b / 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);
  }
/**
   * 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);
  }

  /**
   * Apart from the first and second rows in the grid, all remaining blog posts
   * are arranged in a three-column layout:
   * +------------+------------+-------------+
   * |            |            |             |
   * |  (span 2)  |  (span 2)  |  (span 2)   |
   * |            |            |             |
   * +------------+------------+-------------+
   */
  .blog-post-item {
    grid-column: span 2;
    --blog-post-card-scale: 0.6;

    @media screen and (width < 750px) {
      grid-column: span 6;
      --blog-post-card-scale: 0.5;
    }
  }

  /**
   * The second row of blog posts has two columns:
   * +-------------------+-------------------+
   * |                   |                   |
   * |  (column span 3)  |  (column span 3)  |
   * |                   |                   |
   * +-------------------+-------------------+
   */
  .blog-post-item:nth-child(2),
  .blog-post-item:nth-child(3) {
    grid-column: span 3;
    --blog-post-card-scale: 0.8;

    @media screen and (width < 750px) {
      grid-column: span 6;
      --blog-post-card-scale: 0.5;
    }
  }

  /**
   * The first row of blog posts has only one column:
   * +---------------------------------------+
   * |                                       |
   * |           (1 column span 6)           |
   * |                                       |
   * +---------------------------------------+
   */
  .blog-post-item:first-child {
    grid-column: span 6;
    --blog-post-card-scale: 1;
  }

  /**
   * When there's no image, the blog post item has a border.
   */
  .blog-post-item {
    border: 1px solid rgba(from var(--color-foreground) r g b / 0.2);
    padding: 0 1rem 1rem;
  }
  .blog-post-item:has(.blog-post-card__image-container) {
    border: none;
    padding: 0;
  }
.cart-page {
    --cart-font-size--2xs: var(--font-size--2xs);
    --cart-font-size--xs: var(--font-size--xs);
    --cart-font-size--sm: var(--font-size--sm);
    --cart-font-size--md: var(--font-size--md);
    --cart-font-size--2xl: var(--font-size--2xl);

    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);
  }

  @media screen and (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__container--extend) {
      grid-column: 2 / 4;
      grid-template-columns: 1fr minmax(
          var(--sidebar-width),
          calc((100vw - var(--page-width)) / 2 + var(--sidebar-width))
        );
    }

    .cart__container--extend {
      height: 100%;
    }
  }

  @media screen and (width >= 1400px) {
    .cart-page {
      grid-template-columns: 1fr var(--sidebar-width);
    }
  }
.main-collection-grid {
    grid-column: var(--grid-column--mobile);
    @media screen and (width >= 750px) {
      grid-column: var(--grid-column--desktop);
    }
  }

  .collection-wrapper {
    @media screen and (width >= 750px) {
      grid-template-columns:
        1fr repeat(
          var(--centered-column-number),
          minmax(0, calc((var(--page-width) - var(--page-margin) * 2) / var(--centered-column-number)))
        )
        1fr;
    }
  }

  .collection-wrapper:has(.facets-block-wrapper--full-width),
  .collection-wrapper:has(.collection-wrapper--full-width) {
    @media screen and (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 (width >= 750px) {
      grid-column: var(--facets-vertical-col-width) / var(--full-width-column-number);
    }
  }

  .collection-wrapper:has(.facets--vertical) .facets-block-wrapper--vertical-collapsible:not(.facets-block-wrapper--expanded) ~ .main-collection-grid {
    @media screen and (width >= 750px) {
      grid-column: 2 / var(--full-width-column-number);
      transition: grid-column var(--animation-speed) var(--animation-easing);
      will-change: grid-column;
    }
  }

  .collection-wrapper:has(.facets--vertical) .facets-block-wrapper--vertical-collapsible.facets-block-wrapper--expanded ~ .main-collection-grid {
    @media screen and (width >= 750px) {
      grid-column: var(--facets-vertical-col-width) / var(--full-width-column-number);
      transition: grid-column var(--animation-speed) var(--animation-easing);
      will-change: grid-column;
    }
  }

  .collection-wrapper:has(.facets-block-wrapper--vertical:not(#filters-drawer)):has(.collection-wrapper--full-width) {
    @media screen and (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__item
    .group-block {
    @media screen and (width < 750px) {
      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__item
    .group-block {
    @media screen and (width < 750px) {
      padding-inline-start: max(var(--padding-xs), var(--padding-inline-start));
      padding-inline-end: max(var(--padding-xs), var(--padding-inline-end));
    }
  }

  {% liquid
    if section.settings.enable_grid_border
      if section.settings.grid_border_thickness == blank or section.settings.grid_border_thickness == 0
        assign border_thickness = 1
      else
        assign border_thickness = section.settings.grid_border_thickness
      endif
      
      if section.settings.grid_border_color == blank
        assign border_color = '#D1D1D1'
      else
        assign border_color = section.settings.grid_border_color
      endif
      
      if section.settings.grid_border_radius == blank
        assign border_radius = 8
      else
        assign border_radius = section.settings.grid_border_radius
      endif
      
      if section.settings.grid_border_padding == blank
        assign border_padding = 16
      else
        assign border_padding = section.settings.grid_border_padding
      endif
    endif
  %}
  
  {% if section.settings.enable_grid_border %}
    /* Border around each product card (per row & column) - when enabled */
    .product-grid--{{ section.id }} .product-grid__item {
      /* Override CSS variables that might be 0 */
      --product-card-border-width: {{ border_thickness }}px !important;
      --product-card-border-opacity: 100 !important;
      --color-border: {{ border_color }} !important;
      /* Set explicit border */
      border: {{ border_thickness }}px solid {{ border_color }} !important;
      border-width: {{ border_thickness }}px !important;
      border-style: solid !important;
      border-color: {{ border_color }} !important;
      border-radius: {{ border_radius }}px !important;
      overflow: hidden;
      /* Smooth border transitions */
      transition: border-color 0.2s ease, transform 0.2s ease;
    }
    
    /* Remove border from inner card element to avoid double borders */
    .product-grid--{{ section.id }} .product-grid__item .product-grid__card.border-style {
      border: none !important;
      --border-width: 0 !important;
    }
  {% else %}
    /* Explicitly remove border when disabled */
    .product-grid--{{ section.id }} .product-grid__item {
      border: none !important;
      border-width: 0 !important;
      border-style: none !important;
      border-color: transparent !important;
      border-radius: 0 !important;
      --product-card-border-width: 0 !important;
      --product-card-border-opacity: 0 !important;
    }
    
    .product-grid--{{ section.id }} .product-grid__item .product-grid__card.border-style {
      border: none !important;
      --border-width: 0 !important;
    }
  {% endif %}
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);
    }
  }
.section--page-width {
    &.media-with-content {
      grid-template-areas: 'margin-left media margin-right' 'margin-left content margin-right';
      @media screen and (width >= 750px) {
        grid-template-areas: 'margin-left media content margin-right';
        /* 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);
      }
    }

    &.media-with-content--media-right {
      @media screen and (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 (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 (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 (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 (width >= 750px) {
        --media-with-content-grid-columns: 2.5fr 3.5fr;
        grid-template-areas: 'content media';
      }
    }

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

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

    &.media-with-content--narrow.media-with-content--media-right {
      @media screen and (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 (width >= 750px) {
      grid-template-areas: 'media media content margin-right';
    }
  }

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

  .media-with-content--media-right {
    @media screen and (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 (width >= 750px) {
      /* Default desktop layout is wide media, on the left, in full page section */
      grid-template-areas: 'media content';
      --media-with-content-grid-columns: 3.5fr 2.5fr;
    }

    .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 (width >= 750px) {
        padding-block: var(--page-margin);
      }
    }

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

      @media screen and (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;
  }
.section--password {
    --section-min-height: calc(100svh - 8rem);
  }

  .password-enter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-sm);
    padding-block: var(--padding-xl);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--layer-overlay);
  }

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

    a {
      display: flex;
    }

    svg {
      display: inline;
      height: 1.3em;
      color: var(--color-foreground);
    }
  }

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

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

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

  /* Adjust padding when preview bar is present to ensure button visibility */
  body:has(#PBarNextFrameWrapper) .password-enter {
    padding-bottom: var(--padding-6xl);
  }

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

    &:hover {
      color: var(--color-primary-hover);
      text-decoration: none;
    }
  }

  .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;
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
  }

  .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 (width >= 750px) {
      width: auto;
    }
  }
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-dropdown {
    display: flex;
    flex-direction: column;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--layer-base);
  }

  :not(:is(dialog)) > predictive-search-component {
    @media screen and (width >= 750px) {
      max-width: min(40dvw, 650px);
    }
  }

  :not(:is(dialog)) > predictive-search-component .predictive-search__close-modal-button {
    display: none;
  }

  .search-action .predictive-search {
    z-index: calc(var(--layer-header-menu) + 2);
  }

  .search-action .search-modal .predictive-search {
    z-index: var(--layer-window-overlay);
  }

  .predictive-search--right {
    margin-right: 0;
    margin-left: auto;
  }

  .predictive-search--left {
    margin-right: auto;
    margin-left: 0;
  }

  :not(:is(dialog)) > predictive-search-component.predictive-search--floating {
    width: min(40dvw, 650px);
    position: absolute;
    top: var(--search-top, unset);
    right: var(--search-right, unset);
    left: var(--search-left, unset);
  }

  .predictive-search-form {
    position: relative;
    width: 100%;
    align-self: flex-start;
  }

  .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);
    box-shadow: var(--shadow-popover);
    transition: box-shadow var(--animation-speed) var(--animation-easing);
    clip-path: inset(0 -100px -100px -100px);
    transform: translateZ(0);
    will-change: transform, opacity;

    overflow: hidden;

    @media screen and (width < 750px) {
      border-radius: 0;
    }

    @media screen and (width >= 750px) {
      max-height: var(--modal-max-height);
      height: var(--predictive-search-results-height, auto);
    }
  }

  /* 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);
  }

  .header__column--right .predictive-search-form__content-wrapper {
    right: 0;
    left: unset;
  }

  .search-modal .predictive-search-form__content-wrapper {
    width: 100%;
  }

  :not(:is(dialog))
    > predictive-search-component:not(.predictive-search--expanded)
    .predictive-search-form__content-wrapper {
    display: none;
  }

  .predictive-search-form__header-inner:has(.search-input:focus-visible) {
    outline: var(--focus-outline-width) solid var(--color-foreground);
    outline-offset: calc(var(--focus-outline-offset) * -1);
  }

  .predictive-search-results__inner {
    --title-font-size: var(--font-size--md);
    --title-margin-block: var(--margin-xs);
    --list-item-padding-block: var(--padding-sm);
    flex-grow: 1;
    overflow-y: auto;
    padding-block: var(--padding-lg);
    container-type: inline-size;
    color: var(--color-foreground);
  }

  .predictive-search-results__inner > * {
    padding-inline: var(--padding-xl);
  }

  .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:last-child {
    margin-block-end: 0;
  }

  .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__list-item {
    padding-inline: var(--padding-sm);
    padding-block: var(--list-item-padding-block);
    border-radius: var(--style-border-radius-popover);
    scroll-margin-block: var(--padding-xl);

    &:first-child {
      /* scroll-margin to match font + padding + margin on .predictive-search-results__title */
      scroll-margin-block-start: calc(
        var(--title-font-size) + var(--title-margin-block) + var(--list-item-padding-block)
      );
    }

    &:not(:has(.predictive-search-results__list-item-link--pill))[aria-selected='true'].keyboard-focus {
      background-color: rgba(from var(--color-primary) r g b / 20%);
      transform: translateY(0);
    }
  }

  .predictive-search-results__list-item:has(.predictive-search-results__list-item-link--pill) {
    width: fit-content;
    padding: 0;
  }

  .predictive-search-results__list-item-link {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-column-gap: var(--gap-xl);
    align-items: center;
  }

  .predictive-search-results__list-item-link--pill {
    display: block;
    padding: var(--padding-2xs) var(--padding-sm);
  }

  .predictive-search-results__list-item[aria-selected='true'] .predictive-search-results__list-item-link--pill {
    background-color: rgba(from var(--color-primary) r g b / 20%);
  }

  .predictive-search-results__list-item-link--no-media {
    grid-template-columns: 1fr;
  }

  .predictive-search-results__list-item-image,
  .predictive-search-results__list-item-icon {
    width: 100%;
    border-radius: var(--product-corner-radius);
    background-color: rgb(from var(--color-primary) r g b / 20%);
    margin: auto;
    object-fit: cover;
  }

  .predictive-search-results__list-item-details {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
  }

  .predictive-search-results__list-item-content {
    font-size: var(--font-size-xs);
    color: rgba(from var(--color-primary) r g b / var(--opacity-subdued-text));
    text-overflow: ellipsis;
    overflow: hidden;
    text-wrap: nowrap;
  }

  .header[transparent] :is(.predictive-search):not(:focus-within) {
    background-color: transparent;
  }

  .header[transparent] .predictive-search-form__header-inner {
    border-color: var(--color-foreground);
  }

  .predictive-search-form__header .search-input {
    border-radius: var(--style-border-radius-inputs);
    padding-block: var(--padding-sm);
    font-size: var(--font-size--md);

    &: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(from var(--color-foreground) r g b / 60%);

    @media screen and (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;
    background: transparent;
    color: var(--color-foreground);
    opacity: 1;
    transition: opacity var(--animation-speed) var(--animation-easing),
      visibility var(--animation-speed) var(--animation-easing);

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

    &:active {
      transform: scale(0.9);
      transition: transform 100ms var(--animation-timing-active);
    }

    @media screen and (width < 750px) {
      margin-right: var(--margin-md);
    }
  }

  .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(from var(--color-primary-hover) r g b / 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-form__content {
    max-height: 50dvh;
    overflow-y: auto;
    background-color: var(--color-background);

    /* Firefox */
    scrollbar-width: none;

    /* Webkit browsers */
    &::-webkit-scrollbar {
      display: none;
    }
  }

  .search-modal__content .predictive-search-form__content {
    max-height: var(--modal-max-height);
  }

  .predictive-search-results__no-results:last-child {
    margin-block: var(--margin-lg);
    text-align: center;
  }

  .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 rgba(0, 0, 0, 0.05);
    }

    &:active {
      transform: scale(0.97);
      transition: transform 100ms var(--animation-timing-active);
      box-shadow: none;
    }
  }

  .predictive-search:has(.predictive-search-dropdown) .search-input {
    outline-color: transparent;
  }

  .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-radius: var(--style-border-radius-inputs);

    @media screen and (width < 750px) {
      padding: var(--padding-2xs) var(--padding-sm);
    }
  }

  .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 (width < 750px) {
      border-radius: var(--style-border-radius-inputs);
      border: none;
    }
  }

  .predictive-search-form__header-inner:focus-within {
    outline: 0;
    outline-offset: var(--focus-outline-offset);

    @media screen and (width >= 750px) {
      outline: var(--focus-outline-width) solid var(--color-primary);
    }
  }

  .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 (width < 750px) {
      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 (width < 750px) {
      border-radius: var(--style-border-radius-inputs);
    }
  }

  .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 (width < 750px) {
      border-radius: var(--style-border-radius-inputs) var(--style-border-radius-inputs) 0 0;
    }
  }

  .predictive-search__close-modal-button:hover {
    --button-color: var(--color-foreground);
    --button-background-color: transparent;
  }

  .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);
    }

    @media screen and (width >= 750px) {
      display: none;
    }
  }

  .predictive-search-form__footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    @media screen and (width >= 750px) {
      --to-top-gradient-background: linear-gradient(
        to top,
        rgb(from var(--color-background) r g b / 90%),
        rgb(from var(--color-background) r g b / 80%),
        rgb(from var(--color-background) r g b / 40%),
        transparent
      );

      padding-block: var(--padding-xs) var(--padding-lg);
      background-image: var(--to-top-gradient-background);
    }
  }

  .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 (width >= 750px) {
      padding: var(--padding-2xs) var(--padding-2xs) 0;
      border-bottom: var(--search-border-width) solid var(--color-border);
    }

    @media screen and (width < 750px) {
      transition: box-shadow 0.2s ease;
      box-shadow: none;
    }
  }

  @media screen and (width < 750px) {
    .dialog-modal .predictive-search__close-modal-button {
      padding-inline-start: var(--margin-xs);
      margin-inline-start: 0;
    }
  }

  .dialog-modal[open] {
    @media screen and (width < 750px) {
      border-radius: 0;

      .dialog-modal_content {
        border-radius: 0;
      }
    }
  }

  .dialog-modal .predictive-search-form__header:has(.predictive-search-form__header-inner:focus-within) {
    @media screen and (width >= 750px) {
      border-bottom-color: transparent;
    }
  }

  .dialog-modal .predictive-search-form__header-inner {
    @media screen and (width >= 750px) {
      border: 0;
    }
  }

  @media screen and (width < 750px) {
    .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);
      }
    }
  }

  /* Styles for the snippets */

  .predictive-search-results__pill mark {
    background-color: transparent;

    font-weight: 200;
    color: rgb(from var(--color-foreground) r g b / 80%);
  }

  .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(from var(--color-foreground) r g b / 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__pill {
    font-weight: 500;
    white-space: nowrap;
    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 (width < 750px) {
      margin-block: var(--margin-lg) var(--margin-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__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);
    padding-block: var(--padding-3xs);
    gap: var(--gap-md);
  }

  .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 (width >= 550px) {
      grid-template-columns: repeat(4, 1fr);
    }
  }

  .predictive-search-results__wrapper-products:last-child {
    padding-block-end: var(--padding-lg);

    @media screen and (width >= 750px) {
      padding-block-end: var(--padding-sm);
    }
  }

  .predictive-search-results__wrapper-queries {
    margin-bottom: var(--margin-lg);
    padding-inline: var(--padding-xl);
    gap: var(--gap-2xs);
  }

  .predictive-search-results__card {
    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);
    }
  }

  .predictive-search-results__card--product,
  .recently-viewed-wrapper .predictive-search-results__card--product {
    &: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);
    }

    &:active {
      transform: scale(0.97);
      transition: transform 100ms var(--animation-timing-active);
    }
  }

  .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 (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);
    }
  }

  .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__resource-header slideshow-controls {
    @media screen and (width < 750px) {
      display: none;
    }
  }

  .predictive-search-results__list slideshow-arrows {
    @media screen and (width < 750px) {
      display: none;
    }
  }

  .predictive-search-dropdown .predictive-search-results__list-item-image,
  .predictive-search-dropdown .predictive-search-results__list-item-icon {
    width: 100%;
    border-radius: var(--product-corner-radius);
    background-color: rgb(from var(--color-primary) r g b / 20%);
    margin: auto;
    object-fit: cover;
  }

  .predictive-search-results__list-item,
  .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 {
    animation-delay: 0ms !important;
  }

  .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__list,
  .predictive-search-results__wrapper {
    animation-duration: var(--animation-speed-medium);
  }

  .predictive-search-results__list-item {
    animation-delay: calc(30ms * var(--nth-child, 1) + 50ms);
  }

  .predictive-search-results__wrapper-queries {
    animation-delay: 50ms;
  }

  .predictive-search-results__wrapper-products {
    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;
  }

  [data-resource-type] {
    animation-delay: 0ms !important;
  }

  .predictive-search-results__no-results {
    animation-delay: 100ms;
  }

  .predictive-search-results__list-item.removing,
  .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);
  }

  .predictive-search__reset-button {
    transition: opacity var(--animation-speed-medium) var(--animation-timing-fade-out),
      visibility var(--animation-speed-medium) var(--animation-timing-fade-out);
  }

  .predictive-search-results__no-results {
    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);
    }
  }

  .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;
  }

  .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__clear.button-unstyled {
    color: var(--color-foreground);
    opacity: 0.5;
    transition: opacity var(--animation-speed-medium) var(--animation-easing);
    padding: 0;
    margin-left: var(--margin-sm);

    &:hover {
      opacity: 1;
    }
  }

  .search-input,
  .search-input:is(:focus, :focus-visible, :focus-within),
  .predictive-search-form__header *:is(:focus, :focus-visible) {
    outline: none !important;
    box-shadow: none !important;
  }

  .predictive-search-form__header-inner:has(.search-input:is(:focus, :focus-visible)),
  .predictive-search-form__header:focus-within,
  .predictive-search-form__header-inner:focus-within {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--color-border) !important;
  }

  .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 (width < 750px) {
      border-bottom-color: transparent;
    }
  }

  .predictive-search-form__header {
    border-radius: var(--style-border-radius-inputs);
    border: var(--search-border-width) solid var(--color-border);
  }

  .predictive-search-results__card--query {
    transition: transform var(--animation-speed-medium) var(--animation-timing-bounce);
    transform-origin: center;

    &:active {
      transform: scale(0.97);
    }
  }

  .predictive-search-results__pill {
    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 rgba(0, 0, 0, 0.07);
    }
  }
/* Prevent blinking during variant picker updates */
  variant-picker {
    contain: layout style paint;
    will-change: contents;
  }
  
  /* Smooth transitions for variant picker updates - prevent blinking */
  variant-picker,
  product-price,
  product-form-component,
  .variant-option,
  .variant-option__button-label,
  [ref="priceContainer"] {
    transition: none !important;
  }
  
  /* Prevent layout shift during updates */
  product-price [ref="priceContainer"] {
    min-height: 1.5em;
    display: inline-block;
    contain: layout style;
  }
  
  /* Ensure variant options update smoothly without flash */
  .variant-option,
  .variant-option__button-label,
  .variant-option__button-label input[type="radio"] {
    transition: none !important;
  }
  
  /* Smooth transitions for quantity selector - no transition to prevent flash */
  quantity-selector,
  quantity-selector input,
  quantity-selector button {
    transition: none !important;
  }
  
  /* Smooth transitions for add to cart button - no transition to prevent flash */
  add-to-cart-button,
  add-to-cart-button button {
    transition: none !important;
  }
  
  /* Use content-visibility to optimize rendering */
  variant-picker form {
    content-visibility: auto;
    contain-intrinsic-size: auto 200px;
  }
  
  /* Prevent reflow during morphing */
  variant-picker * {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  /* Base grid layout */
  .product-information__grid {
    display: grid;
    grid-template-columns: 1fr !important;
  }

  .section--page-width .product-information__grid {
    grid-column: 2;
  }

  .section--full-width .product-information__grid {
    grid-column: 1 / -1;
  }

  .product-information__grid.product-information--full-width-layout {
    .product-information__media {
      grid-column: 1 / -1;
      padding: 0;
      width: 100%;
      min-width: 100%;
    }

    .product-details {
      grid-column: 1 / -1;
      padding: 0;
      width: 100%;
    }
  }

  .product-information__grid.product-information--media-none,
  .product-information__grid:has(.product-information__media:empty) {
    .product-details {
      width: var(--narrow-content-width);
      margin: 0 auto;
    }
  }

  body:has(#header-group #header-component[data-sticky-state='active']) .product-details.sticky-content--desktop {
    --sticky-header-offset: var(--header-height);
  }

  /* Arrow positioning - always on sides (left and right) on desktop */
  /* Override any inline display:block styles to ensure icons appear side by side */
  @media screen and (width >= 750px) {
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"],
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"][style],
    .product-information__media .media-gallery__carousel-wrapper slideshow-arrows {
      display: flex !important;
      flex-direction: row !important;
      justify-content: space-between !important;
      align-items: center !important;
      padding-left: 1rem;
      padding-right: 1rem;
      top: 50%;
      transform: translateY(-50%);
      bottom: auto;
      width: 100%;
      height: auto;
      left: 0;
      right: 0;
    }
    
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] .slideshow-control {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0;
      padding: 0;
      width: var(--minimum-touch-target);
      height: var(--minimum-touch-target);
      min-width: var(--minimum-touch-target);
      min-height: var(--minimum-touch-target);
      max-width: var(--minimum-touch-target);
      max-height: var(--minimum-touch-target);
      flex-shrink: 0;
    }
    
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] .slideshow-control--previous {
      order: 1;
      margin-right: auto;
    }
    
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] .slideshow-control--next {
      order: 2;
      margin-left: auto;
    }
    
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] .slideshow-control--shape-circle,
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] .slideshow-control--shape-square {
      display: flex;
      align-items: center;
      justify-content: center;
      /* Gray semi-transparent background with blur effect */
      background-color: rgba(128, 128, 128, 0.3) !important;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: var(--color-white) !important;
    }

    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] .slideshow-control .svg-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      flex-shrink: 0;
    }

    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] .slideshow-control svg {
      display: block;
      width: 100%;
      height: 100%;
      margin: 0;
    }
  }

  /* Mobile arrow positioning */
  /* Override any inline display:block styles to ensure icons appear side by side */
  @media screen and (width < 750px) {
    .media-gallery__carousel-wrapper slideshow-arrows,
    .media-gallery__carousel-wrapper slideshow-arrows[style],
    .product-information__media .media-gallery__carousel-wrapper slideshow-arrows {
      display: flex !important;
      flex-direction: row !important;
      justify-content: space-between !important;
      align-items: center !important;
      padding-left: 0.5rem;
      padding-right: 0.5rem;
      top: 50%;
      transform: translateY(-50%);
      bottom: auto;
      width: 100%;
      height: auto;
      left: 0;
      right: 0;
      pointer-events: none;
    }
    
    .media-gallery__carousel-wrapper slideshow-arrows .slideshow-control {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0;
      padding: 0;
      width: var(--minimum-touch-target);
      height: var(--minimum-touch-target);
      min-width: var(--minimum-touch-target);
      min-height: var(--minimum-touch-target);
      max-width: var(--minimum-touch-target);
      max-height: var(--minimum-touch-target);
      flex-shrink: 0;
      opacity: 1;
      pointer-events: auto;
    }
    
    /* Gray semi-transparent background with blur for mobile circle/square shapes */
    .media-gallery__carousel-wrapper slideshow-arrows .slideshow-control--shape-circle,
    .media-gallery__carousel-wrapper slideshow-arrows .slideshow-control--shape-square {
      background-color: rgba(128, 128, 128, 0.3) !important;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: var(--color-white) !important;
    }
    
    .media-gallery__carousel-wrapper slideshow-arrows .slideshow-control--previous {
      order: 1;
      margin-right: auto;
    }
    
    .media-gallery__carousel-wrapper slideshow-arrows .slideshow-control--next {
      order: 2;
      margin-left: auto;
    }
    
    .media-gallery__carousel-wrapper slideshow-arrows .slideshow-control .svg-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      flex-shrink: 0;
    }

    .media-gallery__carousel-wrapper slideshow-arrows .slideshow-control svg {
      display: block;
      width: 100%;
      height: 100%;
      margin: 0;
    }
  }

  /* Make zoom dialog thumbnails smaller on mobile */
  @media screen and (width < 750px) {
    .dialog-thumbnails-list__thumbnail {
      width: 60px !important;
      max-width: 60px !important;
    }
    
    .dialog-thumbnails-list__thumbnail img {
      width: 60px !important;
      max-width: 60px !important;
    }
    
    .dialog-thumbnails-list {
      gap: 6px !important;
      padding: var(--padding-md) !important;
    }
  }

  /* Full-width carousel: Show multiple slides at once */
  .product-information__media--full-width .slideshow--multiple-visible slideshow-slides {
    --slides-per-view: var(--full-width-media-columns, 3);
    --slide-gap: var(--full-width-media-gap, 0px);
    gap: var(--slide-gap, 0px);
  }

  .product-information__media--full-width .slideshow--multiple-visible slideshow-slides slideshow-slide {
    --slide-width: calc((100% - (var(--slide-gap, 0px) * (var(--slides-per-view, 3) - 1))) / var(--slides-per-view, 3));
    flex: 0 0 var(--slide-width);
    min-width: 0;
    max-width: var(--slide-width);
    width: var(--slide-width);
  }

  @media screen and (width < 750px) {
    .product-information__media--full-width .slideshow--multiple-visible slideshow-slides {
      --slides-per-view: 1;
      gap: 0;
    }
    
    .product-information__media--full-width .slideshow--multiple-visible slideshow-slides slideshow-slide {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }

  /* Product Details Wrapper - Always respect page-width */
  .product-details-wrapper {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Ensure product details wrapper respects page-width even when full-width */
  .product-details-wrapper--full-width {
    padding-left: var(--page-margin, 1.5rem);
    padding-right: var(--page-margin, 1.5rem);
    box-sizing: border-box;
    /* Normal gap below media section */
    margin-top: 2rem;
  }
  
  /* Responsive gap spacing */
  @media screen and (width < 750px) {
    .product-details-wrapper--full-width {
      margin-top: 1.5rem;
      padding-left: var(--page-margin, 1rem);
      padding-right: var(--page-margin, 1rem);
    }
  }
  
  /* Desktop: Remove all margins from product-details-wrapper */
  @media screen and (width >= 750px) {
    .product-details-wrapper--full-width {
      margin-top: 0;
      margin-bottom: 0;
      margin-left: 0;
      margin-right: 0;
      padding-left: var(--page-margin, 2.5rem);
      padding-right: var(--page-margin, 2.5rem);
    }
  }
  
  /* Ensure product details content respects page-content-width */
  .product-details-wrapper--full-width .product-details {
    max-width: var(--page-content-width, var(--normal-page-width, 120rem));
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
  }

  /* Custom Product Details Layout - Responsive */
  .product-details--custom-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  /* Responsive layout gap */
  @media screen and (width >= 750px) and (width < 1024px) {
    .product-details--custom-layout {
      gap: 1.5rem;
    }
  }
  
  @media screen and (width >= 1024px) and (width < 1440px) {
    .product-details--custom-layout {
      gap: 2rem;
    }
  }
  
  @media screen and (width >= 1440px) {
    .product-details--custom-layout {
      gap: 2.5rem;
    }
  }

  .product-details__row {
    display: grid;
    gap: 2rem;
  }
  
  /* Responsive row gap */
  @media screen and (width >= 750px) and (width < 1024px) {
    .product-details__row {
      gap: 1.5rem;
    }
  }
  
  @media screen and (width >= 1024px) and (width < 1440px) {
    .product-details__row {
      gap: 2rem;
    }
  }
  
  @media screen and (width >= 1440px) {
    .product-details__row {
      gap: 2.5rem;
    }
  }
  
  /* Mobile: Reduce gap between rows */
  @media screen and (width < 750px) {
    .product-details__row {
      gap: 0.1rem;
    }
  }

  /* Row 3: 1 column - Full width */
  .product-details__row--one-column {
    grid-template-columns: 1fr;
  }

  /* Purchase row - Full width */
  /* Mobile: Product Info Drawer standalone, Protection Rating below it */
  .product-details__row--rating-info {
    grid-template-columns: 1fr;
  }
  
  /* Hide desktop protection rating on mobile */
  .product-details__col--temp-rating-desktop {
    display: none;
  }
  
  /* Show mobile protection rating */
  .product-details__row--temp-rating-mobile {
    grid-template-columns: 1fr;
  }
  
  /* Desktop: Two-column layout - Protection Rating (left) & Product Info Drawer + Policies (right) */
  @media screen and (width >= 750px) {
    /* Hide mobile protection rating on desktop */
    .product-details__row--temp-rating-mobile {
      display: none;
    }
    
    /* Show desktop protection rating */
    .product-details__col--temp-rating-desktop {
      display: block;
    }
    
    /* Two-column layout for rating and info */
    .product-details__row--rating-info {
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      align-items: start;
    }
  }

  /* Purchase Column */
  .product-details__col--purchase {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  /* Desktop: Increase font size for product info drawer */
  @media screen and (width >= 750px) {
    .product-info-drawer__trigger {
      font-size: 1.125rem; /* Increase from default body size */
    }
    
    .product-info-drawer__label {
      font-size: 1.125rem;
    }
    
    .product-info-drawer__panel-content {
      font-size: 1.125rem;
      line-height: 1.6;
    }
    
    .product-info-drawer__panel-content p,
    .product-info-drawer__panel-content li,
    .product-info-drawer__panel-content div {
      font-size: 1.125rem;
      line-height: 1.6;
    }
  }
  
  /* Desktop (>1024px): Add dividers */
  @media (min-width: 1025px) {
    /* Full line below the rating-info row - full width */
    .product-details__row--rating-info {
      position: relative;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      padding-bottom: 1.5rem;
      margin-bottom: 1.5rem;
    }
    
    /* Divider between protection rating and product info drawer - extends to bottom line */
    .product-details__col--temp-rating + .product-details__col--purchase {
      position: relative;
      border-left: 1px solid rgba(0, 0, 0, 0.1);
      padding-left: 1.5rem;
      margin-left: 1.5rem;
    }
    
    /* Dividers between product info drawer buttons (4 categories = 3 dividers) */
    .product-info-drawer__trigger:not(:last-child) {
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      padding-bottom: 1rem;
      margin-bottom: 1rem;
    }
    
    /* Dividers between product info drawer feature items */
    .product-info-drawer__features-grid .product-info-drawer__feature-item:not(:last-child) {
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      padding-bottom: 1.5rem;
      margin-bottom: 1.5rem;
    }
  }
  
  /* Policies & Accordion Container */
  .product-details__policies-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
  }
  
  @media screen and (width >= 750px) {
    .product-details__policies-accordion {
      margin-top: 2rem;
    }
  }

  .product-details__title {
    margin: 0;
    font-weight: var(--font-h1--weight, 700);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* Responsive title font sizing */
  @media screen and (width >= 750px) and (width < 1024px) {
    .product-details__title {
      font-size: clamp(1.5rem, 3vw, 2rem);
    }
  }
  
  @media screen and (width >= 1024px) and (width < 1440px) {
    .product-details__title {
      font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    }
  }
  
  @media screen and (width >= 1440px) {
    .product-details__title {
      font-size: clamp(2rem, 2vw, 2.5rem);
    }
  }

  .product-details__price {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
  }
  
  /* Unified product details info for all devices */
  .product-details__info {
    display: block;
    width: 100%;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
  }
  
  /* Desktop: Hide mobile-only blocks, show desktop-above-features blocks */
  @media screen and (width >= 750px) {
    .product-details__info--mobile-only {
      display: none;
    }
    
    .product-details__info--desktop-above-features {
      display: block;
    }
  }
  
  /* Mobile: Hide desktop-above-features blocks, show mobile-only blocks */
  @media screen and (width < 750px) {
    .product-details__info--desktop-above-features {
      display: none;
    }
    
    .product-details__info--mobile-only {
      display: block;
    }
  }
  
  .product-details__info > * {
    margin-bottom: 1rem;
  }
  
  .product-details__info > *:last-child {
    margin-bottom: 0;
  }
  
  .product-details__info .variant-picker {
    margin-bottom: 1.5rem;
    margin-top: 0;
  }
  
  .product-form-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 0;
  }
  
  .product-form-buttons .quantity-selector {
    width: 100%;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
  }
  
  .product-form-buttons .add-to-cart-button {
    width: 100%;
    min-height: 44px;
  }
  
  .product-form-buttons .shopify-payment-button {
    width: 100%;
  }
  
  .product-form-buttons .shopify-payment-button__button {
    width: 100%;
  }
  
  /* Desktop styles */
  @media screen and (width >= 750px) {
    .product-details__info--desktop-above-features {
      display: flex;
      align-items: center;
      gap: 2rem;
      flex-wrap: wrap;
      max-width: var(--page-content-width, var(--normal-page-width, 120rem));
      margin: 0 auto;
      padding: 1.5rem 1.5rem;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .product-details__info--desktop-above-features > * {
      margin-bottom: 0;
    }
    
    .product-details__info--desktop-above-features .variant-picker {
      flex: 1 1 auto;
      min-width: 200px;
      margin: 0;
    }
    
    .product-details__info--desktop-above-features .product-form-buttons {
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 1rem;
      flex: 0 0 auto;
      margin: 0;
      width: auto;
    }
    
    .product-details__info--desktop-above-features .product-form-buttons .quantity-selector {
      width: auto;
      min-width: 100px;
      height: auto;
      min-height: auto;
      max-height: none;
    }
    
    .product-details__info--desktop-above-features .product-form-buttons .add-to-cart-button {
      white-space: nowrap;
      min-width: 150px;
      width: auto;
      min-height: auto;
    }
    
    .product-details__info--desktop-above-features .product-form-buttons .shopify-payment-button {
      width: auto;
    }
    
    .product-details__info--desktop-above-features .product-form-buttons .shopify-payment-button__button {
      width: auto;
    }
  }
  

  /* Color Switches Styles */
  .color-switches-wrapper {
    width: 100%;
  }

  .color-switches-label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--color-foreground);
  }

  .color-switches {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .color-switch {
    position: relative;
    border: var(--style-border-swatch-width, var(--variant-picker-border-width, 2px)) var(--style-border-swatch-style, var(--variant-picker-border-style, solid)) var(--color-border);
    background: var(--color-background);
    cursor: pointer;
    padding: 0;
    border-radius: var(--variant-picker-button-radius, 4px);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: var(--variant-picker-swatch-width, 40px);
    min-height: var(--variant-picker-swatch-height, 40px);
  }

  .color-switch:hover {
    border-color: var(--color-foreground);
    transform: translateY(-1px);
  }

  .color-switch--selected {
    border-color: var(--color-foreground);
    border-width: calc(var(--style-border-swatch-width, var(--variant-picker-border-width, 2px)) * 2);
    box-shadow: 0 0 0 2px var(--color-foreground);
  }
  
  /* For swatch buttons, ensure the border is visible */
  .color-switch--swatch.color-switch--selected {
    border-width: calc(var(--style-border-swatch-width, var(--variant-picker-border-width, 2px)) * 2);
    box-shadow: 0 0 0 2px var(--color-foreground);
  }
  
  /* Ensure swatch inside selected button also shows active state */
  .color-switch--swatch.color-switch--selected .swatch {
    border-color: var(--color-foreground);
    border-width: calc(var(--style-border-swatch-width, var(--variant-picker-border-width, 1.5px)) * 1.5);
  }

  .color-switch--swatch {
    width: var(--variant-picker-swatch-width, 40px);
    height: var(--variant-picker-swatch-height, 40px);
    border-radius: var(--variant-picker-swatch-radius, 50%);
    overflow: hidden;
  }
  
  /* Ensure swatch inside color switch uses theme settings */
  .color-switch--swatch .swatch {
    width: 100%;
    height: 100%;
    border-radius: var(--variant-picker-swatch-radius, 50%);
    /* Swatch border uses theme settings - note: swatch border may be different from button border */
    border: var(--style-border-swatch-width, var(--variant-picker-border-width, 1.5px)) var(--style-border-swatch-style, var(--variant-picker-border-style, solid)) rgb(from var(--color-foreground) r g b / var(--style-border-swatch-opacity, var(--variant-picker-border-opacity, 20%)));
    box-sizing: border-box;
  }
  
  .color-switch--swatch .swatch--unscaled {
    width: 100%;
    height: 100%;
  }

  .color-switch__text {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  /* Size Variants Styles */
  .size-variants-wrapper {
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .product-details__info-drawer-wrapper {
    width: 100%;
    margin-top: 4rem;
  }
  
  @media screen and (width < 750px) {
    .product-details__info-drawer-wrapper {
      margin-top: 0.1rem;
      margin-bottom: 0.1rem;
    }
  }

  .size-variants-label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--color-foreground);
  }

  .size-variants {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .size-variant {
    padding: 0.5rem 1rem;
    border: var(--variant-picker-button-border-width, 2px) solid var(--color-border);
    background: var(--color-background);
    cursor: pointer;
    border-radius: var(--variant-picker-button-radius, 4px);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    height: var(--variant-picker-swatch-height, 40px);
    min-height: var(--variant-picker-swatch-height, 40px);
    min-width: var(--variant-picker-swatch-width, 44px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .size-variant:hover:not(:disabled) {
    border-color: var(--color-foreground);
    transform: translateY(-1px);
  }

  .size-variant--selected {
    border-color: var(--color-foreground);
    border-width: calc(var(--variant-picker-button-border-width, 2px) * 2);
    background: var(--color-foreground);
    color: var(--color-background);
    box-shadow: 0 0 0 2px var(--color-foreground);
  }

  .size-variant--unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
  }

  /* Temperature Rating Styles */
  .temperature-rating-block {
    margin: 0;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-left: none;
    border-right: none;
    border-radius: 0;
    background: var(--color-background);
  }
  
  /* Desktop: Remove both top and bottom divider lines from protection rating */
  @media screen and (width >= 750px) {
    .temperature-rating-block,
    .product-details__col--temp-rating .temperature-rating-block,
    .product-details__col--temp-rating-desktop .temperature-rating-block,
    .product-details .temperature-rating-block {
      border-top: none !important;
      border-bottom: none !important;
    }
  }
  
  @media screen and (width < 750px) {
    .product-details .temperature-rating-block,
    .product-details__col--temp-rating .temperature-rating-block {
      margin: 0;
      margin-top: 0;
      margin-bottom: 0;
    }
  }

  .temperature-rating__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .temperature-rating__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
  }

  .temperature-rating__toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-background);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    min-width: 60px;
    justify-content: center;
    transition: all 0.2s ease;
  }

  .temperature-rating__toggle:hover {
    background: var(--color-background-secondary);
    transform: translateY(-1px);
  }

  .temperature-rating__current-unit {
    font-weight: 600;
    color: var(--color-foreground);
  }

  .temperature-rating__toggle-text {
    font-size: 0.625rem;
    opacity: 0.8;
  }

  .temperature-rating__scale {
    position: relative;
    margin-bottom: 1rem;
    padding-top: 8px;
  }

  .temperature-rating__bar {
    position: relative;
    height: 12px;
    border-radius: 6px;
    overflow: visible;
    margin-bottom: 1rem;
    z-index: 1;
  }

  .temperature-rating__gradient {
    height: 100%;
    background: linear-gradient(to right, #4A90E2, #2C3E50);
    border-radius: 6px;
  }

  .temperature-rating__pointer {
    position: absolute;
    top: -8px;
    transform: translateX(-50%);
    color: #000;
    display: block;
    z-index: 20;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    width: 16px;
    margin-left: 0;
  }

  .temperature-rating__pointer svg {
    width: 16px;
    height: 12px;
    display: block;
  }

  .temperature-rating__pointer svg path {
    fill: #000;
  }

  .temperature-rating__ranges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .temperature-rating__range {
    text-align: center;
  }

  .temperature-rating__range-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }

  .temperature-rating__range-temp {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
  }

  .temperature-rating__current {
    text-align: center;
    margin-top: 1rem;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: none;
    border-top: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
  }

  @media screen and (width >= 750px) {
    .temperature-rating__current:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.15);
      background: rgba(0, 0, 0, 0.07);
    }
  }

  .temperature-rating__current-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
  }

  .temperature-rating__current-category {
    display: block;
    font-size: 1.125rem;
    color: var(--color-text-secondary);
  }

  /* Desktop Technical Features - Inside product details, below buy buttons */
  .technical-features-desktop-wrapper {
    width: 100%;
    padding: 0;
    margin: 0;
    display: block;
  }
  
  .product-details .technical-features-desktop-wrapper {
    width: 100%;
    max-width: 100%;
  }
  
  .protection-features-block--desktop {
    margin: 0;
    padding: 1rem 1.5rem; /* Minimal padding for desktop */
    border-top: none; /* Remove top border on desktop */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-left: none;
    border-right: none;
    border-radius: 0;
    background: var(--color-background);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  @media screen and (width >= 750px) {
    .product-details .technical-features-desktop-wrapper {
      padding: 0;
      margin: 1.5rem 0 0 0;
      width: 100%;
    }
    
    .product-details .protection-features-block--desktop {
      max-width: var(--page-content-width, var(--normal-page-width, 120rem));
      margin-left: auto;
      margin-right: auto;
      padding: 1rem 1.5rem; /* Minimal padding for desktop */
    }
    
    /* Remove top border from desktop technical features - more specific selector */
    .product-details .technical-features-desktop-wrapper .protection-features-block--desktop,
    .product-details .protection-features-block.protection-features-block--desktop {
      border-top: none;
      margin: 0;
      padding: 1rem 1.5rem; /* Minimal padding for desktop */
    }
  }
  
  @media screen and (width < 750px) {
    .technical-features-desktop-wrapper {
      display: none;
    }
  }
  
  /* Protection Features Styles (from protection-features.liquid) */
  .protection-features-block {
    margin: 2.5rem 0;
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-left: none;
    border-right: none;
    border-radius: 0;
    background: var(--color-background);
  }
  
  /* Hide mobile technical features on desktop */
  @media screen and (width >= 750px) {
    .product-details__row--technical-features-mobile {
      display: none;
    }
  }
  
  @media screen and (width < 750px) {
    .product-details .protection-features-block,
    .product-details__col--technical-features .protection-features-block {
      margin: 0;
      margin-top: 0;
      margin-bottom: 0;
      border-top: none;
      padding-top: 0;
    }
  }

  .protection-features__title {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-foreground);
    opacity: 0.8;
  }
  
  
  }

  .protection-features__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* Desktop: Set gap to 0.5rem for protection features grid */
  @media screen and (width >= 750px) {
    .protection-features__grid--desktop,
    .protection-features-block--desktop .protection-features__grid {
      gap: 0.5rem;
    }
  }
  
  @media screen and (width < 750px) {
    .protection-features__grid {
      flex-direction: column;
      flex-wrap: nowrap;
      gap: 1rem;
      align-items: stretch;
    }
    
    .product-details .protection-feature,
    .protection-features__grid .protection-feature {
      width: 100%;
      flex: 0 0 100%;
      flex-basis: 100%;
      max-width: 100%;
      min-width: 0;
    }
  }

  .protection-feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
  }

  .protection-feature__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 1px;
    box-sizing: border-box;
    overflow: visible;
  }

  .protection-feature__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  /* Make icon bigger inside box for desktop screens (>1024px) */
  @media (min-width: 1025px) {
    .protection-feature__icon {
      overflow: visible;
    }
    
    .protection-feature__icon img {
      width: 52px !important;
      height: 52px !important ;
      max-width: 52px !important;
      max-height: 52px !important;
      object-fit: contain;
    }
  }

  .protection-feature__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-foreground);
  }
  
  /* Responsive: Smaller icons and text for 750px to 1024px screens */
  @media (min-width: 750px) and (max-width: 1024px) {
    .protection-feature__icon {
      width: 36px !important;
      height: 36px !important;
      min-width: 36px !important;
      min-height: 36px !important;
      padding: 2px !important;
    }
    
    .protection-feature__label {
      font-size: 0.6875rem;
    }
    
    .protection-feature {
      gap: 0.5rem;
    }
  }
.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%;
  }

  /* Mobile styles */
  @media screen and (width < 750px) {
    .product-information__media {
      grid-column: 1 / -1;
    }
    .product-details {
      grid-column: 2 / 3;
    }
  }

  /* Desktop styles */
  @media screen and (width >= 750px) {
    .product-information__grid {
      grid-column: 2;
    }

    /* Position when there is no media */
    .product-information__grid.product-information--media-none,
    .product-information__grid:has(.product-information__media:empty) {
      .product-details {
        width: var(--narrow-content-width);
        margin: 0 auto;
      }
    }

    /* Position when there is media */
    .product-information__grid:not(:has(.product-information__media:empty)) {
      /* 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(:has(.product-information__media:empty)),
      .product-information__grid:not(:has(.product-information__media:empty)) {
        &.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;
          }
        }
      }
    }
  }

  .product-information__grid--limit-details .product-details > .group-block {
    max-width: var(--sidebar-width);
  }

  /* 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);
  }
.product-recommendations__skeleton-item {
    aspect-ratio: 3 / 4;
    background-color: var(--color-foreground);
    opacity: var(--skeleton-opacity);
    border-radius: 4px;
  }

  @media screen and (width < 750px) {
    .product-recommendations__skeleton-item:nth-child(2n + 1) {
      display: none;
    }
  }

  product-recommendations:has([data-has-recommendations='false']) {
    display: none;
  }
.three-column-banner__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--column-gap, 0);
    width: 100%;
  }

  .three-column-banner__column {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .three-column-banner__column[style*="--column-aspect-ratio"] {
    aspect-ratio: var(--column-aspect-ratio);
    min-height: auto;
  }

  .three-column-banner__column:not([style*="--column-aspect-ratio"]) {
    min-height: 100%;
  }

  .three-column-banner__container[data-aspect-ratio] .three-column-banner__column {
    aspect-ratio: var(--column-aspect-ratio);
    min-height: auto;
  }

  .three-column-banner__container[data-aspect-ratio="landscape"] .three-column-banner__column {
    --column-aspect-ratio: 16 / 9;
  }

  .three-column-banner__container[data-aspect-ratio="portrait"] .three-column-banner__column {
    --column-aspect-ratio: 4 / 5;
  }

  .three-column-banner__container[data-aspect-ratio="square"] .three-column-banner__column {
    --column-aspect-ratio: 1 / 1;
  }

  .three-column-banner__container[data-aspect-ratio="adapt"] .three-column-banner__column {
    aspect-ratio: auto;
    height: auto;
  }

  .three-column-banner__image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .three-column-banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .three-column-banner__color-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .three-column-banner__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
  }

  .three-column-banner__content {
    position: relative;
    z-index: 3;
    padding: var(--page-margin);
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--color-foreground);
  }

  .three-column-banner__text-content {
    display: flex;
    flex-direction: column;
    justify-content: var(--content-vertical, flex-end);
    align-items: var(--content-horizontal, center);
    flex: 1;
    width: 100%;
  }

  .three-column-banner__heading {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    color: var(--color-foreground-heading);
    font-size: var(--heading-font-size, clamp(1.5rem, 4vw, 3rem));
    text-transform: var(--heading-text-case, none);
    font-weight: 600;
  }

  .three-column-banner__heading :is(h1, h2, h3, h4, h5, h6, p) {
    color: var(--color-foreground-heading);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: var(--heading-text-case, none);
    font-size: var(--heading-font-size, clamp(1.5rem, 4vw, 3rem));
    font-weight: 600;
    margin: 0;
  }

  .three-column-banner__text {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
    color: var(--color-foreground);
    font-size: var(--text-font-size, clamp(0.875rem, 2vw, 1rem));
  }

  .three-column-banner__text :is(h1, h2, h3, h4, h5, h6, p) {
    color: var(--color-foreground);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: var(--text-font-size, clamp(0.875rem, 2vw, 1rem));
    margin: 0;
  }

  .three-column-banner__button-wrapper {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .three-column-banner__button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .three-column-banner__button.link {
    border: 1px solid currentColor;
    background: transparent;
    border-radius: 4px;
  }

  .three-column-banner__button.link:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  /* Button color override */
  .three-column-banner__button.button-custom-color {
    --button-background-color: var(--button-custom-background, var(--button-background-color)) !important;
    --button-color: var(--button-custom-color, var(--button-color)) !important;
    background-color: var(--button-background-color) !important;
    color: var(--button-color) !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
  }

  /* Hover state - apply hover colors when available */
  .three-column-banner__button.button-custom-color:hover {
    --button-background-color: var(--button-custom-hover-background, var(--button-custom-background, var(--button-background-color))) !important;
    --button-color: var(--button-custom-hover-color, var(--button-custom-color, var(--button-color))) !important;
    background-color: var(--button-background-color) !important;
    color: var(--button-color) !important;
  }

  /* Mobile: Stack vertically */
  @media screen and (max-width: 749px) {
    .three-column-banner__container {
      grid-template-columns: 1fr;
      min-height: auto;
    }

    .three-column-banner__column:not([style*="--column-aspect-ratio"]) {
      min-height: 400px;
    }

    .three-column-banner__column[style*="--column-aspect-ratio"] {
      min-height: auto;
    }

    .three-column-banner__content {
      padding: calc(var(--page-margin) * 1.5);
    }
  }

  /* Tablet: 2 columns */
  @media screen and (min-width: 750px) and (max-width: 989px) {
    .three-column-banner__container {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .three-column-banner__column:last-child {
      grid-column: 1 / -1;
    }
  }

/* CSS from block stylesheet tags */
.accelerated-checkout-block[data-shopify-visual-preview] {
    width: 300px;
  }
  
  .accelerated-checkout-block--full-width {
    width: 100%;
    flex: 1;
  }
  
  .accelerated-checkout-block--full-width .shopify-payment-button,
  .accelerated-checkout-block--full-width .shopify-payment-button__button {
    width: 100% !important;
  }
  
  .accelerated-checkout-block--fit-width {
    width: fit-content;
    flex: 0 0 auto !important;
    min-width: auto !important;
  }
  
  .accelerated-checkout-block--fit-width .shopify-payment-button {
    width: fit-content;
  }
  
  .accelerated-checkout-block--fit-width .shopify-payment-button__button {
    width: auto !important;
  }

  more-payment-options-link {
    font-size: smaller;
  }

  more-payment-options-link a {
    --button-color: var(--color-primary);
  }

  more-payment-options-link a:hover {
    --button-color: var(--color-primary-hover);
  }

  .shopify-payment-button__more-options[aria-hidden='true'] {
    display: none;
  }
.accordion {
    flex: 1;
    width: 100%;
  }
  @container style(--border-width: 0) or style(--border-style: none) {
    .accordion--dividers:not([class*='color-']) accordion-custom:first-child .details {
      border-block-start: var(--style-border-width) solid var(--color-border);
    }

    .accordion--dividers:not([class*='color-']) accordion-custom:last-child .details {
      border-block-end: var(--style-border-width) solid var(--color-border);
    }
  }

  .accordion--dividers accordion-custom:not(:first-child) .details {
    border-block-start: var(--style-border-width) 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);
  }
.add-to-cart-button--full-width {
    width: 100%;
    display: block;
  }
  
  .add-to-cart-button--full-width add-to-cart-component,
  .add-to-cart-button--full-width button,
  .add-to-cart-button--full-width .add-to-cart-button,
  .add-to-cart-button--full-width .button {
    width: 100% !important;
  }
  
  .add-to-cart-button--fit-width {
    width: fit-content;
    display: inline-block;
    flex: 0 0 auto !important;
    min-width: auto !important;
  }
  
  .add-to-cart-button--fit-width add-to-cart-component {
    width: fit-content;
    display: inline-block;
  }
  
  .add-to-cart-button--fit-width button,
  .add-to-cart-button--fit-width .add-to-cart-button,
  .add-to-cart-button--fit-width .button {
    width: auto !important;
  }
.buy-buttons-block {
    width: 100%;
  }

  .product-form-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--gap-sm) / 2);

    @media screen and (width >= 750px) {
      gap: var(--gap-sm);
    }
  }

  .product-form-buttons > *:not(.quantity-selector) {
    flex: 1;
    min-width: 185px;
  }
  
  /* Override flex for fit-width buttons */
  .product-form-buttons > .add-to-cart-button--fit-width,
  .product-form-buttons > .accelerated-checkout-block--fit-width {
    flex: 0 0 auto;
    min-width: auto;
  }

  .product-form-buttons--stacked > *:not(.quantity-selector) {
    flex-basis: 51%; /* Force the buttons to be on separate rows */
  }
  
  .product-form-buttons--stacked > .add-to-cart-button--fit-width,
  .product-form-buttons--stacked > .accelerated-checkout-block--fit-width {
    flex-basis: auto;
  }

  .quantity-selector {
    flex-grow: 0;
  }

  .product-form-buttons button {
    width: 100%;
    padding-inline: var(--padding-4xl);
    padding-block: var(--padding-lg);
  }
  
  /* Override button width for fit-width containers */
  .add-to-cart-button--fit-width button,
  .add-to-cart-button--fit-width .button {
    width: auto !important;
  }

  .add-to-cart-button {
    text-transform: var(--button-text-case-primary);
  }

  .add-to-cart-button.button-secondary {
    text-transform: var(--button-text-case-secondary);
  }

  .product-form-buttons .shopify-payment-button__button {
    width: 100%;
    min-height: var(--minimum-touch-target);
  }
  
  /* Override checkout button width for fit-width containers */
  .accelerated-checkout-block--fit-width .shopify-payment-button__button {
    width: auto !important;
  }

  .quantity-selector,
  .add-to-cart-button {
    height: var(--height-buy-buttons);
  }

  .product__pickup-availabilities {
    width: 100%;
  }

  .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);
    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__dialog {
    padding: var(--padding-2xl);
    position: fixed;
    border-radius: 0;
    width: var(--sidebar-width);
    max-width: 95vw;
    height: 100%;
    margin: 0 0 0 auto;
    border: var(--style-border-drawer);
    box-shadow: var(--shadow-drawer);
    background-color: var(--color-background);
  }

  .pickup-location__dialog:modal {
    max-height: 100dvh;
  }

  .pickup-location__text-sm {
    font-size: var(--font-size--sm);
    margin: 0;
  }

  .pickup-location__text-xs {
    font-size: var(--font-size--xs);
    margin: 0;
  }

  .product-form-text__error {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-xs);
  }

  .pickup-location__button {
    width: fit-content;
    color: var(--color-primary);
    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: var(--color-primary-hover);
  }

  .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;
  }

  .pickup-location__close-button {
    position: absolute;
    top: calc(var(--padding-2xl) - (var(--icon-size-xs) / 2));
    right: calc(var(--padding-2xl) - var(--icon-size-xs));
    height: var(--minimum-touch-target);
    width: var(--minimum-touch-target);
  }

  .pickup-location__close-button svg {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }
.submit-button {
    min-width: max-content;
    background-color: var(--color-foreground);
    color: var(--color-background);
    border: 1px solid var(--color-foreground);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
  }
  
  .submit-button:hover {
    background-color: var(--color-background);
    color: var(--color-foreground);
  }
  
  .submit-button.button-secondary {
    background-color: var(--color-background);
    color: var(--color-foreground);
    border: 1px solid var(--color-foreground);
  }
  
  .submit-button.button-secondary:hover {
    background-color: var(--color-foreground);
    color: var(--color-background);
  }
.contact-form {
    flex: 0 0 60%;
    max-width: 60%;
  }
  
  @media screen and (max-width: 749px) {
    .contact-form {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }
  
  /* Ensure the section container constrains both blocks to 70% on larger screens */
  @media screen and (min-width: 750px) {
    .section-content-wrapper {
      max-width: 70%;
      margin: 0 auto;
    }
  }
.contact-info {
    flex: 0 0 40%;
    max-width: 40%;
    background-color: var(--color-background-secondary);
    padding: var(--padding-xl);
    border-radius: var(--style-border-radius);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
  }
  
  .contact-info:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
  
  .contact-info__title {
    font-family: var(--font-heading--family);
    font-size: var(--font-size-h2);
    font-weight: var(--font-heading--weight);
    line-height: var(--font-heading--line-height);
    letter-spacing: var(--font-heading--letter-spacing);
    margin-bottom: var(--gap-lg);
    color: var(--color-foreground);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
  }
  
  .contact-info__description {
    margin-bottom: var(--gap-lg);
    line-height: 1.6;
    color: var(--color-foreground);
    font-size: var(--font-size-base);
  }
  
  .contact-info__policy-link {
    display: block;
    margin-bottom: var(--gap-md);
    color: var(--color-foreground);
    text-decoration: underline;
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
  }
  
  .contact-info__policy-link:hover {
    color: var(--color-accent);
  }
  
  .contact-info__phone {
    margin-bottom: var(--gap-lg);
  }
  
  .contact-info__phone a {
    color: var(--color-foreground);
    text-decoration: none;
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
  }
  
  .contact-info__phone a:hover {
    color: var(--color-accent);
  }
  
  .contact-info__social-media {
    display: flex;
    gap: var(--gap-md);
  }
  
  .contact-info__social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-background);
    color: var(--color-foreground);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
  }
  
  .contact-info__social-media a:hover {
    background-color: var(--color-foreground);
    color: var(--color-background);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  @media screen and (max-width: 749px) {
    .contact-info {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }
  
  /* Ensure the section container constrains both blocks to 70% on larger screens */
  @media screen and (min-width: 750px) {
    .section-content-wrapper {
      max-width: 70%;
      margin: 0 auto;
    }
  }
.email-signup-block {
    @media screen and (width < 750px) {
      width: 100%;
    }
  }

  .email-signup__form {
    display: flex;
    flex-direction: column;
  }

  .email-signup__input-group {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    background-color: transparent;
  }

  .email-signup__input-group:not(:has(.email-signup__button--integrated)) {
    gap: var(--gap-xs);
  }

  .email-signup__input-group:not(:has(.email-signup__button--arrow)) {
    @media screen and (width < 750px) {
      grid-template-columns: 1fr;
    }
  }

  .email-signup__input {
    width: 100%;
    border-width: var(--border-width);
    border-radius: var(--border-radius);
    border-style: solid;
    border-color: var(--color-input-border);
  }

  .email-signup__button {
    white-space: nowrap;
    padding: 0;

    @media screen and (width < 750px) {
      width: 100%;
    }
  }

  .email-signup__input,
  .email-signup__button--text {
    padding: var(--padding-lg) var(--padding-3xl);
  }

  .email-signup__input-group .email-signup__input--underline {
    --box-shadow-color: var(--color-input-border);
    --box-shadow-multiplier: 1;
    color: var(--color-input-text);
    background-color: transparent;
    padding: 12px 0;
    border: none;
    border-radius: 0;
    box-shadow: 0px calc(var(--border-width) * var(--box-shadow-multiplier)) 0px var(--box-shadow-color);
    transition: box-shadow var(--animation-values);

    &:focus-visible {
      --box-shadow-multiplier: 1.75;
      --box-shadow-color: var(--color-input-text);
      outline: none;
    }
  }

  .email-signup__input::placeholder {
    color: rgb(from var(--color-input-text) r g b / 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:has(+ .email-signup__button--arrow),
  .email-signup__input:has(+ .email-signup__button--integrated) {
    @media screen and (width < 750px) {
      text-align: left;
    }
  }

  .email-signup__button--arrow {
    aspect-ratio: 1;
    padding-inline: var(--padding-xs);

    &:not(.email-signup__button--integrated) {
      width: auto;
    }
  }

  .email-signup__button--integrated {
    --button-offset: var(--margin-xs);
    position: absolute;
    height: calc(100% - (var(--button-offset) * 2) - (var(--border-width) * 2));
    right: calc(var(--button-offset) + var(--border-width));
    top: calc(var(--button-offset) + var(--border-width));

    @media screen and (width < 750px) {
      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__input--underline + .email-signup__button--integrated {
    right: 0;
    --button-offset: calc(10% - var(--border-width));

    &.email-signup__button--text.button-unstyled {
      padding: 0;
    }

    &.button-unstyled {
      border-radius: 0;
    }
  }

  .email-signup__button:not(.button-unstyled) {
    background-color: var(--button-background-color);
    color: var(--button-color);
    font-weight: var(--button-font-weight-primary);
    text-transform: var(--button-text-case-primary);
  }

  .email-signup__button.button-secondary {
    font-weight: var(--button-font-weight-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 {
    color: rgb(from var(--color-input-text) r g b / 70%);
    cursor: pointer;
  }

  .email-signup__button-icon {
    fill: currentcolor;
    padding: 5px;

    @media screen and (width < 750px) {
      padding: 0;
      align-self: center;
      justify-self: center;
      width: var(--icon-size-lg);
      height: var(--icon-size-lg);
    }
  }

  .email-signup__message {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
  }

  .email-signup__message-text {
    margin: 0;
  }
.collection-wrapper {
    @media screen and (width >= 750px) {
      --facets-vertical-col-width: 6;
    }

    @media screen and (width >= 990px) {
      --facets-vertical-col-width: 5;
    }
  }

  .facets-block-wrapper {
    @media screen and (width >= 750px) {
      margin: var(--facets-margin);
      grid-column: var(--grid-column--desktop);
    }
  }

  .facets-block-wrapper--vertical {
    @media screen and (width >= 750px) {
      grid-column: var(--grid-column--desktop);
    }
  }

  .facets-block-wrapper--vertical-collapsible {
    @media screen and (width >= 750px) {
      grid-column: var(--grid-column--desktop);
      opacity: 0;
      visibility: hidden;
      max-height: 0;
      overflow: hidden;
      transition: opacity var(--animation-speed) var(--animation-easing), 
                  visibility var(--animation-speed) var(--animation-easing),
                  max-height var(--animation-speed) var(--animation-easing);
    }
  }

  .facets-block-wrapper--vertical-collapsible.facets-block-wrapper--expanded {
    @media screen and (width >= 750px) {
      opacity: 1;
      visibility: visible;
      max-height: 1000px;
    }
  }



  .facets-block-wrapper--vertical + .facets-toggle {
    @media screen and (width < 750px) {
      margin: 0;
    }
  }

  .facets-toggle--vertical {
    @media screen and (width >= 750px) {
      display: none;
    }
  }

  .facets-mobile-wrapper {
    display: flex;
    align-items: center;
    gap: var(--gap-sm);
    justify-content: flex-end;
  }

  .facets-mobile-wrapper:has(> :nth-child(2)) {
    justify-content: space-between;
  }

  dialog-component.facets-block-wrapper:not(:has(.facets--drawer[open])) {
    @media screen and (width >= 750px) {
      display: none;
    }
  }

  .variant-option__swatch-wrapper {
    position: relative;
    overflow: visible;
    border-radius: var(--options-border-radius);
  }

  .variant-option--swatches-disabled .variant-option__swatch-wrapper {
    overflow: hidden;
  }

  .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 rgba(from var(--color-foreground) r g b / var(--facets-low-opacity));
    --facets-input-label-color: rgb(from var(--color-input-text) r g b / 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%;

    top: auto;
    bottom: 0;
    height: var(--drawer-height);
    max-height: var(--drawer-height);
    width: var(--drawer-width);
    max-width: var(--drawer-max-width);
    box-shadow: none;
    padding-block: 0;

    &:not(.facets--drawer) {
      @media screen and (width >= 750px) {
        padding-inline: var(--padding-inline-start) var(--padding-inline-end);
        width: 100%;
        max-width: 100%;
      }
    }
  }

  .facets--horizontal {
    display: none;

    @media screen and (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 (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-block-wrapper--vertical-collapsible .facets--vertical {
    @media screen and (width >= 750px) {
      opacity: 0;
      visibility: hidden;
      transition: opacity var(--animation-speed) var(--animation-easing), 
                  visibility var(--animation-speed) var(--animation-easing);
    }
  }

  .facets-block-wrapper--vertical-collapsible.facets-block-wrapper--expanded .facets--vertical {
    @media screen and (width >= 750px) {
      opacity: 1;
      visibility: visible;
    }
  }

  .collection-wrapper:has(.collection-wrapper--full-width) .facets--vertical:not(.facets--drawer) {
    @media screen and (width >= 750px) {
      padding-inline-start: max(var(--padding-sm), var(--padding-inline-start));
    }
  }

  .facets--drawer {
    border-radius: 0;
    border-right: var(--style-border-drawer);
    box-shadow: var(--shadow-drawer);
    padding-inline: 0;
  }

  .facets--drawer[open] {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .facets.facets-controls-wrapper {
    @media screen and (width >= 750px) {
      grid-column: column-1 / column-12;
      color: rgb(from var(--color-foreground) r g b / 70%);
      gap: 0 var(--facets-form-horizontal-gap);
      padding-bottom: var(--padding-xs);
    }
  }

  .collection-wrapper:has(.product-grid-mobile--large) .facets-mobile-wrapper.facets-controls-wrapper {
    @media screen and (width < 750px) {
      display: none;
    }
  }
  
  /* Show grid controls even when mobile card size is large */
  .collection-wrapper:has(.product-grid-mobile--large) .facets-mobile-wrapper.facets-controls-wrapper:has(.column-options-wrapper) {
    @media screen and (width < 750px) {
      display: flex !important;
    }
  }

  .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-muted);
    width: 100%;
  }

  .facets--horizontal .facets__form-wrapper {
    @media screen and (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 (width >= 750px) {
      flex-flow: row nowrap;
      height: auto;
    }
  }

  .facets:not(.facets--drawer) .facets__filters-wrapper {
    @media screen and (width >= 750px) {
      margin-inline-end: var(--margin-md);
    }
  }

  .facets--horizontal .facets__filters-wrapper {
    @media screen and (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 (width >= 750px) {
      --variant-picker-swatch-width: 26px;
      --variant-picker-swatch-height: 26px;
    }

    font-size: var(--font-h4--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 (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(from var(--color-foreground) r g b / 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 - Bubble */
  .facets__bubble {
    display: inline-flex;
    font-family: var(--font-paragraph--family);
    font-weight: var(--font-paragraph--weight);
    aspect-ratio: 1 / 1;
  }

  /* 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 (width >= 750px) {
      gap: var(--gap-sm);
    }
  }

  .facets--horizontal .facets__inputs .show-more {
    @media screen and (width >= 750px) {
      display: contents;
    }
  }

  .facets--horizontal .facets__inputs-wrapper {
    @media screen and (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 (width < 750px) {
    .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 (width >= 750px) {
      gap: var(--gap-sm);
    }
  }

  @media screen and (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 (width >= 750px) {
      --min-column-width: 50px;
    }
  }

  .facets-block-wrapper:not(.facets-block-wrapper--vertical) .facets__inputs-list--grid {
    @media screen and (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 (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(--drawer-padding);
  }

  .facets:not(.facets--drawer) .facets__panel,
  .facets-controls-wrapper .facets__panel {
    @media screen and (width >= 750px) {
      padding: 0;
    }
  }

  .facets--horizontal .facets__panel {
    @media screen and (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,
  .sorting-filter__options {
    @media screen and (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(--drawer-padding) * 2);
    border-top: var(--style-border-width) solid var(--color-border);
    margin: 0 auto;
  }

  @media screen and (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 (width >= 750px) {
    .facets--vertical .facets__item:not(:first-of-type)::before,
    .facets--vertical .sorting-filter::before {
      content: '';
    }
  }

  /* Facets - Text */
  .facets__label,
  .facets__clear-all,
  .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__label,
  .products-count-wrapper {
    text-transform: var(--facet-label-transform);
  }

  .clear-filter {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
  }

  /* Facets - Label */
  .facets__label {
    color: var(--color-foreground);
    cursor: pointer;
    @media screen and (width >= 750px) {
      margin-inline-end: var(--margin-2xs);
    }
  }

  /* Products count */
  .products-count-wrapper {
    display: none;
  }

  .facets--horizontal .products-count-wrapper {
    @media screen and (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(--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 (width >= 750px) {
      display: none;
    }
  }

  .facets-drawer__title {
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--gap-xs);

    --variant-picker-swatch-width: 32px;
    --variant-picker-swatch-height: 32px;

    @media screen and (width >= 750px) {
      --variant-picker-swatch-width: 26px;
      --variant-picker-swatch-height: 26px;
    }
  }

  .facets-drawer__close {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    box-shadow: none;
  }

  /* 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 (width < 750px) {
      display: none;
    }
  }

  .facets--vertical-toggle-wrapper {
    display: none;
    align-items: center;
    
    @media screen and (width >= 750px) {
      display: flex;
    }
  }

  .facets--vertical-toggle-button {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
    padding: 0;
    background-color: transparent;
    border: none;
    color: rgb(from var(--color-foreground) r g b / 70%);
    font-size: var(--font-paragraph--size);
    font-family: var(--font-paragraph--family);
    font-weight: var(--font-paragraph--weight);
    text-transform: var(--facet-label-transform);
    cursor: pointer;
    transition: color var(--animation-speed) var(--animation-easing);
  }

  .facets--vertical-toggle-button:hover {
    color: var(--color-foreground);
  }

  .facets--vertical-toggle-button[aria-expanded="true"] {
    color: var(--color-foreground);
  }

  .facets--vertical-toggle-button .svg-wrapper {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }

  .facets--vertical-toggle-button .filter-count-bubble {
    margin-left: var(--margin-xs);
  }

  .facets--vertical-toggle-icon {
    position: relative;
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
    margin-left: var(--margin-xs);
  }

  .facets--vertical-toggle-icon--plus,
  .facets--vertical-toggle-icon--close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform var(--animation-speed) var(--animation-easing), opacity var(--animation-speed) var(--animation-easing);
  }

  .facets--vertical-toggle-icon--plus {
    opacity: 1;
    transform: rotate(0deg);
  }

  .facets--vertical-toggle-icon--close {
    opacity: 0;
    transform: rotate(-90deg);
  }

  .facets--vertical-toggle-button[aria-expanded="true"] .facets--vertical-toggle-icon--plus {
    opacity: 0;
    transform: rotate(90deg);
  }

  .facets--vertical-toggle-button[aria-expanded="true"] .facets--vertical-toggle-icon--close {
    opacity: 1;
    transform: rotate(0deg);
  }

  .facets--horizontal .facets__panel .facets__status:has(:not(:empty)) {
    @media screen and (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 (width >= 750px) {
      gap: 0 var(--facets-form-horizontal-gap);
    }
  }

  .collection-wrapper:has(> .facets--horizontal) .facets__panel[open] {
    @media screen and (width >= 750px) {
      z-index: var(--facets-open-z-index);
    }
  }
.footer-utilities {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-lg);
    text-wrap: nowrap;
    border-top: var(--border-width) solid var(--color-border);
    color: var(--color-foreground-muted);
  }

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

  /* Row styles */
  .footer-utilities__row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-md);

    @media screen and (width >= 750px) {
      flex-direction: row;
      align-items: center;
      gap: var(--gap-xl);
    }
  }

  .footer-utilities__row--top {
    @media screen and (width >= 750px) {
      justify-content: space-between;
    }
  }

  .footer-utilities__row--bottom {
    @media screen and (width >= 750px) {
      justify-content: center;
    }
  }

  /* Group styles */
  .footer-utilities__group {
    width: 100%;
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--gap-md);

    @media screen and (width >= 750px) {
      flex-direction: row;
      align-items: baseline;
      gap: var(--gap-2xs) var(--gap-xl);
      text-align: left;
    }
  }

  /* Policy and Social groups - 50% width each on desktop */
  .footer-utilities__group--policy,
  .footer-utilities__group--social {
    @media screen and (width >= 750px) {
      width: 50%;
    }
  }

  /* Copyright group - 100% width */
  .footer-utilities__group--copyright {
    width: 100%;
    
    @media screen and (width >= 750px) {
      width: 100%;
      justify-content: center;
    }
  }

  /* Ensure copyright text takes full width */
  .footer-utilities__group--copyright .footer-utilities__text {
    width: 100%;
    text-align: center;
  }

  .footer-utilities__group:empty {
    @media screen and (width < 750px) {
      display: none;
    }
  }

  /* Placement styles */
  .footer-utilities--left .footer-utilities__row--top {
    justify-content: space-between;
  }

  .footer-utilities--center .footer-utilities__row--top {
    justify-content: center;
  }

  .footer-utilities--center .footer-utilities__row--top .footer-utilities__group {
    justify-content: center;
  }

  .footer-utilities--right .footer-utilities__row--top {
    justify-content: flex-end;
  }

  .footer-utilities--right .footer-utilities__row--top .footer-utilities__group {
    justify-content: flex-end;
  }
.icon-block {
    display: flex;
    fill: currentcolor;
    flex-shrink: 0;
  }
  .icon-block__media {
    height: auto;
  }
.placeholder-image {
    position: relative;
    aspect-ratio: var(--ratio);
    overflow: hidden;
  }

  placeholder-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: var(--ratio);
  }

  .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);
  }
.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 (width <= 750px) {
      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%;
  }
.menu {
    width: var(--size-style-width, 100%);
  }

  .menu--width-fit-content {
    width: fit-content;
  }

  .menu--width-fill {
    width: 100%;
  }

  .menu--width-custom {
    width: var(--size-style-width);
  }

  @media screen and (width < 750px) {
    .menu {
      width: var(--size-style-width-mobile, 100%);
      min-width: var(--size-style-width-mobile-min, 5rem);
    }
  }

  .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;
  }

  /* Desktop placement styles */
  .menu--desktop-left {
    text-align: left;
  }

  .menu--desktop-center {
    text-align: center;
  }

  .menu--desktop-right {
    text-align: right;
  }

  /* Desktop vertical placement styles */
  .menu--desktop-vertical-top {
    align-self: flex-start;
  }

  .menu--desktop-vertical-center {
    align-self: center;
  }

  .menu--desktop-vertical-bottom {
    align-self: flex-end;
  }

  @media screen and (width < 750px) {
    /* 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);
    }

    /* Mobile placement styles */
    .menu--mobile-left {
      text-align: left;
    }

    .menu--mobile-center {
      text-align: center;
    }

    .menu--mobile-right {
      text-align: right;
    }

    .menu--mobile-center .menu__heading__accordion {
      justify-content: center;
    }

    .menu--mobile-right .menu__heading__accordion {
      justify-content: flex-end;
    }

    /* Mobile vertical placement styles */
    .menu--mobile-vertical-top {
      align-self: flex-start;
    }

    .menu--mobile-vertical-center {
      align-self: center;
    }

    .menu--mobile-vertical-bottom {
      align-self: flex-end;
    }
  }

  .menu--caret .icon-plus,
  .menu--plus .icon-caret {
    display: none;
  }
.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);
  }

  .placeholder-image {
    position: relative;
    aspect-ratio: var(--ratio);
    overflow: hidden;
  }

  .page-placeholder {
    width: 100%;
    height: 100%;
  }
.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;
  }
.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 {
    position: absolute;
    top: var(--margin-2xs);
    right: var(--margin-2xs);
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    color: var(--color-foreground);
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .popup-link__close {
    background-color: transparent;
    opacity: 0.8;
  }

  .popup-link__close svg {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }
.tax-note:empty {
    display: none;
  }

  form.payment-terms {
    padding-top: 0.5em;
  }

  .installments:not(:has(shopify-payment-terms)) {
    display: none;
  }

  @media screen and (max-width: 749px) {
    product-price.spacing-style {
      --padding-block-start: var(--padding-block-start-mobile, 0px) !important;
      --padding-block-end: var(--padding-block-end-mobile, 0px) !important;
      --padding-inline-start: var(--padding-inline-start-mobile, 0px) !important;
      --padding-inline-end: var(--padding-inline-end-mobile, 0px) !important;
      padding-block: var(--padding-block-start-mobile, 0px) var(--padding-block-end-mobile, 0px);
      padding-inline: var(--padding-inline-start-mobile, 0px) var(--padding-inline-end-mobile, 0px);
    }
  }
.product-info-drawer__buttons {
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
  }

     .product-info-drawer__trigger {
     display: flex;
     align-items: center;
     width: 100%;
     background: none;
     border: none;
     padding: 0;
     cursor: pointer;
     font-family: var(--font-body--family);
     font-size: var(--font-body--size);
     font-weight: var(--font-body--weight);
     color: var(--color-foreground, #000);
     text-align: left;
     transition: color var(--animation-speed) var(--animation-easing);
   }

   .product-info-drawer__trigger:hover {
     color: var(--color-foreground, #000);
   }

   .product-info-drawer__trigger .chevron::before {
     content: '›';
     display: inline-block;
     font-weight: normal;
     margin-left: var(--gap-xs);
     font-size: 1em;
     opacity: 0.7;
     line-height: 1;
     transition: transform var(--animation-speed) var(--animation-easing), opacity var(--animation-speed) var(--animation-easing);
   }

   .product-info-drawer__trigger:hover .chevron::before {
     content: '→';
     font-size: 0.9em;
     font-weight: normal;
     opacity: 1;
     transform: translateX(2px);
   }

   .product-info-drawer__label {
     position: relative;
     display: inline-block;
     line-height: 1.2;
     background-image: linear-gradient(var(--color-foreground, #000), var(--color-foreground, #000));
     background-position: 0 100%;
     background-repeat: no-repeat;
     background-size: 0 1px; /* consistent thickness */
     transition: background-size var(--animation-speed) var(--animation-easing);
   }

   .product-info-drawer__trigger:hover .product-info-drawer__label {
     background-size: 100% 1px; /* underline equals text width */
   }

     .product-info-drawer__dialog {
     position: fixed;
     border-radius: 0;
     width: 60vw;
     max-width: 60vw;
     height: 100%;
     margin: 0 0 0 auto;
     padding: 0;
     border-left: var(--style-border-drawer);
     box-shadow: var(--shadow-drawer);
     background-color: var(--color-background);
   }

  .product-info-drawer__dialog:modal {
    max-height: 100dvh;
    overflow-y: hidden;
  }

  .product-info-drawer__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .product-info-drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--padding-lg) var(--padding-xl);
    border-bottom: var(--style-border-width) solid var(--color-border);
  }

  .product-info-drawer__title {
    margin: 0;
    font-size: var(--font-h3--size);
    font-weight: var(--font-h3--weight);
  }

  .product-info-drawer__close-button {
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-info-drawer__close-button svg {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }

  .product-info-drawer__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .product-info-drawer__tabs {
    display: flex;
    border-bottom: var(--style-border-width) solid var(--color-border);
  }

  .product-info-drawer__tab {
    flex: 1;
    padding: var(--padding-md) var(--padding-lg);
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    font-variation-settings: 'wght' var(--font-weight-medium, 500);
    color: var(--color-foreground);
    border-bottom: 3px solid transparent; /* use bottom border as active indicator below the line */
    transition: background-color var(--animation-speed) var(--animation-easing), color var(--animation-speed) var(--animation-easing);
  }

  .product-info-drawer__tab:hover {
    background-color: var(--color-background-subtle);
  }

  .product-info-drawer__tab--active {
    color: var(--color-foreground, #000);
    font-weight: var(--font-weight-bold, 700);
    border-bottom-color: var(--color-foreground, #000); /* underline appears on the bottom rule */
  }

  .product-info-drawer__tab-label {
    display: inline-block;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
  }

  /* Remove label-based underline for tabs; bottom border now indicates active */
  .product-info-drawer__tabs .product-info-drawer__tab .product-info-drawer__tab-label::after { content: none; }

  /* Active tab typography */
  .product-info-drawer__tabs .product-info-drawer__tab.product-info-drawer__tab--active {
    font-weight: var(--font-weight-bold, 700);
    color: var(--color-foreground, #000);
  }
  .product-info-drawer__tabs .product-info-drawer__tab.product-info-drawer__tab--active .product-info-drawer__tab-label {
    font-weight: var(--font-weight-bold, 700);
    color: var(--color-foreground, #000);
  }

  .product-info-drawer__panels {
    flex: 1;
    overflow-y: auto;
  }

  .product-info-drawer__panel {
    display: none;
    height: 100%;
  }

  .product-info-drawer__panel--active {
    display: block;
  }

  .product-info-drawer__panel-content {
    padding: var(--padding-xl);
    line-height: var(--line-height-relaxed);
  }

  .product-info-drawer__panel-content p {
    margin-bottom: var(--margin-sm);
  }

  .product-info-drawer__panel-content p:last-child {
    margin-bottom: 0;
  }

  /* Technical Features Grid in Drawer */
  .product-info-drawer__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
  }

  .product-info-drawer__feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .product-info-drawer__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
  }

  .product-info-drawer__feature-icon img {
    width: 48px;
    height: 48px;
    filter: brightness(0) saturate(100%);
    object-fit: contain;
  }

  .product-info-drawer__feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .product-info-drawer__feature-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-foreground);
    letter-spacing: 0.3px;
  }

  .product-info-drawer__feature-description {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--color-foreground);
    opacity: 0.7;
  }

  /* Divider */
  .product-info-drawer__divider {
    width: 100%;
    height: 1px;
    background: var(--color-border);
    margin: 2.5rem 0;
    opacity: 0.3;
  }

  /* Protection Rating Styles */
  .product-info-drawer__protection-rating {
    margin-bottom: 0;
    width: 100%;
  }

  .product-info-drawer__protection-rating-header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .product-info-drawer__protection-rating-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    color: var(--color-foreground);
  }

  .product-info-drawer__protection-rating-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    min-width: 70px;
    justify-content: center;
    transition: all 0.2s ease;
    margin: 0 auto 0.75rem auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .product-info-drawer__protection-rating-toggle:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  .product-info-drawer__protection-rating-current-unit {
    font-weight: 600;
    color: var(--color-foreground);
  }

  .product-info-drawer__protection-rating-toggle-text {
    font-size: 0.625rem;
    opacity: 0.8;
  }

  .product-info-drawer__protection-rating-scale {
    position: relative;
    margin-bottom: 1rem;
    flex: 1;
    padding-top: 8px;
  }

  .product-info-drawer__protection-rating-bar {
    position: relative;
    height: 12px;
    border-radius: 6px;
    overflow: visible;
    margin-bottom: 1rem;
    z-index: 1;
  }

  .product-info-drawer__protection-rating-gradient {
    height: 100%;
    background: linear-gradient(to right, #4A90E2, #2C3E50);
    border-radius: 6px;
  }

  .product-info-drawer__protection-rating-pointer {
    position: absolute;
    top: -8px;
    transform: translateX(-50%);
    color: #000;
    display: block;
    z-index: 20;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    width: 16px;
    margin-left: 0;
  }

  .product-info-drawer__protection-rating-pointer svg {
    width: 16px;
    height: 12px;
    display: block;
  }

  .product-info-drawer__protection-rating-pointer svg path {
    fill: #000;
  }

  .product-info-drawer__protection-rating-ranges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .product-info-drawer__protection-rating-range {
    text-align: center;
  }

  .product-info-drawer__protection-rating-range-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-foreground);
  }

  .product-info-drawer__protection-rating-range-temp {
    display: block;
    font-size: 0.75rem;
    color: var(--color-foreground);
    opacity: 0.7;
  }

  .product-info-drawer__protection-rating-content-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .product-info-drawer__protection-rating-current {
    text-align: center;
    flex-shrink: 0;
    min-width: 140px;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .product-info-drawer__protection-rating-current-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-foreground);
    line-height: 1.2;
  }

  .product-info-drawer__protection-rating-current-category {
    display: block;
    font-size: 0.875rem;
    color: var(--color-foreground);
    opacity: 0.8;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
  }

  @media screen and (width < 750px) {
    .product-info-drawer__dialog {
      width: 95vw;
      max-width: 95vw;
    }

    .product-info-drawer__features-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .product-info-drawer__feature-icon {
      width: 70px;
      height: 70px;
      min-width: 70px;
      min-height: 70px;
    }

    .product-info-drawer__feature-icon img {
      width: 42px;
      height: 42px;
    }

    .product-info-drawer__protection-rating-content-wrapper {
      flex-direction: column;
      gap: 1.5rem;
      align-items: stretch;
    }

    .product-info-drawer__protection-rating-current {
      width: 100%;
      min-width: auto;
      text-align: center;
      padding: 1rem 1.25rem;
    }

    .product-info-drawer__protection-rating-current-value {
      font-size: 1.5rem;
    }
  }
.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;
  }
.product-recommendations-wrapper {
    width: 100%;
  }

  .product-recommendations-wrapper:has(product-recommendations[data-shopify-editor-preview]) {
    width: 100vw;
  }

  .product-recommendations {
    display: block;
  }

  .product-recommendations__skeleton-item {
    aspect-ratio: 3 / 4;
    background-color: var(--color-foreground);
    opacity: var(--skeleton-opacity);
    border-radius: 4px;
  }
/* Ensure product-title-wrapper takes full width and overrides text-block constraints */
  .text-block .product-title-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .product-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  
  .product-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    margin-block: 0;
    padding-block: 0;
  }
  
  .product-title-heading {
    margin: 0 !important;
    margin-block: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    padding-block: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    flex: 1;
    min-width: 0;
  }
  
  .product-title-subheading {
    margin: 0 !important;
    margin-block: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    padding-block: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  
  .product-title-wishlist {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-left: auto;
  }
  
  .product-title-wishlist .wishlist-button {
    --wishlist-icon-size: var(--wishlist-icon-size-desktop, 24px);
    padding: 4px !important;
    margin: 0;
    min-width: auto;
    position: relative;
    z-index: 1;
  }
  
  .product-title-wishlist .wishlist-icon {
    width: var(--wishlist-icon-size);
    height: var(--wishlist-icon-size);
  }
  
  /* Wishlist bubble styling */
  .product-title-wishlist .wishlist-bubble {
    position: absolute;
    width: 18px;
    height: 18px;
    top: -2px;
    right: -2px;
    background: var(--color-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    z-index: 2;
    border: 1px solid var(--color-background);
  }
  
  .product-title-wishlist .wishlist-bubble__background {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgb(from var(--color-foreground) r g b / 10%);
  }
  
  .product-title-wishlist .wishlist-bubble__text {
    position: relative;
    z-index: 1;
    color: var(--color-foreground);
    font-size: 10px;
    font-family: var(--font-paragraph--family);
    font-weight: var(--font-paragraph--weight);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .product-title-wishlist .wishlist-bubble__text-count {
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
  }
  
  /* Ensure responsive behavior */
  @media screen and (max-width: 749px) {
    .product-title-wishlist .wishlist-button {
      --wishlist-icon-size: var(--wishlist-icon-size-mobile, 20px);
    }
    
    .product-title-wishlist .wishlist-bubble {
      width: 16px;
      height: 16px;
      top: -1px;
      right: -1px;
    }
    
    .product-title-wishlist .wishlist-bubble__text-count {
      font-size: 9px;
    }
    
    .product-title-row {
      gap: 4px;
    }
  }
  
  /* Animation for wishlist bubble */
  .product-title-wishlist .wishlist-bubble--animating .wishlist-bubble__background {
    animation: grow 0.3s ease-out;
  }
  
  .product-title-wishlist .wishlist-bubble--animating .wishlist-bubble__text {
    animation: cartBubbleSlideIn 0.3s ease-out;
  }
  
  @keyframes grow {
    from {
      transform: scale(0);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  @keyframes cartBubbleSlideIn {
    from {
      transform: translateY(-4px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  /* Ensure title doesn't overflow when wishlist is present */
  .product-title-row .product-title-heading {
    overflow-wrap: break-word;
    word-break: break-word;
  }
  
  /* Override text-block spacing for product title elements */
  .text-block--{{ block.id }} .product-title-heading,
  .text-block--{{ block.id }} .product-title-subheading {
    margin-block: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-block: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Remove spacing between title row and subheading */
  .product-title-wrapper .product-title-row + .product-title-subheading {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  /* Apply typography preset styles to heading (only when not custom) */
  .text-block--{{ block.id }} .product-title-heading.h1:not(.custom),
  .text-block--{{ block.id }} .product-title-heading.h1.h1:not(.custom) {
    font-family: var(--font-h1--family);
    font-style: var(--font-h1--style);
    font-weight: var(--font-h1--weight);
    font-size: var(--font-h1--size);
    line-height: var(--font-h1--line-height);
    letter-spacing: var(--font-h1--letter-spacing);
    text-transform: var(--font-h1--case);
    color: var(--color, var(--font-h1-color));
  }
  
  .text-block--{{ block.id }} .product-title-heading.h2:not(.custom),
  .text-block--{{ block.id }} .product-title-heading.h2.h2:not(.custom) {
    font-family: var(--font-h2--family);
    font-style: var(--font-h2--style);
    font-weight: var(--font-h2--weight);
    font-size: var(--font-h2--size);
    line-height: var(--font-h2--line-height);
    letter-spacing: var(--font-h2--letter-spacing);
    text-transform: var(--font-h2--case);
    color: var(--color, var(--font-h2-color));
  }
  
  .text-block--{{ block.id }} .product-title-heading.h3:not(.custom),
  .text-block--{{ block.id }} .product-title-heading.h3.h3:not(.custom) {
    font-family: var(--font-h3--family);
    font-style: var(--font-h3--style);
    font-weight: var(--font-h3--weight);
    font-size: var(--font-h3--size);
    line-height: var(--font-h3--line-height);
    letter-spacing: var(--font-h3--letter-spacing);
    text-transform: var(--font-h3--case);
    color: var(--color, var(--font-h3-color));
  }
  
  .text-block--{{ block.id }} .product-title-heading.h4:not(.custom),
  .text-block--{{ block.id }} .product-title-heading.h4.h4:not(.custom) {
    font-family: var(--font-h4--family);
    font-style: var(--font-h4--style);
    font-weight: var(--font-h4--weight);
    font-size: var(--font-h4--size);
    line-height: var(--font-h4--line-height);
    letter-spacing: var(--font-h4--letter-spacing);
    text-transform: var(--font-h4--case);
    color: var(--color, var(--font-h4-color));
  }
  
  .text-block--{{ block.id }} .product-title-heading.h5:not(.custom),
  .text-block--{{ block.id }} .product-title-heading.h5.h5:not(.custom) {
    font-family: var(--font-h5--family);
    font-style: var(--font-h5--style);
    font-weight: var(--font-h5--weight);
    font-size: var(--font-h5--size);
    line-height: var(--font-h5--line-height);
    letter-spacing: var(--font-h5--letter-spacing);
    text-transform: var(--font-h5--case);
    color: var(--color, var(--font-h5-color));
  }
  
  .text-block--{{ block.id }} .product-title-heading.h6:not(.custom),
  .text-block--{{ block.id }} .product-title-heading.h6.h6:not(.custom) {
    font-family: var(--font-h6--family);
    font-style: var(--font-h6--style);
    font-weight: var(--font-h6--weight);
    font-size: var(--font-h6--size);
    line-height: var(--font-h6--line-height);
    letter-spacing: var(--font-h6--letter-spacing);
    text-transform: var(--font-h6--case);
    color: var(--color, var(--font-h6-color));
  }
  
  .text-block--{{ block.id }} .product-title-heading.paragraph:not(.custom) {
    font-family: var(--font-paragraph--family);
    font-style: var(--font-paragraph--style);
    font-weight: var(--font-paragraph--weight);
    font-size: var(--font-paragraph--size);
    line-height: var(--font-paragraph--line-height);
    text-transform: var(--font-paragraph--case);
    color: var(--color, var(--color-foreground));
  }
  
  /* Apply typography preset styles to subtitle (only when not custom) */
  .text-block--{{ block.id }} .product-title-subheading.h1:not(.custom),
  .text-block--{{ block.id }} .product-title-subheading.h1.h1:not(.custom) {
    font-family: var(--font-h1--family);
    font-style: var(--font-h1--style);
    font-weight: var(--font-h1--weight);
    font-size: var(--font-h1--size);
    line-height: var(--font-h1--line-height);
    letter-spacing: var(--font-h1--letter-spacing);
    text-transform: var(--font-h1--case);
  }
  
  .text-block--{{ block.id }} .product-title-subheading.h2:not(.custom),
  .text-block--{{ block.id }} .product-title-subheading.h2.h2:not(.custom) {
    font-family: var(--font-h2--family);
    font-style: var(--font-h2--style);
    font-weight: var(--font-h2--weight);
    font-size: var(--font-h2--size);
    line-height: var(--font-h2--line-height);
    letter-spacing: var(--font-h2--letter-spacing);
    text-transform: var(--font-h2--case);
  }
  
  .text-block--{{ block.id }} .product-title-subheading.h3:not(.custom),
  .text-block--{{ block.id }} .product-title-subheading.h3.h3:not(.custom) {
    font-family: var(--font-h3--family);
    font-style: var(--font-h3--style);
    font-weight: var(--font-h3--weight);
    font-size: var(--font-h3--size);
    line-height: var(--font-h3--line-height);
    letter-spacing: var(--font-h3--letter-spacing);
    text-transform: var(--font-h3--case);
  }
  
  .text-block--{{ block.id }} .product-title-subheading.h4:not(.custom),
  .text-block--{{ block.id }} .product-title-subheading.h4.h4:not(.custom) {
    font-family: var(--font-h4--family);
    font-style: var(--font-h4--style);
    font-weight: var(--font-h4--weight);
    font-size: var(--font-h4--size);
    line-height: var(--font-h4--line-height);
    letter-spacing: var(--font-h4--letter-spacing);
    text-transform: var(--font-h4--case);
  }
  
  .text-block--{{ block.id }} .product-title-subheading.h5:not(.custom),
  .text-block--{{ block.id }} .product-title-subheading.h5.h5:not(.custom) {
    font-family: var(--font-h5--family);
    font-style: var(--font-h5--style);
    font-weight: var(--font-h5--weight);
    font-size: var(--font-h5--size);
    line-height: var(--font-h5--line-height);
    letter-spacing: var(--font-h5--letter-spacing);
    text-transform: var(--font-h5--case);
  }
  
  .text-block--{{ block.id }} .product-title-subheading.h6:not(.custom),
  .text-block--{{ block.id }} .product-title-subheading.h6.h6:not(.custom) {
    font-family: var(--font-h6--family);
    font-style: var(--font-h6--style);
    font-weight: var(--font-h6--weight);
    font-size: var(--font-h6--size);
    line-height: var(--font-h6--line-height);
    letter-spacing: var(--font-h6--letter-spacing);
    text-transform: var(--font-h6--case);
  }
  
  .text-block--{{ block.id }} .product-title-subheading.paragraph:not(.custom) {
    font-family: var(--font-paragraph--family);
    font-style: var(--font-paragraph--style);
    font-weight: var(--font-paragraph--weight);
    font-size: var(--font-paragraph--size);
    line-height: var(--font-paragraph--line-height);
    text-transform: var(--font-paragraph--case);
  }
  
  /* Apply custom color to subheading when set */
  .text-block--{{ block.id }} .product-title-subheading {
    {% if block.settings.color_subheading != blank %}
      color: {{ block.settings.color_subheading }};
    {% endif %}
  }
  
  /* Ensure inline styles override preset styles for custom typography */
  .text-block--{{ block.id }} .product-title-heading.custom[style],
  .text-block--{{ block.id }} .product-title-subheading.custom[style] {
    /* Inline styles will take precedence */
  }
  
  /* Mobile responsive for typography */
  @media screen and (max-width: 749px) {
    /* Mobile font size for heading custom preset - override CSS variable */
    .text-block--{{ block.id }} .product-title-heading.custom {
      {% if block.settings.type_preset == 'custom' and block.settings.font_size_mobile != blank %}
        --heading-font-size: {{ block.settings.font_size_mobile }};
        font-size: {{ block.settings.font_size_mobile }} !important;
      {% endif %}
    }
    
    /* Mobile font size for subheading custom preset - override CSS variable */
    .text-block--{{ block.id }} .product-title-subheading.custom {
      {% if block.settings.type_preset_subheading == 'custom' and block.settings.font_size_subheading_mobile != blank %}
        --subheading-font-size: {{ block.settings.font_size_subheading_mobile }};
        font-size: {{ block.settings.font_size_subheading_mobile }} !important;
      {% endif %}
    }
  }
.protection-features-block {
    margin: 2.5rem 0;
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    border-left: none;
    border-right: none;
    border-radius: 0;
    background: var(--color-background);
  }
  
  .protection-features__title {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 2rem 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-foreground);
    opacity: 0.8;
  }
  
  .protection-features__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .protection-feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    width: auto;
  }
  
  .protection-feature:hover {
    transform: translateY(-2px);
  }
  
  .protection-feature__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    min-width: 70px;
    min-height: 70px;
    background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
    border: none;
    border-radius: 8px;
    color: #000000;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .protection-feature:hover .protection-feature__icon {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    transform: scale(1.02);
  }
  
  .protection-feature__icon img {
    width: 48px;
    height: 48px;
    color: #000000;
    filter: brightness(0) saturate(100%);
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .protection-feature:hover .protection-feature__icon img {
    transform: scale(1.05);
  }
  
  .protection-feature__label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-foreground);
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
  }
  
  .protection-feature:hover .protection-feature__label {
    color: var(--color-foreground);
  }
  
  /* Responsive breakpoints */
  @media (max-width: 1024px) {
    .protection-features__grid {
      gap: 1.25rem;
    }
    
    .protection-feature {
      gap: 0.875rem;
    }
    
    .protection-feature__icon {
      width: 65px;
      height: 65px;
      min-width: 65px;
      min-height: 65px;
    }
    
    .protection-feature__icon img {
      width: 42px;
      height: 42px;
    }
  }
  
  @media (max-width: 768px) {
    .protection-features-block {
      padding: 1.5rem 1rem;
    }
    
    .protection-features__grid {
      gap: 1rem;
    }
    
    .protection-feature {
      gap: 0.75rem;
    }
    
    .protection-feature__icon {
      width: 60px;
      height: 60px;
      min-width: 60px;
      min-height: 60px;
    }
    
    .protection-feature__icon img {
      width: 38px;
      height: 38px;
    }
    
    .protection-feature__label {
      font-size: 0.875rem;
    }
  }
  
  @media (max-width: 480px) {
    .protection-features__grid {
      gap: 0.875rem;
    }
    
    .protection-feature {
      gap: 0.625rem;
    }
    
    .protection-feature__icon {
      width: 55px;
      height: 55px;
      min-width: 55px;
      min-height: 55px;
    }
    
    .protection-feature__icon img {
      width: 32px;
      height: 32px;
    }
    
    .protection-feature__label {
      font-size: 0.8125rem;
    }
  }
.rating-wrapper {
    width: 100%;
    gap: var(--gap-xs);
    flex-wrap: wrap;
  }

  .rating-color--primary {
    --star-fill-color: var(--color-primary);
  }

  .rating-color--foreground {
    --star-fill-color: var(--color-foreground);
  }

  .rating-wrapper,
  .rating {
    display: flex;
    align-items: center;
  }

  .rating-wrapper.justify-right {
    flex-direction: row-reverse;
  }

  .rating {
    gap: var(--gap-3xs);
  }

  .rating-wrapper .rating-text,
  .rating-wrapper .rating-count,
  .rating-wrapper .rating-count-separator {
    color: var(--star-fill-color);
    margin: 0;
    white-space: nowrap;
  }

  .rating-count-separator {
    opacity: 0.2;
    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);
  }
.size-chart-block {
    display: inline-block;
  }

  .size-chart-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .size-chart-trigger-text {
    /* Let theme button styling handle text styling */
  }

  .size-chart-icon {
    flex-shrink: 0;
  }

  .size-chart-icon {
    flex-shrink: 0;
  }

  /* Popup Styles */
  .size-chart-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .size-chart-popup.active {
    opacity: 1;
    visibility: visible;
  }

  .size-chart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(3px);
  }

  .size-chart-content {
    position: relative;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    background: var(--color-background) !important;
    border-radius: {{ border_radius }}px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
    z-index: 10000;
    margin-top: 50px;
  }

  /* Drawer Styles */
  .size-chart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .size-chart-drawer.active {
    opacity: 1;
    visibility: visible;
  }

  .size-chart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(3px);
    z-index: 9999;
  }

  .size-chart-drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 90vw;
    height: 100%;
    background: var(--color-background) !important;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid var(--color-border);
    z-index: 10000;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    margin: 0 0 0 auto;
    padding: 0;
  }

  .size-chart-drawer.active .size-chart-drawer-content {
    transform: translateX(0);
  }

  .size-chart-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10001;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-foreground);
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
  }

  .size-chart-close:hover {
    background-color: var(--color-background-secondary);
  }

  /* Specific close button styling for drawer */
  .size-chart-drawer .size-chart-close {
    position: fixed;
    top: 20px;
    left: calc(10% + 20px);
    z-index: 10001;
    background: transparent;
    border: none;
    padding: 1px;
    min-width: 32px;
    min-height: 32px;
  }

  .size-chart-close:hover {
    background: rgba(255, 255, 255, 0.9);
  }

  .size-chart-close svg {
    width: 20px;
    height: 20px;
  }

  /* SVG for drawer */
  .size-chart-drawer .size-chart-close svg {
    width: 20px;
    height: 20px;
  }

  /* Ensure content is visible */
  .size-chart-content-wrapper {
    position: relative;
    z-index: 1;
  }

  /* Direct content display styles */
  .size-chart-direct-content {
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
  }

  .size-chart-direct-content .size-chart-content-wrapper {
    padding: 0 !important;
    max-width: 100%;
    overflow: hidden;
  }

  /* Additional responsive styles for content elements */
  .size-chart-direct-content .size-chart-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }

  .size-chart-direct-content .size-chart-measurement-content {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
  }

  .size-chart-direct-content .size-chart-image {
    flex-shrink: 0;
    max-width: 300px;
  }

  .size-chart-direct-content .size-chart-description {
    flex: 1;
  }

  .size-chart-direct-content .size-chart-table-container {
    overflow-x: auto;
    margin-top: 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .size-chart-direct-content .size-chart-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
    table-layout: fixed;
  }

  .size-chart-direct-content .size-chart-table th,
  .size-chart-direct-content .size-chart-table td {
    border: 1px solid var(--color-border);
    padding: 0.75rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Mobile-first responsive styles for direct content */
  @media (max-width: 1024px) {
    .size-chart-direct-content {
      margin: 1rem 0;
      padding: 1rem;
      border-radius: 8px;
      width: 100%;
      box-sizing: border-box;
    }
    
    .size-chart-direct-content .size-chart-content-wrapper {
      padding: 0 !important;
      width: 100%;
      box-sizing: border-box;
    }
    
    .size-chart-direct-content h1,
    .size-chart-direct-content h2,
    .size-chart-direct-content h3,
    .size-chart-direct-content h4 {
      font-size: 1.25rem !important;
      line-height: 1.2;
      margin-bottom: 0.75rem;
      word-wrap: break-word;
    }
    
    .size-chart-direct-content p {
      font-size: 0.875rem !important;
      line-height: 1.4;
      margin-bottom: 0.5rem;
      word-wrap: break-word;
    }
    
    .size-chart-direct-content .size-chart-selector {
      flex-direction: column;
      gap: 0.5rem;
      margin-bottom: 1rem;
      width: 100%;
    }
    
    .size-chart-direct-content .chart-type-btn {
      width: 100%;
      padding: 0.75rem 0.5rem;
      font-size: 0.875rem;
      min-height: 44px;
      box-sizing: border-box;
    }
    
    .size-chart-direct-content .size-chart-measurement-content {
      flex-direction: column;
      gap: 1rem;
      margin-bottom: 1rem;
      width: 100%;
    }
    
    .size-chart-direct-content .size-chart-image {
      max-width: 100%;
      height: auto;
      align-self: center;
      width: 100%;
      box-sizing: border-box;
    }
    
    .size-chart-direct-content .size-chart-image img {
      max-width: 100%;
      height: auto;
      width: 100%;
    }
    
    .size-chart-direct-content .size-chart-description {
      flex: none;
      width: 100%;
      box-sizing: border-box;
    }
    
    .size-chart-direct-content .size-chart-section {
      margin-bottom: 1rem;
      width: 100%;
      box-sizing: border-box;
    }
    
    .size-chart-direct-content .size-chart-table-container {
      width: 100%;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      margin-top: 0.5rem;
    }
    
    .size-chart-direct-content .size-chart-table {
      min-width: 400px;
      font-size: 0.75rem !important;
      width: 100%;
    }
    
    .size-chart-direct-content .size-chart-table th,
    .size-chart-direct-content .size-chart-table td {
      padding: 0.375rem 0.25rem;
      word-wrap: break-word;
      overflow-wrap: break-word;
      hyphens: auto;
    }
  }

  @media (max-width: 768px) {
    .size-chart-direct-content {
      margin: 0.75rem 0;
      padding: 0.75rem;
    }
    
    .size-chart-direct-content h1,
    .size-chart-direct-content h2,
    .size-chart-direct-content h3,
    .size-chart-direct-content h4 {
      font-size: 1.125rem !important;
      margin-bottom: 0.5rem;
    }
    
    .size-chart-direct-content p {
      font-size: 0.8rem !important;
      margin-bottom: 0.375rem;
    }
    
    .size-chart-direct-content .chart-type-btn {
      padding: 0.625rem 0.375rem;
      font-size: 0.8rem;
      min-height: 40px;
    }
    
    .size-chart-direct-content .size-chart-table {
      min-width: 350px;
      font-size: 0.7rem !important;
    }
    
    .size-chart-direct-content .size-chart-table th,
    .size-chart-direct-content .size-chart-table td {
      padding: 0.25rem 0.125rem;
    }
  }

  @media (max-width: 480px) {
    .size-chart-direct-content {
      margin: 0.5rem 0;
      padding: 0.5rem;
      border-radius: 4px;
    }
    
    .size-chart-direct-content h1,
    .size-chart-direct-content h2,
    .size-chart-direct-content h3,
    .size-chart-direct-content h4 {
      font-size: 1rem !important;
      margin-bottom: 0.375rem;
    }
    
    .size-chart-direct-content p {
      font-size: 0.75rem !important;
      margin-bottom: 0.25rem;
    }
    
    .size-chart-direct-content .chart-type-btn {
      padding: 0.5rem 0.25rem;
      font-size: 0.75rem;
      min-height: 36px;
    }
    
    .size-chart-direct-content .size-chart-table {
      min-width: 300px;
      font-size: 0.65rem !important;
    }
    
    .size-chart-direct-content .size-chart-table th,
    .size-chart-direct-content .size-chart-table td {
      padding: 0.125rem 0.0625rem;
    }
  }

  @media (max-width: 360px) {
    .size-chart-direct-content {
      margin: 0.25rem 0;
      padding: 0.375rem;
    }
    
    .size-chart-direct-content h1,
    .size-chart-direct-content h2,
    .size-chart-direct-content h3,
    .size-chart-direct-content h4 {
      font-size: 0.875rem !important;
      margin-bottom: 0.25rem;
    }
    
    .size-chart-direct-content p {
      font-size: 0.7rem !important;
      margin-bottom: 0.125rem;
    }
    
    .size-chart-direct-content .chart-type-btn {
      padding: 0.375rem 0.125rem;
      font-size: 0.7rem;
      min-height: 32px;
    }
    
    .size-chart-direct-content .size-chart-table {
      min-width: 280px;
      font-size: 0.6rem !important;
    }
    
    .size-chart-direct-content .size-chart-table th,
    .size-chart-direct-content .size-chart-table td {
      padding: 0.0625rem;
    }
  }

  @media (min-width: 1025px) {
    .size-chart-drawer-content {
      width: 40%;
      max-width: 40vw;
    }
    
    .size-chart-drawer .size-chart-close {
      left: calc(60% + 20px);
      padding: 2px;
      min-width: 32px;
      min-height: 32px;
    }

    .size-chart-drawer .size-chart-close svg {
      width: 20px;
      height: 20px;
    }
  }

  @media (max-width: 768px) {
    .size-chart-content {
      width: 95%;
      max-height: 90vh;
      margin: 20px;
      max-width: 95%;
    }
    
    .size-chart-drawer-content {
      width: 90%;
      max-width: 90vw;
      top: 0;
      height: 100vh;
    }

    .size-chart-close {
      top: 15px;
      right: 15px;
      padding: 2px;
      min-width: 36px;
      min-height: 36px;
    }

    .size-chart-close svg {
      width: 18px;
      height: 18px;
    }

    .size-chart-drawer .size-chart-close {
      top: 20px;
      left: calc(90% - 40px);
      padding: 2px;
      min-width: 32px;
      min-height: 32px;
    }

    .size-chart-drawer .size-chart-close svg {
      width: 20px;
      height: 20px;
    }
    
    /* Size chart trigger button uses theme button styling */
    .size-chart-trigger {
      /* Theme button classes handle all styling */
    }
  }

  @media (max-width: 480px) {
    .size-chart-content {
      width: 98%;
      margin: 10px;
      max-width: 98%;
    }
    
    .size-chart-drawer-content {
      width: 95%;
      max-width: 95vw;
    }

    .size-chart-drawer .size-chart-close {
      left: calc(95% - 40px);
      padding: 2px;
      min-width: 32px;
      min-height: 32px;
    }

    .size-chart-drawer .size-chart-close svg {
      width: 20px;
      height: 20px;
    }
  }
/* 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 (width <= 750px) {
    /* 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;
      height: var(--spacer-size-mobile);
    }
  }
product-swatches {
    width: 100%;
    display: flex;
    flex-direction: row;
    position: relative;
    overflow: hidden;
    gap: 0;
  }

  swatches-variant-picker-component {
    display: flex;
    width: 100%;
    flex-direction: row;
  }

  swatches-variant-picker-component .variant-option--swatches {
    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));
    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));
  }


  @media screen and (max-width: 749px) {
    swatches-variant-picker-component .variant-option--swatches {
      padding-block: calc(
          var(--product-swatches-padding-block-start-mobile) + var(--focus-outline-offset) + var(--focus-outline-width)
        )
        calc(var(--product-swatches-padding-block-end-mobile) + var(--focus-outline-offset) + var(--focus-outline-width));
      padding-inline: calc(
          var(--product-swatches-padding-inline-start-mobile) + var(--focus-outline-offset) + (1.5 * var(--focus-outline-width))
        )
        calc(var(--product-swatches-padding-inline-end-mobile) + var(--focus-outline-offset) + var(--focus-outline-width));
    }
  }

  .variant-option--swatches {
    overflow-list::part(list) {
      gap: var(--gap-sm);
    }

    overflow-list[defer]::part(list) {
      flex-wrap: nowrap;
    }
  }

  .hidden-swatches__count {
    display: flex;
    align-self: center;
    align-items: center;
    justify-content: center;
    color: rgb(from var(--color-foreground) r g b / 40%);
    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: rgb(from var(--color-foreground) r g b / 100%);
  }
.temperature-rating-block {
    margin: 2rem 0;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-left: none;
    border-right: none;
    border-radius: 0;
    background: var(--color-background);
  }
  
  .temperature-rating__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .temperature-rating__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
  }
  
  .temperature-rating__toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: var(--color-background);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    min-width: 60px;
    justify-content: center;
    transition: all 0.2s ease;
  }
  
  .temperature-rating__toggle:hover {
    background: var(--color-background-secondary);
    transform: translateY(-1px);
  }
  
  .temperature-rating__current-unit {
    font-weight: 600;
    color: var(--color-foreground);
  }
  
  .temperature-rating__toggle-text {
    font-size: 0.625rem;
    opacity: 0.8;
  }
  
  .temperature-rating__scale {
    position: relative;
    margin-bottom: 1rem;
    padding-top: 8px;
  }

  .temperature-rating__bar {
    position: relative;
    height: 12px;
    border-radius: 6px;
    overflow: visible;
    margin-bottom: 1rem;
    z-index: 1;
  }

  .temperature-rating__gradient {
    height: 100%;
    background: linear-gradient(to right, #4A90E2, #2C3E50);
    border-radius: 6px;
  }

  .temperature-rating__pointer {
    position: absolute;
    top: -8px;
    transform: translateX(-50%);
    color: #000;
    display: block;
    z-index: 20;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    width: 16px;
    margin-left: 0;
  }

  .temperature-rating__pointer svg {
    width: 16px;
    height: 12px;
    display: block;
  }

  .temperature-rating__pointer svg path {
    fill: #000;
  }
  
  .temperature-rating__ranges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
  
  .temperature-rating__range {
    text-align: center;
  }
  
  .temperature-rating__range-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .temperature-rating__range-temp {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-secondary);
  }
  
  .temperature-rating__current {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: none;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  @media screen and (width >= 750px) {
    .temperature-rating__current:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.15);
      background: rgba(0, 0, 0, 0.07);
    }
  }
  
  .temperature-rating__current-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
  }
  
  .temperature-rating__current-category {
    display: block;
    font-size: 1.125rem;
    color: var(--color-text-secondary);
  }
  
  @media (max-width: 768px) {
    .temperature-rating__ranges {
      grid-template-columns: repeat(4, 1fr);
      gap: 0.5rem;
    }
    
    .temperature-rating__range-label {
      font-size: 0.625rem;
    }
    
    .temperature-rating__range-temp {
      font-size: 0.5rem;
    }
  }
.placeholder-video {
    aspect-ratio: 5 / 3;
  }
.text-block {
    width: var(--width);
    max-width: 100%;
  }

  .text-block > * {
    width: var(--width);
    max-width: var(--max-width, 100%);
    text-align: var(--text-align);
  }

  .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;
  }
.blog-post-card {
    display: flex;
    flex-direction: column;
    text-align: var(--text-align);
  }

  .blog-post-item .blog-post-card__image-container,
  .blog-post-item .blog-post-card__content {
    width: 100%;
  }

  .blog-post-item:first-child .blog-post-card {
    flex-direction: row;

    @media screen and (width < 750px) {
      flex-direction: column;
    }
  }

  .blog-post-item:first-child .blog-post-card__image-container {
    width: 70%;

    @media screen and (width < 750px) {
      width: 100%;
    }
  }

  .blog-post-item:first-child:has(.blog-post-card__image-container) .blog-post-card__content {
    padding-inline-start: var(--columns-gap);
    width: 30%;

    @media screen and (width < 750px) {
      padding-inline-start: 0;
      width: 100%;
    }
  }

  .blog-post-card__content {
    padding-block-start: 0.4rem;
    display: flex;
    flex-direction: column;
  }

  .blog-post-card__content a,
  .blog-post-card__content .blog-post-card__content-text {
    display: block;
    text-wrap: pretty;
    text-decoration: none;
    padding-block-start: 0.75rem;
  }

  .blog-post-card__content a:hover,
  .blog-post-card__content a:hover [style*='--color: var(--color-primary)'] {
    color: var(--color-primary-hover);
  }

  .blog-post-card__content a:hover [style*='--color: var(--color-foreground-heading)'] {
    color: rgba(from var(--color-foreground-heading) r g b / var(--opacity-subdued-text));
  }

  .blog-post-card__content a:hover [style*='--color: var(--color-foreground)'] {
    color: rgba(from var(--color-foreground) r g b / var(--opacity-subdued-text));
  }
.blog-post-content {
    max-width: var(--normal-content-width);
    margin: 0 auto;
  }
.blog-post-card__image {
    width: 100%;
    height: 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;
  }
.blog-post-details {
    display: flex;
    gap: var(--gap-sm);
    font-size: var(--font-size--paragraph);
    color: rgb(from var(--color-foreground) r g b / var(--opacity-subdued-text));
    white-space: nowrap;
  }
  .blog-post-details > span {
    text-overflow: clip;
    overflow: hidden;
  }
.cart-page--empty .cart-items__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-block-start: 0;
    text-align: center;
  }

  .cart-page__title + .cart-page__items {
    margin-block-start: var(--margin-lg);
  }
.cart__summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cart__summary-item.tax-note {
    font-size: var(--cart-font-size--sm);
  }

  .cart__discount-label {
    display: flex;
    align-items: center;
    gap: var(--gap-2xs);
  }

  .cart__total {
    align-items: baseline;
    font-weight: var(--font-weight-bold);
  }

  .cart__tax-note {
    color: rgb(from var(--color-foreground) r g b / var(--opacity-subdued-text));
  }

  .cart__discount-label svg {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    display: inline-block;
  }

  .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 (width >= 750px) {
      padding: var(--padding-5xl);
      grid-row: 1 / -1;
    }
  }

  body:has(> #header-group .header[sticky]) .cart__summary-inner {
    top: var(--header-height, 0);
  }

  .cart__summary-container {
    @media screen and (width <= 749px) {
      border: none;
    }

    @media screen and (width >= 750px) {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: 1 / -1;
    }
  }

  .cart__summary-container:not(.cart__container--extend),
  .cart__summary-container:not(.cart__container--extend) .cart__summary-inner {
    height: auto;
  }

  .cart__container--extend {
    height: 100%;

    @media screen and (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__container--extend:not(.has-border-radius) {
    @media screen and (width >= 750px) {
      border-top: none;
      border-bottom: none;
    }
  }

  .cart__container--extend .cart__summary-inner {
    height: 100%;
    padding: var(--padding-md) 0 var(--padding-4xl);

    @media screen and (width >= 750px) {
      grid-row: 2 / -1;
      padding-inline: var(--page-margin);
      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);
  }

  @media screen and (width <= 749px) {
    .inherit-parent-scheme--mobile {
      --color-background: inherit;
      --color-foreground: inherit;
      --color-primary: inherit;
      --color-primary-hover: inherit;
      --color-border: inherit;
      --color-shadow: inherit;
      --color-foreground-heading: 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-background: inherit;
    }
  }
.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;
    border-radius: var(--style-border-radius-buttons-primary);
    aspect-ratio: auto;
    padding: var(--cart-padding);
  }

  .cart-title .cart-bubble[data-maintain-ratio] {
    aspect-ratio: 1;
    min-width: 26px;
  }

  .cart-title .cart-bubble__background {
    background-color: rgb(from var(--color-foreground) r g b / 10%);
  }

  .cart-title .cart-bubble__text {
    color: var(--color-foreground);
    font-family: var(--font-paragraph--family);
    font-size: clamp(var(--cart-font-size--2xs), 0.7lh, var(--cart-font-size--xs));
  }
.collection-card__image {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: var(--ratio);
    z-index: var(--layer-base);
    overflow: hidden;
  }

  .collection-card__image--placeholder {
    width: 100%;
    height: 100%;
  }
.collection-image {
    width: var(--image-width);
  }

  .collection-image .collection-image__featured-image {
    aspect-ratio: var(--ratio);
    object-fit: cover;
  }
.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));

    @media (hover: hover) {
      opacity: var(--disabled-opacity);
    }

    [layout='spotlight'] & {
      opacity: var(--disabled-opacity);
    }

    &[aria-selected='true'] {
      opacity: 1;
    }

    .text-block {
      display: inline-block;
    }

    @media (width < 750px) {
      --min-font-size: var(--font-size--3xl);
      --max-font-size: var(--font-size--5xl);

      [layout='spotlight'] & {
        white-space: nowrap;
        scroll-snap-align: start;

        span {
          text-wrap: nowrap;
        }
      }
    }
  }

  .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);
      }
    }
  }
.featured-product-content-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--gap-sm);
  }

  .featured-product-content-bottom:not(:has(product-swatches)) {
    display: none;
  }
.footer-utilities__group-copyright {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .footer-utilities__group-copyright .footer-utilities__text {
    width: 100%;
  }

  /* Alignment classes */
  .footer-utilities__group-copyright.text-left .footer-utilities__text {
    text-align: left;
  }

  .footer-utilities__group-copyright.text-center .footer-utilities__text {
    text-align: center;
  }

  .footer-utilities__group-copyright.text-right .footer-utilities__text {
    text-align: right;
  }
.policy_list {
    display: flex;
    gap: var(--gap-2xs) var(--gap-sm);
    /* Depending on the content, some smaller desktop layouts will need to wrap the items to fit everything */
    flex-wrap: wrap;
    justify-content: center;

    @media screen and (width >= 750px) {
      justify-content: flex-start;
    }
  }
.social-icons__wrapper {
    display: flex;
    gap: var(--gap-sm);
    flex-wrap: wrap;
    justify-content: center;

    @media screen and (width >= 750px) {
      flex-wrap: nowrap;
      justify-content: flex-start;
    }
  }
.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;

    /* Make sure the logo visually hugs the left edge of the column when it is the first item in the left column */
    margin-inline: calc(-1 * var(--padding-inline-start));

    &[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 (width < 750px) {
      padding: 0;
    }

    @media screen and (width >= 750px) {
      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 (width >= 750px) {
      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);
  }

  .header-logo__image-container--inverse {
    display: var(--header-logo-inverse-display, none);
  }

  /* Text Logo Styles */
  .header-logo--text {
    white-space: nowrap;
    justify-content: center;
    align-items: center;
  }

  .header-logo__text {
    font-family: var(--logo-font-family);
    font-size: var(--logo-font-size-mobile);
    font-style: var(--logo-font-style);
    font-weight: var(--logo-font-weight);
    color: var(--color-foreground);
    line-height: 1.2;
    letter-spacing: 0.02em;
    display: inline-block;
    text-align: center;
    margin: 0 auto;

    @media screen and (width >= 750px) {
      font-size: var(--logo-font-size);
    }
  }
.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);
    }
  }

  /* Mobile drawer now uses accordion style - no separate submenu drawers needed */
  
  /* Mobile & iPad Drawer Styling - Rebuilding from scratch */
  @media screen and (max-width: 1024px) {
    /* ============================================
       BOTTOM SECTION - Account, Wishlist, Localization
       Match desktop drawer styling exactly
       ============================================ */
    
    /* Utility links container - Fixed at bottom, increased height to show all items */
    .header__drawer--mobile .menu-drawer__utility-links {
      margin-top: auto;
      padding-top: var(--padding-xl);
      padding-bottom: var(--padding-xl);
      padding-left: var(--padding-xl);
      padding-right: var(--padding-xl);
      border-top: 1px solid rgba(from var(--color-border) r g b / 0.5);
      margin-top: var(--padding-lg);
      background: var(--color-background);
      position: sticky;
      bottom: 0;
      z-index: 10;
      flex-shrink: 0;
      overflow: visible;
      display: flex;
      flex-direction: column;
      overflow-y: visible;
      overflow-x: visible;
      min-height: fit-content;
    }
    
    /* Account link - Match desktop styling, reduced min-height for mobile */
    .header__drawer--mobile .menu-drawer__account-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: var(--padding-sm) var(--padding-lg);
      gap: var(--padding-md);
      border-radius: 0;
      transition: color 0.3s cubic-bezier(0.23, 1, 0.32, 1);
      margin: 0;
      border: none;
      background: transparent;
      min-height: 40px;
      box-shadow: none;
      font-family: var(--menu-top-level-font-family);
      font-style: var(--menu-top-level-font-style);
      font-weight: 500;
      font-size: 1.05em;
      line-height: var(--menu-top-level-font-line-height);
      text-transform: var(--menu-top-level-font-case);
      color: var(--menu-top-level-font-color);
      letter-spacing: 0.018em;
      padding-left: 0;
    }
    
    /* Account icon */
    .header__drawer--mobile .menu-drawer__account-link .svg-wrapper {
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    
    .header__drawer--mobile .menu-drawer__account-link .svg-wrapper svg {
      width: 100%;
      height: 100%;
      display: block;
    }
    
    .header__drawer--mobile .menu-drawer__account-link:hover {
      background: transparent;
      transform: none;
      border: none;
      box-shadow: none;
    }
    
    /* Account content */
    .header__drawer--mobile .menu-drawer__account-content {
      padding: var(--padding-lg) 0 0;
      animation: fadeInUpLuxury 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      overflow: visible;
      overflow-y: visible;
      overflow-x: visible;
      flex: 1;
      min-height: 0;
      height: auto;
      max-height: none;
    }
    
    /* Account details */
    .header__drawer--mobile .menu-drawer__account-details {
      display: flex;
      flex-direction: column;
      flex: 1;
      min-height: 0;
      overflow: visible;
    }
    
    .header__drawer--mobile .menu-drawer__account-details[open] {
      flex: 1;
      min-height: 0;
      overflow: visible;
    }
    
    /* Wishlist link - Match desktop styling, reduced min-height for mobile */
    .header__drawer--mobile .menu-drawer__wishlist-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: var(--padding-sm) var(--padding-lg);
      gap: var(--padding-md);
      border-radius: 0;
      transition: color 0.3s cubic-bezier(0.23, 1, 0.32, 1);
      margin: 0;
      border: none;
      background: transparent;
      min-height: 40px;
      box-shadow: none;
      text-decoration: none;
      font-family: var(--menu-top-level-font-family);
      font-style: var(--menu-top-level-font-style);
      font-weight: 500;
      font-size: 1.05em;
      line-height: var(--menu-top-level-font-line-height);
      text-transform: var(--menu-top-level-font-case);
      color: var(--menu-top-level-font-color);
      letter-spacing: 0.018em;
      padding-left: 0;
    }
    
    /* Wishlist icon */
    .header__drawer--mobile .menu-drawer__wishlist-link .svg-wrapper {
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    
    .header__drawer--mobile .menu-drawer__wishlist-link .svg-wrapper svg {
      width: 100%;
      height: 100%;
      display: block;
    }
    
    .header__drawer--mobile .menu-drawer__wishlist-link:hover {
      background: transparent;
      transform: none;
      border: none;
      box-shadow: none;
    }
    
    /* Localization - Match desktop styling */
    .header__drawer--mobile .menu-drawer__localization {
      padding-left: 0;
      padding-right: 0;
    }
    
    .header__drawer--mobile .drawer-localization details {
      position: relative;
    }
    
    .header__drawer--mobile .drawer-localization details[open] {
      display: block;
    }
    
    /* Don't override position/overflow - drawer needs fixed positioning to open properly */
    /* Only add flexbox for internal layout */
    .header__drawer--mobile .menu-drawer {
      display: flex;
      flex-direction: column;
    }
    
    .header__drawer--mobile .drawer-localization__panel {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      overflow-y: visible;
      overflow-x: hidden;
      z-index: 20;
      background: var(--color-background);
      transform: none;
      visibility: visible;
      opacity: 1;
    }
    
    .header__drawer--mobile .drawer-localization__panel .menu-drawer__inner-submenu {
      max-height: 70vh;
      overflow-y: auto;
      overflow-x: hidden;
      scrollbar-width: thin;
      scrollbar-color: rgba(from var(--color-foreground) r g b / 0.25) transparent;
    }
    
    .header__drawer--mobile .drawer-localization__panel .menu-drawer__inner-submenu::-webkit-scrollbar {
      width: 5px;
    }
    
    .header__drawer--mobile .drawer-localization__panel .menu-drawer__inner-submenu::-webkit-scrollbar-track {
      background: transparent;
      margin: var(--padding-xl) 0;
    }
    
    .header__drawer--mobile .drawer-localization__panel .menu-drawer__inner-submenu::-webkit-scrollbar-thumb {
      background: linear-gradient(
        to bottom,
        rgba(from var(--color-foreground) r g b / 0.2),
        rgba(from var(--color-foreground) r g b / 0.3)
      );
      border-radius: 10px;
      border: 1px solid rgba(from var(--color-background) r g b / 0.1);
    }
    
    .header__drawer--mobile .drawer-localization__panel .menu-drawer__inner-submenu::-webkit-scrollbar-thumb:hover {
      background: linear-gradient(
        to bottom,
        rgba(from var(--color-foreground) r g b / 0.3),
        rgba(from var(--color-foreground) r g b / 0.4)
      );
    }
    
    .header__drawer--mobile .drawer-localization .menu-drawer__submenu,
    .header__drawer--mobile .drawer-localization__panel {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      max-height: 100%;
      transform: none;
    }
    
    .header__drawer--mobile .drawer-localization details[open] .drawer-localization__panel {
      display: block;
      visibility: visible;
      opacity: 1;
      position: absolute;
      transform: none;
    }
    
    /* Ensure localization panel is always visible when details is open */
    .header__drawer--mobile .drawer-localization details[open] .menu-drawer__submenu.drawer-localization__panel {
      display: block;
      visibility: visible;
      opacity: 1;
      position: absolute;
      transform: none;
    }
    
    .header__drawer--mobile .drawer-localization__button {
      padding: var(--padding-sm) var(--padding-lg);
      padding-left: 0;
      margin: 0;
      cursor: pointer;
      min-height: 40px;
    }
    
    .header__drawer--mobile .menu-drawer__localization .menu-drawer__close-button {
      display: none;
    }
    
    .header__drawer--mobile .menu-drawer__localization .menu-drawer__nav-buttons {
      justify-content: flex-start;
    }
    
    .header__drawer--mobile .drawer-localization .language-selector {
      width: 100%;
      min-width: 0;
      flex: 1;
      padding-right: var(--padding-2xl);
      box-sizing: border-box;
      gap: var(--padding-md);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    
    .header__drawer--mobile .drawer-localization .localization-form__select {
      width: auto;
      min-width: 0;
      max-width: fit-content;
      overflow: visible;
      white-space: normal;
      word-wrap: break-word;
      overflow-wrap: break-word;
      padding-right: calc(var(--icon-size-xs) + var(--padding-md));
      padding-left: var(--padding-md);
      padding-top: var(--padding-sm);
      padding-bottom: var(--padding-sm);
      box-sizing: border-box;
      text-align: center;
      text-align-last: center;
      margin-left: auto;
      order: 2;
    }
    
    .header__drawer--mobile .drawer-localization .language-selector__label {
      flex-shrink: 0;
      margin-right: auto;
    }
    
    .header__drawer--mobile .drawer-localization .language-selector .svg-wrapper.icon-caret {
      order: 3;
      margin-left: var(--padding-sm);
      right: var(--padding-lg);
      pointer-events: none;
      flex-shrink: 0;
    }
    
    .header__drawer--mobile .drawer-localization .localization-form__select option {
      white-space: normal;
      word-wrap: break-word;
      overflow-wrap: break-word;
      padding: var(--padding-sm) var(--padding-md);
      min-width: 100%;
    }
    
    /* Drawer already has flexbox from above - ensure height is maintained */
    /* Don't override position/transform - those are needed for opening animation */
    
    /* Menu navigation should be scrollable, utility links stay at bottom */
    .header__drawer--mobile .menu-drawer__navigation {
      display: flex;
      flex-direction: column;
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      overflow-x: hidden;
    }
    
    /* ============================================
       MENU ITEMS - Force Vertical Stacking
       CRITICAL: Override base flex display that causes horizontal layout
       ============================================ */
    
    /* CRITICAL FIX: Force ALL menu lists (ul elements) to be block layout - NO flex or grid */
    .header__drawer--mobile ul.menu-drawer__menu,
    .header__drawer--mobile ul.menu-drawer__menu.has-submenu,
    .header__drawer--mobile ul.menu-drawer__menu--childlist,
    .header__drawer--mobile ul.menu-drawer__menu--grandchildlist,
    .header__drawer--mobile accordion-custom ul.menu-drawer__menu,
    .header__drawer--mobile accordion-custom ul.menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom ul.menu-drawer__menu--grandchildlist,
    .header__drawer--mobile accordion-custom details ul.menu-drawer__menu,
    .header__drawer--mobile accordion-custom details ul.menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details ul.menu-drawer__menu--grandchildlist,
    .header__drawer--mobile accordion-custom details .details-content,
    .header__drawer--mobile accordion-custom details[open] ul.menu-drawer__menu,
    .header__drawer--mobile accordion-custom details[open] ul.menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details[open] .details-content {
      display: block !important;
      width: 100% !important;
      flex-direction: column !important;
      flex-wrap: nowrap !important;
      grid-template-columns: none !important;
      grid-template-rows: none !important;
      gap: 0 !important;
    }
    
    /* CORE FIX: Base style has .menu-drawer__menu > .menu-drawer__list-item { display: flex; } */
    /* This makes items appear horizontally - we need block for vertical stacking */
    /* Use !important to ensure vertical layout for accordion content */
    .header__drawer--mobile .menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile .menu-drawer__menu--childlist > .menu-drawer__list-item,
    .header__drawer--mobile .menu-drawer__menu--grandchildlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom .menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom .menu-drawer__menu--childlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details .details-content > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details ul.menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details ul.menu-drawer__menu--childlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details[open] .details-content > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details[open] ul.menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details[open] ul.menu-drawer__menu--childlist > .menu-drawer__list-item {
      display: block !important;
      width: 100% !important;
      flex: none !important;
      flex-direction: column !important;
      flex-wrap: nowrap !important;
      float: none !important;
    }
    
    /* Force all menu lists to be block - not flex or grid - redundant but ensures coverage */
    .header__drawer--mobile .menu-drawer__menu,
    .header__drawer--mobile .menu-drawer__menu.has-submenu,
    .header__drawer--mobile .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-drawer__menu--grandchildlist,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details .details-content,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details[open] .details-content {
      display: block !important;
      width: 100% !important;
      flex-direction: column !important;
      flex-wrap: nowrap !important;
    }
    
    /* Disable any grid layouts on mobile - force block - maximum specificity */
    .header__drawer--mobile .menu-drawer__menu--grid,
    .header__drawer--mobile .menu-drawer__menu.menu-drawer__menu--grid,
    .header__drawer--mobile .menu-drawer__menu--childlist.menu-drawer__menu--grid,
    .header__drawer--mobile .menu-drawer__menu--grandchildlist.menu-drawer__menu--grid,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grid,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu.menu-drawer__menu--grid,
    .header__drawer--mobile accordion-custom details ul.menu-drawer__menu--grid,
    .header__drawer--mobile accordion-custom details ul.menu-drawer__menu.menu-drawer__menu--grid {
      display: block !important;
      grid-template-columns: none !important;
      grid-template-rows: none !important;
      gap: 0 !important;
    }
    
    /* Override flat list items - they also have display: flex in base */
    .header__drawer--mobile .menu-drawer__menu .menu-drawer__list-item--flat,
    .header__drawer--mobile .menu-drawer__menu--childlist .menu-drawer__list-item--flat,
    .header__drawer--mobile accordion-custom .menu-drawer__list-item--flat,
    .header__drawer--mobile accordion-custom details .menu-drawer__list-item--flat,
    .header__drawer--mobile accordion-custom details .menu-drawer__list-item--flat.menu-drawer__list-item--divider {
      display: block !important;
      width: 100% !important;
      flex-direction: column !important;
      flex-wrap: nowrap !important;
    }
    
    /* CRITICAL: Ensure accordion-custom wrapper doesn't interfere */
    .header__drawer--mobile accordion-custom {
      display: block !important;
      width: 100% !important;
    }
    
    /* Ensure details element doesn't use flex */
    .header__drawer--mobile accordion-custom details {
      display: block !important;
      width: 100% !important;
    }
    
    /* Add padding to submenu items (2nd level) for nested visual effect */
    .header__drawer--mobile .menu-drawer__menu--childlist .menu-drawer__menu-item,
    .header__drawer--mobile .menu-drawer__menu--childlist .menu-drawer__menu-item--child,
    .header__drawer--mobile .menu-drawer__menu--childlist .menu-drawer__menu-item--parent,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist .menu-drawer__menu-item--child,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist .menu-drawer__menu-item--parent,
    .header__drawer--mobile accordion-custom details .details-content .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details .details-content .menu-drawer__menu-item--child,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist .menu-drawer__menu-item--child,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist .menu-drawer__menu-item--parent {
      padding-inline-start: var(--padding-xl) !important;
    }
    
    /* Add more padding to sub-submenu items (3rd level) for deeper nesting */
    .header__drawer--mobile .menu-drawer__menu--grandchildlist .menu-drawer__menu-item,
    .header__drawer--mobile .menu-drawer__menu--grandchildlist .menu-drawer__menu-item--child,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist .menu-drawer__menu-item--child,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--grandchildlist .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--grandchildlist .menu-drawer__menu-item--child {
      padding-inline-start: var(--padding-2xl) !important;
    }
    
    /* Also add padding to the menu list containers for better visual nesting */
    .header__drawer--mobile .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details .details-content.menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist {
      padding-inline-start: var(--padding-lg) !important;
    }
    
    .header__drawer--mobile .menu-drawer__menu--grandchildlist,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--grandchildlist {
      padding-inline-start: var(--padding-xl) !important;
    }
    
    /* ============================================
       TEXT SIZES & ALIGNMENT - Mobile Menu Items
       ============================================ */
    
    /* Main level menu items - consistent sizing */
    .header__drawer--mobile .menu-drawer__menu-item--mainlist {
      font-size: 1rem !important;
      line-height: 1.5 !important;
      padding: var(--padding-md) var(--padding-lg) !important;
      min-height: 48px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: var(--padding-md) !important;
    }
    
    /* Submenu items (2nd level) - slightly smaller */
    .header__drawer--mobile .menu-drawer__menu--childlist .menu-drawer__menu-item,
    .header__drawer--mobile .menu-drawer__menu--childlist .menu-drawer__menu-item--child,
    .header__drawer--mobile .menu-drawer__menu--childlist .menu-drawer__menu-item--parent,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist .menu-drawer__menu-item--child,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist .menu-drawer__menu-item--parent,
    .header__drawer--mobile accordion-custom details .details-content .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details .details-content .menu-drawer__menu-item--child {
      font-size: 0.95rem !important;
      line-height: 1.5 !important;
      padding: var(--padding-sm) var(--padding-lg) !important;
      min-height: 44px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: var(--padding-sm) !important;
    }
    
    /* Sub-submenu items (3rd level) - even smaller */
    .header__drawer--mobile .menu-drawer__menu--grandchildlist .menu-drawer__menu-item,
    .header__drawer--mobile .menu-drawer__menu--grandchildlist .menu-drawer__menu-item--child,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist .menu-drawer__menu-item--child {
      font-size: 0.9rem !important;
      line-height: 1.5 !important;
      padding: var(--padding-sm) var(--padding-lg) !important;
      min-height: 40px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: var(--padding-sm) !important;
    }
    
    /* Ensure consistent spacing between menu items */
    .header__drawer--mobile .menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile .menu-drawer__menu--childlist > .menu-drawer__list-item,
    .header__drawer--mobile .menu-drawer__menu--grandchildlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist > .menu-drawer__list-item {
      margin-block-end: 0 !important;
    }
    
    /* ============================================
       SMOOTH ACCORDION ANIMATIONS - Mobile
       Mirror desktop smooth animations
       ============================================ */
    
    /* Accordion wrapper - smooth transitions */
    .header__drawer--mobile accordion-custom details {
      transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
      overflow: hidden !important;
    }
    
    /* Accordion summary - smooth color transition */
    .header__drawer--mobile accordion-custom details summary {
      transition: color 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
      cursor: pointer !important;
    }
    
    /* Accordion content - smooth expand/collapse animation */
    .header__drawer--mobile accordion-custom details:not([open]) .details-content,
    .header__drawer--mobile accordion-custom details:not([open]) .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details:not([open]) .menu-drawer__menu--grandchildlist {
      max-height: 0 !important;
      overflow: hidden !important;
      opacity: 0 !important;
      padding-block: 0 !important;
      margin-block: 0 !important;
      transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                  opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                  padding 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                  margin 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    }
    
    /* When accordion is open - smooth expand */
    .header__drawer--mobile accordion-custom details[open] .details-content,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--grandchildlist {
      max-height: 2000px !important;
      opacity: 1 !important;
      padding-block: var(--padding-xs) !important;
      margin-block: var(--padding-xs) 0 !important;
      transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                  opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                  padding 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                  margin 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
      animation: accordionExpandMobile 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    }
    
    /* Icon container - relative positioning for absolute icon overlay */
    .header__drawer--mobile accordion-custom details > summary {
      position: relative !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
    }
    
    /* Plus icon wrapper - relative positioning for overlay */
    .header__drawer--mobile accordion-custom details > summary .svg-wrapper.icon-plus {
      position: relative !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      width: var(--icon-size-xs) !important;
      height: var(--icon-size-xs) !important;
      margin: 0 !important;
      padding: 0 !important;
      flex-shrink: 0 !important;
    }
    
    /* Minus icon wrapper - absolute overlay on plus icon position */
    .header__drawer--mobile accordion-custom details > summary .svg-wrapper.icon-minus {
      position: absolute !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      width: var(--icon-size-xs) !important;
      height: var(--icon-size-xs) !important;
      margin: 0 !important;
      padding: 0 !important;
      right: 0 !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      flex-shrink: 0 !important;
    }
    
    /* Icon toggle - show plus when closed, minus when open */
    .header__drawer--mobile accordion-custom details > summary .svg-wrapper.icon-plus,
    .header__drawer--mobile accordion-custom details > summary .icon-plus {
      transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
      opacity: 1 !important;
      visibility: visible !important;
    }
    
    .header__drawer--mobile accordion-custom details > summary .svg-wrapper.icon-minus,
    .header__drawer--mobile accordion-custom details > summary .icon-minus {
      transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
      opacity: 0 !important;
      visibility: hidden !important;
    }
    
    /* When accordion is open - hide plus, show minus */
    .header__drawer--mobile accordion-custom details[open] > summary .svg-wrapper.icon-plus,
    .header__drawer--mobile accordion-custom details[open] > summary .icon-plus {
      opacity: 0 !important;
      visibility: hidden !important;
    }
    
    .header__drawer--mobile accordion-custom details[open] > summary .svg-wrapper.icon-minus,
    .header__drawer--mobile accordion-custom details[open] > summary .icon-minus {
      opacity: 1 !important;
      visibility: visible !important;
    }
    
    /* Ensure nested accordion icons show correctly */
    .header__drawer--mobile accordion-custom details[open] accordion-custom details:not([open]) > summary .svg-wrapper.icon-plus,
    .header__drawer--mobile accordion-custom details[open] accordion-custom details:not([open]) > summary .icon-plus {
      opacity: 1 !important;
      visibility: visible !important;
      position: relative !important;
    }
    
    .header__drawer--mobile accordion-custom details[open] accordion-custom details:not([open]) > summary .svg-wrapper.icon-minus,
    .header__drawer--mobile accordion-custom details[open] accordion-custom details:not([open]) > summary .icon-minus {
      opacity: 0 !important;
      visibility: hidden !important;
    }
  }
  
  /* Accordion expand animation keyframes for mobile */
  @keyframes accordionExpandMobile {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
    /* Ensure menu items use flex only for internal alignment (icon/text), not for layout */
    .header__drawer--mobile .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details summary {
      width: 100%;
      display: flex;
      /* Flex is OK here - it's for aligning icon and text within the item */
    }
    
    /* CRITICAL: Accordion content must expand inline, NOT slide from side like desktop submenu */
    /* Remove all absolute positioning and transforms that cause side slide */
    /* Use maximum specificity to override any base styles */
    .header__drawer--mobile accordion-custom details .details-content,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist,
    .header__drawer--mobile details .details-content,
    .header__drawer--mobile details .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-drawer accordion-custom details .details-content,
    .header__drawer--mobile .menu-drawer accordion-custom details .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-drawer details .details-content,
    .header__drawer--mobile .menu-drawer details .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-drawer__navigation accordion-custom details .details-content,
    .header__drawer--mobile .menu-drawer__navigation accordion-custom details .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-drawer__navigation details .details-content,
    .header__drawer--mobile .menu-drawer__navigation details .menu-drawer__menu--childlist {
      position: static;
      transform: none;
      visibility: visible;
      opacity: 1;
      width: 100%;
      height: auto;
      top: auto;
      left: auto;
      right: auto;
      bottom: auto;
      overflow: visible;
      display: block;
      z-index: auto;
      margin: 0;
      padding: 0;
    }
    
    /* When accordion is open, content should be visible inline */
    .header__drawer--mobile accordion-custom details[open] .details-content,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist,
    .header__drawer--mobile details[open] .details-content,
    .header__drawer--mobile details[open] .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-drawer accordion-custom details[open] .details-content,
    .header__drawer--mobile .menu-drawer accordion-custom details[open] .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-drawer details[open] .details-content,
    .header__drawer--mobile .menu-drawer details[open] .menu-drawer__menu--childlist {
      position: static;
      transform: none;
      visibility: visible;
      opacity: 1;
      display: block;
      left: auto;
      right: auto;
      top: auto;
      bottom: auto;
    }
    
    /* CRITICAL: Override .menu-drawer__submenu if it somehow applies to accordion */
    .header__drawer--mobile accordion-custom details .details-content.menu-drawer__submenu,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist.menu-drawer__submenu,
    .header__drawer--mobile details .details-content.menu-drawer__submenu,
    .header__drawer--mobile details .menu-drawer__menu--childlist.menu-drawer__submenu {
      position: static;
      transform: none;
      width: 100%;
      height: auto;
      top: auto;
      left: auto;
      right: auto;
      bottom: auto;
    }
    
    /* Prevent any submenu class from applying to mobile accordion */
    /* BUT allow localization panel to show - it uses menu-drawer__submenu class */
    .header__drawer--mobile .menu-drawer__submenu:not(.drawer-localization__panel),
    .header__drawer--mobile .menu-drawer .menu-drawer__submenu:not(.drawer-localization__panel),
    .header__drawer--mobile .menu-drawer__navigation .menu-drawer__submenu:not(.drawer-localization__panel) {
      display: none;
    }
    
    /* Ensure menu-open class doesn't apply submenu transforms - override .menu-open > .menu-drawer__submenu */
    .header__drawer--mobile.menu-open .details-content,
    .header__drawer--mobile .menu-open .details-content,
    .header__drawer--mobile details.menu-open .details-content,
    .header__drawer--mobile.menu-open > accordion-custom details .details-content,
    .header__drawer--mobile .menu-open > accordion-custom details .details-content,
    .header__drawer--mobile.menu-open > details .details-content,
    .header__drawer--mobile .menu-open > details .details-content,
    .header__drawer--mobile.menu-open > accordion-custom details .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-open > accordion-custom details .menu-drawer__menu--childlist,
    .header__drawer--mobile.menu-open > details .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-open > details .menu-drawer__menu--childlist {
      position: static;
      transform: none;
      display: block;
      visibility: visible;
      opacity: 1;
      left: auto;
      right: auto;
      top: auto;
      bottom: auto;
    }
    
    /* Animation for account content */
    @keyframes fadeInUpLuxury {
      from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }
  }

  /* Drawer Menu Items in Header - Ultra Luxury Design */
  .header__drawer-menu-items {
    display: none;
    align-items: center;
    gap: var(--padding-md);
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: calc(var(--layer-sticky, 8) + 1);
  }

  /* Responsive header menu items spacing for all desktop sizes */
  /* Small Desktop (750px - 1024px) */
  @media screen and (width >= 750px) and (width < 1024px) {
    .header__drawer-menu-items {
      gap: var(--padding-sm);
    }
  }

  /* Medium Desktop (1024px - 1440px) */
  @media screen and (width >= 1024px) and (width < 1440px) {
    .header__drawer-menu-items {
      gap: var(--padding-md);
    }
  }

  /* Large Desktop (1440px - 1920px) */
  @media screen and (width >= 1440px) and (width < 1920px) {
    .header__drawer-menu-items {
      gap: var(--padding-lg);
    }
  }

  /* Extra Large Desktop (1920px+) */
  @media screen and (width >= 1920px) {
    .header__drawer-menu-items {
      gap: var(--padding-xl);
    }
  }

  @media screen and (width >= 750px) {
    .header__drawer-menu-items {
      display: flex;
      gap: var(--padding-md);
    }
  }

  .header__drawer-menu-item {
    background: none;
    border: none;
    padding: var(--padding-md) var(--padding-xl);
    cursor: pointer;
    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-desktop, var(--font-size--md));
    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;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(var(--minimum-touch-target) + 4px);
    position: relative;
    z-index: calc(var(--layer-sticky, 8) + 2);
    letter-spacing: 0.02em;
    border-radius: 8px;
    
    /* Tablet/iPad (750px - 1024px): Slightly smaller font size and padding */
    @media screen and (width >= 750px) and (width < 1025px) {
      font-size: calc(var(--menu-top-level-font-size-desktop, var(--font-size--md)) * 0.9);
      padding: var(--padding-sm) var(--padding-lg);
    }
  }

  .header__drawer-menu-item::before {
    display: none;
  }

  /* Make underline match text width by using the text element */
  .header__drawer-menu-item-text {
    position: relative;
    display: inline-block;
  }
  
  .header__drawer-menu-item-text::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    transform: scaleX(0);
    width: 100%; /* Matches text width since parent is inline-block */
    height: 2px;
    background: var(--menu-top-level-font-color);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 1px;
    transform-origin: left center;
    box-shadow: none; /* Removed blurry shadow for cleaner look */
  }
  
  .header__drawer-menu-item:hover .header__drawer-menu-item-text::after,
  .header__drawer-menu-item:focus .header__drawer-menu-item-text::after,
  .header__drawer-menu-item[aria-expanded="true"] .header__drawer-menu-item-text::after {
    transform: scaleX(1);
  }
  
  /* Keep the old ::after for backward compatibility but hide it */
  .header__drawer-menu-item::after {
    display: none;
  }

  .header__drawer-menu-item:hover,
  .header__drawer-menu-item:focus {
    color: var(--menu-top-level-font-color);
    transform: none;
  }

  .header__drawer-menu-item[aria-expanded="true"] {
    color: var(--menu-top-level-font-color);
  }

  .header__drawer-menu-item[aria-expanded="true"]::before {
    display: none;
  }

  .header__drawer-menu-item-text {
    white-space: nowrap;
    position: relative;
    z-index: 1;
  }

  .header__drawer-menu-item:hover .header__drawer-menu-item-text {
    transform: none;
  }

  /* Submenu Drawer Container - Start below header with 1px gap, behind header */
  .submenu-drawer-container {
    position: fixed;
    /* Start below header with 1px gap - header stays visible */
    top: calc(var(--header-group-height, var(--header-height, 0px)) + 1px);
    left: 0;
    width: 100%;
    /* Height from below header to bottom of viewport */
    height: calc(100vh - var(--header-group-height, var(--header-height, 0px)) - 1px);
    /* z-index MUST be below header (8) - override base menu-drawer z-index: 1000 */
    z-index: 7; /* Below header's 8 */
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
  }
  
  /* Hidden state - using class instead of inline style */
  .submenu-drawer-container--hidden {
    display: none;
  }
  
  /* Visible state - using class instead of inline style */
  .submenu-drawer-container--visible {
    display: block;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
  }
  
  /* Backward compatibility - support inline styles if they exist */
  .submenu-drawer-container[style*="display: block"] {
    pointer-events: auto;
    visibility: visible;
  }
  
  .submenu-drawer-container[style*="opacity: 1"] {
    opacity: 1;
  }
  
  /* Ensure drawer is below header-component and announcement bar with 1px gap */
  header-component ~ .submenu-drawer-container,
  #header-component ~ .submenu-drawer-container {
    top: calc(var(--header-group-height, var(--header-height, 0px)) + 1px);
    height: calc(100vh - var(--header-group-height, var(--header-height, 0px)) - 1px);
  }

  /* Submenu Drawer Styles - Ultra Luxury Design - Behind header, content starts below */
  /* Override base menu-drawer z-index: 1000 to be below header */
  .submenu-drawer-container .header__drawer--submenu .menu-drawer {
    /* Override base z-index: 1000 - must be below header */
    z-index: 7; /* Below header's 8 */
    position: absolute; /* Not fixed - relative to container */
    top: 0; /* Top of container (which is below header) */
    left: 0;
    width: 36vw;
    max-width: 450px;
    
    /* Small Desktop (750px - 1024px) */
    @media screen and (width >= 750px) and (width < 1024px) {
      width: 40vw;
      max-width: 380px;
    }
    
    /* Medium Desktop (1024px - 1440px) */
    @media screen and (width >= 1024px) and (width < 1440px) {
      width: 36vw;
      max-width: 420px;
    }
    
    /* Large Desktop (1440px - 1920px) */
    @media screen and (width >= 1440px) and (width < 1920px) {
      width: 32vw;
      max-width: 480px;
    }
    
    /* Extra Large Desktop (1920px+) */
    @media screen and (width >= 1920px) {
      width: 28vw;
      max-width: 520px;
    }
  }

    box-shadow: 
      0 40px 100px rgba(0, 0, 0, 0.18),
      0 20px 50px rgba(0, 0, 0, 0.14),
      0 10px 20px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.15),
      inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border-radius: 0;
    border-left: 1.5px solid rgba(from var(--color-foreground) r g b / 0.1);
    overflow: hidden;
    animation: drawerSlideInLuxury 0.65s cubic-bezier(0.23, 1, 0.32, 1);
    top: 0;
    height: 100%;
    position: absolute;
    will-change: transform;
    padding: 0;
    margin: 0;
    /* Remove any top spacing - flush with top (green mark area) */
    padding-top: 0;
    margin-top: 0;
    /* Match header background color exactly */
    background-color: var(--header-bg-color, var(--color-background));
    background: var(--header-bg-color, var(--color-background));
  }

  @keyframes drawerSlideInLuxury {
    0% {
      transform: translateX(-100%) scale(0.98);
      opacity: 0;
      filter: blur(4px);
    }
    60% {
      transform: translateX(0) scale(1);
      opacity: 1;
      filter: blur(0);
    }
    100% {
      transform: translateX(0) scale(1);
      opacity: 1;
      filter: blur(0);
    }
  }
  
  /* Ensure header stays on top and doesn't change appearance - Above drawer */
  /* Header must be above drawer and backdrop - no graying effect */
  .header-section {
    position: relative;
    z-index: 8; /* Above drawer (7) and backdrop (6) */
    opacity: 1; /* Always fully visible - no graying */
    visibility: visible;
    pointer-events: auto; /* Always interactive */
  }
  
  /* Non-transparent headers get background color */
  .header:not([transparent]),
  header-component:not([transparent]),
  #header-component:not([transparent]) {
    position: relative;
    z-index: 8; /* Above drawer (7) and backdrop (6) */
    background-color: var(--header-bg-color, var(--color-background));
    opacity: 1; /* Always fully visible - no graying */
    visibility: visible;
    pointer-events: auto; /* Always interactive */
  }
  
  /* Transparent headers - respect transparency, don't override background */
  .header[transparent],
  header-component[transparent],
  #header-component[transparent] {
    position: relative;
    z-index: 8; /* Above drawer (7) and backdrop (6) */
    opacity: 1; /* Always fully visible - no graying */
    visibility: visible;
    pointer-events: auto; /* Always interactive */
    /* background-color is handled by header.liquid transparent styles */
  }
  
  /* Header rows - respect transparency when inside transparent header */
  .header:not([transparent]) .header__row {
    background-color: var(--header-bg-color, var(--color-background));
  }
  
  .header[transparent] .header__row {
    /* background-color is handled by header.liquid transparent styles via --header-bg-color */
  }
  
  /* Ensure header-group is also above drawer */
  #header-group {
    position: relative;
    z-index: 8; /* Above drawer (7) and backdrop (6) */
    opacity: 1;
    visibility: visible;
  }
  
  /* CRITICAL: Prevent backdrop from affecting header area */
  .submenu-drawer-container .menu-drawer__backdrop {
    /* Backdrop should NOT cover header area - already set top below header */
    clip-path: inset(0 0 0 0); /* No clipping needed, but ensures it respects top position */
  }

  .menu-drawer__submenu-header {
    padding: var(--padding-2xl) var(--padding-2xl) var(--padding-xl);
    border-bottom: 1px solid rgba(from var(--color-border) r g b / 0.5);
    background: linear-gradient(
      to bottom,
      var(--color-background) 0%,
      rgba(from var(--color-background) r g b / 0.98) 100%
    );
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  }

  .menu-drawer__submenu-title {
    margin: 0;
    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-desktop, var(--font-size--md));
    line-height: var(--menu-top-level-font-line-height);
    text-transform: var(--menu-top-level-font-case);
    color: var(--menu-top-level-font-color);
    letter-spacing: normal;
  }

  /* Ultra Luxury menu items - No box/button effects */
  .header__drawer--submenu .menu-drawer__menu-item {
    transition: color 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 0;
    margin: 0;
    padding: var(--padding-md) var(--padding-lg);
    position: relative;
    letter-spacing: 0.012em;
    min-height: 44px;
    display: flex;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .header__drawer--submenu .menu-drawer__menu-item::before {
    display: none;
  }

  .header__drawer--submenu .menu-drawer__menu-item:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
  }

  .header__drawer--submenu .menu-drawer__menu-item--active {
    font-weight: 600;
    color: var(--color-foreground);
    background: transparent;
  }

  .header__drawer--submenu .menu-drawer__menu-item--active::before {
    display: none;
  }

  .header__drawer--submenu .menu-drawer__menu-item--parent {
    font-weight: 500;
    letter-spacing: 0.018em;
    font-size: 1.05em;
  }

  .header__drawer--submenu .menu-drawer__menu-item--child {
    padding-left: var(--padding-3xl);
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.008em;
    font-size: 0.95em;
    margin-left: var(--padding-xl);
  }

  .header__drawer--submenu .menu-drawer__menu-item--child:hover {
    opacity: 1;
    background: transparent;
  }

  .header__drawer--submenu .menu-drawer__menu-item--active::after {
    display: none;
  }

  /* Ultra Luxury accordion animations - No box/button effects */
  .header__drawer--submenu accordion-custom details {
    transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
    margin: 0;
    border-radius: 0;
    overflow: visible;
    border: none;
    background: transparent;
  }

  .header__drawer--submenu accordion-custom details summary {
    padding: var(--padding-md) var(--padding-lg);
    transition: color 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .header__drawer--submenu accordion-custom details summary:hover {
    background: transparent;
  }

  .header__drawer--submenu accordion-custom details[open] {
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .header__drawer--submenu accordion-custom details[open] summary {
    color: var(--menu-top-level-font-color);
    font-weight: 600;
    background: transparent;
  }

  .header__drawer--submenu accordion-custom details .menu-drawer__menu--childlist {
    padding: var(--padding-md) var(--padding-lg) var(--padding-xl);
    animation: accordionExpandLuxury 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  }

  @keyframes accordionExpand {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes accordionExpandLuxury {
    from {
      opacity: 0;
      transform: translateY(-12px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  /* Ultra Luxury drawer utility links styling - Fixed at bottom, not scrollable */
  .header__drawer--submenu .menu-drawer__utility-links {
    margin-top: auto;
    /* Add more space around separator line (red mark area) */
    padding-top: var(--padding-3xl);
    padding-bottom: var(--padding-3xl);
    padding-left: var(--padding-xl);
    padding-right: var(--padding-xl);
    /* Add more space above and below the border separator */
    border-top: 1px solid rgba(from var(--color-border) r g b / 0.5);
    margin-top: var(--padding-2xl);
    background: var(--color-background);
    position: sticky;
    bottom: 0;
    z-index: 10;
    flex-shrink: 0; /* Don't shrink */
    overflow: visible; /* Allow overflow for localization panel */
    display: flex;
    flex-direction: column;
    /* Don't scroll the container itself */
    overflow-y: visible;
    overflow-x: visible;
  }
  
  /* Align localization component with other utility links */
  .header__drawer--submenu .menu-drawer__localization {
    padding-left: 0;
    padding-right: 0;
  }
  
  /* Ensure drawer localization details can open */
  .header__drawer--submenu .drawer-localization details {
    position: relative;
  }
  
  .header__drawer--submenu .drawer-localization details[open] {
    display: block;
  }
  
  /* Localization panel should open full screen inside drawer, covering everything */
  .header__drawer--submenu .drawer-localization details {
    position: relative;
  }
  
  .header__drawer--submenu .drawer-localization details[open] {
    display: block;
  }
  
  /* Make drawer localization panel cover full drawer - position relative to menu-drawer container */
  .header__drawer--submenu .menu-drawer {
    position: relative;
    overflow: visible;

  }
  
  .header__drawer--submenu .drawer-localization__panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    /* Full view without scroll - show all content initially */
    overflow-y: visible;
    overflow-x: hidden;
    z-index: 20;
    background: var(--color-background);
    transform: none;
    visibility: visible;
    opacity: 1;
  }
  
  /* Only enable scroll when content exceeds 70vh (reasonable limit for most screens) */
  .header__drawer--submenu .drawer-localization__panel .menu-drawer__inner-submenu {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    /* Custom scrollbar styling - only shows when content exceeds limit */
    scrollbar-width: thin;
    scrollbar-color: rgba(from var(--color-foreground) r g b / 0.25) transparent;
  }
  
  /* Custom scrollbar for localization inner content - only visible when scrolling is needed */
  .header__drawer--submenu .drawer-localization__panel .menu-drawer__inner-submenu::-webkit-scrollbar {
    width: 5px;
  }
  
  .header__drawer--submenu .drawer-localization__panel .menu-drawer__inner-submenu::-webkit-scrollbar-track {
    background: transparent;
    margin: var(--padding-xl) 0;
  }
  
  .header__drawer--submenu .drawer-localization__panel .menu-drawer__inner-submenu::-webkit-scrollbar-thumb {
    background: linear-gradient(
      to bottom,
      rgba(from var(--color-foreground) r g b / 0.2),
      rgba(from var(--color-foreground) r g b / 0.3)
    );
    border-radius: 10px;
    border: 1px solid rgba(from var(--color-background) r g b / 0.1);
  }
  
  .header__drawer--submenu .drawer-localization__panel .menu-drawer__inner-submenu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
      to bottom,
      rgba(from var(--color-foreground) r g b / 0.3),
      rgba(from var(--color-foreground) r g b / 0.4)
    );
  }
  
  /* Override base menu-drawer__submenu full-screen styles */
  .header__drawer--submenu .drawer-localization .menu-drawer__submenu,
  .header__drawer--submenu .drawer-localization__panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    transform: none;
  }
  
  /* Ensure it covers full drawer when open */
  .header__drawer--submenu .drawer-localization details[open] .drawer-localization__panel {
    display: block;
    visibility: visible;
    opacity: 1;
  }
  
  .header__drawer--submenu .drawer-localization__button {
    padding: var(--padding-md) var(--padding-lg);
    padding-left: 0;
    margin: 0;
    cursor: pointer;
  }
  
  /* Hide close button in localization submenu */
  .header__drawer--submenu .menu-drawer__localization .menu-drawer__close-button {
    display: none;
  }
  
  /* Adjust nav buttons layout when close button is hidden */
  .header__drawer--submenu .menu-drawer__localization .menu-drawer__nav-buttons {
    justify-content: flex-start;
  }
  
  /* Ensure language names fit properly in drawer */
  .header__drawer--submenu .drawer-localization .language-selector {
    width: 100%;
    min-width: 0; /* Allow flex shrinking */
    flex: 1;
    padding-right: var(--padding-2xl);
    box-sizing: border-box;
  }
  
  .header__drawer--submenu .drawer-localization .localization-form__select {
    width: auto; /* Override inline width from JavaScript - make box smaller */
    min-width: 0;
    max-width: fit-content;
    overflow: visible;
    /* Allow text to wrap if needed for very long language names */
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    /* Ensure proper padding for caret icon */
    padding-right: calc(var(--icon-size-xs) + var(--padding-md));
    padding-left: var(--padding-md);
    padding-top: var(--padding-sm);
    padding-bottom: var(--padding-sm);
    box-sizing: border-box;
    /* Center align text */
    text-align: center;
    text-align-last: center;
  }
  
  /* Ensure language selector container has enough space and positions select to the right */
  .header__drawer--submenu .drawer-localization .language-selector {
    gap: var(--padding-md);
    display: flex;
    align-items: center;
    justify-content: space-between; /* Push select to the right */
    width: 100%;
  }
  
  /* Position language label on the left */
  .header__drawer--submenu .drawer-localization .language-selector__label {
    flex-shrink: 0;
    margin-right: auto;
  }
  
  /* Position select box on the right (in the empty box area) */
  .header__drawer--submenu .drawer-localization .localization-form__select {
    margin-left: auto; /* Push to the right */
    order: 2; /* Ensure it comes after the label */
  }
  
  /* Position caret icon to the right of select */
  .header__drawer--submenu .drawer-localization .language-selector .svg-wrapper.icon-caret {
    order: 3; /* After the select */
    margin-left: var(--padding-sm);
  }
  
  /* Ensure language options display full text without truncation */
  .header__drawer--submenu .drawer-localization .localization-form__select option {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: var(--padding-sm) var(--padding-md);
    /* Ensure options are wide enough */
    min-width: 100%;
  }
  
  /* Ensure caret icon doesn't overlap text - positioned with more space */
  .header__drawer--submenu .drawer-localization .language-selector .svg-wrapper.icon-caret {
    right: var(--padding-lg);
    pointer-events: none;
    flex-shrink: 0;
    margin-left: var(--padding-sm);
  }

  .header__drawer--submenu .menu-drawer__account-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--padding-md) var(--padding-lg);
    gap: var(--padding-md);
    border-radius: 0;
    transition: color 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    margin: 0;
    border: none;
    background: transparent;
    min-height: 44px;
    box-shadow: none;
    /* Apply same typography as drawer menu items */
    font-family: var(--menu-top-level-font-family);
    font-style: var(--menu-top-level-font-style);
    font-weight: 500;
    font-size: 1.05em;
    line-height: var(--menu-top-level-font-line-height);
    text-transform: var(--menu-top-level-font-case);
    color: var(--menu-top-level-font-color);
    letter-spacing: 0.018em;
    /* Align with navigation items - no left padding, matches menu items */
    padding-left: 0;
  }
  
  /* Account icon should match wishlist icon size */
  .header__drawer--submenu .menu-drawer__account-link .svg-wrapper {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .header__drawer--submenu .menu-drawer__account-link .svg-wrapper svg {
    width: 100%;
    height: 100%;
      display: block;
    }

  .header__drawer--submenu .menu-drawer__account-link:hover {
    background: transparent;
    transform: none;
    border: none;
    box-shadow: none;
  }

  .header__drawer--submenu .menu-drawer__account-content {
    padding: var(--padding-lg) 0 0;
    animation: fadeInUpLuxury 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Full view, no scroll */
    overflow: visible;
    overflow-y: visible;
    overflow-x: visible;
    flex: 1;
    min-height: 0; /* Allow flex shrinking */
    height: auto;
    max-height: none;
  }
  
  /* Ensure account details takes full available height when open, no scroll */
  .header__drawer--submenu .menu-drawer__account-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: visible;
  }
  
  .header__drawer--submenu .menu-drawer__account-details[open] {
    flex: 1;
    min-height: 0;
    overflow: visible;
  }

  /* Wishlist link in drawer - Same style and typography as account link */
  .header__drawer--submenu .menu-drawer__wishlist-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--padding-md) var(--padding-lg);
    gap: var(--padding-md);
    border-radius: 0;
    transition: color 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    margin: 0;
    border: none;
    background: transparent;
    min-height: 44px;
    box-shadow: none;
    text-decoration: none;
    /* Apply same typography as drawer menu items */
    font-family: var(--menu-top-level-font-family);
    font-style: var(--menu-top-level-font-style);
    font-weight: 500;
    font-size: 1.05em;
    line-height: var(--menu-top-level-font-line-height);
    text-transform: var(--menu-top-level-font-case);
    color: var(--menu-top-level-font-color);
    letter-spacing: 0.018em;
    /* Align with navigation items - no left padding, matches menu items */
    padding-left: 0;
  }
  
  /* Wishlist icon should match account icon size */
  .header__drawer--submenu .menu-drawer__wishlist-link .svg-wrapper {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .header__drawer--submenu .menu-drawer__wishlist-link .svg-wrapper svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .header__drawer--submenu .menu-drawer__wishlist-link:hover {
    background: transparent;
    transform: none;
    border: none;
    box-shadow: none;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeInUpLuxury {
    from {
      opacity: 0;
      transform: translateY(12px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  /* Luxury scrollbar */
  .header__drawer--submenu .menu-drawer {
    scrollbar-width: thin;
    scrollbar-color: rgba(from var(--color-foreground) r g b / 0.25) transparent;
  }

  .header__drawer--submenu .menu-drawer::-webkit-scrollbar {
    width: 5px;
  }

  .header__drawer--submenu .menu-drawer::-webkit-scrollbar-track {
    background: transparent;
    margin: var(--padding-xl) 0;
  }

  .header__drawer--submenu .menu-drawer::-webkit-scrollbar-thumb {
    background: linear-gradient(
      to bottom,
      rgba(from var(--color-foreground) r g b / 0.2),
      rgba(from var(--color-foreground) r g b / 0.3)
    );
    border-radius: 10px;
    border: 1px solid rgba(from var(--color-background) r g b / 0.1);
  }

  .header__drawer--submenu .menu-drawer::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
      to bottom,
      rgba(from var(--color-foreground) r g b / 0.3),
      rgba(from var(--color-foreground) r g b / 0.4)
    );
  }

  /* Luxury backdrop - Start below header with 1px gap, same as drawer */
  /* Override base backdrop that covers full viewport and grays header */
  .submenu-drawer-container .header__drawer--submenu ~ .menu-drawer__backdrop,
  .submenu-drawer-container .menu-drawer__backdrop {
    /* Start below header, NOT from top: 0 - prevents covering header */
    position: fixed;
    top: calc(var(--header-group-height, var(--header-height, 0px)) + 1px);
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--header-group-height, var(--header-height, 0px)) - 1px);
    /* z-index below header - prevents graying out header */
    z-index: 6; /* Below drawer (7) and header (8) */
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.45)
    );
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* CRITICAL: Remove base backdrop-filter brightness that grays header */
    /* Base has: backdrop-filter: brightness(0.75) - we override it above */
  }

  /* Ultra Luxury close button - No circle, just X icon */
  .header__drawer--submenu .menu-drawer__close-button {
    position: absolute;
    top: var(--padding-xl);
    right: var(--padding-xl);
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    padding: var(--padding-sm);
  }

  .header__drawer--submenu .menu-drawer__close-button .svg-wrapper {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-foreground);
  }

  .header__drawer--submenu .menu-drawer__close-button svg {
    width: 100%;
    height: 100%;
    display: block;
    color: inherit;
    fill: currentColor;
  }

  .header__drawer--submenu .menu-drawer__close-button:hover {
    background: transparent;
    transform: scale(1.12) rotate(90deg);
    box-shadow: none;
    border: none;
  }

  .header__drawer--submenu .menu-drawer__close-button:hover .svg-wrapper {
    color: var(--color-foreground);
  }

  /* Enhanced navigation padding - Start below close button, scrollable menu section */
  .header__drawer--submenu .menu-drawer__navigation {
    padding: calc(44px + var(--padding-xl) + var(--padding-lg)) var(--padding-xl) var(--padding-2xl) var(--padding-xl);
    margin-top: 0;
    padding-top: calc(44px + var(--padding-xl) + var(--padding-lg));
    /* Ensure drawer covers full height and uses flexbox */
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0; /* Allow flex shrinking */
    overflow-y: auto;
    overflow-x: hidden;
    /* Custom scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: rgba(from var(--color-foreground) r g b / 0.25) transparent;
  }
  
  /* Custom scrollbar for navigation menu */
  .header__drawer--submenu .menu-drawer__navigation::-webkit-scrollbar {
    width: 5px;
  }
  
  .header__drawer--submenu .menu-drawer__navigation::-webkit-scrollbar-track {
    background: transparent;
    margin: var(--padding-xl) 0;
  }
  
  .header__drawer--submenu .menu-drawer__navigation::-webkit-scrollbar-thumb {
    background: linear-gradient(
      to bottom,
      rgba(from var(--color-foreground) r g b / 0.2),
      rgba(from var(--color-foreground) r g b / 0.3)
    );
    border-radius: 10px;
    border: 1px solid rgba(from var(--color-background) r g b / 0.1);
  }
  
  .header__drawer--submenu .menu-drawer__navigation::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
      to bottom,
      rgba(from var(--color-foreground) r g b / 0.3),
      rgba(from var(--color-foreground) r g b / 0.4)
    );
  }
  
  /* Ensure menu drawer container uses flexbox for full height */
  .header__drawer--submenu .menu-drawer {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden; /* Prevent outer scrolling */
  }

  /* Better spacing for menu lists */
  .header__drawer--submenu .menu-drawer__menu {
    padding-top: var(--padding-md);
  }

  /* Improved touch targets */
  .header__drawer--submenu .menu-drawer__menu-item,
  .header__drawer--submenu accordion-custom details summary {
    min-height: 48px;
    cursor: pointer;
  }

  /* Smooth focus states */
  .header__drawer--submenu .menu-drawer__menu-item:focus-visible,
  .header__drawer--submenu accordion-custom details summary:focus-visible {
    outline: 2px solid var(--color-foreground);
    outline-offset: 2px;
    border-radius: 12px;
  }



  .menu-list__scroll-container {
    position: relative;
    overflow-x: auto;
    mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 20px), transparent);
    padding-block: var(--padding-2xs);
  }

  header-menu {
    width: 100%;
  }

  /* Drawer menu featured content */
  .menu-drawer__featured-content {
    z-index: var(--layer-lowest);
    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: 48cqi;
  }

  .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);
  }

  /* Mobile: make images larger and push featured block to bottom */
  @media screen and (max-width: 749px) {
    .menu-drawer__navigation-container {
      display: grid;
      grid-template-rows: auto 1fr auto;
      height: 100%;
    }

    .menu-drawer__featured-content {
      margin-top: auto;
      padding-block-end: var(--padding-xl);
    }

    .menu-drawer__featured-content-list-item--collection img.resource-card__image {
      width: 92cqi;
    }
  }

  /* Desktop: keep featured content anchored to the drawer bottom */
  @media screen and (min-width: 750px) {
    .header__drawer--desktop .menu-drawer {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .header__drawer--desktop .menu-drawer__featured-content {
      margin-top: auto;
      padding-block-end: var(--padding-xl);
    }
  }

  .menu-list {
    --menu-horizontal-gap: var(--gap-xl);
    --menu-vertical-gap: var(--gap-xl);

    display: flex;
  }

  .menu-list__list {
    display: flex;
    justify-content: var(--grid-area-alignment);
  }

  .menu-list__list-item {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .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);
    transition: color var(--animation-speed) var(--animation-easing);
    text-decoration: none;
    display: flex;
    min-height: var(--minimum-touch-target);
    align-items: center;

    &:hover,
    &:focus {
      color: var(--menu-top-level-font-color);
    }

    /* Tablet/iPad (750px - 1024px): Slightly smaller font size */
    @media screen and (width >= 750px) and (width < 1025px) {
      font-size: calc(var(--menu-top-level-font-size-desktop) * 0.9);
    }

    /* Desktop (1025px and above): Responsive font sizing */
    /* Small Desktop (1025px - 1280px) */
    @media screen and (width >= 1025px) and (width < 1281px) {
      font-size: calc(var(--menu-top-level-font-size-desktop, 1rem) * 0.85);
    }
    
    /* Medium Desktop (1280px - 1440px) */
    @media screen and (width >= 1280px) and (width < 1441px) {
      font-size: calc(var(--menu-top-level-font-size-desktop, 1rem) * 0.92);
    }
    
    /* Large Desktop (1440px - 1920px) - Full size */
    @media screen and (width >= 1440px) and (width < 1921px) {
      font-size: var(--menu-top-level-font-size-desktop, 1rem);
    }
    
    /* Extra Large Desktop (1920px+) - Slightly larger */
    @media screen and (width >= 1920px) {
      font-size: calc(var(--menu-top-level-font-size-desktop, 1rem) * 1.05);
    }
  }

  /*
      High specificity selectors to subdue non-hovered links without javascript.
      When hovering on a menu item, make other items gray (not selected look).
    */
  .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(from var(--menu-top-level-font-color) r g b / 0.4); /* More gray for non-hovered items */
      transition: color 0.3s ease;
    }
  }

  /* 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[slot='overflow'] .menu-list__link[aria-expanded='true'] {
    color: var(--menu-top-level-font-color);
  }
  
  /* Add underline animation for desktop menu links that matches text width */
  .menu-list__link {
    position: relative;
    display: inline-block;
  }
  
  .menu-list__link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--menu-top-level-font-color);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: left center;
    box-shadow: none;
  }
  
  .menu-list__list-item:where(:hover, :focus-within) .menu-list__link::after,
  .menu-list__list-item[slot='overflow'] .menu-list__link[aria-expanded='true']::after {
    width: 100%;
  }

  .overflow-menu::part(list) {
    gap: 0 var(--menu-horizontal-gap);

    /* Make sure focus outline is not cut off by overflow hidden */
    --focus-outline-size: calc(var(--focus-outline-offset) + var(--focus-outline-width));
  }

  .overflow-menu {
    background-color: transparent;
    padding: var(--focus-outline-size);
    margin: calc(-1 * var(--focus-outline-size));
  }

  /* the submenu background element to animate */
  .overflow-menu::after {
    content: '';
    position: absolute;
    top: calc(100% - 1px + var(--border-bottom-width));
    left: 0;
    width: 100%;
    height: var(--submenu-height);
    background-color: var(--color-background);
    box-shadow: var(--shadow-popover);
    clip-path: inset(0.5px 0 -100px 0);
    transition: height var(--submenu-animation-speed) var(--ease-out-cubic);
    z-index: calc(var(--layer-header-menu) - 1);
  }

  /** 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.color-scheme-matches-parent,
    .overflow-menu.color-scheme-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);

    box-shadow: var(--shadow-drawer);
    visibility: hidden;
    background-color: transparent;
    position: absolute;
    width: 100%;
    left: 0;
    top: calc(100% - 1px + var(--border-bottom-width));
    z-index: var(--layer-header-menu);
    padding-inline: var(--padding-inline);
    clip-path: rect(0 100% var(--submenu-height) 0);
    transition: clip-path var(--submenu-animation-speed) var(--ease-out-cubic);
  }

  /* 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),
  /* Keep the submenus open when they are hovered */
  .menu-list__submenu:is(:hover),
  .overflow-menu::part(overflow):hover {
    visibility: visible;
    --submenu-content-opacity: 1;
  }

  .menu-list__list-item:has([data-animating]) > .menu-list__submenu {
    visibility: visible;
    --submenu-content-opacity: 0;

    &:before {
      height: 0;
    }
  }

  .menu-list__submenu-inner,
  .overflow-menu::part(overflow-list) {
    grid-column: 2;
    padding-block-start: var(--submenu-padding-block-start);
    padding-block-end: var(--submenu-padding-block-end);
    padding-inline: var(--section-padding-inline);
  }

  .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) {
    --submenu-content-opacity: 0;

    position: relative;
    display: grid;
    grid-template-columns: minmax(auto, 200px) 1fr;
    grid-template-areas: 'left right';
    grid-template-rows: max-content;
    grid-gap: 0;
  }

  .menu-list__list-item:is([slot='overflow']) {
    --menu-top-level-font-color: var(--color-foreground);

    display: contents;
    white-space: normal;

    .menu-list__link {
      --submenu-content-opacity: 0;

      grid-area: left;
      grid-row: auto;
      height: min-content;
      font-size: var(--font-size--xl);
      opacity: var(--submenu-content-opacity);
      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 {
        padding-block-start: 0;
        grid-column: unset;
      }
    }

    .menu-list__link[aria-expanded='true'] + .menu-list__submenu {
      visibility: visible;
    }
  }

  .header-menu[data-overflow-expanded='true'] .menu-list__list-item:where([slot='overflow']) .menu-list__link {
    --submenu-content-opacity: 1;
  }

  .menu-list__list-item:where([slot='overflow']):has([data-animating]) > .menu-list__link {
    --submenu-content-opacity: 0;
  }

  .menu-list__submenu-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    opacity: var(--submenu-content-opacity);
    transition: var(--submenu-content-animation);
  }

  .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;
    transition: color var(--animation-speed) var(--animation-easing);

    &: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 (width < 990px) {
    .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);
  }

  .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 (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--collection-image {
    grid-column: span 1;

    @media screen and (width >= 990px) {
      grid-column: span 2;
    }
  }

  .mega-menu__column--collection-image .mega-menu__link {
    text-transform: var(--title-case);
  }

  .mega-menu__submenu .mega-menu__column--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 (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 (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 (width >= 990px) {
      grid-column: span var(--menu-columns-desktop);
    }
  }

  .mega-menu__content {
    grid-column: span var(--menu-content-columns-tablet) / -1;

    @media screen and (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__more-list-item .mega-menu__link {
    color: rgb(from var(--menu-top-level-font-color) r g b / var(--opacity-subdued-text));
  }

  .mega-menu__more-list-item:where(:hover, .active) .mega-menu__link {
    color: var(--menu-top-level-font-color);
  }

  .mega-menu__more-list-item[aria-hidden='true'] {
    display: none;
  }

  .mega-menu__submenu {
    /* preserves the inherited grid layout when this submenu wrapper is used */
    display: contents;
  }
image-block {
    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;

    --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);

    @media screen and (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 (width < 750px) {
      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 (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);
    }
  }
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);
    }
  }
/* Clear padding on mobile, if not full-width */
  @media screen and (width < 750px) {
    .product-information.section--page-width .product-details > .group-block {
      padding-inline: 0;
    }
  }

  .view-product-title {
    display: none;
  }

  /* Container styles */
  .product-details {
    display: flex;
    align-self: start;
    justify-content: center;
  }

  /* Full-width 2-column layout - Desktop only */
  @media screen and (width >= 750px) {
    .product-details-wrapper--full-width .product-details > .group-block > .group-block-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2rem;
      align-items: start;
    }

    /* Row 1: Title (left), Variant Picker (right) */
    .product-details-wrapper--full-width .product-details > .group-block > .group-block-content > .text-block:has(h1) {
      grid-column: 1;
      grid-row: 1;
      align-self: start;
    }

    .product-details-wrapper--full-width .product-details > .group-block > .group-block-content > variant-picker {
      grid-column: 2;
      grid-row: 1 / 3;
      align-self: start;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
    }

    /* Row 2: Price (left), Variant Picker continues (right) */
    .product-details-wrapper--full-width .product-details > .group-block > .group-block-content > product-price {
      grid-column: 1;
      grid-row: 2;
      align-self: start;
    }

    /* Row 3: Buy button (left), Product info drawer (right) */
    .product-details-wrapper--full-width .product-details > .group-block > .group-block-content > product-form {
      grid-column: 1;
      grid-row: 3;
    }

    .product-details-wrapper--full-width .product-details > .group-block > .group-block-content > product-info-drawer {
      grid-column: 2;
      grid-row: 3;
      align-self: start;
    }

    /* Row 3: Protection rating (left), Policies & Accordion (right) */
    .product-details-wrapper--full-width .product-details > .group-block > .group-block-content > .temperature-rating-block {
      grid-column: 1;
      grid-row: 4;
      width: 100%;
      align-self: start;
    }

    .product-details-wrapper--full-width .product-details > .group-block > .group-block-content > details-accordion {
      grid-column: 2;
      grid-row: 4;
      align-self: start;
    }

    /* Row 5: Technical features (full width) */
    .product-details-wrapper--full-width .product-details > .group-block > .group-block-content > .protection-features-block {
      grid-column: 1 / -1;
      grid-row: 5;
      width: 100%;
    }
  }

  @media screen and (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');
    }
  }
/* Clear padding on mobile, if not full-width */
  @media screen and (width < 750px) {
    .product-information.section--page-width .product-details > .group-block {
      padding-inline: 0;
    }
  }

  .view-product-title {
    display: none;
  }

  /* Container styles */
  .product-details {
    display: flex;
    align-self: start;
    justify-content: center;
  }

  @media screen and (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');
    }
  }
/* Arrow positioning - always on sides (left and right) on desktop */
  @media screen and (width >= 750px) {
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-left: 1rem;
      padding-right: 1rem;
      top: 50%;
      transform: translateY(-50%);
      bottom: auto;
      width: 100%;
      height: auto;
    }
    
    /* Ensure controls are perfectly aligned on same horizontal line */
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] .slideshow-control {
      display: flex;
      align-items: center;
      justify-content: center;
      align-self: center;
      margin: 0;
      padding: 0;
      height: var(--minimum-touch-target);
      min-height: var(--minimum-touch-target);
      max-height: var(--minimum-touch-target);
      flex-shrink: 0;
      vertical-align: middle;
    }
    
    /* Position previous arrow on left */
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] .slideshow-control--previous {
      order: 1;
      margin-right: auto;
      align-self: center;
    }
    
    /* Position next arrow on right */
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] .slideshow-control--next {
      order: 2;
      margin-left: auto;
      align-self: center;
    }
    
    /* Ensure icons are perfectly centered within circle/square backgrounds */
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] .slideshow-control--shape-circle,
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] .slideshow-control--shape-square {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] .slideshow-control .svg-wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
    }
    
    .media-gallery__carousel-wrapper slideshow-arrows[position="center"] .slideshow-control svg {
      display: block;
      margin: auto;
    }
  }


  /* Full-width carousel: Show multiple slides at once */
  .product-information__media--full-width .slideshow--multiple-visible slideshow-slides {
    --slides-per-view: var(--full-width-media-columns, 3);
    --slide-gap: var(--full-width-media-gap, 0px);
    gap: var(--slide-gap, 0px);
  }

  .product-information__media--full-width .slideshow--multiple-visible slideshow-slides slideshow-slide {
    --slide-width: calc((100% - (var(--slide-gap, 0px) * (var(--slides-per-view, 3) - 1))) / var(--slides-per-view, 3));
    flex: 0 0 var(--slide-width);
    min-width: 0;
    max-width: var(--slide-width);
    width: var(--slide-width);
  }

  @media screen and (width < 750px) {
    .product-information__media--full-width .slideshow--multiple-visible slideshow-slides {
      --slides-per-view: 1;
      gap: 0;
    }
    
    .product-information__media--full-width .slideshow--multiple-visible slideshow-slides slideshow-slide {
      flex: 0 0 100%;
      max-width: 100%;
    }
  }

  .dialog-zoomed-gallery {
    cursor: zoom-out;
  }

  .dialog--preloading {
    opacity: 0;
  }

  .product-media__drag-zoom-wrapper {
    aspect-ratio: inherit;
    min-height: inherit;
    min-width: inherit;
    display: inherit;
    flex: inherit;
  }

  @media screen and (width < 750px) {
    .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;
      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 {
    border-radius: 50%;
    color: white;
    mix-blend-mode: difference;
    z-index: var(--layer-raised);
  }

  .media-gallery__mobile-controls {
    grid-area: auto;
  }

  .dialog-zoomed-gallery .product-media-container--zoomable.product-media-container--image {
    cursor: zoom-out;
  }

  .product-media-container--zoomable.product-media-container--image {
    cursor: zoom-in;
  }

  .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;
  }
.dialog-zoomed-gallery {
    cursor: zoom-out;
  }

  .dialog--preloading {
    opacity: 0;
  }

  .product-media__drag-zoom-wrapper {
    aspect-ratio: inherit;
    min-height: inherit;
    min-width: inherit;
    display: inherit;
    flex: inherit;
  }

  @media screen and (width < 750px) {
    .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;
      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 {
    border-radius: 50%;
    color: white;
    mix-blend-mode: difference;
    z-index: var(--layer-raised);
  }

  .media-gallery__mobile-controls {
    grid-area: auto;
  }

  .dialog-zoomed-gallery .product-media-container--zoomable.product-media-container--image {
    cursor: zoom-out;
  }

  .product-media-container--zoomable.product-media-container--image {
    cursor: zoom-in;
  }

  .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;
  }
.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 (width < 750px) {
      padding-inline: calc(var(--margin-xs) + var(--icon-size-lg) + var(--padding-md));
    }
  }

  .search-page-input::placeholder {
    color: rgba(from var(--color-input-text) r g b / 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 (width < 750px) {
      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 (width < 750px) {
      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 (width < 750px) {
      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;
  }
.slide__content {
    height: 100%;
    position: relative;
    z-index: var(--layer-flat);
  }

  .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 > placeholder-image,
  .slide__image-container > placeholder-image > img {
    width: 100%;
  }

  .slide__image-container > .slide__image,
  .slide__image-container > .slide__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
.social-icons__icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--icon-size-lg);
  }

  .social-icons__icon {
    display: flex;
    fill: currentColor;
    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;
    }
  }

/* CSS from snippet stylesheet tags */
.account-actions {
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: height var(--animation-values);

    &:has([data-active]) .account-actions__main-menu {
      visibility: hidden;
    }
  }

  .account-actions__header {
    padding: var(--padding-xl);
    display: flex;
    flex-direction: column;
    gap: var(--gap-2xs);
  }

  .account-actions__title {
    /* Ideally we set the font-size here, but specificity issues make this necessary */
    --font-h5--size: var(--font-size--lg);
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .account-actions__email {
    display: flex;
    align-items: center;
    gap: var(--gap-2xs);
    color: rgb(from var(--color-foreground) r g b / 60%);
    max-width: var(--account-actions-max-width);
    word-break: break-all;
  }

  .account-actions__sign-ins {
    padding: var(--padding-xl);
    padding-block-start: 0;
    padding-block-end: var(--padding-md);
    display: flex;
    flex-direction: column;
    gap: var(--gap-sm);
  }

  .account-actions__sign-in-text {
    display: inline;
  }

  .account-actions__fallback-text {
    display: none;
  }

  .account-actions__sign-ins:not(:has(shop-login-button)) {
    gap: 0;

    .account-actions__sign-in-text {
      display: none;
    }

    .account-actions__fallback-text {
      display: block;
    }
  }

  /* Makes the shop login button radius match the theme settings */
  .account-actions__shop-login {
    --buttons-radius: var(--style-border-radius-buttons-primary);
  }

  .account-actions__nav {
    padding: var(--padding-xl);
    padding-block-start: 0;
  }

  .account-actions__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-sm);
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;

    @media screen and (width <= 300px) {
      grid-template-columns: 1fr;
    }
  }

  .account-actions__link {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--gap-2xs);
  }

  .account-actions__icon {
    display: flex;
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    margin-block: -4px;
  }
.account-button {
    color: var(--color-foreground);
    appearance: none;
    border: none;
    background: none;
    height: var(--button-size);
    width: var(--button-size);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    transition: color var(--animation-speed) var(--animation-easing);
  }

  .account-button__avatar {
    --account-button-size: 1.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--account-button-size);
    height: var(--account-button-size);
    border-radius: var(--style-border-radius-50);
    background-color: var(--color-primary-button-background);
    font-size: var(--font-size--sm);
    font-weight: 500;
    color: var(--color-primary-button-text);
    text-transform: uppercase;
    line-height: 1;
  }

  .account-button__icon {
    color: currentColor;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  /* The shop avatar doesn't bubble the click event up to our button, so we need to prevent that or the button doesn't work */
  .account-button shop-user-avatar {
    pointer-events: none;
  }
.account-drawer {
    @media screen and (width >= 750px) {
      display: none;
    }
  }

  .account-drawer__dialog {
    --animation-speed: 0.24s;
    --dialog-drawer-opening-animation: account-drawer-slide-in;
    --dialog-drawer-closing-animation: account-drawer-slide-out;
    height: fit-content;
    margin: 0;
    inset-block-end: 0;
    inset-block-start: auto;
    border-radius: 0;
    padding: 0;
  }

  .account-drawer__close-button {
    position: absolute;
    z-index: 1;
    inset-block-start: var(--padding-xs);
    inset-inline-end: var(--padding-xs);
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    color: var(--color-foreground);
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .account-drawer__close-button .svg-wrapper {
    display: flex;
    width: var(--button-size);
    height: var(--button-size);
    align-items: center;
    justify-content: center;
  }

  .account-drawer__close-button svg {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }

  @keyframes account-drawer-slide-in {
    from {
      transform: translateY(100%);
    }

    to {
      transform: translateY(0);
    }
  }

  @keyframes account-drawer-slide-out {
    from {
      transform: translateY(0);
    }

    to {
      transform: translateY(100%);
    }
  }
.account-popover {
    --account-popover-layer: var(--layer-temporary);
    --account-popover-min-width: 22rem;
    --account-actions-max-width: 22rem;
    --account-popover-transition-opacity: 0;
    --account-popover-transition-transform: translateY(-20px);
    --account-popover-transition-visibility: hidden;
    position: relative;

    &[open] {
      --account-popover-transition-opacity: 1;
      --account-popover-transition-transform: translateY(0);
      --account-popover-transition-visibility: visible;
    }

    &::details-content {
      transition: content-visibility 0.3s ease-in-out;
      transition-behavior: allow-discrete;
      content-visibility: var(--account-popover-transition-visibility);
    }
  }

  .account-popover__summary {
    padding: 0;

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

  .account-popover__panel {
    border-radius: var(--style-border-radius-popover);
    position: absolute;
    /* Override the default offset. This needs to always be fixed to the parent element in this way. */
    inset-block-start: calc(100% + 10px) !important;
    inset-inline-end: 0;
    width: max-content;
    min-width: var(--account-popover-min-width);
    z-index: var(--account-popover-layer);
    box-shadow: var(--shadow-popover);
    border: var(--style-border-popover);
    background-color: var(--color-background);
    overflow-y: hidden;
    opacity: var(--account-popover-transition-opacity);
    transform: var(--account-popover-transition-transform);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
.add-to-cart-text {
    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: opacity var(--animation-speed) var(--animation-easing);
  }

  .atc-added .add-to-cart-text {
    animation-name: atc-slide-out;
  }

  .add-to-cart-text--added {
    position: absolute;
    inset: 0;
    animation-duration: var(--animation-speed);
    animation-timing-function: var(--animation-easing);
    animation-fill-mode: forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: width var(--animation-speed) var(--animation-easing),
      opacity var(--animation-speed) var(--animation-easing);
  }

  .atc-added .add-to-cart-text--added {
    animation-name: atc-slide-in;
  }

  @keyframes atc-slide-in {
    from {
      opacity: 0;
      transform: translateY(0.5em);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes atc-slide-out {
    from {
      transform: translateY(0);
      opacity: 1;
    }

    to {
      transform: translateY(-1em);
      opacity: 0;
    }
  }
@media (prefers-reduced-motion: reduce) {
    video-background-component video {
      display: none;
    }
  }
.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 (max-width: 900px) {
    .bento-box {
      grid-template-columns: repeat(2, 1fr);
    }

    .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 (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 cases === */

    /* Exactly 1 item */
    .bento-box:has(.bento-box__item:first-child:nth-last-child(1)) {
      grid-template-areas: 'A A A A A A A A A A A A';
    }

    /* Exactly 2 items */
    .bento-box:has(.bento-box__item:first-child:nth-last-child(2)) {
      grid-template-areas: 'A A A A A A B B B B B B';
    }

    /* Exactly 4 items */
    .bento-box:has(.bento-box__item:first-child:nth-last-child(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:has(.bento-box__item:first-child:nth-last-child(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:has(.bento-box__item:first-child:nth-last-child(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:has(.bento-box__item:first-child:nth-last-child(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:has(.bento-box__item:first-child:nth-last-child(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:has(.bento-box__item:first-child:nth-last-child(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';
    }
  }
.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 (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);
  }
.link {
    text-decoration: none;
    text-decoration-color: currentcolor;

    &:hover {
      color: var(--color-primary-hover);
      text-decoration-color: transparent;
    }
  }

  /* Button shape override - applies when custom radius is set */
  a.button.button-custom-radius,
  a.button-secondary.button-custom-radius,
  .button.button-custom-radius,
  .button-secondary.button-custom-radius {
    border-radius: var(--button-custom-radius) !important;
  }

  /* Button color override - applies when custom colors are set */
  a.button.button-custom-color,
  a.button-secondary.button-custom-color,
  .button.button-custom-color,
  .button-secondary.button-custom-color {
    --button-background-color: var(--button-custom-background, var(--button-background-color)) !important;
    --button-color: var(--button-custom-color, var(--button-color)) !important;
    background-color: var(--button-background-color) !important;
    color: var(--button-color) !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
  }

  /* Hover state - only apply if hover class is present */
  a.button.button-custom-color-hover:hover,
  a.button-secondary.button-custom-color-hover:hover,
  .button.button-custom-color-hover:hover,
  .button-secondary.button-custom-color-hover:hover {
    --button-background-color: var(--button-custom-hover-background, var(--button-background-color)) !important;
    --button-color: var(--button-custom-hover-color, var(--button-color)) !important;
    background-color: var(--button-background-color) !important;
    color: var(--button-color) !important;
  }
.card-gallery {
    overflow: hidden;
    container-type: inline-size; /* Make card-gallery a container */
    container-name: card-gallery-container; /* Optional: name the container */
  }

  .card-gallery__placeholder svg {
    height: 100%;
    width: 100%;
  }

  .card-gallery placeholder-image {
    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(from var(--color-foreground) r g b / 5%);
    aspect-ratio: var(--gallery-aspect-ratio);
    border-radius: var(--product-corner-radius);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  @media screen and (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:has(.product-badges--top-right .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-right: calc(var(--padding-3xl) + 50px);
    }

    .product-grid[data-product-card-size='large']
      .card-gallery:has(.product-badges--top-right .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-right: calc(var(--padding-2xl) + 50px);
    }

    .product-grid[data-product-card-size='medium']
      .card-gallery:has(.product-badges--top-right .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-right: calc(var(--padding-xl) + 50px);
    }

    .product-grid[data-product-card-size='small']
      .card-gallery:has(.product-badges--top-right .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-right: calc(var(--padding-sm) + 50px);
    }

    .product-grid[data-product-card-size='extra-large']
      .card-gallery:has(.product-badges--top-left .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-top: calc(var(--padding-3xl) + 40px);
    }

    .product-grid[data-product-card-size='large']
      .card-gallery:has(.product-badges--top-left .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-top: calc(var(--padding-2xl) + 40px);
    }

    .product-grid[data-product-card-size='medium']
      .card-gallery:has(.product-badges--top-left .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-top: calc(var(--padding-xl) + 40px);
    }

    .product-grid[data-product-card-size='small']
      .card-gallery:has(.product-badges--top-left .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-top: calc(var(--padding-sm) + 40px);
    }

    .product-grid[data-product-card-size='extra-large']
      .card-gallery:has(.product-badges--bottom-left .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-bottom: calc(var(--padding-3xl) + 40px);
    }

    .product-grid[data-product-card-size='large']
      .card-gallery:has(.product-badges--bottom-left .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-bottom: calc(var(--padding-2xl) + 40px);
    }

    .product-grid[data-product-card-size='medium']
      .card-gallery:has(.product-badges--bottom-left .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-bottom: calc(var(--padding-xl) + 40px);
    }

    .product-grid[data-product-card-size='small']
      .card-gallery:has(.product-badges--bottom-left .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-bottom: calc(var(--padding-sm) + 40px);
    }
  }

  @media screen and (width < 750px) {
    .product-card-gallery__title-placeholder {
      font-size: var(--font-size--xl);
      padding: var(--padding-md);
    }

    .product-grid[data-product-card-size]
      .card-gallery:has(.product-badges--top-right .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-right: calc(var(--padding-sm) + 50px);
    }

    .product-grid[data-product-card-size]
      .card-gallery:has(.product-badges--top-left .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-top: calc(var(--padding-sm) + 40px);
    }

    .product-grid[data-product-card-size]
      .card-gallery:has(.product-badges--bottom-left .product-badges__badge)
      .product-card-gallery__title-placeholder {
      padding-bottom: calc(var(--padding-sm) + 40px);
    }
  }

  [product-grid-view='zoom-out'] .card-gallery .product-card-gallery__title-placeholder {
    padding: var(--padding-xs) !important;
    font-size: var(--font-size--xs);
  }

  /* Make navigation arrows always visible on mobile for collection page cards */
  @media screen and (width < 750px) {
    /* Override base styles that hide arrows on non-hover - must be very specific to override :not(.media-gallery--carousel) rule */
    .card-gallery :not(.media-gallery--carousel) > slideshow-component:not(:hover):not(:focus-within) > slideshow-container > slideshow-arrows .slideshow-control,
    .card-gallery :not(.media-gallery--carousel) > slideshow-component > slideshow-container > slideshow-arrows .slideshow-control,
    .card-gallery slideshow-component:not(:hover) > slideshow-container > slideshow-arrows .slideshow-control,
    .card-gallery slideshow-component > slideshow-container > slideshow-arrows .slideshow-control,
    .card-gallery slideshow-arrows .slideshow-control {
      opacity: 1 !important;
      animation: none !important;
      pointer-events: auto !important;
      visibility: visible !important;
    }
    
    .card-gallery slideshow-component > slideshow-container > slideshow-arrows,
    .card-gallery slideshow-arrows {
      display: flex !important;
      pointer-events: none;
      visibility: visible !important;
    }
    
    /* Ensure arrows are properly positioned on mobile */
    .card-gallery slideshow-arrows[position="center"],
    .card-gallery slideshow-arrows {
      display: flex !important;
      flex-direction: row !important;
      justify-content: space-between !important;
      align-items: center !important;
      padding-left: 0.5rem;
      padding-right: 0.5rem;
      top: 50%;
      transform: translateY(-50%);
      bottom: auto;
      width: 100%;
      height: auto;
      left: 0;
      right: 0;
    }
    
    /* Gray semi-transparent background with blur for mobile circle/square shapes */
    .card-gallery slideshow-arrows .slideshow-control--shape-circle,
    .card-gallery slideshow-arrows .slideshow-control--shape-square {
      background-color: rgba(128, 128, 128, 0.3) !important;
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      color: var(--color-white) !important;
    }
  }

  /* Smooth transitions for slideshow slides when color changes */
  .card-gallery slideshow-slide {
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, visibility;
  }

  .card-gallery slideshow-slide[hidden] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .card-gallery slideshow-slide:not([hidden]) {
    opacity: 1;
    visibility: visible;
  }

  /* Smooth transition for card gallery when color changes */
  .card-gallery {
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
.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;
  }

  .cart-discount__input::placeholder {
    color: rgba(from var(--color-input-text) r g b / var(--opacity-subdued-text));
  }

  .cart-discount__label {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-2xs);
    font-size: var(--cart-font-size--sm);
  }

  .cart-discount__pill-code {
    overflow: hidden;
    max-width: 100px;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
  }

  .cart-discount {
    width: 100%;
  }

  .cart-discount__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cart-discount__summary:hover {
    color: rgb(from var(--color-foreground) r g b / var(--opacity-subdued-text));
  }

  .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) {
    color: var(--color-foreground);
    background-color: transparent;
    pointer-events: all;
    cursor: pointer;
    height: 100%;

    --close-icon-opacity: 0.4;
  }

  .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-component {
    display: flex;
  }
.cart-items-component {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .cart-drawer__heading .cart-bubble {
    width: fit-content;
    border-radius: var(--style-border-radius-buttons-primary);
    aspect-ratio: auto;
    padding: var(--cart-padding);
  }

  .cart-drawer__heading .cart-bubble[data-maintain-ratio] {
    aspect-ratio: 1;
    min-width: 26px;
  }

  .cart-drawer__header {
    background-color: var(--color-background);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--cart-drawer-padding);
    border-bottom: var(--style-border-width) solid none;
    position: sticky;
    top: 0;
    z-index: 1;

    @media screen and (width >= 750px) {
      padding: var(--cart-drawer-padding-desktop);
    }
  }

  .cart-drawer__dialog {
    overflow: hidden;
  }

  .cart-drawer__inner {
    height: 100%;
    overflow: hidden;
  }

  .cart-drawer__content {
    height: calc(100% - var(--header-height));
    display: flex;
    flex-direction: column;
  }

  .cart-drawer__summary {
    background-color: var(--color-background);
    position: sticky;
    bottom: 0;
    z-index: 1;
  }
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;
    }
  }
.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__table {
    width: 100%;
  }

  .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);
  }

  html:active-view-transition-type(page-navigation) .cart-items__table-row {
    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:last-child {
    padding-bottom: 0;
  }

  .cart-items--dividers .cart-items__table-row {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--cart-items-gap);
  }

  .cart-items--dividers .cart-items__table-row:last-child {
    border-block-end: none;
    padding-block-end: 0;
    margin-bottom: 0;
  }

  .cart-items__details {
    grid-area: details;
    color: rgb(from var(--color-foreground) r g b / 70%);
  }

  .cart-items__details > * + *,
  .cart-items__bundle li {
    margin-block-start: var(--margin-2xs);
  }

  .cart-items__details * {
    font-size: var(--cart-font-size--sm);
  }

  .cart-items__details a {
    text-decoration: none;
  }

  .cart-items__title {
    font-size: var(--cart-font-size--md);
    color: var(--color-foreground);
    text-transform: var(--product-title-case);
  }

  .cart-items__variant {
    display: inline-block;
  }

  .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 .quantity-selector {
    display: inline-flex;
    flex: 0 1 var(--quantity-selector-width);
    font-size: var(--cart-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(--cart-font-size--md);
  }

  .cart-items__price-unit {
    font-size: var(--cart-font-size--xs);
  }

  .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);
    padding-inline: var(--padding-4xl);
    padding-block: var(--padding-lg);
  }

  /* 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(--cart-font-size--sm);
    padding-block: var(--padding-2xs);
  }

  .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 (width >= 720px) {
    .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;
      justify-content: center;
    }
  }

  .cart__original-total-container,
  .cart__total-container {
    display: flex;
    flex-direction: column;
  }

  .cart__total-container {
    row-gap: var(--gap-2xs);

    &:has(.cart__installments) {
      row-gap: var(--gap-xs);
    }
  }

  .cart__original-total-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__original-total-container, .cart__total-container)) {
      padding-block-start: 0;
      border-block-start: none;
    }

    @media screen and (width >= 750px) {
      padding-block-start: 0;
    }
  }

  .cart__original-total-container,
  .cart__original-total-container * {
    font-size: var(--cart-font-size--sm);
  }

  .cart__total {
    font-weight: var(--font-weight-bold);
  }

  .cart__total-label {
    font-size: var(--cart-font-size--sm);
  }

  .cart__total-value {
    font-size: var(--cart-font-size--2xl);
  }

  .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);
  }

  .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%;
  }

  .cart__ctas .cart__checkout-button {
    width: 100%;
    height: clamp(25px, var(--height-buy-buttons), 55px);
    padding-inline: var(--padding-4xl);
  }

  shopify-accelerated-checkout-cart {
    --shopify-accelerated-checkout-inline-alignment: center;
    --shopify-accelerated-checkout-button-border-radius: var(--style-border-radius-buttons-primary);
  }

  .cart-note {
    width: 100%;
  }

  .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(from var(--color-foreground) r g b / var(--opacity-subdued-text));
  }

  .cart-note__label {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-2xs);
    font-size: var(--cart-font-size--sm);
  }

  .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(--cart-font-size--sm);
    padding: max(4px, calc(var(--style-border-radius-inputs) * (1 - cos(45deg))));
  }

  .cart-note .svg-wrapper {
    height: var(--icon-size-sm);
    width: var(--icon-size-sm);
    margin: 0;
  }

  .cart-note .icon-plus {
    height: var(--icon-size-xs);
    width: var(--icon-size-xs);
  }

  /* 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__properties dt,
  .cart-items__properties dd {
    display: inline;
  }
.cart-actions {
    display: flex;
    flex-direction: column;
    gap: var(--gap-2xs);
    border-block: 1px solid var(--color-border);
    padding-block: var(--padding-sm);
    margin-block-start: var(--margin-3xs);
  }

  .cart__summary-totals:not(:has(.cart-actions)) {
    margin-block-start: var(--margin-3xs);
    border-block-start: 1px solid var(--color-border);
    padding-block-start: var(--margin-xl);
  }

  .cart__installments {
    color: var(--color-foreground);
  }
.collection-card {
    width: 100%;
    position: relative;
    --fixed-card-height: var(--height-small);
  }

  .collection-card > placeholder-image,
  .collection-card > placeholder-image > img {
    height: 100%;
    width: 100%;
    aspect-ratio: var(--ratio);
  }

  .collection-card__inner {
    width: 100%;
    overflow: hidden;
    position: relative;
    gap: var(--collection-card-gap);
    display: flex;
    flex-direction: column;
  }

  .collection-card--image-bg .collection-card__inner {
    height: 100%;
  }

  .collection-card__inner {
    z-index: var(--layer-flat);
    pointer-events: none;

    a,
    button {
      /* only allow interactive elements to be clickable separate from .collection-card__link */
      pointer-events: auto;
    }
  }
  /* allow all blocks to be selectable in editor preview */
  .shopify-design-mode .collection-card__content * {
    pointer-events: auto;
  }

  .collection-card__content {
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
    max-width: 100%;
    gap: var(--collection-card-gap);
    flex-direction: column;
    align-items: var(--horizontal-alignment);
    justify-content: var(--vertical-alignment);
  }

  .collection-card__link {
    position: absolute;
    inset: 0;
    /* allows focus outline to have radius in supported browsers */
    border-radius: var(--border-radius);
  }

  /* 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);
  }

  /* 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 .image-block__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 placeholder-image {
    width: 100%;
  }

  .resource-list:not(.hidden--desktop) .collection-card--flexible-aspect-ratio {
    &.collection-card.collection-card--image-bg,
    &.collection-card .placeholder-svg {
      aspect-ratio: 99;
    }

    .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;
    }
  }
.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 (width >= 750px) {
      flex-direction: row;
      align-items: center;
    }
  }

  .contact-form__input {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--color-foreground);
    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);
  }
.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);
  }
.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 (max-width: 768px) {
    .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;
    }
  }
.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 {
      --gallery-aspect-ratio: 99 !important;
    }

    .card-gallery,
    slideshow-component,
    slideshow-container,
    slideshow-slides {
      height: 100%;
    }
  }

  .editorial-product__spacer {
    aspect-ratio: 1;
  }

  @media (max-width: 768px) {
    .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;
    }
  }
/* Facets - Actions */
  .facets__actions {
    --to-top-gradient-background: linear-gradient(
      to top,
      rgb(from var(--color-background) r g b / 90%),
      rgb(from var(--color-background) r g b / 80%),
      rgb(from var(--color-background) r g b / 40%),
      transparent
    );

    order: 1;
    position: sticky;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: var(--gap-sm);
    background-image: var(--to-top-gradient-background);
    z-index: var(--facets-sticky-z-index);
    padding-block-start: var(--padding-xs);
    padding-block-end: var(--padding-md);
    padding-inline: var(--padding-lg);
    margin-top: auto;
  }

  .facets:not(.facets--drawer) .facets__actions {
    @media screen and (width >= 750px) {
      position: static;
    }
  }

  .facets--vertical .facets__actions {
    padding-inline: 0;
    justify-content: center;
  }

  .facets--horizontal .facets__actions {
    @media screen and (width >= 750px) {
      order: 0;
      bottom: auto;
      position: static;
      padding: 0;
      z-index: var(--layer-flat);
      flex-shrink: 0;
      align-items: center;
      margin-top: initial;
      background-image: none;
    }
  }

  .facets--horizontal .facets__actions--active::before {
    @media screen and (width >= 750px) {
      content: '';
      border-inline-start: var(--style-border-width) solid var(--color-border);
      height: var(--font-paragraph--size);
      position: absolute;
    }
  }

  /* Clear button */
  .facets__clear {
    display: none;
  }

  .facets--horizontal .facets__clear {
    @media screen and (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 (width >= 750px) {
      display: flex;
    }
  }

  .clear-filter:hover {
    text-decoration: underline;
    background-color: transparent;
  }

  /* Clear all button */
  .facets__clear-all {
    display: none;
    cursor: pointer;
    min-width: var(--facets-clear-all-min-width);
    transition: transform var(--animation-values), opacity var(--animation-values);
    opacity: 0;
    transform: translateY(100%);
    flex-grow: 1;
    padding-block: var(--padding-lg);
  }

  .facets:not(.facets--drawer) .facets__clear-all {
    box-shadow: none;
  }

  .facets--horizontal .facets__clear-all {
    @media screen and (width >= 750px) {
      --facets-clear-all-min-width: var(--minimum-touch-target);
      --button-color: var(--color-primary);
      text-decoration: underline transparent 0.075em;
      text-underline-offset: 0.125em;
      width: auto;
      transform: none;
      transition: none;
      opacity: 1;
      height: var(--minimum-touch-target);
      align-items: center;
      flex-grow: 0;
      transition: text-decoration-color var(--animation-speed) var(--animation-easing);
    }
  }
  .facets--horizontal .facets__clear-all:hover {
    @media screen and (width >= 750px) {
      --button-color: var(--color-primary-hover);
    }
  }

  @starting-style {
    .facets__clear-all {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .facets__clear-all.active {
    transform: translateY(0);
    opacity: 1;
    display: grid;
  }

  .facets--horizontal .facets__clear-all.active {
    @media screen and (width >= 750px) {
      padding-block: 0;
      padding-inline: var(--facets-form-horizontal-gap);
      background-color: transparent;
      position: static;
      transform: none;
    }
  }

  @starting-style {
    .facets__clear-all.active {
      opacity: 0;
      transform: translateY(100%);
    }

    .facets--horizontal .facets__clear-all.active {
      @media screen and (width >= 750px) {
        opacity: 1;
        transform: none;
      }
    }
  }

  .facets__see-results {
    min-width: var(--facets-see-results-min-width);
    flex-grow: 1;
    padding-block: var(--padding-lg);
  }

  .facets:not(.facets--drawer) .facets__see-results {
    @media screen and (width >= 750px) {
      display: none;
    }
  }
/* Facets - Remove buttons */
  .facets-remove {
    --variant-picker-swatch-width: 20px;
    --variant-picker-swatch-height: 20px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--gap-xs);
    padding: 0 var(--drawer-padding);
    margin-block-start: var(--margin-2xs);
    margin-block-end: var(--margin-md);

    @media screen and (width >= 750px) {
      --variant-picker-swatch-width: 16px;
      --variant-picker-swatch-height: 16px;

      gap: var(--gap-2xs);
    }
  }

  .facets__clear-all-link {
    --button-color: var(--color-primary);

    border: none;
    background-color: transparent;
    padding: var(--padding-xs);
    min-width: fit-content;
    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: var(--color-primary-hover);

    color: var(--button-color);
    text-decoration-color: var(--button-color);
  }

  .facets:not(.facets--drawer) .facets-remove--mobile-and-vertical {
    @media screen and (width >= 750px) {
      padding: 0;
    }
  }

  .facets--horizontal .facets-remove--mobile-and-vertical {
    @media screen and (width >= 750px) {
      display: none;
    }
  }

  .facets-remove:not(:has(facet-remove-component)) {
    display: none;
    margin: 0;
  }

  .facets-remove__pill {
    .svg-wrapper,
    .swatch {
      flex-shrink: 0;
    }
  }

  .facets--horizontal .facets-remove {
    @media screen and (width >= 750px) {
      display: none;
    }
  }
/* Facets - Toggle */
  .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 (width >= 750px) {
      display: none;
    }
  }

  .facets-toggle__wrapper {
    margin-left: var(--icon-offset);
  }

  .facets-toggle__button {
    box-shadow: none;

    @media screen and (width >= 750px) {
      display: none;
    }
  }

  /* Filter count*/
  .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(from var(--color-foreground) r g b / 10%);
    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 (width < 750px) {
      justify-content: unset !important;

      & > .facets-mobile-wrapper {
        width: 100%;
      }
    }
  }
.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);
  }
  
  /* Ensure wrapper is always visible on mobile when it contains mobile controls */
  .facets-mobile-wrapper .column-options-wrapper:has(.column-picker-mobile--single),
  .facets-mobile-wrapper .column-options-wrapper:has(.column-picker-mobile--double) {
    display: flex !important;
    min-width: auto !important;
  }

  .column-options-wrapper:only-child {
    margin-left: auto;
  }

  .facets__form-wrapper > .column-options-wrapper:first-child {
    margin-left: auto;
  }

  /* Show all column-options-wrapper by default */
  .column-options-wrapper {
    display: flex;
  }
  
  /* Show mobile controls on mobile, hide on desktop */
  .column-options-wrapper:has(.column-picker-mobile--single),
  .column-options-wrapper:has(.column-picker-mobile--double) {
    @media screen and (width >= 750px) {
      display: none;
    }
    @media screen and (width < 750px) {
      display: flex;
    }
  }
  
  /* Show desktop controls on desktop, hide on mobile */
  .column-options-wrapper:has(.column-picker--default),
  .column-options-wrapper:has(.column-picker--zoom-out) {
    @media screen and (width < 750px) {
      display: none;
    }
    @media screen and (width >= 750px) {
      display: flex;
    }
  }
  
  /* Ensure mobile controls are visible in facets-mobile-wrapper */
  .facets-mobile-wrapper .column-options-wrapper,
  .facets-toggle .facets-mobile-wrapper .column-options-wrapper {
    display: flex !important;
  }
  
  .facets-mobile-wrapper .column-options-wrapper:has(.column-picker-mobile--single),
  .facets-mobile-wrapper .column-options-wrapper:has(.column-picker-mobile--double),
  .facets-toggle .facets-mobile-wrapper .column-options-wrapper:has(.column-picker-mobile--single),
  .facets-toggle .facets-mobile-wrapper .column-options-wrapper:has(.column-picker-mobile--double) {
    @media screen and (width < 750px) {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
    @media screen and (width >= 750px) {
      display: none !important;
    }
  }
  
  /* Override any rules that might hide the mobile wrapper controls */
  .facets-toggle .facets-mobile-wrapper .column-options-wrapper .column-options__option:has(.column-picker-mobile--single),
  .facets-toggle .facets-mobile-wrapper .column-options-wrapper .column-options__option:has(.column-picker-mobile--double) {
    @media screen and (width < 750px) {
      display: flex !important;
      visibility: visible !important;
    }
  }
  
  /* Override the rule that hides facets-mobile-wrapper when mobile card size is large */
  .collection-wrapper:has(.product-grid-mobile--large) .facets-mobile-wrapper.facets-controls-wrapper .column-options-wrapper {
    @media screen and (width < 750px) {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
  }
  
  /* Legacy support for .facets class */
  .facets .column-options-wrapper {
    display: flex;
  }
  
  .facets .column-options-wrapper:has(.column-picker-mobile--single),
  .facets .column-options-wrapper:has(.column-picker-mobile--double) {
    @media screen and (width >= 750px) {
      display: none;
    }
  }
  
  .facets .column-options-wrapper:has(.column-picker--default),
  .facets .column-options-wrapper:has(.column-picker--zoom-out) {
    @media screen and (width < 750px) {
      display: none;
    }
  }

  .column-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-xs);
    margin: 0;
    padding: 0;
    border: none;

    @media screen and (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 (width <= 749px) {
      display: flex !important;
      visibility: visible !important;
    }
  }
  
  /* Force mobile options to show in mobile wrapper */
  .facets-mobile-wrapper .column-options__option:has(.column-picker-mobile--single),
  .facets-mobile-wrapper .column-options__option:has(.column-picker-mobile--double),
  .facets-toggle .facets-mobile-wrapper .column-options__option:has(.column-picker-mobile--single),
  .facets-toggle .facets-mobile-wrapper .column-options__option:has(.column-picker-mobile--double) {
    @media screen and (width <= 749px) {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
  }

  .column-options__option:has(.column-picker--default),
  .column-options__option:has(.column-picker--zoom-out) {
    @media screen and (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;
    cursor: pointer;
  }

  .column-picker {
    color: rgba(from var(--color-foreground) r g b / 50%);
    padding: var(--padding-2xs);
    border-radius: var(--style-border-radius-xs);
    transition: background-color var(--animation-speed) ease, color var(--animation-speed) ease;
    display: block;
    width: auto;
    height: auto;
  }
  
  /* Ensure mobile picker icons are visible */
  .column-picker-mobile--single,
  .column-picker-mobile--double {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .column-picker-mobile--single svg,
  .column-picker-mobile--double svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  .column-options__option:hover .column-picker {
    background-color: rgba(from var(--color-foreground) r g b / 4%);
  }

  .column-options__option-input:checked ~ .column-picker {
    color: rgba(from var(--color-foreground) r g b / 100%);
    background-color: rgba(from var(--color-foreground) r g b / 6%);
  }
.group-block__link {
    position: absolute;
    inset: 0;
  }

  .group-block__link ~ :is(.group-block-content, .group-block__media-wrapper) {
    pointer-events: none;
    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;
  }
/* Cart drawer component inside header-actions - button visible, dialog positioned correctly */
  header-actions cart-drawer-component {
    display: contents;
  }
  
  header-actions cart-drawer-component > button {
    display: flex;
  }
  
  header-actions cart-drawer-component .cart-drawer__dialog {
    position: fixed;
    z-index: 1000;
  }

  .cart-drawer {
    --cart-drawer-padding: var(--padding-lg) var(--padding-xl);
    --cart-drawer-padding-desktop: var(--padding-xl) var(--padding-2xl);
    --cart-font-size--2xs: var(--font-size--2xs);
    --cart-font-size--xs: var(--font-size--xs);
    --cart-font-size--sm: var(--font-size--sm);
    --cart-font-size--md: var(--font-size--md);
    --cart-font-size--2xl: var(--font-size--2xl);
  }

  .cart-drawer__dialog {
    position: fixed;
    border-radius: 0;
    width: var(--sidebar-width);
    max-width: 95vw;
    height: 100%;
    margin: 0 0 0 auto;
    padding: 0;
    border-left: var(--style-border-drawer);
    box-shadow: var(--shadow-drawer);
    background-color: var(--color-background);
  }

  /* Needed to ensure the drawer is full height */
  .cart-drawer__dialog:modal {
    max-height: 100dvh;
    overflow-y: hidden;
  }

  .cart-drawer__inner {
    height: 100%;
  }

  .cart-drawer__content {
    padding: 0;
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow-y: auto;
  }

  .cart-drawer__heading {
    display: flex;
    align-items: center;
    gap: var(--gap-xs);
  }

  .cart-drawer__close-button {
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: calc(var(--padding-sm) * -1);
  }

  .cart-drawer__close-button svg {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }

  .cart-drawer--empty .cart-drawer__content {
    text-align: center;
    min-height: auto;
  }

  .cart-drawer--empty .cart-drawer__heading {
    margin-bottom: var(--margin-md);
  }

  .cart-drawer__items .cart-items__table-row {
    padding-bottom: var(--gap-xl);
    border-bottom: var(--style-border-width) solid var(--color-border);
    margin-bottom: var(--gap-xl);
  }

  .cart-drawer__items .cart-items__table-row:last-child {
    border-bottom: none;
  }

  .cart-drawer__summary {
    --cart-drawer-summary-padding: var(--padding-lg);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-2xl);
    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 (width >= 1025px) {
      --cart-drawer-summary-padding: var(--padding-2xl);
    }
  }

  .cart-drawer__summary .cart__summary-totals:not(:has(.cart__original-total-container:empty)) {
    border-block-start: var(--style-border-width) solid var(--color-border);
    padding-block-start: var(--padding-2xl);
  }

  .cart-drawer__summary .cart-note {
    @media screen and (width >= 1025px) {
      margin-block-start: var(--margin-3xs);
    }
  }

  .cart-drawer__heading--empty {
    display: flex;
    justify-content: center;
  }

  .cart-drawer__items {
    display: flex;
    flex-direction: column;
    padding-inline: var(--cart-drawer-padding);
    overflow-y: auto;

    @media screen and (width >= 1025px) {
      padding-inline: var(--cart-drawer-padding-desktop);
    }
  }

  .cart-drawer__items .cart-items__table-row {
    padding-bottom: var(--gap-xl);
    border-bottom: var(--style-border-width) solid var(--color-border);
    margin-bottom: var(--gap-xl);
  }

  .cart-drawer__items .cart-items__table-row:last-child {
    border-bottom: none;
    padding-block-end: 0;
    margin-block-end: 0;
  }

  .cart-drawer--empty .cart-drawer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100dvh;
    margin-top: 0;
  }

  .cart-drawer:not(:has(.cart-form)) .cart-drawer__content {
    justify-content: center;
  }

  .cart-drawer--empty .cart-drawer__header {
    justify-content: right;
    border-bottom: none;
    padding-bottom: 0;
  }

  .cart-drawer--empty .cart-drawer__heading {
    text-align: center;
  }

  .cart-drawer:not(:has(.cart-form)) .cart-items__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  header-actions {
    display: flex;
    align-items: center;
  }

  .header__column--right header-actions {
    display: flex;
    align-items: center;
  }

  .header-actions__action {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    height: 40px;
    box-sizing: border-box;
    color: var(--color-foreground);
  }

  .header-actions__action:hover {
    background-color: rgb(from var(--color-foreground) r g b / 5%);
  }

  /* Luxury Search Bar Styles */
  .search-action {
    height: auto;
    padding: 0;
  }

  .search-action:hover {
    background-color: transparent;
  }

  .search-bar-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 200px;
    height: 36px;
    background-color: rgb(from var(--color-foreground) r g b / 6%);
    border-radius: 4px; /* Reduced from 20px to make it more rectangular with subtle rounded corners */
    padding: 0 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    box-sizing: border-box;
    cursor: pointer;
    gap: 10px;
  }

  .search-bar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: rgb(from var(--color-foreground) r g b / 60%);
    transition: color 0.2s ease;
  }

  .search-bar-container:hover .search-bar-icon {
    color: var(--color-foreground);
  }

  .search-bar-icon svg {
    width: 100%;
    height: 100%;
  }

  .search-bar-container:hover {
    background-color: rgb(from var(--color-foreground) r g b / 8%);
    border-color: rgb(from var(--color-foreground) r g b / 10%);
  }

  .search-bar-container:active {
    background-color: rgb(from var(--color-foreground) r g b / 10%);
    border-color: rgb(from var(--color-foreground) r g b / 15%);
  }

  .search-bar-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-family: var(--font-paragraph--family);
    font-size: var(--font-size--sm);
    font-weight: 400;
    color: var(--color-foreground);
    padding: 0;
    margin: 0;
    height: 100%;
    line-height: 1.5;
    cursor: pointer;
    pointer-events: none;
    min-width: 0;
  }

  .search-bar-input::placeholder {
    color: rgb(from var(--color-foreground) r g b / 50%);
    font-weight: 300;
    letter-spacing: 0.01em;
  }


  .header-actions__action .svg-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    width: 24px;
  }

  .header-actions__action svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .action__wishlist,
  .header-actions__cart-icon {
    position: relative;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .action__wishlist .wishlist-bubble {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }

  .action__wishlist .wishlist-bubble__text {
    font-family: var(--font-paragraph--family);
    font-weight: var(--font-paragraph--weight);
    font-size: var(--font-size--xs);
    line-height: 1;
  }

  .header-actions__cart-icon {
    --cart-bubble-size: 20px;
    --cart-bubble-top: 4.5px;
    --cart-bubble-right: 2.5px;
  }

  .header-actions__cart-icon .cart-bubble {
    position: absolute;
    width: var(--cart-bubble-size, 20px);
    top: var(--cart-bubble-top);
    right: var(--cart-bubble-right);
  }

  .header-actions__cart-icon .cart-bubble__text,
  .cart-drawer__heading .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%,
      white 45.45%,
      white 100%
    );
  }

  .cart-drawer__heading .cart-bubble__background {
    background-color: rgb(from var(--color-foreground) r g b / 10%);
  }

  .cart-drawer__heading .cart-bubble__text {
    color: var(--color-foreground);
    font-size: var(--font-size--xs);
  }

  .cart-bubble--animating .cart-bubble__background {
    animation: grow var(--animation-speed) var(--animation-easing);
  }

  .cart-bubble--animating .cart-bubble__text {
    animation: cartBubbleSlideIn var(--animation-speed) var(--animation-easing);
  }

  .action__wishlist {
    --wishlist-bubble-size: 20px;
    --wishlist-bubble-top: 4.5px;
    --wishlist-bubble-right: 2.5px;
  }

  .action__wishlist.header-actions__wishlist-icon--has-items svg {
    /* Create donut mask where the wishlist bubble sits */
    mask: radial-gradient(
      calc(var(--wishlist-bubble-size) + 2px) at calc(100% - var(--wishlist-bubble-right)) var(--wishlist-bubble-top),
      transparent 45.45%,
      white 45.45%,
      white 100%
    );
  }

  .action__wishlist .header-actions__wishlist-icon {
    width: var(--wishlist-icon-size, 24px);
    height: var(--wishlist-icon-size, 24px);
  }

  .action__wishlist .header-actions__wishlist-icon .svg-wrapper {
    width: 100%;
    height: 100%;
  }

  .action__wishlist .header-actions__wishlist-icon svg {
    width: 100%;
    height: 100%;
  }

  .wishlist-bubble__background {
    background-color: rgb(from var(--color-foreground) r g b / 10%);
  }

  .wishlist-bubble__text {
    color: var(--color-foreground);
    font-size: var(--font-size--xs);
  }

  .wishlist-bubble--animating .wishlist-bubble__background {
    animation: grow var(--animation-speed) var(--animation-easing);
  }

  .wishlist-bubble--animating .wishlist-bubble__text {
    animation: cartBubbleSlideIn var(--animation-speed) var(--animation-easing);
  }

  /* Mobile: Show menu icon, Desktop: Hide menu icon */
  /* Base state: hidden by default */
  .mobile-and-ipad-only {
    display: none;
  }
  
  /* Show on mobile (below 1025px) */
  @media screen and (max-width: 1024px) {
    /* Higher specificity: element + class (0,2,0) beats base.css class (0,1,0) */
    div.mobile-and-ipad-only,
    div.header-actions__mobile-menu.mobile-and-ipad-only,
    header-actions div.mobile-and-ipad-only,
    header-actions div.header-actions__mobile-menu.mobile-and-ipad-only {
      display: flex;
      visibility: visible;
      opacity: 1;
    }
    
    /* Override desktop:hidden with higher specificity */
    div.mobile-and-ipad-only.desktop\:hidden,
    div.mobile-and-ipad-only.desktop:hidden,
    div.header-actions__mobile-menu.mobile-and-ipad-only.desktop\:hidden,
    div.header-actions__mobile-menu.mobile-and-ipad-only.desktop:hidden,
    header-actions div.mobile-and-ipad-only.desktop\:hidden,
    header-actions div.mobile-and-ipad-only.desktop:hidden,
    header-actions div.header-actions__mobile-menu.mobile-and-ipad-only.desktop\:hidden,
    header-actions div.header-actions__mobile-menu.mobile-and-ipad-only.desktop:hidden {
      display: flex;
      visibility: visible;
      opacity: 1;
    }
  }
  
  /* Hide on desktop (1025px and above) */
  @media screen and (width >= 1025px) {
    .mobile-and-ipad-only {
      display: none;
    }
  }

  /* ============================================
     Mobile (below 1025px)
     ============================================ */
  @media screen and (max-width: 1024px) {
    .hide-mobile {
      display: none;
    }
    .ensure-mobile-visible {
      position: relative;
      right: 0;
      margin-right: 0;
      max-width: 48px;
      min-width: 40px;
      box-sizing: border-box;
    }
    .header__column--right header-actions {
      max-width: 100vw;
      width: 100%;
      justify-content: flex-end;
      margin-right: 0;
      padding-right: 0;
    }
    .header-actions__action.action__cart.ensure-mobile-visible {
      margin-right: 0;
      right: 0;
      left: auto;
    }

    /* Mobile/iPad: Show only Search, Cart, Menu icons (Account & Localization in drawer) */
    .header-actions .account-popover {
      display: none;
    }
    
    /* Hide wishlist on mobile/iPad */
    .action__wishlist {
      display: none;
    }
    
    /* Desktop only elements */
    .desktop-only {
      display: none;
    }
    
    /* Ensure mobile/iPad shows correct icons in order: Search, Cart, Menu */
    .header-actions {
      display: flex;
      align-items: center;
      gap: var(--padding-sm);
      width: 100%;
      justify-content: flex-end;
    }
    
    /* Mobile menu styling */
    .header-actions__mobile-menu {
      display: flex;
      align-items: center;
    }
    
    /* Ensure mobile menu icon is properly styled */
    .header-actions__mobile-menu .header__icon--menu {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .header-actions__mobile-menu .header__icon--summary {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    


    /* Mobile: Ensure proper spacing between Search and Cart, no gap after Cart */
    .header-actions {
      gap: var(--padding-sm);
    }
    
    /* Remove gap specifically between cart and menu icon */
    .action__cart + .header-actions__mobile-menu {
      margin-left: calc(-1 * var(--padding-sm));
    }

    /* Mobile/iPad: Logo always on left */
    .header__column--left .header-logo,
    .header__column--center .header-logo,
    .header__column--right .header-logo {
      justify-self: start;
      display: flex;
      align-items: center;
      margin-left: 0;
    }
    
    /* Ensure logo is visible on mobile/iPad */
    .header-logo {
      display: flex;
      align-items: center;
      min-height: 40px;
    }
    
    /* Mobile/iPad: Make logo smaller */
    .header-logo__image {
      max-height: var(--header-logo-image-height-mobile, 32px);
      max-width: var(--header-logo-image-width-mobile, 200px);
      height: auto;
      width: auto;
    }
    
    .header-logo__text {
      font-size: calc(var(--logo-font-size-mobile, 1.25rem) * 0.85);
      max-width: none;
      overflow: visible;
      text-overflow: clip;
      white-space: nowrap;
      width: auto;
    }
    
    /* Ensure logo container allows full text */
    .header-logo--text {
      max-width: none;
      width: auto;
      flex-shrink: 0;
    }
    
    .header__item--logo {
      max-width: none;
      width: auto;
      flex-shrink: 0;
    }

    /* Mobile actions positioning - responsive to desktop settings */
    .header__column[data-mobile-actions-position="left"] header-actions {
      order: -999;
      margin: 0;
      padding: 0;
    }
    
    .header__column[data-mobile-actions-position="right"] header-actions {
      order: 999;
      margin: 0;
      padding: 0;
    }

    /* Logo column - always on left for mobile/iPad */
    .header__column--left:has(.header-logo),
    .header__column--center:has(.header-logo),
    .header__column--right:has(.header-logo) {
      grid-area: logo;
      justify-content: flex-start;
      width: auto;
      min-width: 0;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      margin-left: 0;
      padding-left: 0;
    }
    
    /* Ensure logo itself is positioned at the far left */
    .header__column--left .header-logo,
    .header__column--center .header-logo,
    .header__column--right .header-logo {
      margin-left: 0;
      padding-left: 0;
      justify-self: start;
      align-self: center;
    }
    
    /* Actions column - always on right for mobile/iPad */
    .header__column--right:has(header-actions),
    .header__column--left:has(header-actions),
    .header__column--center:has(header-actions) {
      grid-area: actions;
      justify-content: flex-end;
      width: auto;
      min-width: fit-content;
      flex-shrink: 0;
      display: flex;
      align-items: center;
    }

    /* Remove gaps from mobile columns when elements are positioned */
    .header__column:has(.header__drawer),
    .header__column:has(.search-action) {
      gap: 0;
      padding: 0;
    }

    /* Ensure mobile header actions are visible and properly spaced */
    .header-actions__action {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      min-width: 44px;
      max-width: 44px;
      flex-shrink: 0;
    }

    
    /* Ensure mobile header actions container has proper spacing */
    .header-actions {
      display: flex;
      align-items: center;
      gap: var(--padding-sm);
      width: auto;
      min-width: fit-content;
      flex-shrink: 0;
      flex-direction: row;
      flex-wrap: nowrap;
    }

    /* Mobile/iPad order: Search, Cart, Menu (Menu on far right) */
    .search-action { 
      order: 1; 
    }
    .action__cart { 
      order: 2; 
    }
    .header-actions__mobile-menu { 
      order: 999; 
      margin-left: 0;
      margin-right: 0;
      padding-left: 0;
      padding-right: 0;
    }
    
    /* Remove all spacing after cart icon */
    .action__cart {
      margin-right: 0;
      padding-right: 0;
    }
    
    /* Ensure no gap between cart and menu icon - negative margin cancels out flex gap */
    .action__cart + .header-actions__mobile-menu {
      margin-left: calc(-1 * var(--padding-sm));
    }
    
    /* Ensure header actions container has no right padding/margin */
    .header-actions {
      margin-right: 0;
      padding-right: 0;
    }

    /* Mobile/iPad: Search icon only (no search bar) */
    .search-bar-container {
      width: auto;
      height: 44px;
      padding: 0;
      background: transparent;
      border-radius: 0;
      border: none;
      gap: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .search-bar-input {
      display: none;
    }

    .search-bar-icon {
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .search-action {
      width: 44px;
      height: 44px;
      min-width: 44px;
      max-width: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* Mobile menu positioning - handled by order logic */
    /* Menu position is now controlled by the order array, not CSS order */
    
    /* Mobile: Menu icon is visible via .mobile-and-ipad-only class */
    
    /* Hide account icon completely on mobile */
    .account-popover {
      display: none;
      visibility: hidden;
      opacity: 0;
    }
    
    .account-popover.desktop-only {
      display: none;
      visibility: hidden;
      opacity: 0;
    }
    
    /* Hide any account-related elements on mobile */
    .account-button {
      display: none;
      visibility: hidden;
      opacity: 0;
    }
    
    .header-actions__action:has(.account-button) {
      display: none;
      visibility: hidden;
      opacity: 0;
    }
    
    /* Hide any account elements in header actions on mobile */
    .header-actions .account-popover,
    .header-actions .account-button,
    .header-actions [class*="account"] {
      display: none;
      visibility: hidden;
      opacity: 0;
    }
    
    /* Make mobile drawer opaque */
    .menu-drawer {
      background-color: var(--color-background);
      opacity: 1;
    }
    
    .menu-drawer__dialog {
      background-color: var(--color-background);
      opacity: 1;
    }
    
    .menu-drawer__content {
      background-color: var(--color-background);
      opacity: 1;
    }
    

    
    /* Ensure mobile menu is visible and positioned on far right */
    .header-actions__mobile-menu {
      display: flex;
      visibility: visible;
      opacity: 1;
      width: auto;
      min-width: 44px;
      max-width: 44px;
      flex-shrink: 0;
      order: 999;
      margin-left: auto;
    }
    
    /* Ensure all child elements of mobile menu are visible */
    .header-actions__mobile-menu * {
      visibility: visible;
      opacity: 1;
    }
    
    /* Override desktop:hidden for mobile menu drawer trigger */
    .header-actions__mobile-menu details,
    .header-actions__mobile-menu summary,
    .header-actions__mobile-menu .header__icon,
    .header-actions__mobile-menu .header__icon--menu {
      display: flex;
      visibility: visible;
      opacity: 1;
    }
    
    .header-actions__mobile-menu .header__icon {
      width: 44px;
      height: 44px;
      min-width: 44px;
      max-width: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* Ensure mobile header actions container has proper width */
    .header-actions {
      width: auto;
      min-width: fit-content;
      flex-shrink: 0;
    }
    
    /* Fix mobile logo width */
    .header-logo {
      width: auto;
      min-width: fit-content;
      flex-shrink: 0;
    }
    


  }

  /* ============================================
     Desktop (1025px and above)
     ============================================ */
  @media screen and (width >= 1025px) {
    /* Show desktop-only elements */
    .desktop-only {
      display: block;
    }
    
    /* Ensure header actions localization is visible */
    .header-actions__localization.desktop-only {
      display: flex;
    }
    

    
    /* Desktop header actions order: Search, Account, Cart */
    .header-actions {
      display: flex;
      align-items: center;
      gap: var(--padding-sm);
    }
    .search-action { 
      order: 1; 
      margin: 0;
      padding: 0;
    }
    .account-popover { 
      order: 2; 
      margin: 0;
      padding: 0;
    }
    .action__wishlist { 
      order: 3; 
      margin: 0;
      padding: 0;
    }
    .action__cart { 
      order: 4; 
      margin: 0;
      padding: 0;
    }
    
    /* Ensure consistent spacing: search to account gap = account to cart gap */
    /* Make account-popover display as flex to match other actions */
    .account-popover {
      display: flex;
      align-items: center;
      margin: 0;
      padding: 0;
    }
    
    /* Ensure account-button inside popover has consistent styling */
    .account-popover .account-button {
      margin: 0;
      padding: 0 8px; /* Match header-actions__action padding */
    }
    
    /* Increase spacing between search bar and account icon */
    /* The search-bar-container has padding: 0 16px, so its visual right edge is 16px inside.
       We add extra margin to create more space between search bar and account icon */
    .search-action {
      margin-right: 0; /* Reset any negative margin */
    }
    
    .search-action + .account-popover {
      margin-left: calc(var(--padding-sm) + 8px); /* Add extra space (8px more than default gap) */
    }
    
    /* Remove any extra margins from other elements */
    .account-popover + .action__wishlist,
    .account-popover + .action__cart,
    .action__wishlist + .action__cart {
      margin-left: 0; /* Gap is handled by parent flex gap */
    }

    /* Desktop search bar adjustments - Responsive for all desktop sizes */
    .search-bar-container {
      width: 180px;
    }

    /* Medium Desktop (1025px - 1440px) */
    @media screen and (width >= 1025px) and (width < 1440px) {
      .search-bar-container {
        width: 200px;
      }
    }

    /* Large Desktop (1440px - 1920px) */
    @media screen and (width >= 1440px) and (width < 1920px) {
      .search-bar-container {
        width: 220px;
      }
    }

    /* Extra Large Desktop (1920px+) */
    @media screen and (width >= 1920px) {
      .search-bar-container {
        width: 240px;
      }
    }

    /* When menu position is right - push to the very end with no gaps */
    .header__column--right .header__drawer--right {
      order: 999;
      margin-left: 0;
      margin-right: 0;
      padding-left: 0;
      padding-right: 0;
    }

    /* When menu position is left - push to the very beginning with no gaps */
    .header__column--left .header__drawer--left {
      order: -999;
      margin-right: 0;
      margin-left: 0;
      padding-right: 0;
      padding-left: 0;
    }

    /* When menu position is center - keep in center */
    .header__column--center .header__drawer--center {
      order: 0;
    }

    /* Ensure proper spacing between header elements */
    .header-actions {
      gap: var(--padding-sm);
    }


    /* Ensure search doesn't overlap with localization */
    .search-action {
      position: relative;
      z-index: 5;
    }

    /* Remove any extra spacing from other elements */
    .header-actions__action {
      margin: 0;
    }

    .header-actions {
      gap: var(--padding-sm);
    }

    /* Localization is now only in drawer menu, no spacing needed */

    /* Ensure proper spacing within header-actions */
    .header-actions {
      gap: var(--padding-sm);
    }

    /* Remove any extra margins from header-actions elements */
    .header-actions__action {
      margin: 0;
    }

    /* Responsive spacing for different desktop sizes */
    /* Medium Desktop (1024px - 1440px) */
    @media screen and (width >= 1025px) and (width < 1440px) {
      .header-actions {
        gap: var(--padding-sm);
      }
    }

    /* Large Desktop (1440px - 1920px) */
    @media screen and (width >= 1440px) and (width < 1920px) {
      .header-actions {
        gap: var(--padding-md);
      }
    }

    /* Extra Large Desktop (1920px+) */
    @media screen and (width >= 1920px) {
      .header-actions {
        gap: var(--padding-lg);
      }
    }

    /* Fix for left position - ensure menu appears in left column with no gaps */
    .header__column--left .header__drawer {
      order: -999;
      margin: 0;
      padding: 0;
    }

    /* Fix for right position - ensure menu appears in right column with no gaps */
    .header__column--right .header__drawer {
      order: 999;
      margin: 0;
      padding: 0;
    }

    /* Remove gaps from left column when menu is on left */
    .header__column--left:has(.header__drawer--left) {
      gap: 0;
      padding: 0;
    }

    /* Remove gaps from right column when menu is on right */
    .header__column--right:has(.header__drawer--right) {
      gap: 0;
      padding: 0;
    }
  }
.header__icon--menu {
    position: initial;
  }

  /* Show mobile drawer on iPad and mobile (up to 1024px) */
  /* Using higher specificity than base.css .desktop\:hidden */
  @media screen and (max-width: 1024px) {
    /* Higher specificity: element + class (0,2,0) beats base.css class (0,1,0) */
    div.header__drawer.desktop\:hidden,
    div.header__drawer.desktop:hidden,
    div.header-actions__mobile-menu.mobile-and-ipad-only > div.header__drawer.desktop\:hidden,
    div.header-actions__mobile-menu.mobile-and-ipad-only > div.header__drawer.desktop:hidden {
      display: flex;
      visibility: visible;
      opacity: 1;
      pointer-events: auto;
    }
  }
  
  /* Hide mobile drawer on desktop (above 1024px) */
  @media screen and (width >= 1025px) {
    div.header__drawer.desktop\:hidden,
    div.header__drawer.desktop:hidden {
      display: none;
    }
  }
  

  @media screen and (width >= 1025px) {
    .header--desktop header-menu + .header__drawer header-drawer {
      display: none;
    }
  }

  .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);
  }

  .header__drawer {
    display: flex;
    min-height: 60px;
    align-items: center;

    @media screen and (width >= 1025px) {
      min-height: 0;
    }
  }

  .header--compact .header__drawer {
    min-height: var(--minimum-touch-target);
  }

  .menu-drawer__navigation {
    padding: 0;
    /* Ensure navigation area is scrollable and fits within drawer */
    flex: 1 1 auto;
    min-height: 0;
    /* Let the drawer handle scrolling, not navigation itself */
    overflow: visible;

    @media screen and (width >= 1025px) {
      margin-top: var(--drawer-header-desktop-top);
    }
  }

  details:not([open]) .header__icon--menu .header-drawer-icon--close {
    display: none;
  }

  details[open] .header__icon--menu .header-drawer-icon--close {
    @media screen and (width >= 1025px) {
      display: none;
    }
  }

  details[open] .header__icon--menu .header-drawer-icon--open {
    display: none;

    @media screen and (width >= 1025px) {
      display: flex;
    }
  }

  .menu-drawer {
    position: fixed;
    transform: translateX(-100%);
    visibility: hidden;
    /* Height should account for header - drawer fills remaining viewport */
    /* Fallback for browsers that don't support dvh */
    height: calc(100vh - var(--header-group-height, var(--header-height, 0px)));
    max-height: calc(100vh - var(--header-group-height, var(--header-height, 0px)));
    width: var(--drawer-width);
    max-width: var(--drawer-max-width);
    /* Ensure drawer sits above carousels and page UI */
    z-index: 1000;
    left: 0;
    /* Stick to header - use header-group-height so it moves with header when announcement bar hides */
    top: var(--header-group-height, var(--header-height, 0px));
    padding: 0;
    background-color: var(--color-background);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    border-right: var(--style-border-drawer);
    box-shadow: var(--shadow-drawer);
    flex-direction: column;
    /* Ensure drawer fits within viewport on all devices, including when zoomed */
    box-sizing: border-box;

    /* Mobile: Full width for screens below 750px */
    @media screen and (max-width: 749px) {
      width: 100%;
      max-width: 100%;
      /* On mobile, use dvh for better support (dynamic viewport height) */
      /* This accounts for mobile browser UI and zoom changes */
      height: calc(100dvh - var(--header-group-height, var(--header-height, 0px)));
      max-height: calc(100dvh - var(--header-group-height, var(--header-height, 0px)));
    }

    @media screen and (width >= 1025px) {
      width: 25rem;
      /* Desktop can use vh as it's more stable */
      height: calc(100vh - var(--header-group-height, var(--header-height, 0px)));
      max-height: calc(100vh - var(--header-group-height, var(--header-height, 0px)));
    }

    .header__drawer--desktop & {
      height: calc(100vh - var(--header-group-height, var(--header-height, 0px)));
      max-height: calc(100vh - var(--header-group-height, var(--header-height, 0px)));
    }
  }
  
  /* Use dvh for mobile devices when supported (better zoom handling) */
  @supports (height: 100dvh) {
    @media screen and (max-width: 1024px) {
      .menu-drawer {
        height: calc(100dvh - var(--header-group-height, var(--header-height, 0px)));
        max-height: calc(100dvh - var(--header-group-height, var(--header-height, 0px)));
      }
    }
  }

  .menu-drawer:has(details[open]) {
    overflow: hidden;
  }

  /* When the menu drawer is open, force any page carousels' arrows behind/disabled */
  body:has(header-drawer details.menu-open) slideshow-arrows {
    z-index: 0;
    pointer-events: none;
  }
  body:has(header-drawer details.menu-open) .resource-list__carousel slideshow-arrows[position='top_right'],
  body:has(header-drawer details.menu-open) .resource-list__carousel slideshow-arrows[position='top_left'] {
    z-index: 0;
    pointer-events: none;
  }

  .menu-drawer__backdrop {
    position: fixed;
    /* Backdrop should start from header, not top of viewport */
    top: var(--header-group-height, var(--header-height, 0px));
    left: 0;
    width: 100vw;
    height: calc(100dvh - var(--header-group-height, var(--header-height, 0px)));
    backdrop-filter: brightness(0.75);
    z-index: var(--layer-heightened);
    opacity: 0;
    transition: opacity var(--drawer-animation-speed) ease;

    .menu-open & {
      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;
  }

  .menu-open > .menu-drawer,
  .menu-open > .menu-drawer__submenu:not(.menu-drawer__menu--childlist) {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    display: flex;
  }
  
  /* Mobile: Prevent menu-open from applying submenu transforms to accordion */
  /* BUT allow localization panel to use submenu transforms */
  @media screen and (max-width: 1024px) {
    .header__drawer--mobile .menu-open > .details-content,
    .header__drawer--mobile accordion-custom details[open] > .details-content,
    .header__drawer--mobile details[open] > .details-content {
      transform: none;
      position: static;
      display: block;
    }
    
    /* Ensure localization panel can open with submenu transforms */
    .header__drawer--mobile .drawer-localization details[open] .drawer-localization__panel,
    .header__drawer--mobile .drawer-localization details.menu-open .drawer-localization__panel,
    .header__drawer--mobile .menu-open > .drawer-localization__panel {
      display: block;
      visibility: visible;
      opacity: 1;
      transform: translateX(0);
      position: absolute;
    }
  }

  /* Right-positioned drawer styles */
  .menu-drawer--right {
    left: auto;
    right: 0;
    transform: translateX(100%);
    border-right: none;
    border-left: var(--style-border-drawer);
  }

  .menu-open > .menu-drawer--right {
    transform: translateX(0);
  }
    flex-direction: column;
    will-change: transform;
  }

  .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%;
    /* Ensure it respects the drawer's max-height on mobile */
    max-height: 100%;
    box-sizing: border-box;
  }

  .menu-drawer__inner-submenu {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;

    @media screen and (width >= 1025px) {
      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;
    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 (width >= 1025px) {
      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);
  }

  /* ============================================
     MOBILE & iPAD DRAWER - CLEAN REBUILD
     Force vertical stacking for menu items
     ============================================ */
  @media screen and (max-width: 1024px) {
    /* Ensure proper scrolling on mobile */
    .menu-drawer {
      -webkit-overflow-scrolling: touch;
    }
    
    /* CRITICAL FIX: Force ALL menu lists to be block layout - NO flex or grid */
    .header__drawer--mobile ul.menu-drawer__menu,
    .header__drawer--mobile ul.menu-drawer__menu.has-submenu,
    .header__drawer--mobile ul.menu-drawer__menu--childlist,
    .header__drawer--mobile ul.menu-drawer__menu--grandchildlist,
    .header__drawer--mobile accordion-custom ul.menu-drawer__menu,
    .header__drawer--mobile accordion-custom ul.menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom ul.menu-drawer__menu--grandchildlist,
    .header__drawer--mobile accordion-custom details ul.menu-drawer__menu,
    .header__drawer--mobile accordion-custom details ul.menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details ul.menu-drawer__menu--grandchildlist,
    .header__drawer--mobile accordion-custom details .details-content,
    .header__drawer--mobile accordion-custom details[open] ul.menu-drawer__menu,
    .header__drawer--mobile accordion-custom details[open] ul.menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details[open] .details-content {
      display: block !important;
      width: 100% !important;
      flex-direction: column !important;
      flex-wrap: nowrap !important;
      grid-template-columns: none !important;
      grid-template-rows: none !important;
      gap: 0 !important;
    }
    
    /* CRITICAL: Override base flex display on list items - this is the core issue */
    /* Base style has: .menu-drawer__menu > .menu-drawer__list-item { display: flex; } */
    /* This causes horizontal layout - we need block for vertical stacking */
    .header__drawer--mobile .menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile .menu-drawer__menu--childlist > .menu-drawer__list-item,
    .header__drawer--mobile .menu-drawer__menu--grandchildlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom .menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom .menu-drawer__menu--childlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details .details-content > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details ul.menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details ul.menu-drawer__menu--childlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details[open] .details-content > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details[open] ul.menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details[open] ul.menu-drawer__menu--childlist > .menu-drawer__list-item {
      display: block !important;
      width: 100% !important;
      flex: none !important;
      flex-direction: column !important;
      flex-wrap: nowrap !important;
      float: none !important;
    }

    /* Override flat list items to be block */
    .header__drawer--mobile .menu-drawer__menu .menu-drawer__list-item--flat,
    .header__drawer--mobile .menu-drawer__menu--childlist .menu-drawer__list-item--flat,
    .header__drawer--mobile accordion-custom .menu-drawer__list-item--flat,
    .header__drawer--mobile accordion-custom details .menu-drawer__list-item--flat,
    .header__drawer--mobile accordion-custom details .menu-drawer__list-item--flat.menu-drawer__list-item--divider {
      display: block !important;
      width: 100% !important;
      flex-direction: column !important;
      flex-wrap: nowrap !important;
    }
    
    /* Ensure menu containers are block, not flex or grid - redundant but ensures coverage */
    .header__drawer--mobile .menu-drawer__menu,
    .header__drawer--mobile .menu-drawer__menu.has-submenu,
    .header__drawer--mobile .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-drawer__menu--grandchildlist,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details .details-content,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details[open] .details-content {
      display: block !important;
      width: 100% !important;
      flex-direction: column !important;
      flex-wrap: nowrap !important;
    }
    
    /* Disable grid layouts completely - maximum specificity */
    .header__drawer--mobile .menu-drawer__menu--grid,
    .header__drawer--mobile .menu-drawer__menu.menu-drawer__menu--grid,
    .header__drawer--mobile .menu-drawer__menu--childlist.menu-drawer__menu--grid,
    .header__drawer--mobile .menu-drawer__menu--grandchildlist.menu-drawer__menu--grid,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grid,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu.menu-drawer__menu--grid,
    .header__drawer--mobile accordion-custom details ul.menu-drawer__menu--grid,
    .header__drawer--mobile accordion-custom details ul.menu-drawer__menu.menu-drawer__menu--grid {
      display: block !important;
      grid-template-columns: none !important;
      grid-template-rows: none !important;
      gap: 0 !important;
    }
    
    /* CRITICAL: Ensure accordion-custom wrapper doesn't interfere */
    .header__drawer--mobile accordion-custom {
      display: block !important;
      width: 100% !important;
    }
    
    /* Ensure details element doesn't use flex */
    .header__drawer--mobile accordion-custom details {
      display: block !important;
      width: 100% !important;
    }
    
    /* Add padding to submenu items (2nd level) for nested visual effect */
    .header__drawer--mobile .menu-drawer__menu--childlist .menu-drawer__menu-item,
    .header__drawer--mobile .menu-drawer__menu--childlist .menu-drawer__menu-item--child,
    .header__drawer--mobile .menu-drawer__menu--childlist .menu-drawer__menu-item--parent,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist .menu-drawer__menu-item--child,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist .menu-drawer__menu-item--parent,
    .header__drawer--mobile accordion-custom details .details-content .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details .details-content .menu-drawer__menu-item--child,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist .menu-drawer__menu-item--child,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist .menu-drawer__menu-item--parent {
      padding-inline-start: var(--padding-xl) !important;
    }
    
    /* Add more padding to sub-submenu items (3rd level) for deeper nesting */
    .header__drawer--mobile .menu-drawer__menu--grandchildlist .menu-drawer__menu-item,
    .header__drawer--mobile .menu-drawer__menu--grandchildlist .menu-drawer__menu-item--child,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist .menu-drawer__menu-item--child,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--grandchildlist .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--grandchildlist .menu-drawer__menu-item--child {
      padding-inline-start: var(--padding-2xl) !important;
    }
    
    /* Also add padding to the menu list containers for better visual nesting */
    .header__drawer--mobile .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details .details-content.menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist {
      padding-inline-start: var(--padding-lg) !important;
    }
    
    .header__drawer--mobile .menu-drawer__menu--grandchildlist,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--grandchildlist {
      padding-inline-start: var(--padding-xl) !important;
    }
    
    /* ============================================
       TEXT SIZES & ALIGNMENT - Mobile Menu Items
       ============================================ */
    
    /* Main level menu items - consistent sizing */
    .header__drawer--mobile .menu-drawer__menu-item--mainlist {
      font-size: 1rem !important;
      line-height: 1.5 !important;
      padding: var(--padding-md) var(--padding-lg) !important;
      min-height: 48px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: var(--padding-md) !important;
    }
    
    /* Submenu items (2nd level) - slightly smaller */
    .header__drawer--mobile .menu-drawer__menu--childlist .menu-drawer__menu-item,
    .header__drawer--mobile .menu-drawer__menu--childlist .menu-drawer__menu-item--child,
    .header__drawer--mobile .menu-drawer__menu--childlist .menu-drawer__menu-item--parent,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist .menu-drawer__menu-item--child,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist .menu-drawer__menu-item--parent,
    .header__drawer--mobile accordion-custom details .details-content .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details .details-content .menu-drawer__menu-item--child {
      font-size: 0.95rem !important;
      line-height: 1.5 !important;
      padding: var(--padding-sm) var(--padding-lg) !important;
      min-height: 44px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: var(--padding-sm) !important;
    }
    
    /* Sub-submenu items (3rd level) - even smaller */
    .header__drawer--mobile .menu-drawer__menu--grandchildlist .menu-drawer__menu-item,
    .header__drawer--mobile .menu-drawer__menu--grandchildlist .menu-drawer__menu-item--child,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist .menu-drawer__menu-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist .menu-drawer__menu-item--child {
      font-size: 0.9rem !important;
      line-height: 1.5 !important;
      padding: var(--padding-sm) var(--padding-lg) !important;
      min-height: 40px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: var(--padding-sm) !important;
    }
    
    /* Ensure consistent spacing between menu items */
    .header__drawer--mobile .menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile .menu-drawer__menu--childlist > .menu-drawer__list-item,
    .header__drawer--mobile .menu-drawer__menu--grandchildlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist > .menu-drawer__list-item,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist > .menu-drawer__list-item {
      margin-block-end: 0 !important;
    }
    
    /* ============================================
       SMOOTH ACCORDION ANIMATIONS - Mobile
       Mirror desktop smooth animations
       ============================================ */
    
    /* Accordion wrapper - smooth transitions */
    .header__drawer--mobile accordion-custom details {
      transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
      overflow: hidden !important;
    }
    
    /* Accordion summary - smooth color transition */
    .header__drawer--mobile accordion-custom details summary {
      transition: color 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
      cursor: pointer !important;
    }
    
    /* Accordion content - smooth expand/collapse animation */
    .header__drawer--mobile accordion-custom details:not([open]) .details-content,
    .header__drawer--mobile accordion-custom details:not([open]) .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details:not([open]) .menu-drawer__menu--grandchildlist {
      max-height: 0 !important;
      overflow: hidden !important;
      opacity: 0 !important;
      padding-block: 0 !important;
      margin-block: 0 !important;
      transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                  opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                  padding 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                  margin 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    }
    
    /* When accordion is open - smooth expand */
    .header__drawer--mobile accordion-custom details[open] .details-content,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--grandchildlist {
      max-height: 2000px !important;
      opacity: 1 !important;
      padding-block: var(--padding-xs) !important;
      margin-block: var(--padding-xs) 0 !important;
      transition: max-height 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                  opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                  padding 0.4s cubic-bezier(0.23, 1, 0.32, 1),
                  margin 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
      animation: accordionExpandMobile 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    }
    
    /* Icon container - relative positioning for absolute icon overlay */
    .header__drawer--mobile accordion-custom details > summary {
      position: relative !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
    }
    
    /* Plus icon wrapper - relative positioning for overlay */
    .header__drawer--mobile accordion-custom details > summary .svg-wrapper.icon-plus {
      position: relative !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      width: var(--icon-size-xs) !important;
      height: var(--icon-size-xs) !important;
      margin: 0 !important;
      padding: 0 !important;
      flex-shrink: 0 !important;
    }
    
    /* Minus icon wrapper - absolute overlay on plus icon position */
    .header__drawer--mobile accordion-custom details > summary .svg-wrapper.icon-minus {
      position: absolute !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      width: var(--icon-size-xs) !important;
      height: var(--icon-size-xs) !important;
      margin: 0 !important;
      padding: 0 !important;
      right: 0 !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      flex-shrink: 0 !important;
    }
    
    /* Icon toggle - show plus when closed, minus when open */
    .header__drawer--mobile accordion-custom details > summary .svg-wrapper.icon-plus,
    .header__drawer--mobile accordion-custom details > summary .icon-plus {
      transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
      opacity: 1 !important;
      visibility: visible !important;
    }
    
    .header__drawer--mobile accordion-custom details > summary .svg-wrapper.icon-minus,
    .header__drawer--mobile accordion-custom details > summary .icon-minus {
      transition: opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
      opacity: 0 !important;
      visibility: hidden !important;
    }
    
    /* When accordion is open - hide plus, show minus */
    .header__drawer--mobile accordion-custom details[open] > summary .svg-wrapper.icon-plus,
    .header__drawer--mobile accordion-custom details[open] > summary .icon-plus {
      opacity: 0 !important;
      visibility: hidden !important;
    }
    
    .header__drawer--mobile accordion-custom details[open] > summary .svg-wrapper.icon-minus,
    .header__drawer--mobile accordion-custom details[open] > summary .icon-minus {
      opacity: 1 !important;
      visibility: visible !important;
    }
    
    /* Ensure nested accordion icons show correctly */
    .header__drawer--mobile accordion-custom details[open] accordion-custom details:not([open]) > summary .svg-wrapper.icon-plus,
    .header__drawer--mobile accordion-custom details[open] accordion-custom details:not([open]) > summary .icon-plus {
      opacity: 1 !important;
      visibility: visible !important;
      position: relative !important;
    }
    
    .header__drawer--mobile accordion-custom details[open] accordion-custom details:not([open]) > summary .svg-wrapper.icon-minus,
    .header__drawer--mobile accordion-custom details[open] accordion-custom details:not([open]) > summary .icon-minus {
      opacity: 0 !important;
      visibility: hidden !important;
    }
  }
  
  /* Accordion expand animation keyframes for mobile */
  @keyframes accordionExpandMobile {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .menu-drawer__menu--childlist .menu-drawer__list-item--flat {
    margin-block-end: var(--margin-sm);

    @media screen and (width >= 1025px) {
      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-start: 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 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-start: 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;
  }

  .menu-drawer__close-button {
    background-color: transparent;
    color: var(--color-foreground);
    padding: var(--padding-xl);
    box-shadow: none;
    will-change: transform;
  }

  .menu-drawer__close-button .svg-wrapper,
  .menu-drawer__close-button svg {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }

  .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__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);
  }

  .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;
  }
  
  /* Mobile: Accordion content should expand inline, NOT slide from side */
  /* CRITICAL: Override any submenu styles that might apply to accordion content */
  /* Place this AFTER .menu-drawer__submenu rule to ensure it takes precedence */
  @media screen and (max-width: 1024px) {
    /* CRITICAL FIX: Ensure mobile accordion content NEVER uses absolute positioning */
    /* Use maximum specificity - target every possible combination */
    .header__drawer--mobile accordion-custom details .details-content,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--grandchildlist,
    .header__drawer--mobile accordion-custom details[open] .details-content,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--childlist,
    .header__drawer--mobile accordion-custom details[open] .menu-drawer__menu--grandchildlist,
    .header__drawer--mobile details .details-content,
    .header__drawer--mobile details .menu-drawer__menu--childlist,
    .header__drawer--mobile details[open] .details-content,
    .header__drawer--mobile details[open] .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-drawer__navigation accordion-custom details .details-content,
    .header__drawer--mobile .menu-drawer__navigation accordion-custom details .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-drawer__navigation details .details-content,
    .header__drawer--mobile .menu-drawer__navigation details .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-drawer accordion-custom details .details-content,
    .header__drawer--mobile .menu-drawer accordion-custom details .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-drawer details .details-content,
    .header__drawer--mobile .menu-drawer details .menu-drawer__menu--childlist {
      position: static;
      transform: none;
      visibility: visible;
      opacity: 1;
      width: 100%;
      height: auto;
      top: auto;
      left: auto;
      right: auto;
      bottom: auto;
      overflow: visible;
      display: block;
      z-index: auto;
      margin: 0;
      padding: 0;
    }
    
    /* CRITICAL: Override .menu-drawer__submenu styles if they somehow apply to accordion */
    .header__drawer--mobile accordion-custom details .details-content.menu-drawer__submenu,
    .header__drawer--mobile accordion-custom details .menu-drawer__menu--childlist.menu-drawer__submenu,
    .header__drawer--mobile details .details-content.menu-drawer__submenu,
    .header__drawer--mobile details .menu-drawer__menu--childlist.menu-drawer__submenu {
      position: static;
      transform: none;
      width: 100%;
      height: auto;
      top: auto;
      left: auto;
      right: auto;
      bottom: auto;
    }
    
    /* Prevent submenu styles from applying to mobile accordion - hide any submenu elements */
    /* BUT allow localization panel to show - it uses menu-drawer__submenu class */
    .header__drawer--mobile .menu-drawer__submenu:not(.drawer-localization__panel),
    .header__drawer--mobile .menu-drawer__navigation .menu-drawer__submenu:not(.drawer-localization__panel),
    .header__drawer--mobile accordion-custom .menu-drawer__submenu,
    .header__drawer--mobile details .menu-drawer__submenu:not(.drawer-localization__panel),
    .header__drawer--mobile .menu-drawer .menu-drawer__submenu:not(.drawer-localization__panel) {
      display: none;
    }
    
    /* Override any menu-open transforms on accordion content - maximum specificity */
    .header__drawer--mobile.menu-open accordion-custom details .details-content,
    .header__drawer--mobile .menu-open accordion-custom details .details-content,
    .header__drawer--mobile details.menu-open .details-content,
    .header__drawer--mobile details.menu-open .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-drawer.menu-open accordion-custom details .details-content,
    .header__drawer--mobile .menu-drawer.menu-open details .details-content {
      position: static;
      transform: none;
      display: block;
      left: auto;
      right: auto;
      top: auto;
      bottom: auto;
    }
    
    /* CRITICAL: Override the .menu-open > .menu-drawer__submenu rule for accordion content */
    .header__drawer--mobile.menu-open > accordion-custom details .details-content,
    .header__drawer--mobile .menu-open > accordion-custom details .details-content,
    .header__drawer--mobile.menu-open > details .details-content,
    .header__drawer--mobile .menu-open > details .details-content,
    .header__drawer--mobile.menu-open > accordion-custom details .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-open > accordion-custom details .menu-drawer__menu--childlist,
    .header__drawer--mobile.menu-open > details .menu-drawer__menu--childlist,
    .header__drawer--mobile .menu-open > details .menu-drawer__menu--childlist {
      position: static;
      transform: none;
      display: block;
      visibility: visible;
      opacity: 1;
    }
  }

  .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);
    background-color: rgb(var(--color-foreground) 0.03);
    /* Ensure utility links stay at bottom and don't get cut off */
    flex-shrink: 0;
    min-height: fit-content;
  }

  .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);
  }

  /* Wishlist bubble styling in drawer */
  .menu-drawer__wishlist-link {
    position: relative;
  }

  .menu-drawer__wishlist-icon-wrapper {
    position: relative;
  }
  
  /* Ensure wishlist icon shows - match account icon pattern */
  .menu-drawer__wishlist-link .svg-wrapper {
    margin: 0;
    padding: 0;
  }

  .menu-drawer__wishlist-icon-wrapper .wishlist-bubble {
    position: absolute;
    width: 18px;
    height: 18px;
    top: -4px;
    right: -4px;
    background: var(--color-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    z-index: 2;
    border: 1px solid var(--color-background);
  }

  .menu-drawer__wishlist-icon-wrapper .wishlist-bubble__background {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgb(from var(--color-foreground) r g b / 10%);
  }

  .menu-drawer__wishlist-icon-wrapper .wishlist-bubble__text {
    position: relative;
    z-index: 1;
    color: var(--color-foreground);
    font-size: 10px;
    font-family: var(--font-paragraph--family);
    font-weight: var(--font-paragraph--weight);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-drawer__wishlist-icon-wrapper .wishlist-bubble__text-count {
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
  }

  /* Animation for wishlist bubble */
  .menu-drawer__wishlist-icon-wrapper .wishlist-bubble--animating .wishlist-bubble__background {
    animation: grow 0.3s ease-out;
  }

  .menu-drawer__wishlist-icon-wrapper .wishlist-bubble--animating .wishlist-bubble__text {
    animation: cartBubbleSlideIn 0.3s ease-out;
  }

  @keyframes grow {
    from {
      transform: scale(0);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }

  @keyframes cartBubbleSlideIn {
    from {
      transform: translateY(-4px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  @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);
    }
  }
.jumbo-text__container {
    width: 100%;
  }

  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;
    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;
    white-space: pre;
    width: 100%;
    will-change: font-size;
    margin-left: var(--margin-left-nudge, 0);
    margin-right: var(--margin-right-nudge, 0);
    overflow: visible;
  }

  jumbo-text.ready {
    opacity: 1;
  }

  jumbo-text[data-cap-text='true'] {
    text-box-edge: cap text;
  }

  .jumbo-text-space {
    display: inline-flex;
    width: 0.5ch;
  }

  :is(.jumbo-text-char, .jumbo-text-line) {
    display: inline-flex;
  }

  @media (prefers-reduced-motion: no-preference) {
    /* Blur effect */
    [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'],
    .ready[data-text-effect='reveal'] .jumbo-text-line {
      overflow: hidden;
    }

    .ready[data-text-effect='reveal'] .jumbo-text-char {
      transform: translateY(100%);
    }

    .jumbo-text-visible[data-text-effect='reveal'] .jumbo-text-char {
      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'],
    .jumbo-text-visible[data-text-effect='reveal'] .jumbo-text-line {
      overflow: visible;
      transition: overflow 0s linear 0.75s;
    }
  }
.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(:has(.checkbox__input:disabled)):hover .icon-checkmark {
    border-color: rgb(from var(--color-foreground) r g b / 40%);
    background-color: rgb(from var(--color-foreground) r g b / 5%);
  }

  .facets .checkbox:has(.checkbox__input:checked):not(:has(.checkbox__input:disabled)):hover .icon-checkmark {
    background-color: rgb(from var(--color-foreground) r g b / 85%);
  }

  .facets .checkbox:not(:has(.checkbox__input:disabled)):hover .checkbox__label-text {
    color: rgb(from var(--color-foreground) r g b / 90%);
  }

  .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-background-color: var(--color-background);
    --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(from var(--pill-label-color) r g b / var(--pill-label-border-opacity));
    border-radius: var(--pill-label-border-radius);
    height: var(--pill-label-height);
    width: 100%;
    padding-inline: var(--pill-label-padding-inline);
    color: rgb(from var(--pill-label-color) r g b / 100%);
    background-color: rgb(from var(--pill-label-background-color) r g b / 100%);
    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 {
    &:checked + .facets__pill-label {
      --pill-label-color: var(--color-background);
      --pill-label-background-color: var(--color-foreground);
      --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 (width < 750px) {
      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(from var(--color-foreground) r g b / var(--facets-low-opacity));
  }

  .facets__pill-wrapper {
    position: relative;
  }

  .facets__pill-input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
  }

  /* Swatches */
  .facets__status--swatches {
    display: none;
  }

  .facets__swatch-wrapper {
    display: flex;
  }

  .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 (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;

    &.variant-option--swatches-disabled,
    &:has(input:disabled) {
      cursor: not-allowed;
    }
  }

  .facets__inputs-wrapper .facets__inputs-list--swatches-grid label {
    cursor: pointer;
    word-break: break-word;
    white-space: normal;

    .variant-option--swatches-disabled &,
    .variant-option--swatches:has(input:disabled) & {
      cursor: not-allowed;
    }
  }

  .facets__inputs-wrapper .facets__inputs-list--swatches-grid .variant-option__button-label--has-swatch {
    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(from var(--color-foreground) r g b / 100%);
    background-color: rgb(from var(--color-background) r g b / 100%);
    font-weight: 500;
    transition: font-weight 0.2s ease;
  }

  .facets .variant-option--swatches {
    --options-border-radius: var(--variant-picker-swatch-radius);
    width: auto;
  }

  .facets--horizontal .facets__status--swatches {
    @media screen and (width >= 750px) {
      display: flex;
    }
  }

  .facets--horizontal .sorting-filter .facets__status {
    @media screen and (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(from var(--color-background) r g b / 100%);
  }

  .variant-option--images {
    position: relative;
  }

  .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);

    border-radius: var(--image-facet-border-radius);
    box-shadow: inset 0 0 0 var(--image-facet-border-width)
      rgb(from var(--color-foreground) r g b / var(--image-facet-border-opacity));

    &:hover:not(:has(input:disabled)),
    &:has(input:checked) {
      --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);
    }

    &:has(input:disabled),
    &:has(input:disabled):hover {
      --image-facet-border-opacity: 0;
      opacity: var(--disabled-opacity);
      cursor: not-allowed;

      img {
        opacity: var(--disabled-opacity);
      }

      input,
      label,
      .facets__image-label {
        cursor: not-allowed;
      }

      .facets__image-wrapper {
        border: var(--style-border-width) solid rgba(from var(--color-foreground) r g b / 0.3);
        border-radius: var(--image-facet-border-radius);
      }
    }
  }

  .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 (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);
  }

  /* 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(from var(--color-foreground) r g b / 0.3);
  }

  /* Position label text and handle overflow */
  .facets__inputs-list-item,
  .variant-option--images {
    min-width: 0;
  }

  .facets__image-label {
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-block-end: var(--padding-xs);
    cursor: pointer;

    .variant-option--images:has(input:disabled) & {
      cursor: not-allowed;
    }
  }

  .facets__inputs-list--swatches .variant-option__button-label:hover:not(:has(input:disabled)) {
    font-weight: 500;
  }

  .variant-option--images:not(:has(input:disabled)) .facets__image-label:hover {
    font-weight: 500;
  }
/* Localization */
  localization-form-component {
    display: flex;
    width: var(--width, auto);

    @media screen and (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-primary);
    --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-primary-hover);
    background-color: rgb(from var(--color-primary-hover) r g b / 8%);
  }

  .localization-form__list-item[aria-current='true'] {
    --button-color: var(--color-primary-active);
    background-color: rgb(from var(--color-primary-hover) r g b / 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%;
  }

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

  .dropdown-localization__button .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);
  }

  .drawer-localization__button .icon-flag,
  .dropdown-localization__button .icon-flag {
    width: var(--icon-size-sm);
    height: var(--icon-size-sm);
    clip-path: circle(50%);
    background-position: center;
    background-size: cover;
    margin-inline-end: 4px;
    position: relative;
  }

  .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;
    color: var(--color-foreground);
  }

  .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;
    }
  }

  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);
    animation: localization-slide-down 0.3s ease-in-out;
  }

  .localization-wrapper:not([hidden]) {
    animation: localization-slide-up 0.3s ease-in-out;
  }

  @keyframes localization-slide-up {
    from {
      display: none;
      opacity: 0;
      transform: translateY(20px);
    }

    to {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes localization-slide-down {
    from {
      display: block;
      opacity: 1;
      transform: translateY(0);
    }

    to {
      display: none;
      opacity: 0;
      transform: translateY(20px);
    }
  }

  .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(from var(--color-foreground) r g b / 8%);
    }

    &[aria-current='true'] {
      .country {
        font-weight: 500;
      }
    }
  }

  .localization-form__list-item#no-results-message {
    grid-template-columns: 1fr;
    text-align: center;
    color: rgb(from var(--color-foreground) r g b / var(--opacity-subdued-text));
  }

  .is-searching .localization-form__list-item .country {
    color: rgb(from var(--color-foreground) r g b / 80%);
  }

  .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);
  }

  .drawer-localization .country-filter {
    padding-block: 8px;
  }

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

  .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__label {
    flex-shrink: 0;
    color: rgb(from var(--color-foreground) r g b / var(--opacity-subdued-text));
  }

  .localization-form__select {
    border: none;
    color: var(--color-foreground);
    appearance: none;
    background-color: var(--color-input-background);
    padding-block: var(--padding-3xs);
    padding-inline: var(--padding-xs) calc(var(--icon-size-xs) + var(--padding-xs));
    text-align: right;
    cursor: pointer;

    &: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);
  }

  dropdown-localization-component .localization-form__select:hover {
    background-color: rgb(from var(--color-primary-hover) r g b / 8%);
  }

  .language-selector .svg-wrapper.icon-caret {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
    position: absolute;
    right: 20px;
    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-foreground);
    background-color: var(--color-input-background);
    outline-offset: -1px;

    @media screen and (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-foreground);
    border: 0;
  }

  input[type='search']::-webkit-search-cancel-button {
    appearance: none;
  }

  .country-selector__close-button {
    display: none;
  }

  .drawer-localization .drawer-localization__button {
    display: flex;
    padding: 0;
    position: relative;
    text-decoration: none;
    font-size: 1.8rem;
    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);
  }

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

  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 16px;
  }

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

  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);
    display: block;
  }

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

  .menu-drawer__localization .language-selector.h5 {
    padding-inline-start: 0;
  }

  .header__column .localization-form__select {
    background-color: var(--header-bg-color);
  }

  .drawer-localization {
    display: contents;
    color: var(--color-foreground);
  }

  .drawer-localization localization-form-component {
    position: relative;
    height: 100%;
    width: 100%;
    max-width: 100%;
  }

  .drawer-localization .mobile-localization,
  .drawer-localization .drawer-localization__button--label {
    display: flex;
    gap: var(--gap-xs);
    margin-block: 0;
    align-items: center;
  }

  /* Country list should stretch full width with no inner scrollbar */
  .drawer-localization .country-selector__list,
  .drawer-localization .country-selector-form__wrapper {
    width: 100%;
    max-width: 100%;
  }

  .drawer-localization .country-selector__list .localization-form__list-item {
    width: 100%;
  }

  /* Keep language selector pinned to bottom but inside drawer width */
  .drawer-localization .language-selector {
    margin-top: auto;
    width: 100%;
  }

  .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%;
    max-width: 100%;
    height: 100%;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .drawer-localization .localization-form > * {
    padding-inline: var(--padding-xl);
    max-width: 100%;
  }

  .drawer-localization .language-selector .svg-wrapper.icon-caret {
    transform: translateY(-50%) rotate(0deg);
  }

  .drawer-localization .language-selector .svg-wrapper.icon-caret svg {
    transform: none;
  }
.media-block {
    overflow: hidden;
    position: relative;

    @media screen and (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 (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__media--video {
    display: flex;
    align-items: center;
    justify-content: center;

    @media screen and (width < 750px) {
      --media-height-mobile: auto;
    }
  }
.overlay {
    position: absolute;
    inset: 0;
    z-index: var(--overlay-layer);
    pointer-events: none;
    border-radius: var(--overlay-border-radius, 0px);
  }

  .overlay--solid {
    background: var(--overlay-color);
  }

  .overlay--gradient {
    background: linear-gradient(var(--overlay-direction), var(--overlay-color), var(--overlay-color--end));
  }
.predictive-search-results__wrapper slideshow-slides {
    /* 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: 16px;
    margin-block: -16px;
  }
predictive-search-component {
    &:has([data-search-results]):not(:has(.predictive-search-results__no-results)) {
      .predictive-search-form__footer {
        display: block;
      }
    }
  }

  .predictive-search-form__footer {
    display: none;
  }
/* Price filter */
  .price-facet {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
  }

  .facets__inputs-wrapper.price-facet__inputs-wrapper {
    flex-wrap: nowrap;
  }

  .price-facet__field {
    width: 50%;
    flex-grow: 0;
  }

  @container (width < 200px) {
    .facets__inputs-wrapper.price-facet__inputs-wrapper {
      flex-wrap: wrap;
      width: 100%;
    }

    .price-facet__inputs-wrapper .price-facet__field {
      width: 100%;
    }
  }

  .facets .facets__inputs-wrapper.price-facet__inputs-wrapper {
    padding: var(--style-border-width-inputs);
    gap: calc(var(--gap-sm) + (var(--style-border-width-inputs) * 2));
  }

  .facets--horizontal .facets__panel-content:has(.price-facet) {
    min-width: 360px;
  }

  .facets--horizontal .facets__inputs-wrapper.price-facet__inputs-wrapper {
    @media screen and (width >= 750px) {
      padding: calc(var(--padding-md) + var(--style-border-width-inputs));
    }
  }

  .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 {
    padding: var(--padding-xs) 0 var(--padding-sm);
  }

  .facets--horizontal .price-facet__highest-price {
    padding: 0 var(--padding-md) var(--padding-xs);
  }

  .field__label.price-facet__label {
    top: 0;
    left: 0;
    color: var(--facets-input-label-color);
    padding: var(--input-padding-y) var(--input-padding-x);
    transform: none;
  }
.product-badges {
    position: absolute;
    z-index: var(--layer-flat);
    --badge-inset: max(var(--padding-xs), calc((var(--border-radius) + var(--padding-xs)) * (1 - cos(45deg))));
    display: flex;
    flex-direction: column;
    gap: var(--gap-xs);
  }

  .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));
  }

  /* Badge Size Variants */
  .product-badges__badge--small {
    --badge-font-size: var(--font-size--xs);
    --badge-padding-block: var(--padding-xs);
    --badge-padding-inline: var(--padding-sm);
  }

  .product-badges__badge--medium {
    --badge-font-size: var(--font-size--sm);
    --badge-padding-block: var(--padding-sm);
    --badge-padding-inline: var(--padding-md);
  }

  .product-badges__badge--large {
    --badge-font-size: var(--font-size--md);
    --badge-padding-block: var(--padding-md);
    --badge-padding-inline: var(--padding-lg);
  }

  /* Badge Shape Variants */
  .product-badges__badge--rectangle {
    border-radius: var(--badge-border-radius);
  }

  .product-badges__badge--pill {
    border-radius: 999px;
  }

  .product-badges__badge--circle {
    border-radius: 50%;
    aspect-ratio: 1;
    min-width: 2.5em;
    min-height: 2.5em;
  }

  /* Badge Width Variants */
  .product-badges__badge--fit {
    width: fit-content;
  }

  .product-badges__badge--fill {
    width: 100%;
    min-width: 80px;
  }

  .product-badges__badge {
    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);
    padding-block: var(--badge-padding-block);
    padding-inline: var(--badge-padding-inline);
    white-space: nowrap;
    line-height: 1.2;
  }

  /* Mobile Size Overrides */
  @media screen and (max-width: 749px) {
    .product-badges__badge--small-mobile {
      --badge-font-size: var(--font-size--2xs);
      --badge-padding-block: var(--padding-2xs);
      --badge-padding-inline: var(--padding-xs);
    }

    .product-badges__badge--medium-mobile {
      --badge-font-size: var(--font-size--xs);
      --badge-padding-block: var(--padding-xs);
      --badge-padding-inline: var(--padding-sm);
    }

    .product-badges__badge--large-mobile {
      --badge-font-size: var(--font-size--sm);
      --badge-padding-block: var(--padding-sm);
      --badge-padding-inline: var(--padding-md);
    }
  }
product-card-link {
    width: 100%;
  }

  .product-card__placeholder-image svg {
    height: 100%;
  }

  @media screen and (width < 750px) {
    .product-card slideshow-arrows .slideshow-control {
      display: none;
    }
  }

  /* Hide the variant swatches for product cards that show a swatches variant picker */
  :is(.product-card):has(swatches-variant-picker-component) .quick-add .variant-option--swatches {
    display: none;
  }

  /* Hide "Add" button for single option product cards that show a swatches variant picker */
  :is(.product-card):has(.quick-add__product-form-component--single-option):has(swatches-variant-picker-component)
    .quick-add__button--choose {
    display: none;
  }

  /* Hide "add" button for multi-variant product cards that don't show a swatches variant picker */
  :is(.product-card):has(.quick-add__product-form-component--multi-variant):not(:has(swatches-variant-picker-component))
    .quick-add__button--add {
    display: none;
  }

  /* Hover effect for single variant product cards and product blocks */

  /* stylelint-disable selector-max-specificity */
  :is(.product-card):has(.quick-add__product-form-component--single-variant) .card-gallery:hover {
    & .quick-add__button--choose {
      display: none;
    }

    & .quick-add__button--add {
      display: grid;
    }
  }
.product-grid {
    --product-grid-gap: var(--product-grid-gap-mobile);
    --product-grid-columns: var(--product-grid-columns-mobile);
    display: grid;
    grid-template-columns: var(--product-grid-columns);
    gap: var(--product-grid-gap);
    isolation: isolate;
    /* Smooth transitions for grid layout changes */
    transition: grid-template-columns 0.3s ease, gap 0.3s ease;

    @media screen and (width >= 750px) {
      --product-grid-gap: var(--product-grid-gap-desktop);
      --product-grid-columns: var(--product-grid-columns-desktop);
    }
  }
  
  /* Smooth transitions for product grid items */
  .product-grid__item {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  
  /* Only apply will-change when needed (during animations) */
  @media (prefers-reduced-motion: no-preference) {
    .product-grid__item:hover {
      will-change: transform;
    }
  }
  
  /* Optimize image loading transitions */
  .product-grid__item img {
    transition: opacity 0.3s ease;
  }
  
  /* Smooth image fade-in for lazy loaded images */
  @media (prefers-reduced-motion: no-preference) {
    .product-grid__item img[loading="lazy"] {
      opacity: 0;
      animation: fadeIn 0.3s ease forwards;
    }
    
    @keyframes fadeIn {
      to {
        opacity: 1;
      }
    }
  }

  .product-grid slideshow-arrows .slideshow-control {
    display: none;

    @media screen and (width >= 750px) {
      display: grid;
    }
  }

  .main-collection-grid {
    padding: var(--grid--margin--mobile);

    @media screen and (width >= 750px) {
      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;
  }

  .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 (width < 750px) {
      margin-left: var(--page-margin);
    }
  }

  /* Force single column on mobile when mobile-single is selected */
  @media (max-width: 749px) {
    .product-grid[product-grid-view='mobile-single'] {
      --product-grid-columns-mobile: 1fr !important;
    }
  }
.product-media {
    aspect-ratio: var(--gallery-aspect-ratio, var(--ratio));
    min-height: 0;
    min-width: 0;
  }

  /*** Media border-radius feature ****/
  @media screen and (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;
      }
    }
  }

  ::view-transition-old(gallery-item),
  ::view-transition-new(gallery-item) {
    animation-duration: 0ms;
  }
/* Override base dialog-modal styles completely */
  .quick-add-modal.dialog-modal {
    padding: 0 !important;
    border: var(--style-border-popover);
    height: fit-content;
    overflow: hidden;
    min-height: 500px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999 !important;
    position: fixed !important;
    inset: auto 0 0 0 !important;
    margin: auto 0 0 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 0 !important;

    @media screen and (max-width: 750px) {
      min-height: unset;
      /* Use 90vh as base, accounting for browser UI and safe areas */
      height: calc(90vh - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
      max-height: calc(90vh - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
      display: flex !important;
      flex-direction: column !important;
      overflow: hidden !important;
      border-top-left-radius: 24px !important; /* Semi-rounded top corners */
      border-top-right-radius: 24px !important;
      border-bottom-left-radius: 0 !important;
      border-bottom-right-radius: 0 !important;
      /* Add padding bottom for safe area */
      padding-bottom: env(safe-area-inset-bottom, 0) !important;
    }
    
    /* Use dvh (dynamic viewport height) for modern browsers that support it */
    @supports (height: 100dvh) {
      @media screen and (max-width: 750px) {
        .quick-add-modal.dialog-modal {
          height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
          max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
        }
      }
    }

    @media screen and (width >= 750px) {
      /* Fixed 50% of screen height */
      height: 50vh !important;
      min-height: 50vh !important;
      max-height: 50vh !important;
      border-top-left-radius: var(--style-border-radius-popover, 0) !important;
      border-top-right-radius: var(--style-border-radius-popover, 0) !important;
    }
  }

  .quick-add-modal.dialog-modal::backdrop {
    z-index: 9998 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px) !important;
    opacity: 1 !important;
  }

  /* Ensure dialog is visible when open */
  .quick-add-modal.dialog-modal:not([open]) {
    display: none !important;
  }

  .quick-add-modal.dialog-modal[open] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    animation: modalSlideInBottom var(--animation-speed) var(--animation-easing) forwards !important;
  }

  .quick-add-modal.dialog-modal.dialog-closing {
    animation: modalSlideOutBottom var(--animation-speed) var(--animation-easing) forwards !important;
  }

  .quick-add-modal .view-more-details__wrapper {
    @media screen and (max-width: 750px) {
      display: none;
    }
  }

  .quick-add-modal__close {
    position: absolute;
    top: var(--margin-2xs);
    right: var(--margin-2xs);
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    color: var(--color-foreground);
    background-color: var(--color-background);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2;
    transition: transform 0.15s var(--animation-timing-bounce), opacity 0.15s var(--animation-easing);
  }

  .quick-add-modal__close:active {
    transform: scale(0.8);
  }

  .quick-add-modal__close svg {
    width: var(--icon-size-xs);
    height: var(--icon-size-xs);
  }

  .quick-add-modal__content {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 100% 1fr;
    position: relative;
    max-width: var(--wide-content-width);
    overflow-y: auto;
    max-height: 100vh;

    @media screen and (max-width: 750px) {
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      padding-inline: 0; /* Remove horizontal padding */
      padding-block: 0; /* Remove vertical padding */
      gap: 0; /* No gap between sections */
      flex: 1;
      min-height: 0;
      overflow: hidden; /* Prevent all scrolling at content level */
      height: 100%; /* Fill parent modal */
      max-height: 100%;
      display: flex;
      flex-direction: column;
    }

    @media screen and (width >= 750px) {
      grid-template-columns: 1fr 1fr !important; /* 50/50 split - media left (col 1), details right (col 2) */
      grid-template-rows: 1fr !important; /* Single row, full height */
      height: 50vh !important; /* Fixed 50% of screen height */
      min-height: 50vh !important;
      max-height: 50vh !important;
      max-width: 100% !important; /* Full width for 50/50 layout */
      width: 100% !important;
      overflow: hidden !important; /* Prevent content overflow */
      gap: 0 !important; /* No gap between columns */
      align-items: stretch !important; /* Stretch both columns to full height */
      display: grid !important; /* Ensure grid is used */
    }
  }

  /* Mobile: Use carousel layout (flex/horizontal scroll) */
  /* Desktop: Use grid layout with 2 columns */
  .quick-add-modal__content .media-gallery--grid .media-gallery__grid,
  .quick-add-modal__content .media-gallery--carousel .media-gallery__grid {
    @media screen and (max-width: 749px) {
      display: flex !important;
      flex-direction: row !important;
      overflow-x: auto !important;
      scroll-snap-type: x mandatory !important;
      gap: 0 !important;
      grid-template-columns: unset !important;
    }

    @media screen and (width >= 750px) {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important; /* 2 columns on desktop */
      gap: var(--gap-xs, 12px) !important;
    }
  }

  /* Show slideshow component - carousel on mobile, grid on desktop */
  .quick-add-modal__content .media-gallery--grid slideshow-component,
  .quick-add-modal__content .media-gallery--carousel slideshow-component {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    overflow: visible !important; /* Allow scrolling */
    
    @media screen and (max-width: 749px) {
      /* Enable carousel functionality on mobile */
      --cursor: grab;
    }
    
    @media screen and (width >= 750px) {
      /* Enable carousel functionality on desktop */
      --cursor: grab;
      overflow: visible !important;
    }
  }
  
  /* Mobile: Use carousel, Desktop: Use carousel (not grid) */
  .quick-add-modal__content media-gallery {
    @media screen and (max-width: 749px) {
      --media-presentation: carousel !important;
    }
    @media screen and (width >= 750px) {
      --media-presentation: carousel !important; /* Changed from grid to carousel */
    }
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }
  
  .quick-add-modal__content .media-gallery--carousel {
    @media screen and (max-width: 749px) {
      --media-presentation: carousel !important;
    }
    @media screen and (width >= 750px) {
      --media-presentation: carousel !important; /* Changed from grid to carousel */
    }
  }
  
  /* Ensure carousel wrapper is visible */
  .quick-add-modal__content .media-gallery__carousel-wrapper {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }

  .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: 750px) {
      display: flex;
      flex-direction: column;
      width: 100%;
      padding: 0;
      margin-bottom: var(--gap-md, 16px);
    }
  }
  
  /* Mobile: Ensure media appears first, then header, then form - make details scrollable */
  @media screen and (max-width: 750px) {
    .quick-add-modal__content {
      display: flex;
      flex-direction: column;
      height: 100%;
      max-height: 100%;
      overflow: hidden;
      flex: 1 1 auto;
      min-height: 0;
      padding: 0;
      gap: 0;
    }
    
    .quick-add-modal__content .product-information__media {
      order: 1;
      width: 100%;
      flex: 0 0 auto; /* Auto height based on content */
      height: auto;
      max-height: 40vh; /* Limit media height to leave space for details */
      min-height: 200px; /* Minimum height for visibility */
      margin-bottom: 0;
      overflow: hidden;
      padding: var(--padding-xs, 8px); /* Reduced padding */
    }
    
    /* Details section - scrollable to ensure buttons are always accessible */
    .quick-add-modal__content .product-details__info--mobile-only {
      order: 2;
      width: 100%;
      flex: 1 1 auto; /* Take remaining space */
      min-height: 0;
      overflow-y: auto; /* Enable vertical scrolling */
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
      padding: var(--padding-xs, 8px) var(--padding-md, 16px);
      /* Add bottom padding to ensure buttons are not cut off */
      padding-bottom: calc(var(--padding-md, 16px) + env(safe-area-inset-bottom, 0px));
      display: flex;
      flex-direction: column;
      gap: var(--gap-xs, 8px); /* Small gap between children */
      contain: layout style paint; /* Optimize rendering */
    }
    
    /* Elements inside details container - ultra compact spacing */
    .quick-add-modal__content .product-details__info--mobile-only .product-header {
      width: 100%;
      flex-shrink: 1;
      margin-bottom: 4px; /* Minimal margin */
      padding: 0;
    }
    
    .quick-add-modal__content .product-details__info--mobile-only variant-picker {
      width: 100%;
      flex-shrink: 1;
      margin-bottom: var(--gap-xs, 8px);
      padding: 0 var(--padding-md, 16px); /* Only horizontal padding */
    }
    
    .quick-add-modal__content .product-details__info--mobile-only product-form-component {
      width: 100%;
      flex-shrink: 0; /* Don't shrink buttons - keep them visible */
      margin-bottom: 0;
      margin-top: auto; /* Push buttons to bottom when scrolling */
    }
    
    /* Compact spacing for mobile */
    .quick-add-modal__content .product-details__info--mobile-only > * {
      margin-bottom: var(--gap-xs, 8px); /* Consistent spacing */
      box-sizing: border-box;
    }
    
    .quick-add-modal__content .product-details__info--mobile-only > *:last-child {
      margin-bottom: 0;
    }
    
    /* Ensure buttons container has proper spacing and padding */
    .quick-add-modal__content .product-details__info--mobile-only .buy-buttons-block,
    .quick-add-modal__content .product-details__info--mobile-only product-form-component {
      padding-top: var(--padding-xs, 8px);
      margin-top: var(--gap-xs, 8px);
      /* Ensure buttons are fully visible with safe area padding */
      margin-bottom: env(safe-area-inset-bottom, 0px);
    }
    
    /* Minimal padding in variant picker and form for mobile */
    .quick-add-modal__content .product-details__info--mobile-only .group-block {
      padding: var(--padding-xs, 8px) 0; /* Reduced padding */
    }
    
    .quick-add-modal__content .product-details__info--mobile-only .group-block-content {
      gap: var(--gap-xs, 8px); /* Minimal gap */
    }
    
    /* Ultra compact variant options */
    .quick-add-modal__content .product-details__info--mobile-only .variant-option {
      margin-bottom: var(--gap-xs, 8px); /* Better spacing */
      padding: 0 var(--padding-xs, 8px); /* Add horizontal padding */
    }
    
    .quick-add-modal__content .product-details__info--mobile-only .variant-option legend {
      margin-bottom: var(--gap-xs, 8px); /* Better spacing */
      font-size: var(--font-size--sm, 14px); /* Smaller font */
      padding: 0 var(--padding-xs, 8px); /* Add padding to legend */
    }
    
    .quick-add-modal__content .product-details__info--mobile-only .variant-option__button-label {
      padding: var(--padding-xs, 8px); /* Comfortable padding for touch targets */
    }
    
    /* Compact form buttons */
    .quick-add-modal__content .product-details__info--mobile-only .buy-buttons-block {
      padding: var(--padding-xs, 8px) 0;
      margin-top: 0;
    }
    
    /* Side-by-side quantity and add to cart on mobile, with buy now below */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons {
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      gap: var(--gap-xs, 8px);
      align-items: stretch;
      justify-content: flex-start;
      width: 100%;
      box-sizing: border-box;
      /* Ensure buttons are always visible */
      position: relative;
      z-index: 10;
    }
    
    /* Quantity selector - take 30% width, positioned on left, first row */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .quantity-selector {
      flex: 0 0 30%;
      min-width: 0;
      max-width: 30%;
      order: 1;
      display: flex;
      height: var(--height-buy-buttons, 48px);
      min-height: var(--height-buy-buttons, 48px);
      max-height: var(--height-buy-buttons, 48px);
      align-items: center;
      justify-content: space-between;
      box-sizing: border-box;
    }
    
    /* Quantity selector input - center text */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .quantity-selector input[type='number'] {
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* Quantity selector buttons - center icons */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .quantity-selector .quantity-minus,
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .quantity-selector .quantity-plus {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* Add to cart button - take remaining 70% width, positioned on right, first row */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .add-to-cart-button {
      flex: 1 1 70%;
      min-width: 0;
      order: 2;
      width: 100%;
      height: var(--height-buy-buttons, 48px);
      min-height: var(--height-buy-buttons, 48px);
      max-height: var(--height-buy-buttons, 48px);
      display: flex;
      align-items: stretch;
      justify-content: center;
      box-sizing: border-box;
    }
    
    /* Buy now button (accelerated checkout) - full width, second row */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .accelerated-checkout-block {
      flex: 1 1 100%;
      width: 100%;
      order: 3;
      margin-top: var(--gap-xs, 8px);
      /* Ensure button is fully visible */
      margin-bottom: env(safe-area-inset-bottom, 0px);
    }
    
    /* Very small screens - ensure buttons are not cramped */
    @media screen and (max-width: 375px) {
      .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons {
        flex-direction: column; /* Stack buttons vertically on very small screens */
        gap: var(--gap-xs, 8px);
      }
      
      .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .quantity-selector {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
      }
      
      .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .add-to-cart-button {
        flex: 1 1 100%;
        width: 100%;
      }
    }
    
    /* Adjust add to cart button size - make it fill its container and match height */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .add-to-cart-button button,
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .add-to-cart-button .button {
      width: 100%;
      height: 100%;
      min-height: var(--height-buy-buttons, 48px);
      padding-inline: var(--padding-md, 16px);
      padding-block: var(--padding-sm, 12px);
      font-size: var(--font-size--sm, 14px);
      box-sizing: border-box;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    
    /* Center text inside add to cart button content */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .add-to-cart-button button *,
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .add-to-cart-button .button * {
      text-align: center;
    }
    
    /* Buy now button - full width styling */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .accelerated-checkout-block .shopify-payment-button__button,
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .accelerated-checkout-block button {
      width: 100%;
      padding-inline: var(--padding-md, 16px);
      padding-block: var(--padding-sm, 12px);
      font-size: var(--font-size--sm, 14px);
    }
    
    /* Compact product title */
    .quick-add-modal__content .product-details__info--mobile-only .product-header a {
      font-size: var(--font-size--md, 16px); /* Slightly smaller */
      line-height: 1.2; /* Tighter line height */
      margin-bottom: 4px;
      display: -webkit-box;
      -webkit-line-clamp: 2; /* Limit to 2 lines */
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    /* Compact price */
    .quick-add-modal__content .product-details__info--mobile-only product-price {
      margin-bottom: 4px;
      font-size: var(--font-size--md, 16px);
    }
    
    /* Ensure variant picker doesn't take too much space */
    .quick-add-modal__content .product-details__info--mobile-only variant-picker .variant-option {
      margin-top: 0;
      margin-bottom: var(--gap-xs, 8px);
      padding: 0 var(--padding-xs, 8px); /* Add horizontal padding */
    }
    
    /* Compact swatch buttons */
    .quick-add-modal__content .product-details__info--mobile-only .variant-option__button-label {
      min-width: auto;
      padding: var(--padding-xs, 8px); /* Comfortable padding for touch targets */
    }
    
    /* Compact form - reduce button padding */
    .quick-add-modal__content .product-details__info--mobile-only .buy-buttons-block button {
      padding: var(--padding-sm, 12px) var(--padding-md, 16px); /* Compact button */
      font-size: var(--font-size--sm, 14px); /* Slightly smaller text */
    }
    
    /* Fallback for direct children if structure is different */
    .quick-add-modal__content > .product-header,
    .quick-add-modal__content > variant-picker,
    .quick-add-modal__content > product-form-component {
      width: 100%;
      flex-shrink: 1;
    }
  }

  .quick-add-modal__content .product-header a:not(product-price *) {
    @media screen and (width < 750px) {
      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: 750px) {
      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;
    height: 100%;
    min-height: 0;

    dialog[open] & {
      animation: fadeSlideIn 0.3s var(--animation-timing-fade-in) both;
      animation-delay: 0.1s;
    }

    @media screen and (max-width: 750px) {
      grid-column: 1 / -1;
      grid-row: span 1;
      overflow-y: auto;
      max-height: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    @media screen and (width >= 750px) {
      /* Desktop: Always show product-details in right column (grid-column: 2) */
      display: flex !important;
      flex-direction: column !important;
      grid-column: 2 !important;
      grid-row: 1 !important;
      width: 100% !important;
      overflow-y: auto !important;
      padding: var(--padding-xl, 24px) !important;
      height: 50vh !important;
      max-height: 50vh !important;
      min-height: 50vh !important;
      visibility: visible !important;
      opacity: 1 !important;
      align-self: stretch !important;
      position: relative !important;
    }
  }

  .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 .variant-picker {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
  }

  .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 {
    padding: 0;
    display: flex !important; /* Ensure it's visible in quick add modal */
    visibility: visible !important;
    opacity: 1 !important;
    
    @media screen and (width >= 750px) {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
      margin-bottom: var(--gap-md, 16px);
      width: 100%;
    }
  }

  .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);
    
    @media screen and (width >= 750px) {
      display: -webkit-box !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
  }

  .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 *,
      .product-details__info,
      .product-details__info *,
      .product-title-row,
      .product-title-row *,
      .product-title-heading,
      .product-title-subheading,
      .product-header,
      .product-header *
    ) {
    @media screen and (width >= 750px) {
      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 *,
          .product-details__info,
          .product-details__info *
        )
    ):not(.buy-buttons-block) {
    display: none;
  }
  
  /* CRITICAL: Ensure product-details .group-block is always visible on desktop */
  @media screen and (width >= 750px) {
    /* Override any rules that might hide group-block inside product-details */
    .quick-add-modal__content .product-details .group-block {
      display: block;
      visibility: visible;
      opacity: 1;
      width: 100%;
      padding: 0;
      max-height: 100%;
    }
    
    .quick-add-modal__content .product-details .group-block-content {
      display: flex;
      flex-direction: column;
      visibility: visible;
      opacity: 1;
      width: 100%;
      padding: 0;
      gap: var(--gap-md, 16px);
    }
    
    /* Ensure all direct children of group-block-content are visible */
    .quick-add-modal__content .product-details .group-block-content > * {
      display: block;
      visibility: visible;
      opacity: 1;
    }
  }
  
  /* Ensure product-details__info blocks are visible */
  .quick-add-modal__content .product-details__info {
    display: block !important;
  }
  
  /* Show mobile-only content on mobile, desktop content on desktop */
  @media screen and (max-width: 749px) {
    .quick-add-modal__content .product-details__info--mobile-only {
      display: block !important;
    }
    
    .quick-add-modal__content .product-details__info--desktop-above-features,
    .quick-add-modal__content .technical-features-desktop-wrapper {
      display: none !important;
    }
    
    /* Hide full product-details section on mobile (we use mobile-only content) */
    .quick-add-modal__content .product-details:not(:has(.product-details__info--mobile-only)) {
      display: none !important;
    }
  }
  
  @media screen and (width >= 750px) {
    /* Show mobile-only content on desktop too - same structure as mobile */
    .quick-add-modal__content .product-details__info--mobile-only {
      display: flex !important;
      flex-direction: column !important;
    }
    
    /* Hide product-details that is ONLY mobile-only (no desktop content) */
    .quick-add-modal__content .product-details:has(.product-details__info--mobile-only):not(:has(.product-details__info--desktop-above-features)):not(:has(variant-picker)):not(:has(product-price)):not(:has(product-form-component)):not(:has(.view-product-title)):not(:has(.group-block)) {
      display: none !important;
    }
  }
  
  /* Hide protection features, temp rating, product info drawer, and other unnecessary elements */
  .quick-add-modal__content .protection-features,
  .quick-add-modal__content .protection-features *,
  .quick-add-modal__content .protection-features-block,
  .quick-add-modal__content .protection-features-block *,
  .quick-add-modal__content .protection-features-block--desktop,
  .quick-add-modal__content .protection-features-block--desktop *,
  .quick-add-modal__content .temp-rating,
  .quick-add-modal__content .temp-rating *,
  .quick-add-modal__content .temperature-rating-block,
  .quick-add-modal__content .temperature-rating-block *,
  .quick-add-modal__content .product-info-drawer,
  .quick-add-modal__content .product-info-drawer *,
  .quick-add-modal__content .product-details__row--rating-info,
  .quick-add-modal__content .product-details__row--rating-info *,
  .quick-add-modal__content .product-details__row--technical-features-mobile,
  .quick-add-modal__content .product-details__row--technical-features-mobile *,
  .quick-add-modal__content .product-details__row--temp-rating-mobile,
  .quick-add-modal__content .product-details__row--temp-rating-mobile *,
  .quick-add-modal__content .product-details__col--temp-rating,
  .quick-add-modal__content .product-details__col--temp-rating *,
  .quick-add-modal__content .product-details__col--technical-features,
  .quick-add-modal__content .product-details__col--technical-features *,
  .quick-add-modal__content .product-details__info-drawer-wrapper,
  .quick-add-modal__content .product-details__info-drawer-wrapper *,
  .quick-add-modal__content .product-details__policies-accordion,
  .quick-add-modal__content .product-details__policies-accordion *,
  .quick-add-modal__content .product-details__row--one-column,
  .quick-add-modal__content .product-details__row--one-column * {
    display: none !important;
  }
  
  /* Hide protection features block inside technical-features-desktop-wrapper, but keep product info visible */
  .quick-add-modal__content .technical-features-desktop-wrapper .protection-features-block,
  .quick-add-modal__content .technical-features-desktop-wrapper .protection-features-block--desktop,
  .quick-add-modal__content .technical-features-desktop-wrapper .protection-features-block * {
    display: none !important;
  }
  
  /* Ensure essential elements are visible on desktop */
  @media screen and (width >= 750px) {
    /* Show variant picker, price, form, and title regardless of container */
    .quick-add-modal__content variant-picker,
    .quick-add-modal__content product-price,
    .quick-add-modal__content product-form-component,
    .quick-add-modal__content .view-product-title,
    .quick-add-modal__content .product-header {
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
    
    /* Ensure product-details__info blocks are visible on desktop */
    .quick-add-modal__content .product-details__info,
    .quick-add-modal__content .product-details__info--desktop-above-features {
      display: flex;
      flex-direction: column;
      gap: var(--gap-md, 16px);
      width: 100%;
    }
    
    /* Ensure group-block and group-block-content are visible and properly styled */
    .quick-add-modal__content .product-details .group-block {
      display: block;
      width: 100%;
      padding: 0;
      max-height: 100%;
    }
    
    .quick-add-modal__content .product-details .group-block-content {
      display: flex;
      flex-direction: column;
      gap: var(--gap-md, 16px);
      width: 100%;
      padding: 0;
    }
    
    /* Hide technical-features-desktop-wrapper on desktop - we want same content as mobile */
    .quick-add-modal__content .technical-features-desktop-wrapper {
      display: none;
    }
    
    /* Show mobile-only content on desktop too (same structure as mobile) */
    .quick-add-modal__content .product-details__info--mobile-only {
      display: flex;
      flex-direction: column;
      gap: var(--gap-md, 16px);
      width: 100%;
      padding: 0;
    }
    
    /* Ensure product-header is visible on desktop */
    .quick-add-modal__content .product-details__info--mobile-only .product-header {
      display: flex;
      flex-direction: column;
      width: 100%;
      margin-bottom: var(--gap-md, 16px);
    }
    
    /* Ensure variant picker is visible in mobile-only structure on desktop */
    .quick-add-modal__content .product-details__info--mobile-only variant-picker {
      display: block;
      visibility: visible;
      opacity: 1;
      width: 100%;
      margin-bottom: var(--gap-md, 16px);
    }
    
    /* Ensure product form is visible in mobile-only structure on desktop */
    .quick-add-modal__content .product-details__info--mobile-only product-form-component {
      display: block;
      visibility: visible;
      opacity: 1;
      width: 100%;
    }
    
    /* Side-by-side quantity and add to cart on desktop (same as mobile) */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons {
      display: flex !important;
      flex-direction: row !important;
      flex-wrap: wrap !important;
      gap: var(--gap-xs, 8px) !important;
      align-items: stretch !important;
      justify-content: flex-start !important;
    }
    
    /* Quantity selector - take 30% width, positioned on left, first row */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .quantity-selector {
      flex: 0 0 30% !important;
      min-width: 0 !important;
      max-width: 30% !important;
      order: 1 !important;
      display: flex !important;
      height: var(--height-buy-buttons, 48px) !important;
      min-height: var(--height-buy-buttons, 48px) !important;
      max-height: var(--height-buy-buttons, 48px) !important;
      align-items: center !important;
      justify-content: space-between !important;
      box-sizing: border-box !important;
    }
    
    /* Quantity selector input - center text */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .quantity-selector input[type='number'] {
      text-align: center !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
    
    /* Quantity selector buttons - center icons */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .quantity-selector .quantity-minus,
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .quantity-selector .quantity-plus {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
    
    /* Add to cart button - take remaining 70% width, positioned on right, first row */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .add-to-cart-button {
      flex: 1 1 70% !important;
      min-width: 0 !important;
      order: 2 !important;
      width: 100% !important;
      height: var(--height-buy-buttons, 48px) !important;
      min-height: var(--height-buy-buttons, 48px) !important;
      max-height: var(--height-buy-buttons, 48px) !important;
      display: flex !important;
      align-items: stretch !important;
      justify-content: center !important;
      box-sizing: border-box !important;
    }
    
    /* Buy now button (accelerated checkout) - full width, second row */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .accelerated-checkout-block {
      flex: 1 1 100% !important;
      width: 100% !important;
      order: 3 !important;
      margin-top: var(--gap-xs, 8px) !important;
    }
    
    /* Adjust add to cart button size - make it fill its container and match height */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .add-to-cart-button button,
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .add-to-cart-button .button {
      width: 100% !important;
      height: 100% !important;
      min-height: var(--height-buy-buttons, 48px) !important;
      padding-inline: var(--padding-md, 16px) !important;
      padding-block: var(--padding-sm, 12px) !important;
      font-size: var(--font-size--sm, 14px) !important;
      box-sizing: border-box !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      text-align: center !important;
    }
    
    /* Center text inside add to cart button content */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .add-to-cart-button button *,
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .add-to-cart-button .button * {
      text-align: center !important;
    }
    
    /* Buy now button - full width styling */
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .accelerated-checkout-block .shopify-payment-button__button,
    .quick-add-modal__content .product-details__info--mobile-only .product-form-buttons .accelerated-checkout-block button {
      width: 100% !important;
      padding-inline: var(--padding-md, 16px) !important;
      padding-block: var(--padding-sm, 12px) !important;
      font-size: var(--font-size--sm, 14px) !important;
    }
    
  }
  
  /* Only show essential product info blocks */
  .quick-add-modal__content .product-details__info {
    display: block !important;
  }
  
  .quick-add-modal__content .product-details__info > * {
    display: block !important;
  }
  
  /* Hide any group blocks that don't contain essential elements */
  .quick-add-modal__content .product-details .group-block:not(:has(.product-details__info)):not(:has(.view-product-title)):not(:has(variant-picker)):not(:has(product-price)):not(:has(.buy-buttons-block)) {
    display: none !important;
  }

  @media screen and (width >= 750px) {
    .quick-add-modal__content .group-block-content {
      gap: min(var(--gap-2xl), var(--gap));
    }

    .quick-add-modal__content .media-gallery__grid {
      gap: min(var(--gap-2xs), var(--image-gap));
      border-radius: var(--style-border-radius-popover, 0);
    }

    @media screen and (width >= 1024px) {
      .quick-add-modal__content .media-gallery__grid {
        gap: min(var(--gap-xs, 12px), var(--image-gap, 8px));
      }
    }

    .quick-add-modal__content .media-gallery--grid .product-media img {
      border-radius: 0;
    }

    .quick-add-modal__content .media-gallery--grid .product-media-container:first-child {
      border-top-right-radius: var(--style-border-radius-popover, 0);
    }

    .quick-add-modal__content .media-gallery--grid .product-media-container:last-child {
      border-bottom-right-radius: var(--style-border-radius-popover, 0);
    }

    @media screen and (width >= 1024px) {
      /* 2-column layout border-radius adjustments */
      .quick-add-modal__content .media-gallery--grid .product-media-container:first-child {
        border-top-left-radius: var(--style-border-radius-popover, 0);
        border-top-right-radius: 0;
      }

      .quick-add-modal__content .media-gallery--grid .product-media-container:nth-child(2) {
        border-top-right-radius: var(--style-border-radius-popover, 0);
      }

      .quick-add-modal__content .media-gallery--grid .product-media-container:nth-last-child(2) {
        border-bottom-left-radius: var(--style-border-radius-popover, 0);
      }

      .quick-add-modal__content .media-gallery--grid .product-media-container:last-child {
        border-bottom-right-radius: var(--style-border-radius-popover, 0);
      }
    }
  }

  .quick-add-modal__content .product-details > .group-block {
    @media screen and (max-width: 750px) {
      padding: var(--padding-2xl);
      max-height: 100%;
    }
    
    @media screen and (width >= 750px) {
      padding: 0 !important;
      max-height: 100%;
      width: 100%;
    }
  }

  .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;
    grid-row: 1;
    position: relative;
    top: 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: fadeIn 0.4s var(--animation-timing-fade-in) both;

    @media screen and (max-width: 749px) {
      grid-column: 1 / -1;
      padding: 0; /* Remove padding, let parent handle it */
      display: flex !important;
      flex-direction: column !important;
      visibility: visible !important;
      opacity: 1 !important;
      height: 50vh !important; /* Fixed 50% of viewport height */
      max-height: 50vh !important;
      min-height: 50vh !important;
      overflow: hidden !important;
      flex: 0 0 50vh !important; /* Fixed size, don't grow */
    }

    @media screen and (width >= 750px) {
      position: relative;
      grid-column: 1 !important; /* First column (50% width) - LEFT side */
      grid-row: 1 !important;
      overflow: hidden; /* Hide overflow, let carousel handle scrolling */
      -ms-overflow-style: none;
      scrollbar-width: none;
      height: 50vh !important; /* 50% of screen height */
      max-height: 50vh !important;
      min-height: 50vh !important;
      display: flex !important;
      flex-direction: column !important;
      padding: var(--padding-xl, 24px) !important;
      width: 100% !important; /* Fill grid column */
      align-self: stretch !important;
    }

    &::-webkit-scrollbar {
      display: none;
    }
  }

  .quick-add-modal__content .product-information__media media-gallery {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;

    @media screen and (max-width: 749px) {
      pointer-events: auto;
      height: 100% !important;
      max-height: 100% !important;
      min-height: 200px;
      overflow: hidden;
    }

    @media screen and (width >= 750px) {
      pointer-events: auto; /* Enable pointer events for scrolling */
      position: relative;
      height: 100%;
      width: 100%;
      flex: 1;
      overflow: visible; /* Allow overflow for scrolling */
    }
  }

  .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;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible; /* Allow scrolling */
  }

  .quick-add-modal__content .product-information__media slideshow-slides,
  .quick-add-modal__content media-gallery slideshow-slides,
  .quick-add-modal__content .media-gallery__grid {
    @media screen and (max-width: 749px) {
      /* Mobile: Horizontal scroll with multiple visible portrait images */
      display: flex;
      flex-direction: row;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      gap: var(--gap-xs, 12px);
      width: 100%;
      height: 100%; /* Fill parent 50vh */
      position: relative;
      align-items: stretch;
      scroll-padding: 0;
    }

    @media screen and (width >= 750px) {
      /* Desktop: Horizontal scroll with multiple visible portrait images - same gap as mobile */
      display: flex;
      flex-direction: row;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      gap: var(--gap-xs, 12px); /* Same gap as mobile */
      width: 100%;
      height: 100%; /* Fill parent 50vh */
      position: relative;
      align-items: stretch;
      scroll-padding: 0;
      /* Enable scrolling */
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
    }
  }

  .quick-add-modal__content .product-information__media slideshow-slide,
  .quick-add-modal__content media-gallery slideshow-slide,
  .quick-add-modal__content .media-gallery__grid .product-media-container {
    display: block;
    position: relative;
    opacity: 1;
    visibility: visible;
    content-visibility: visible;
    transition: opacity 0.3s var(--animation-easing);

    @media screen and (max-width: 749px) {
      /* Mobile: Portrait images - width based on aspect ratio */
      /* Portrait images: height is 50vh, width calculated from aspect ratio */
      height: 100%;
      flex: 0 0 auto;
      flex-shrink: 0;
      scroll-snap-align: start;
      transform: none;
      /* Calculate width from aspect ratio - default to 3:4 portrait */
      /* width = height * (aspect-ratio) = 50vh * (3/4) = 37.5vh */
      width: calc(50vh * var(--ratio, 0.75));
      min-width: calc(50vh * 0.7); /* Minimum for very wide images */
      max-width: calc(50vh * 0.85); /* Maximum for square-ish images */
      --slide-width: calc(50vh * var(--ratio, 0.75));
    }

    @media screen and (width >= 750px) {
      /* Desktop: Portrait images - width based on container height and aspect ratio */
      /* Container height is 50vh */
      /* Calculate width: use container height * aspect ratio */
      height: 100%;
      flex: 0 0 auto;
      flex-shrink: 0;
      scroll-snap-align: start;
      transform: none;
      /* Use 50vh as base height, multiply by aspect ratio */
      /* For 3:4 portrait: width = 50vh * 0.75 */
      width: calc(50vh * var(--ratio, 0.75));
      min-width: calc(50vh * 0.6); /* Minimum for wide images */
      max-width: calc(50vh * 0.85); /* Maximum for square images */
      --slide-width: calc(50vh * var(--ratio, 0.75));
    }
  }
  
  .quick-add-modal__content .product-information__media .product-media,
  .quick-add-modal__content .product-information__media .product-media img,
  .quick-add-modal__content .product-information__media .product-media video,
  .quick-add-modal__content media-gallery .product-media,
  .quick-add-modal__content media-gallery .product-media img,
  .quick-add-modal__content media-gallery .product-media video,
  .quick-add-modal__content slideshow-slide .product-media,
  .quick-add-modal__content slideshow-slide .product-media img,
  .quick-add-modal__content slideshow-slide .product-media video {
    display: block;
    opacity: 1;
    visibility: visible;
    position: relative;
    
    @media screen and (max-width: 749px) {
      /* Mobile: Portrait images - maintain aspect ratio, fill container height */
      height: 100%;
      width: 100%;
      object-fit: contain;
      aspect-ratio: var(--ratio, 0.75); /* Default portrait ratio 3:4 */
    }
    
    @media screen and (width >= 750px) {
      /* Desktop: Portrait images - maintain aspect ratio, fill container height */
      height: 100%;
      width: 100%;
      object-fit: contain;
      aspect-ratio: var(--ratio, 0.75); /* Default portrait ratio 3:4 */
    }
  }
  
  /* Ensure product-media-container is visible */
  .quick-add-modal__content .product-media-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    
    @media screen and (max-width: 749px) {
      height: 100% !important;
      width: auto !important;
      flex: 0 0 auto !important;
    }
    
    @media screen and (width >= 750px) {
      height: 100% !important;
      width: auto !important;
      flex: 0 0 auto !important;
    }
  }
  
  /* Ensure videos autoplay and loop in quick add modal */
  .quick-add-modal__content video {
    autoplay: true !important;
    loop: true !important;
    muted: true !important;
    playsinline: true !important;
  }
  
  .quick-add-modal__content video[autoplay],
  .quick-add-modal__content video[loop] {
    autoplay: true !important;
    loop: true !important;
  }
  
  /* Ensure deferred-media videos autoplay and loop */
  .quick-add-modal__content deferred-media[autoplay] video,
  .quick-add-modal__content deferred-media video {
    autoplay: true !important;
    loop: true !important;
    muted: true !important;
  }
  
  /* Force video elements to have loop attribute */
  .quick-add-modal__content video:not([loop]) {
    loop: true !important;
  }

  /* Show all slides in quick add modal, even if aria-hidden */
  .quick-add-modal__content .product-information__media slideshow-slide[aria-hidden='true'],
  .quick-add-modal__content media-gallery slideshow-slide[aria-hidden='true'] {
    @media screen and (max-width: 749px) {
      /* Mobile: Show only the active slide in carousel */
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      content-visibility: visible !important;
    }
    
    @media screen and (width >= 750px) {
      /* Desktop: Show all slides in grid */
      display: block !important;
      visibility: visible !important;
      opacity: 1 !important;
      content-visibility: visible !important;
    }
  }

  .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 slideshow-controls {
    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);
    }
  }
/* Quick Add */
  .quick-add {
    --quick-add-offset: var(--padding-sm);
    --quick-add-top: calc(var(--quick-add-offset) + var(--padding-block-start));
    --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-left: calc(var(--quick-add-offset) + var(--padding-inline-end));

    position: absolute;
    display: var(--quick-add-mobile-display, none);
    flex-direction: column;
    justify-content: flex-end;
    inset: max(var(--quick-add-top), calc((var(--border-radius) + var(--quick-add-top)) * (1 - cos(45deg))))
      max(var(--quick-add-right), calc((var(--border-radius) + var(--quick-add-right)) * (1 - cos(45deg))))
      max(var(--quick-add-bottom), calc((var(--border-radius) + var(--quick-add-bottom)) * (1 - cos(45deg))))
      max(var(--quick-add-left), calc((var(--border-radius) + var(--quick-add-left)) * (1 - cos(45deg))));
    width: auto;
    height: auto;
    z-index: var(--layer-raised);
    cursor: default;
    pointer-events: none;

    @media screen and (width >= 750px) {
      --quick-add-offset: var(--padding-md);
      display: var(--quick-add-display, flex);
    }
  }

  .quick-add .variant-option__button-label input[data-option-available='false'] {
    cursor: not-allowed;
  }

  .quick-add[class*='color-scheme-'] {
    background-color: transparent;
  }

  .quick-add__button {
    display: grid;
    padding: var(--padding-xs);
    align-items: center;
    background-color: var(--color-background);
    color: var(--color-foreground);
    border-color: transparent;
    box-shadow: var(--shadow-popover);
    pointer-events: all;
    position: relative;
    overflow: hidden;
    border-radius: 100px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      background-color 0.3s ease;
    will-change: transform, box-shadow;

    @media screen and (width >= 750px) {
      display: grid !important;
      padding: var(--padding-xs) var(--padding-sm);
    }

    .quick-add[stay-visible] & {
      display: grid;
    }

    /* Smooth hover effect */
    @media (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
      &:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), var(--shadow-popover);
      }

      &:active {
        transform: scale(0.98);
        transition-duration: 0.1s;
      }
    }
  }

  .quick-add__button .add-to-cart-text {
    gap: 0;
    line-height: 1;
    grid-row: 1 / span 1;
    grid-column: 1 / span 1;
    animation: none;

    @media screen and (width >= 750px) {
      /* offset button padding to show a round button in a collapsed state */
      margin-inline: calc(var(--padding-sm) * -1);
      padding-inline: var(--padding-xs);
    }
  }

  .quick-add__button .add-to-cart-text--added {
    position: relative;
    grid-row: 1 / span 1;
    grid-column: 1 / span 1;
    justify-self: end;
    line-height: 1;

    @media screen and (width >= 750px) {
      width: 0;
    }
  }

  .quick-add__button .add-to-cart-text__content {
    width: 0;
    opacity: 0;
    transform: translateX(1em);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    interpolate-size: allow-keywords;
    will-change: width, opacity, transform;
  }

  @container (min-width: 99px) {
    .quick-add[stay-visible] .add-to-cart-text,
    .quick-add__button:is(:focus, :hover) .add-to-cart-text {
      gap: var(--gap-2xs);
      transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);

      @media screen and (width >= 750px) {
        /* offset button padding to show a round button in a collapsed state */
        margin-inline: 0;
        padding-inline: 0;
      }
    }

    .quick-add[stay-visible] .add-to-cart-text__content,
    .quick-add__button:is(:focus, :hover) .add-to-cart-text__content {
      width: fit-content;
      opacity: 1;
      transform: translateX(0);
    }
  }

  .quick-add__button.atc-added .add-to-cart-text {
    opacity: 0;
  }

  .quick-add__button.atc-added .add-to-cart-text--added {
    opacity: 1;
    width: auto;

    @supports (width: calc-size(auto, size)) {
      width: calc-size(auto, size);
    }
  }

  .quick-add__button.atc-added .add-to-cart-text {
    animation-name: atc-fade-out;
  }

  .quick-add__button.atc-added .add-to-cart-text--added {
    animation-name: atc-fade-in;
  }

  .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;
  }

  @keyframes atc-fade-in {
    from {
      opacity: 0;
      transform: translateX(1em);
      position: absolute;
    }

    to {
      opacity: 1;
      transform: translateX(0);
      position: inherit;
    }
  }

  @keyframes atc-fade-out {
    from {
      opacity: 1;
      transform: translateX(0);
      position: inherit;
    }

    to {
      opacity: 0;
      transform: translateX(-1em);
      position: absolute;
    }
  }
.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;
    }
  }

  .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(from var(--color-foreground) r g b / 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;
  }

  .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: rgba(from var(--color-foreground) r g b / 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: rgba(from var(--color-foreground) r g b / var(--opacity-subdued-text));
  }

  .resource-card:has(.resource-card__image--secondary) {
    &:hover,
    &:focus {
      --resource-card-secondary-image-opacity: 1;
    }
  }
/* Search modal style */
  .search-modal {
    --search-border-radius: var(--style-border-radius-popover);
    --search-border-width: var(--style-border-width);
  }

  .search-modal__button {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .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: 85dvw;
    --modal-max-width: 1200px;

    padding: 0;

    @media screen and (width >= 750px) {
      width: var(--modal-width);
      max-width: var(--modal-max-width);
      margin-block-start: var(--modal-top-margin);
      overflow: hidden;
    }

    /* Small Desktop (750px - 1024px) */
    @media screen and (width >= 750px) and (width < 1024px) {
      --modal-width: 90dvw;
      --modal-max-width: 900px;
    }

    /* Medium Desktop (1024px - 1440px) */
    @media screen and (width >= 1024px) and (width < 1440px) {
      --modal-width: 85dvw;
      --modal-max-width: 1100px;
    }

    /* Large Desktop (1440px - 1920px) */
    @media screen and (width >= 1440px) and (width < 1920px) {
      --modal-width: 80dvw;
      --modal-max-width: 1300px;
    }

    /* Extra Large Desktop (1920px+) */
    @media screen and (width >= 1920px) {
      --modal-width: 75dvw;
      --modal-max-width: 1500px;
    }
  }

  /* Enhanced backdrop styling */
  .search-modal__content::backdrop {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Mobile backdrop adjustments */
  @media screen and (width < 750px) {
    .search-modal__content::backdrop {
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
    }
  }

  .dialog-modal[open].search-modal__content {
    transform-origin: bottom center;
    animation: search-element-slide-in-bottom 400ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border-radius: 0;
    box-shadow: 
      0 20px 60px rgba(0, 0, 0, 0.12),
      0 8px 24px rgba(0, 0, 0, 0.08),
      0 0 0 1px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(from var(--color-foreground) r g b / 8%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: var(--color-background);

    @media screen and (width < 750px) {
      border-radius: 0;
      box-shadow: none;
      border: none;
    }
  }

  .dialog-modal.search-modal__content.dialog-closing {
    animation: search-element-slide-out-bottom 300ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  .search-modal__content[open] {
    display: flex;
  }

  .search-modal__content :is(.predictive-search-dropdown, .predictive-search-form__content-wrapper) {
    position: relative;
  }

  /* Luxury enhancements for search modal */
  .search-modal__content {
    background: var(--color-background);
  }


  /* Enhanced padding and spacing inside modal */
  .search-modal .predictive-search-form__header {
    padding: var(--padding-2xl) var(--padding-2xl) var(--padding-xl);
  }

  .search-modal .predictive-search-results__inner {
    padding: var(--padding-xl) var(--padding-2xl);
  }

  @media screen and (width >= 750px) {
    .search-modal .predictive-search-form__header {
      padding: var(--padding-3xl) var(--padding-3xl) var(--padding-2xl);
    }

    .search-modal .predictive-search-results__inner {
      padding: var(--padding-2xl) var(--padding-3xl);
    }
  }

  /* Responsive padding for search modal across desktop sizes */
  /* Small Desktop (750px - 1024px) */
  @media screen and (width >= 750px) and (width < 1024px) {
    .search-modal .predictive-search-form__header {
      padding: var(--padding-2xl) var(--padding-2xl) var(--padding-xl);
    }

    .search-modal .predictive-search-results__inner {
      padding: var(--padding-xl) var(--padding-2xl);
    }
  }

  /* Medium Desktop (1024px - 1440px) */
  @media screen and (width >= 1024px) and (width < 1440px) {
    .search-modal .predictive-search-form__header {
      padding: var(--padding-2xl) var(--padding-3xl) var(--padding-xl);
    }

    .search-modal .predictive-search-results__inner {
      padding: var(--padding-xl) var(--padding-2xl);
    }
  }

  /* Large Desktop (1440px - 1920px) */
  @media screen and (width >= 1440px) and (width < 1920px) {
    .search-modal .predictive-search-form__header {
      padding: var(--padding-3xl) var(--padding-3xl) var(--padding-2xl);
    }

    .search-modal .predictive-search-results__inner {
      padding: var(--padding-2xl) var(--padding-3xl);
    }
  }

  /* Extra Large Desktop (1920px+) */
  @media screen and (width >= 1920px) {
    .search-modal .predictive-search-form__header {
      padding: var(--padding-4xl) var(--padding-4xl) var(--padding-3xl);
    }

    .search-modal .predictive-search-results__inner {
      padding: var(--padding-3xl) var(--padding-4xl);
    }
  }

  /* Predictive search header tweaks for small screens */
  @media screen and (width < 750px) {
    .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;
      }
    }
  }
.search-action {
    --search-border-radius: var(--style-border-radius-inputs);
    --search-border-width: var(--style-border-width-inputs);

    display: flex;
  }

  .header__column--center .search-action {
    width: auto;
    flex-grow: 1;
  }

  :is(.header__column--left, .header__column--center) .search-action {
    @media screen and (width >= 750px) {
      margin-inline: calc(var(--padding-lg) * -1);
    }
  }

  .header__column--right .search-action {
    @media screen and (width >= 750px) {
      margin-inline: calc(var(--gap-md) * -1) calc(var(--gap-xs) * -1);
    }
  }
.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)
    )
    > main
    > .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);
  }
.size-chart-content-wrapper {
    max-width: 100%;
  }

  .size-chart-header {
    text-align: center;
    margin-bottom: 2rem;
  }

  .size-chart-logo {
    margin-bottom: 1rem;
    text-align: center;
  }

  .size-chart-logo img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
  }

  .size-chart-title {
    margin: 0;
    font-weight: 600;
  }

  .size-chart-selector {
    margin-bottom: 2rem;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .chart-type-btn {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .chart-type-btn.active {
    /* Active state uses theme's button hover styling */
    background-color: var(--color-primary-button-hover-background) !important;
    color: var(--color-primary-button-hover-text) !important;
    border-color: var(--color-primary-button-hover-border) !important;
  }

  .size-chart-section {
    margin-bottom: 2.5rem;
  }

  .size-chart-section-title {
    margin: 0 0 1rem 0;
    font-weight: 600;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5rem;
  }

  .size-chart-measurement-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .size-chart-image {
    text-align: center;
  }

  .size-chart-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--color-border);
  }

  .size-chart-description {
    line-height: 1.6;
  }

  .size-chart-table-wrapper {
    margin-bottom: 2rem;
  }

  .size-chart-table-title {
    margin: 0 0 1rem 0;
    font-weight: 600;
  }

  .size-chart-table-container {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: 4px;
  }

  .size-chart-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
  }

  .size-chart-table th,
  .size-chart-table td {
    padding: 12px 16px;
    text-align: center;
    border: 1px solid var(--color-border);
  }

  .size-chart-table th {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--color-background-secondary);
    color: var(--color-foreground);
  }

  .size-chart-table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
  }

  .size-chart-text {
    line-height: 1.6;
  }

  .size-chart-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
  }

  .size-chart-text li {
    margin-bottom: 0.5rem;
  }

  @media (max-width: 768px) {
    .size-chart-measurement-content {
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .size-chart-table th,
    .size-chart-table td {
      padding: 8px 12px;
      font-size: 12px;
    }

    .size-chart-content-wrapper {
      padding: 15px;
    }

    .size-chart-selector {
      gap: 8px;
    }

    .chart-type-btn {
      padding: 8px 12px;
      font-size: 12px;
    }
  }
.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 (width >= 750px) {
      z-index: var(--facets-upper-z-index);
    }
  }

  .sorting-filter__options {
    display: flex;
    right: 0;
    flex-direction: column;
    gap: var(--margin-3xs);
    padding: calc(var(--drawer-padding) / 2);
    color: var(--color-foreground);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;

    &::-webkit-scrollbar {
      display: none;
    }
  }

  .sorting-filter__option {
    display: grid;
    grid-template-columns: var(--icon-size-sm) 1fr;
    gap: var(--margin-2xs);
    min-width: 180px;
    padding: var(--padding-2xs) calc(var(--drawer-padding) / 2) var(--padding-2xs) var(--padding-2xs);
    cursor: pointer;

    &:hover {
      border-radius: calc(var(--style-border-radius-popover) / 2);
      background-color: rgb(from var(--color-foreground) r g b / 8%);
    }
  }

  .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 (width < 750px) {
      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-mobile-wrapper .sorting-filter__options {
    border-radius: var(--style-border-radius-popover);
    position: absolute;
    top: 0;
    right: 0;
    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;
    padding: var(--padding-sm);
    gap: var(--gap-sm);
  }

  .facets-toggle .sorting-filter__container {
    @media screen and (width < 750px) {
      padding: 0;
    }
  }

  .facets-toggle .sorting-filter__container .facets__label {
    @media screen and (width < 750px) {
      display: none;
    }
  }

  .facets-toggle .sorting-filter::before {
    @media screen and (width < 750px) {
      display: none;
    }
  }

  .facets--drawer .sorting-filter {
    @media screen and (width >= 750px) {
      display: none;
    }
  }

  .sorting-filter__options {
    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);
  }

  details[open] .sorting-filter__options {
    opacity: 1;
    block-size: auto;

    @starting-style {
      block-size: 0;
      opacity: 0;
      overflow-y: clip;
    }

    &:focus-within {
      overflow-y: visible;
    }
  }
: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);
  }

  .text-block > * {
    width: var(--width);
    max-width: 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: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 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);
  }

  @media screen and (max-width: 749px) {
    .text-block {
      width: var(--width-mobile, var(--width));
      --text-align: var(--text-align-mobile, var(--text-align));
    }
    .text-block > * {
      width: var(--width-mobile, var(--width));
      text-align: var(--text-align-mobile, var(--text-align, var(--text-align-default)));
    }
    .custom-font-size > * {
      font-size: var(--font-size-mobile, var(--font-size));
    }
    .text-block.spacing-style {
      --padding-block-start: var(--padding-block-start-mobile) !important;
      --padding-block-end: var(--padding-block-end-mobile) !important;
      --padding-inline-start: var(--padding-inline-start-mobile) !important;
      --padding-inline-end: var(--padding-inline-end-mobile) !important;
      padding-block: calc(var(--padding-block-start-mobile) + var(--section-top-offset, 0px)) var(--padding-block-end-mobile);
      padding-inline: var(--padding-inline-start-mobile) var(--padding-inline-end-mobile);
    }
    .text-block--background {
      padding-block-start: max(var(--text-padding), var(--padding-block-start-mobile, 0));
      padding-block-end: max(var(--text-padding), var(--padding-block-end-mobile, 0));
      padding-inline-start: max(var(--text-padding), var(--padding-inline-start-mobile, 0));
      padding-inline-end: max(var(--text-padding), var(--padding-inline-end-mobile, 0));
    }
  }
.variant-picker {
    width: 100%;
  }

  .variant-picker__form {
    display: flex;
    flex-direction: column;
    gap: var(--padding-lg);
    width: 100%;
  }

  .variant-picker[data-shopify-visual-preview] {
    min-width: 300px;
    padding-inline-start: max(4px, var(--padding-inline-start));
  }

  .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--swatches {
    --options-border-radius: var(--variant-picker-swatch-radius);

    width: 100%;
  }

  .variant-option--swatches-disabled {
    pointer-events: none;
    cursor: not-allowed;
  }

  .variant-option--swatches > overflow-list {
    justify-content: var(--product-swatches-alignment);

    @media (width < 750px) {
      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__swatch-value {
    padding-inline-start: var(--padding-xs);
    color: rgba(from var(--color-foreground) r g b / 70%);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
  }

  .variant-option__button-label {
    --variant-picker-stroke-color: var(--color-variant-border);

    display: flex;
    flex: 0 0 calc(3ch + 1.3em);
    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-height: calc(3ch + 1.3em);
    min-width: fit-content;
    white-space: nowrap;
    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);
    }

    @media screen and (width >= 750px) {
      padding: var(--padding-xs) var(--variant-option-padding-inline);
    }
  }

  .variant-option__button-label__text {
    text-align: left;
    text-wrap: auto;
  }

  .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 {
    padding: 0;
    border: none;
    display: block;
    flex-basis: auto;
    min-height: auto;
  }

  /* Override overflow: clip from base .variant-option__button-label to allow outline to show */
  .variant-option__button-label--has-swatch,
  .variant-option--swatches .variant-option__button-label--has-swatch {
    overflow: visible; /* Allow outline to show outside swatch */
  }

  .variant-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);
    }
  }
  
  /* Remove all styling from button label when swatch is checked - only show swatch */
  .variant-option__button-label--has-swatch:has(:checked) {
    border: none; /* Remove radio button border for swatches */
    background-color: transparent; /* Remove background */
    color: inherit; /* Remove text color changes */
  }

  .variant-option__button-label:has([data-option-available='false']) {
    color: rgba(from var(--color-variant-text) r g b / 60%);
  }

  .facets__inputs-list--swatches-grid .variant-option__button-label--has-swatch:hover .swatch {
    outline: var(--focus-outline-width) solid rgba(from var(--color-foreground) r g b / 30%);
    outline-offset: var(--focus-outline-offset);
  }

  .facets__inputs-list--swatches-grid .variant-option__button-label:has(:focus-visible) .swatch {
    outline: var(--focus-outline-width) solid currentcolor;
    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;
  }

  /* Remove outline from label on hover - show on swatch instead */
  .variant-option__button-label--has-swatch:hover {
    outline: none;
  }

  /* Show outline with gap on swatch when hovering - works for all swatches */
  .variant-option__button-label--has-swatch:hover .swatch {
    outline: 1px solid rgba(0, 0, 0, 0.5);
    outline-offset: 2px;
  }

  /* Show hover outline with gap on swatch in all contexts */
  product-card .variant-option__button-label--has-swatch:hover .swatch,
  .quick-add .variant-option__button-label--has-swatch:hover .swatch,
  .product-form .variant-option__button-label--has-swatch:hover .swatch,
  variant-picker .variant-option__button-label--has-swatch:hover .swatch,
  .facets .variant-option__button-label--has-swatch:hover .swatch,
  .facets__inputs-list .variant-option__button-label--has-swatch:hover .swatch,
  [data-collection-variant-id] .variant-option__button-label--has-swatch:hover .swatch {
    outline: 1px solid rgba(0, 0, 0, 0.5);
    outline-offset: 2px;
  }

  .facets__inputs-list--swatches-grid .variant-option__button-label--has-swatch:has(:checked) {
    outline: none;
  }

  .facets__inputs-list--swatches-grid .variant-option__button-label--has-swatch:has(:checked) {
    outline: none; /* Remove outline from button label */
  }

  .variant-option__button-label--has-swatch:has(:checked) {
    outline: none; /* Remove outline from button label - only show on swatch */
  }
  
  /* Add smooth transition to all swatches for consistent outline changes */
  .variant-option__button-label--has-swatch .swatch {
    transition: outline 0.25s cubic-bezier(0.4, 0, 0.2, 1),
      outline-offset 0.25s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: outline, outline-offset, box-shadow, transform;
  }

  /* Smooth scale effect on swatch hover for better interactivity */
  @media (any-pointer: fine) and (prefers-reduced-motion: no-preference) {
    .variant-option__button-label--has-swatch:hover .swatch {
      transform: scale(1.1);
    }

    .variant-option__button-label--has-swatch:active .swatch {
      transform: scale(0.95);
    }
  }

  /* Add outline with gap to swatch when checked - ENHANCED for all contexts */
  /* Universal rule - works everywhere: product pages, collection cards, quick-add modals, facets, etc. */
  .variant-option__button-label--has-swatch:has(:checked) .swatch,
  .variant-option__button-label--has-swatch input:checked ~ .swatch,
  .variant-option__button-label--has-swatch input[checked] ~ .swatch,
  .variant-option__button-label--has-swatch input[type="radio"]:checked ~ .swatch,
  .variant-option__button-label--has-swatch:has(input[type="radio"]:checked) .swatch {
    outline: 1.5px solid #000;
    outline-offset: 2px;
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2);
  }

  /* Ensure checked state is always visible, even on hover - higher specificity */
  .variant-option__button-label--has-swatch:hover:has(:checked) .swatch,
  .variant-option__button-label--has-swatch:has(:checked):hover .swatch {
    outline: 1.5px solid #000;
    outline-offset: 2px;
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.3);
  }
  
  /* Ensure outline with gap works in all contexts: product pages, collection cards, quick-add modals, facets */
  product-card .variant-option__button-label--has-swatch:has(:checked) .swatch,
  .quick-add .variant-option__button-label--has-swatch:has(:checked) .swatch,
  .product-form .variant-option__button-label--has-swatch:has(:checked) .swatch,
  variant-picker .variant-option__button-label--has-swatch:has(:checked) .swatch,
  .facets .variant-option__button-label--has-swatch:has(:checked) .swatch,
  .facets__inputs-list .variant-option__button-label--has-swatch:has(:checked) .swatch,
  [data-collection-variant-id] .variant-option__button-label--has-swatch:has(:checked) .swatch {
    outline: 1.5px solid #000;
    outline-offset: 2px;
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2);
    transition: outline 0.2s ease, outline-offset 0.2s ease, box-shadow 0.2s ease;
  }

  /* Ensure checked state is visible on hover in all contexts - higher specificity */
  product-card .variant-option__button-label--has-swatch:hover:has(:checked) .swatch,
  .quick-add .variant-option__button-label--has-swatch:hover:has(:checked) .swatch,
  .product-form .variant-option__button-label--has-swatch:hover:has(:checked) .swatch,
  variant-picker .variant-option__button-label--has-swatch:hover:has(:checked) .swatch,
  .facets .variant-option__button-label--has-swatch:hover:has(:checked) .swatch,
  .facets__inputs-list .variant-option__button-label--has-swatch:hover:has(:checked) .swatch,
  [data-collection-variant-id] .variant-option__button-label--has-swatch:hover:has(:checked) .swatch {
    outline: 1.5px solid #000;
    outline-offset: 2px;
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.3);
  }
  
  /* Fallback for browsers that don't support :has() - use attribute selector */
  @supports not selector(:has(*)) {
    .variant-option__button-label--has-swatch input[type="radio"][checked] ~ .swatch,
    .variant-option__button-label--has-swatch input[type="radio"]:checked ~ .swatch {
      outline: 1.5px solid #000;
      outline-offset: 2px;
      box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2);
    }
  }

  .variant-option__button-label:has([data-option-available='false']):has(:checked) {
    --variant-picker-stroke-color: rgba(from var(--color-variant-text) r g b / 60%);

    background-color: inherit;
    color: rgba(from var(--color-variant-text) r g b / 60%);
    border-color: var(--color-selected-variant-border);
  }

  .variant-option__button-label input,
  .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;
    cursor: pointer;
    width: 100%;
    height: 100%;
  }

  .variant-option__button-label svg {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
    pointer-events: none;
    stroke-width: var(--style-border-width);
    stroke: var(--variant-picker-stroke-color);
  }

  .variant-option__select-wrapper {
    display: flex;
    position: relative;
    border: var(--style-border-width-inputs) solid var(--color-border);
    border-radius: var(--style-border-radius-inputs);
    align-items: center;
    margin-top: var(--margin-2xs);
    overflow: clip;
    transition: background-color var(--animation-speed) var(--animation-easing),
      border-color var(--animation-speed) var(--animation-easing);
  }

  .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);
  }

  .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;
    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--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;
  }
.video-interaction-hint {
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: var(--layer-flat);
  }

  .video-interaction-hint:hover {
    opacity: 1;
  }
.wishlist-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
  }
  
  /* Ensure product title wishlist button doesn't interfere with drawer */
  .product-title-wishlist .wishlist-button {
    z-index: 1;
  }

  .wishlist-button:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }

  .wishlist-button .wishlist-icon {
    width: var(--wishlist-icon-size, 24px);
    height: var(--wishlist-icon-size, 24px);
    color: var(--color-foreground);
    transition: all 0.2s ease;
  }

  .wishlist-button.wishlist-added .wishlist-icon {
    color: var(--color-primary);
  }

  .wishlist-button.wishlist-added:hover {
    background-color: rgb(from var(--color-primary) r g b / 10%);
  }

  .wishlist-button svg {
    width: 100%;
    height: 100%;
  }

  /* Ensure wishlist button doesn't interfere with product card navigation */
  .product-card .wishlist-button {
    pointer-events: auto;
  }
.header-actions__wishlist-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    --wishlist-bubble-size: 20px;
    --wishlist-bubble-top: 0px;
    --wishlist-bubble-right: 0px;
  }

  .header-actions__wishlist-icon .svg-wrapper {
    width: var(--wishlist-icon-size, 24px);
    height: var(--wishlist-icon-size, 24px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-actions__wishlist-icon svg {
    width: 100%;
    height: 100%;
    color: var(--color-foreground);
  }

  .header-actions__wishlist-icon .wishlist-bubble {
    position: absolute;
    width: var(--wishlist-bubble-size, 20px);
    height: var(--wishlist-bubble-size, 20px);
    top: -4px;
    right: -4px;
    background: var(--color-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    z-index: 2;
  }

  .header-actions__wishlist-icon .wishlist-bubble__text {
    color: var(--color-foreground);
    font-size: 10px !important;
    font-family: var(--font-paragraph--family);
    font-weight: var(--font-paragraph--weight);
    line-height: 1;
  }

  .wishlist-bubble__background {
    background-color: rgb(from var(--color-foreground) r g b / 10%);
  }

  .wishlist-bubble--animating .wishlist-bubble__background {
    animation: grow var(--animation-speed) var(--animation-easing);
  }

  .wishlist-bubble--animating .wishlist-bubble__text {
    animation: cartBubbleSlideIn var(--animation-speed) var(--animation-easing);
  }
.wishlist-products {
    padding: var(--padding-xl) 0;
  }
  
  .wishlist-products__loading,
  .wishlist-products__empty {
    text-align: center;
    padding: var(--padding-2xl);
  }
  
  .wishlist-products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--gap-xl);
    padding: var(--padding-xl) 0;
  }
  
  .wishlist-product {
    border: 1px solid var(--color-border);
    border-radius: var(--style-border-radius);
    overflow: hidden;
    transition: all 0.2s ease;
  }
  
  .wishlist-product:hover {
    box-shadow: var(--shadow-card);
  }
  
  .wishlist-product__image {
    aspect-ratio: 1;
    overflow: hidden;
  }
  
  .wishlist-product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
  }
  
  .wishlist-product:hover .wishlist-product__image img {
    transform: scale(1.05);
  }
  
  .wishlist-product__info {
    padding: var(--padding-lg);
  }
  
  .wishlist-product__title {
    margin: 0 0 var(--gap-sm) 0;
    font-size: var(--font-size--md);
  }
  
  .wishlist-product__title a {
    color: var(--color-foreground);
    text-decoration: none;
  }
  
  .wishlist-product__title a:hover {
    color: var(--color-primary);
  }
  
  .wishlist-product__price {
    font-weight: bold;
    margin-bottom: var(--gap-md);
  }
  
  .wishlist-product__remove {
    background: none;
    border: 1px solid var(--color-border);
    padding: var(--padding-sm) var(--padding-md);
    border-radius: var(--style-border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .wishlist-product__remove:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
  }
  
  @media screen and (max-width: 749px) {
    .wishlist-products__grid {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: var(--gap-lg);
    }
  }