/*
 * Storefront clean CSS foundation.
 *
 * This stylesheet remains parallel and unlinked while components are
 * consolidated into their owning layers. Do not append patch sections.
 */

@layer reset, tokens, foundation, components, variants, catalog, responsive, utilities;

@layer tokens {
  html.storefront-clean {
    color-scheme: light;

    /* Core palette mirrors the active Storefront V2 foundation. */
    --sf-color-primary: var(--store-primary, #0868f5);
    --sf-color-primary-strong: var(--store-secondary, #064fc5);
    --sf-color-primary-light: var(--store-primary, #1b91ff);
    --sf-color-accent: var(--store-secondary, #00b6f3);
    --sf-color-heading: var(--store-text, #101828);
    --sf-color-text: var(--store-text, #1d2939);
    --sf-color-text-muted: #667085;
    --sf-color-text-soft: #667085;
    --sf-color-page: var(--store-background, #f5f7fb);
    --sf-color-surface: var(--store-surface, #ffffff);
    --sf-color-surface-soft: #f8fafc;
    --sf-color-border: #e2e8f0;
    --sf-color-border-strong: #cfd8e5;
    --sf-color-success: #12a36d;
    --sf-color-success-text: #087a54;
    --sf-color-success-soft: #e8f8f1;
    --sf-color-warning: #e59a00;
    --sf-color-warning-soft: #fff7df;
    --sf-color-gold: #b7791f;
    --sf-color-gold-text: #7a5010;
    --sf-color-gold-soft: #fff8e7;
    --sf-color-purple: #7c3aed;
    --sf-color-purple-soft: #f2edff;
    --sf-color-danger: #d92d45;

    --sf-font-family:
      var(--store-font-family, Arial),
      Tahoma,
      sans-serif;

    --sf-radius-small: 12px;
    --sf-radius-medium: 18px;
    --sf-radius-large: 28px;
    --sf-radius-pill: 999px;
    --sf-control-radius: var(--store-button-radius, 14px);

    --sf-shadow-small:
      0 4px 15px rgba(16, 24, 40, 0.05);
    --sf-shadow-medium:
      0 18px 50px rgba(16, 24, 40, 0.09);
    --sf-shadow-card:
      0 10px 30px rgba(16, 24, 40, 0.07);

    /* Shared 4px spacing scale. */
    --sf-space-1: 4px;
    --sf-space-2: 8px;
    --sf-space-3: 12px;
    --sf-space-4: 16px;
    --sf-space-5: 20px;
    --sf-space-6: 24px;
    --sf-space-8: 32px;
    --sf-space-10: 40px;
    --sf-space-12: 48px;
    --sf-space-16: 64px;

    --sf-container-max: 1220px;
    --sf-container-gutter: 20px;
    --sf-container-gutter-mobile: 11px;
    --sf-container-gutter-compact: 8px;

    /*
     * Canonical breakpoint registry. Custom properties document the values;
     * media queries must use the same literals because var() is unavailable
     * in native media-query conditions.
     *
     * compact:  <= 390px
     * mobile:   <= 700px
     * tablet:   <= 1050px
     * catalog:  <= 1180px
     * wide:     >= 1500px
     */
    --sf-breakpoint-compact-max: 390px;
    --sf-breakpoint-mobile-max: 700px;
    --sf-breakpoint-tablet-max: 1050px;
    --sf-breakpoint-catalog-max: 1180px;
    --sf-breakpoint-wide-min: 1500px;

    --sf-safe-area-block-start:
      env(safe-area-inset-top, 0px);
    --sf-safe-area-block-end:
      env(safe-area-inset-bottom, 0px);

    --sf-mobile-nav-block-size: 58px;
    --sf-mobile-nav-block-offset:
      max(7px, var(--sf-safe-area-block-end));
    --sf-mobile-nav-clearance:
      calc(
        var(--sf-mobile-nav-block-size) +
        var(--sf-mobile-nav-block-offset) +
        var(--sf-space-5)
      );
  }
}

@layer reset {
  html.storefront-clean *,
  html.storefront-clean *::before,
  html.storefront-clean *::after {
    box-sizing: border-box;
  }

  html.storefront-clean body {
    margin: 0;
  }

  html.storefront-clean :where(img, svg, video, canvas) {
    display: block;
    max-inline-size: 100%;
  }

  html.storefront-clean :where(button, input, select, textarea) {
    font: inherit;
  }

}

@layer foundation {
  html.storefront-clean {
    min-block-size: 100%;
    max-inline-size: 100%;
    overflow-x: hidden;
    background: var(--sf-color-page);
    color: var(--sf-color-text);
    font-family: var(--sf-font-family);
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  html.storefront-clean body {
    min-inline-size: 320px;
    min-block-size: 100vh;
    min-block-size: 100svh;
    max-inline-size: 100%;
    overflow-x: hidden;
    background:
      linear-gradient(
        180deg,
        var(--sf-color-surface) 0,
        #f8faff 520px,
        var(--sf-color-page) 100%
      );
    color: var(--sf-color-text);
    font-family: var(--sf-font-family);
    font-size: 15px;
    line-height: 1.65;
    text-align: start;
  }

  html.storefront-clean
  :where(
    .storefront-container,
    .home-container,
    .section-shell
  ) {
    inline-size:
      min(
        calc(
          100% -
          var(--sf-container-gutter) -
          var(--sf-container-gutter)
        ),
        var(--sf-container-max)
      );
    margin-inline: auto;
  }
}

@layer components {
  /* Shared header and hero foundations */
  html.storefront-clean
  :where(
    .header-shell,
    .header-search-shell,
    .hero-shell,
    .trust-strip
  ) {
    inline-size:
      min(
        calc(
          100% -
          var(--sf-container-gutter) -
          var(--sf-container-gutter)
        ),
        var(--sf-container-max)
      );
    margin-inline: auto;
  }

  html.storefront-clean
  :where(
    .brand-link,
    .desktop-nav-link,
    .header-icon-button,
    .header-primary-button,
    .hero-primary-button,
    .hero-secondary-button
  ) {
    text-decoration: none;
  }

  html.storefront-clean
  :where(
    .site-header,
    .hero-section,
    .trust-strip-section
  )
  :where(.icon) {
    inline-size: 20px;
    block-size: 20px;
    flex: 0 0 auto;
    stroke: currentColor;
  }

  /* Header shell and brand */
  html.storefront-clean :where(.site-header) {
    position: sticky;
    z-index: 1000;
    inset-block-start: 0;
    border-block-end:
      1px solid
      rgba(226, 232, 240, 0.88);
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.9),
      0 7px 25px rgba(16, 24, 40, 0.035);
    -webkit-backdrop-filter:
      blur(20px)
      saturate(160%);
    backdrop-filter:
      blur(20px)
      saturate(160%);
  }

  html.storefront-clean
  :where(.header-main, .header-shell) {
    min-block-size: 80px;
  }

  html.storefront-clean :where(.header-shell) {
    display: grid;
    grid-template-columns:
      auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
  }

  html.storefront-clean :where(.brand-link) {
    display: inline-flex;
    min-inline-size: 0;
    align-items: center;
    gap: 13px;
  }

  html.storefront-clean :where(.brand-logo) {
    display: flex;
    inline-size: 52px;
    block-size: 52px;
    flex: 0 0 52px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border:
      1px solid
      rgba(8, 104, 245, 0.16);
    border-radius: 16px;
    background:
      linear-gradient(
        145deg,
        var(--sf-color-surface) 0%,
        #eaf3ff 100%
      );
    color: var(--sf-color-primary);
    box-shadow:
      0 8px 22px
      rgba(8, 104, 245, 0.12);
    font-size: 23px;
    font-weight: 950;
  }

  html.storefront-clean :where(.brand-logo img) {
    inline-size: 100%;
    block-size: 100%;
    object-fit: contain;
    object-position: center;
  }

  html.storefront-clean :where(.brand-copy) {
    display: block;
    min-inline-size: 0;
  }

  html.storefront-clean :where(.brand-name) {
    display: block;
    max-inline-size: 260px;
    overflow: hidden;
    color: var(--sf-color-heading);
    font-size: 20px;
    font-weight: 950;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html.storefront-clean :where(.brand-tagline) {
    display: block;
    max-inline-size: 260px;
    margin-block-start: 3px;
    overflow: hidden;
    color: var(--sf-color-text-muted);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Desktop navigation and header actions */
  html.storefront-clean :where(.desktop-nav) {
    display: flex;
    min-inline-size: 0;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  html.storefront-clean :where(.desktop-nav-link) {
    position: relative;
    display: inline-flex;
    min-block-size: 44px;
    padding: 9px 17px;
    align-items: center;
    justify-content: center;
    border-radius: var(--sf-radius-pill);
    color: #475467;
    font-size: 13px;
    font-weight: 800;
    transition:
      color 180ms ease,
      background-color 180ms ease;
  }

  html.storefront-clean
  :where(.desktop-nav-link)::after {
    position: absolute;
    inset-inline: 0;
    inset-block-end: 3px;
    inline-size: 0;
    block-size: 3px;
    margin-inline: auto;
    border-radius: 10px;
    background:
      linear-gradient(
        90deg,
        var(--sf-color-primary),
        var(--sf-color-accent)
      );
    content: "";
    transition: inline-size 200ms ease;
  }

  html.storefront-clean :where(.header-actions) {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  html.storefront-clean
  :where(.header-icon-button, .mobile-menu-button) {
    position: relative;
    display: inline-flex;
    inline-size: 45px;
    block-size: 45px;
    flex: 0 0 45px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sf-color-border);
    border-radius: 14px;
    background: var(--sf-color-surface);
    color: var(--sf-color-heading);
    box-shadow:
      0 2px 7px
      rgba(16, 24, 40, 0.025);
    cursor: pointer;
    transition:
      border-color 180ms ease,
      color 180ms ease,
      background-color 180ms ease,
      transform 180ms ease,
      box-shadow 180ms ease;
  }

  html.storefront-clean
  :where(.header-icon-button .icon) {
    inline-size: 21px;
    block-size: 21px;
  }

  html.storefront-clean :where(.mobile-menu-button) {
    display: none;
  }

  html.storefront-clean :where(.header-action-badge) {
    position: absolute;
    inset-block-start: -5px;
    inset-inline-end: -5px;
    display: flex;
    min-inline-size: 19px;
    block-size: 19px;
    padding-inline: 5px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--sf-color-surface);
    border-radius: var(--sf-radius-pill);
    background: var(--sf-color-danger);
    color: var(--sf-color-surface);
    font-size: 8px;
    font-weight: 950;
  }

  html.storefront-clean :where(.header-primary-button) {
    display: inline-flex;
    min-block-size: 46px;
    padding: 10px 20px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 14px;
    background:
      linear-gradient(
        120deg,
        var(--sf-color-primary-strong),
        var(--sf-color-primary) 55%,
        var(--sf-color-primary-light)
      );
    color: var(--sf-color-surface);
    box-shadow:
      0 10px 24px
      rgba(8, 104, 245, 0.22);
    font-size: 12px;
    font-weight: 900;
    transition:
      transform 180ms ease,
      box-shadow 180ms ease,
      filter 180ms ease;
  }

  /* Search area */
  html.storefront-clean :where(.header-search-area) {
    border-block-start: 1px solid #eef2f6;
    background: var(--sf-color-surface);
  }

  html.storefront-clean :where(.header-search-shell) {
    display: grid;
    min-block-size: 72px;
    grid-template-columns:
      minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
  }

  html.storefront-clean :where(.store-search) {
    position: relative;
    display: flex;
    inline-size: min(100%, 860px);
    min-inline-size: 0;
    align-items: center;
  }

  html.storefront-clean :where(.search-input) {
    inline-size: 100%;
    min-block-size: 52px;
    padding-block: 11px;
    padding-inline-start: 50px;
    padding-inline-end: 128px;
    border:
      1.5px solid
      var(--sf-color-border-strong);
    border-radius: 16px;
    outline: 0;
    background: var(--sf-color-surface);
    color: var(--sf-color-text);
    font-size: 13px;
    box-shadow:
      0 3px 12px
      rgba(16, 24, 40, 0.035);
    transition:
      border-color 180ms ease,
      box-shadow 180ms ease;
  }

  html.storefront-clean :where(.search-icon) {
    position: absolute;
    z-index: 2;
    inset-inline-start: 17px;
    inline-size: 21px;
    block-size: 21px;
    color: #8793a5;
    pointer-events: none;
  }

  html.storefront-clean
  :where(.search-submit, .search-clear) {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
  }

  html.storefront-clean :where(.search-submit) {
    inset-inline-end: 6px;
    min-inline-size: 113px;
    min-block-size: 40px;
    padding: 8px 18px;
    border-radius: 12px;
    background:
      linear-gradient(
        120deg,
        var(--sf-color-primary-strong),
        var(--sf-color-primary),
        var(--sf-color-primary-light)
      );
    color: var(--sf-color-surface);
    box-shadow:
      0 6px 16px
      rgba(8, 104, 245, 0.18);
    font-size: 12px;
    font-weight: 900;
  }

  html.storefront-clean :where(.search-clear) {
    inset-inline-end: 121px;
    display: none;
    inline-size: 30px;
    block-size: 30px;
    border-radius: 50%;
    background: #edf2f7;
    color: var(--sf-color-text-muted);
  }

  html.storefront-clean :where(.header-trust) {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #475467;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
  }

  html.storefront-clean :where(.header-trust-icon) {
    display: flex;
    inline-size: 35px;
    block-size: 35px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--sf-color-success-soft);
    color: var(--sf-color-success);
  }

  /* Hero content */
  html.storefront-clean :where(.hero-section) {
    position: relative;
    padding: 24px 0 23px;
    overflow: hidden;
    background:
      radial-gradient(
        circle at 92% 8%,
        rgba(27, 145, 255, 0.09),
        transparent 28rem
      ),
      linear-gradient(
        180deg,
        #f9fbff,
        transparent
      );
  }

  html.storefront-clean :where(.hero-shell) {
    position: relative;
    display: grid;
    min-block-size: 500px;
    padding: 40px;
    overflow: hidden;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(390px, 0.84fr);
    align-items: center;
    gap: 54px;
    border: 1px solid var(--sf-color-border);
    border-radius: var(--sf-radius-large);
    background:
      linear-gradient(
        125deg,
        var(--sf-color-surface) 0%,
        var(--sf-color-surface) 55%,
        #f1f7ff 100%
      );
    box-shadow:
      0 24px 65px
      rgba(16, 24, 40, 0.08);
  }

  html.storefront-clean :where(.hero-shell)::before {
    position: absolute;
    inset-block-start: 0;
    inset-inline: 0;
    block-size: 5px;
    background:
      linear-gradient(
        90deg,
        var(--sf-color-accent),
        var(--sf-color-primary),
        #5b5cf0
      );
    content: "";
  }

  html.storefront-clean :where(.hero-shell)::after {
    position: absolute;
    inset-block-start: -150px;
    inset-inline-end: -130px;
    inline-size: 350px;
    block-size: 350px;
    border-radius: 50%;
    background:
      radial-gradient(
        circle,
        rgba(8, 104, 245, 0.1),
        transparent 68%
      );
    content: "";
    pointer-events: none;
  }

  html.storefront-clean :where(.hero-content) {
    position: relative;
    z-index: 3;
    max-inline-size: 650px;
  }

  html.storefront-clean :where(.hero-eyebrow) {
    display: inline-flex;
    min-block-size: 36px;
    padding: 7px 14px;
    align-items: center;
    gap: 8px;
    border:
      1px solid
      rgba(8, 104, 245, 0.16);
    border-radius: var(--sf-radius-pill);
    background: #eff6ff;
    color: var(--sf-color-primary);
    font-size: 11px;
    font-weight: 900;
  }

  html.storefront-clean :where(.hero-eyebrow-dot) {
    inline-size: 8px;
    block-size: 8px;
    border-radius: 50%;
    background: var(--sf-color-success);
    box-shadow:
      0 0 0 5px
      rgba(18, 163, 109, 0.11);
  }

  html.storefront-clean :where(.hero-title) {
    max-inline-size: 680px;
    margin: 23px 0 16px;
    color: var(--sf-color-heading);
    font-size: clamp(43px, 4.55vw, 64px);
    font-weight: 950;
    line-height: 1.2;
    letter-spacing: normal;
  }

  html.storefront-clean :where(.hero-description) {
    max-inline-size: 620px;
    margin: 0;
    color: var(--sf-color-text-muted);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.9;
  }

  html.storefront-clean :where(.hero-actions) {
    display: flex;
    margin-block-start: 29px;
    align-items: center;
    gap: 12px;
  }

  html.storefront-clean
  :where(.hero-primary-button, .hero-secondary-button) {
    display: inline-flex;
    min-block-size: 53px;
    padding-block: 11px;
    padding-inline: 25px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 950;
  }

  html.storefront-clean :where(.hero-primary-button) {
    gap: 10px;
    border: 0;
    background:
      linear-gradient(
        115deg,
        var(--sf-color-primary-strong),
        var(--sf-color-primary) 52%,
        var(--sf-color-primary-light)
      );
    color: var(--sf-color-surface);
    box-shadow:
      0 16px 34px
      rgba(8, 104, 245, 0.22);
    transition:
      transform 180ms ease,
      box-shadow 180ms ease,
      filter 180ms ease;
  }

  html.storefront-clean :where(.hero-secondary-button) {
    border: 1px solid var(--sf-color-border-strong);
    background: var(--sf-color-surface);
    color: #344054;
    box-shadow:
      0 3px 10px
      rgba(16, 24, 40, 0.035);
    font-weight: 850;
    transition:
      border-color 180ms ease,
      color 180ms ease,
      transform 180ms ease,
      box-shadow 180ms ease;
  }

  /* Hero statistics and media */
  html.storefront-clean :where(.hero-stats) {
    display: grid;
    max-inline-size: 620px;
    margin-block-start: 31px;
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
    gap: 11px;
  }

  html.storefront-clean :where(.hero-stat) {
    display: flex;
    min-inline-size: 0;
    min-block-size: 74px;
    padding: 12px;
    align-items: center;
    gap: 11px;
    border: 1px solid #e7edf5;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow:
      0 5px 15px
      rgba(16, 24, 40, 0.035);
  }

  html.storefront-clean :where(.hero-stat-icon) {
    display: flex;
    inline-size: 40px;
    block-size: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf5ff;
    color: var(--sf-color-primary);
  }

  html.storefront-clean
  :where(.hero-stat > span:last-child) {
    display: block;
    min-inline-size: 0;
  }

  html.storefront-clean :where(.hero-stat strong) {
    display: block;
    color: #344054;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.4;
  }

  html.storefront-clean
  :where(.hero-stat > span:last-child > span) {
    display: block;
    margin-block-start: 3px;
    color: var(--sf-color-text-muted);
    font-size: 11px;
    line-height: 1.4;
  }

  html.storefront-clean :where(.hero-media) {
    position: relative;
    display: flex;
    min-inline-size: 0;
    min-block-size: 435px;
    align-items: center;
    justify-content: center;
  }

  html.storefront-clean :where(.hero-image-frame) {
    position: relative;
    inline-size: min(100%, 420px);
    block-size: 435px;
    overflow: hidden;
    border:
      7px solid
      rgba(255, 255, 255, 0.95);
    border-radius: 26px;
    background:
      linear-gradient(
        145deg,
        #eef5ff,
        var(--sf-color-surface)
      );
    box-shadow:
      0 24px 55px
      rgba(8, 47, 104, 0.17);
  }

  html.storefront-clean :where(.hero-image) {
    display: block;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    object-position: center;
    transition:
      transform 500ms
      cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  html.storefront-clean :where(.hero-image-placeholder) {
    display: flex;
    inline-size: 100%;
    block-size: 100%;
    padding: 32px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 13px;
    background:
      linear-gradient(
        145deg,
        #eef5ff,
        var(--sf-color-surface)
      );
    color: var(--sf-color-text-muted);
    text-align: center;
  }

  html.storefront-clean
  :where(.hero-image-placeholder-icon) {
    display: flex;
    inline-size: 72px;
    block-size: 72px;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: var(--sf-color-surface);
    color: var(--sf-color-primary);
    box-shadow:
      0 15px 35px
      rgba(8, 104, 245, 0.13);
    font-size: 24px;
  }

  html.storefront-clean
  :where(.hero-image-placeholder strong) {
    color: var(--sf-color-primary);
    font-size: 18px;
    font-weight: 950;
  }

  html.storefront-clean
  :where(.hero-image-placeholder > span:last-child) {
    max-inline-size: 240px;
    color: var(--sf-color-text-muted);
    font-size: 11px;
    line-height: 1.7;
  }

  html.storefront-clean :where(.hero-floating-card) {
    position: absolute;
    z-index: 4;
    display: flex;
    min-inline-size: 192px;
    padding: 13px 15px;
    align-items: center;
    gap: 11px;
    border:
      1px solid
      rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.91);
    color: var(--sf-color-text);
    box-shadow:
      0 16px 36px
      rgba(16, 24, 40, 0.13);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
  }

  html.storefront-clean :where(.hero-floating-icon) {
    display: flex;
    inline-size: 42px;
    block-size: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #ebf5ff;
    color: var(--sf-color-primary);
    font-size: 15px;
    font-weight: 950;
  }

  html.storefront-clean
  :where(.hero-floating-card strong) {
    display: block;
    color: #344054;
    font-size: 12px;
    font-weight: 900;
  }

  html.storefront-clean
  :where(.hero-floating-card > span:last-child) {
    display: block;
    min-inline-size: 0;
  }

  html.storefront-clean
  :where(.hero-floating-card span span) {
    display: block;
    margin-block-start: 3px;
    color: var(--sf-color-text-muted);
    font-size: 11px;
  }

  /* Trust strip */
  html.storefront-clean :where(.trust-strip-section) {
    padding-block-end: 22px;
  }

  html.storefront-clean :where(.trust-strip) {
    display: grid;
    padding: 12px;
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
    gap: 9px;
    border: 1px solid var(--sf-color-border);
    border-radius: 20px;
    background: var(--sf-color-surface);
    box-shadow:
      0 10px 32px
      rgba(16, 24, 40, 0.055);
  }

  html.storefront-clean :where(.trust-item) {
    display: flex;
    min-inline-size: 0;
    min-block-size: 76px;
    padding: 12px 14px;
    align-items: center;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: var(--sf-color-surface);
    transition:
      border-color 180ms ease,
      background-color 180ms ease;
  }

  html.storefront-clean :where(.trust-item-icon) {
    display: flex;
    inline-size: 44px;
    block-size: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: #edf5ff;
    color: var(--sf-color-primary);
  }

  html.storefront-clean
  :where(.trust-item-icon .icon) {
    inline-size: 21px;
    block-size: 21px;
  }

  html.storefront-clean
  :where(.trust-item > span:last-child) {
    display: block;
    min-inline-size: 0;
    overflow: hidden;
  }

  html.storefront-clean :where(.trust-item strong) {
    display: block;
    overflow: hidden;
    color: #344054;
    font-size: 12px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html.storefront-clean
  :where(.trust-item > span:last-child > span) {
    display: block;
    margin-block-start: 3px;
    overflow: hidden;
    color: var(--sf-color-text-muted);
    font-size: 11px;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Announcement and category navigation */
  html.storefront-clean :where(.site-announcement) {
    position: relative;
    z-index: 1001;
    background:
      linear-gradient(
        105deg,
        var(--sf-color-primary-strong),
        var(--sf-color-primary) 58%,
        #0759d3
      );
    color: var(--sf-color-surface);
  }

  html.storefront-clean :where(.announcement-shell) {
    display: flex;
    inline-size:
      min(
        calc(
          100% -
          var(--sf-container-gutter) -
          var(--sf-container-gutter)
        ),
        var(--sf-container-max)
      );
    min-block-size: 40px;
    margin-inline: auto;
    padding-block: 7px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
  }

  html.storefront-clean :where(.announcement-icon) {
    display: inline-flex;
    inline-size: 22px;
    block-size: 22px;
    flex: 0 0 22px;
    align-items: center;
    justify-content: center;
    border:
      1px solid
      rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: rgba(255, 248, 231, 0.18);
    color: #ffe1a3;
    font-size: 12px;
    font-weight: 950;
  }

  html.storefront-clean :where(.announcement-text) {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
  }

  html.storefront-clean :where(.announcement-text strong) {
    color: var(--sf-color-surface);
    font-weight: 900;
  }

  html.storefront-clean :where(.category-nav) {
    border-block-start: 1px solid #eef2f6;
    background: var(--sf-color-surface);
  }

  html.storefront-clean :where(.category-nav-shell) {
    inline-size:
      min(
        calc(
          100% -
          var(--sf-container-gutter) -
          var(--sf-container-gutter)
        ),
        var(--sf-container-max)
      );
    margin-inline: auto;
  }

  html.storefront-clean :where(.category-nav-list) {
    display: flex;
    min-block-size: 52px;
    padding-block: 4px;
    overflow-x: auto;
    align-items: center;
    gap: 5px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }

  html.storefront-clean
  :where(.category-nav-list)::-webkit-scrollbar {
    display: none;
  }

  html.storefront-clean :where(.category-nav-link) {
    display: inline-flex;
    min-block-size: 44px;
    padding: 8px 15px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--sf-radius-pill);
    background: transparent;
    color: #475467;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition:
      background-color 180ms ease,
      color 180ms ease,
      box-shadow 180ms ease;
  }

  /* Mobile navigation drawer */
  html.storefront-clean :where(.mobile-menu-backdrop) {
    position: fixed;
    z-index: 1190;
    inset: 0;
    background: rgba(16, 24, 40, 0.52);
    opacity: 0;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    transition: opacity 220ms ease;
  }

  html.storefront-clean :where(.mobile-menu) {
    position: fixed;
    z-index: 1200;
    inset-block: 0;
    inset-inline-start: 0;
    display: flex;
    inline-size: min(88vw, 380px);
    padding:
      max(20px, var(--sf-safe-area-block-start))
      18px
      max(20px, var(--sf-safe-area-block-end));
    overflow-y: auto;
    flex-direction: column;
    background: var(--sf-color-surface);
    color: var(--sf-color-text);
    box-shadow:
      0 0 52px
      rgba(16, 24, 40, 0.2);
    transform: translateX(104%);
    transition: transform 240ms ease;
  }

  html.storefront-clean :where(.mobile-menu-header) {
    display: flex;
    min-block-size: 52px;
    padding-block-end: 15px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-block-end: 1px solid var(--sf-color-border);
  }

  html.storefront-clean :where(.mobile-menu-header strong) {
    min-inline-size: 0;
    overflow-wrap: anywhere;
    color: var(--sf-color-heading);
    font-size: 17px;
    font-weight: 950;
    line-height: 1.45;
  }

  html.storefront-clean :where(.mobile-menu-close) {
    display: inline-flex;
    inline-size: 44px;
    block-size: 44px;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--sf-color-border);
    border-radius: 13px;
    background: var(--sf-color-surface-soft);
    color: var(--sf-color-heading);
    font-size: 24px;
    cursor: pointer;
  }

  html.storefront-clean :where(.mobile-menu-nav) {
    display: grid;
    padding-block: 18px;
    gap: 7px;
  }

  html.storefront-clean :where(.mobile-menu-link) {
    display: flex;
    min-block-size: 48px;
    padding: 10px 13px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #475467;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
  }

  html.storefront-clean :where(.mobile-menu-footer) {
    margin-block-start: auto;
    padding: 15px;
    border: 1px solid #dbe9fb;
    border-radius: 15px;
    background: #f5f9ff;
  }

  html.storefront-clean :where(.mobile-menu-footer strong) {
    display: block;
    color: var(--sf-color-primary);
    font-size: 13px;
    font-weight: 900;
  }

  html.storefront-clean :where(.mobile-menu-footer p) {
    margin: 5px 0 0;
    color: var(--sf-color-text-muted);
    font-size: 11px;
    line-height: 1.75;
  }

  /* Catalog section headings and category cards */
  html.storefront-clean :where(.home-section) {
    position: relative;
    padding-block: 58px 70px;
  }

  html.storefront-clean :where(.home-section.is-compact) {
    padding-block: 46px 52px;
  }

  html.storefront-clean :where(.home-section.is-surface) {
    overflow: hidden;
    border-block:
      1px solid
      var(--sf-color-border);
    background:
      linear-gradient(
        180deg,
        #f7f9fc 0%,
        var(--sf-color-surface) 30%,
        #f8faff 100%
      );
  }

  html.storefront-clean :where(.section-heading) {
    position: relative;
    z-index: 2;
    display: flex;
    margin-block-end: 27px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
  }

  html.storefront-clean :where(.section-heading-content) {
    max-inline-size: 720px;
  }

  html.storefront-clean :where(.section-kicker) {
    display: inline-flex;
    min-block-size: 31px;
    padding: 6px 13px;
    align-items: center;
    justify-content: center;
    border:
      1px solid
      rgba(183, 121, 31, 0.2);
    border-radius: var(--sf-radius-pill);
    background: var(--sf-color-gold-soft);
    color: var(--sf-color-gold-text);
    font-size: 11px;
    font-weight: 900;
  }

  html.storefront-clean :where(.section-title) {
    margin: 12px 0 8px;
    color: var(--sf-color-heading);
    font-size: clamp(31px, 3.1vw, 44px);
    font-weight: 950;
    line-height: 1.25;
    letter-spacing: normal;
    overflow-wrap: anywhere;
  }

  html.storefront-clean :where(.section-description) {
    max-inline-size: 650px;
    margin: 0;
    color: var(--sf-color-text-muted);
    font-size: 13px;
    line-height: 1.85;
    overflow-wrap: anywhere;
  }

  html.storefront-clean :where(.section-link) {
    display: inline-flex;
    min-block-size: 44px;
    padding: 9px 17px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border:
      1px solid
      rgba(8, 104, 245, 0.18);
    border-radius: 13px;
    background: var(--sf-color-surface);
    color: var(--sf-color-primary);
    box-shadow: var(--sf-shadow-small);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    transition:
      border-color 180ms ease,
      background-color 180ms ease,
      box-shadow 180ms ease,
      transform 180ms ease;
  }

  html.storefront-clean :where(.categories-grid) {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
      repeat(
        auto-fit,
        minmax(245px, 340px)
      );
    gap: 17px;
    justify-content: center;
  }

  html.storefront-clean :where(.category-card) {
    position: relative;
    display: flex;
    min-inline-size: 0;
    padding: 10px;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--sf-color-border);
    border-radius: 20px;
    background: var(--sf-color-surface);
    color: inherit;
    box-shadow: var(--sf-shadow-small);
    text-align: start;
    cursor: pointer;
    isolation: isolate;
    transition:
      border-color 200ms ease,
      box-shadow 200ms ease,
      transform 200ms ease;
  }

  html.storefront-clean :where(.category-card-media) {
    position: relative;
    display: grid;
    inline-size: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    place-items: center;
    border-radius: 15px;
    background:
      linear-gradient(
        145deg,
        #edf5ff,
        #fafcff
      );
  }

  html.storefront-clean :where(.category-card-image) {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    object-position: center 24%;
    transition: transform 350ms ease;
  }

  html.storefront-clean :where(.category-placeholder) {
    display: grid;
    inline-size: 64px;
    block-size: 64px;
    place-items: center;
    border:
      1px solid
      rgba(183, 121, 31, 0.18);
    border-radius: 19px;
    background: var(--sf-color-surface);
    color: var(--sf-color-gold);
    box-shadow:
      0 12px 28px
      rgba(183, 121, 31, 0.12);
    font-size: 24px;
  }

  html.storefront-clean :where(.category-card-content) {
    display: flex;
    min-block-size: 62px;
    padding: 12px 5px 3px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  html.storefront-clean :where(.category-card-title) {
    margin: 0 0 3px;
    color: var(--sf-color-heading);
    font-size: 14px;
    font-weight: 950;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  html.storefront-clean :where(.category-card-count) {
    display: block;
    color: var(--sf-color-text-muted);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
  }

  html.storefront-clean :where(.category-card-arrow) {
    display: grid;
    inline-size: 40px;
    block-size: 40px;
    flex: 0 0 40px;
    place-items: center;
    border:
      1px solid
      rgba(8, 104, 245, 0.14);
    border-radius: 12px;
    background: #eff6ff;
    color: var(--sf-color-primary);
    font-size: 15px;
    font-weight: 950;
    transition:
      background-color 180ms ease,
      color 180ms ease,
      transform 180ms ease;
  }

  /* Product toolbar and card foundation */
  html.storefront-clean :where(.products-toolbar) {
    position: relative;
    z-index: 3;
    display: flex;
    margin-block-end: 24px;
    padding: 13px 14px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--sf-color-border);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.93);
    box-shadow: var(--sf-shadow-small);
    -webkit-backdrop-filter: blur(13px);
    backdrop-filter: blur(13px);
  }

  html.storefront-clean :where(.products-result-info) {
    display: flex;
    min-inline-size: 0;
    align-items: center;
    gap: 10px;
    color: #475467;
    font-size: 12px;
    font-weight: 800;
  }

  html.storefront-clean :where(.products-result-count) {
    display: grid;
    min-inline-size: 40px;
    block-size: 40px;
    padding-inline: 9px;
    place-items: center;
    border:
      1px solid
      rgba(8, 104, 245, 0.14);
    border-radius: 12px;
    background: #eff6ff;
    color: var(--sf-color-primary);
    font-size: 13px;
    font-weight: 950;
  }

  html.storefront-clean :where(.products-toolbar-actions) {
    display: flex;
    min-inline-size: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
  }

  html.storefront-clean :where(.products-sort) {
    min-inline-size: 220px;
    min-block-size: 44px;
    padding: 8px 13px;
    border: 1px solid var(--sf-color-border-strong);
    border-radius: 12px;
    outline: 0;
    background: var(--sf-color-surface);
    color: var(--sf-color-text);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
  }

  html.storefront-clean :where(.view-switcher) {
    display: flex;
    padding: 3px;
    align-items: center;
    gap: 3px;
    border: 1px solid var(--sf-color-border);
    border-radius: 12px;
    background: #f2f5f9;
  }

  html.storefront-clean :where(.view-switch-button) {
    display: grid;
    inline-size: 38px;
    block-size: 38px;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #7b8799;
    cursor: pointer;
    transition:
      background-color 180ms ease,
      color 180ms ease,
      box-shadow 180ms ease;
  }

  html.storefront-clean
  :where(.view-switch-button .icon) {
    inline-size: 20px;
    block-size: 20px;
    stroke: currentColor;
  }

  html.storefront-clean :where(.product-card) {
    position: relative;
    display: flex;
    min-inline-size: 0;
    block-size: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--sf-color-border);
    border-radius: 20px;
    background: var(--sf-color-surface);
    box-shadow: var(--sf-shadow-card);
    isolation: isolate;
    transition:
      border-color 200ms ease,
      box-shadow 200ms ease,
      transform 200ms ease;
  }

  html.storefront-clean :where(.product-media) {
    position: relative;
    display: block;
    inline-size: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background:
      linear-gradient(
        145deg,
        #edf3f9,
        #fafcfe
      );
  }

  html.storefront-clean :where(.product-media)::after {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        180deg,
        transparent 62%,
        rgba(16, 24, 40, 0.07)
      );
    content: "";
    pointer-events: none;
  }

  html.storefront-clean :where(.product-image) {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    object-position: center 18%;
    transition: transform 400ms ease;
  }

  html.storefront-clean :where(.product-image-placeholder) {
    display: flex;
    inline-size: 100%;
    block-size: 100%;
    padding: 20px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    background:
      linear-gradient(
        145deg,
        #eef5ff,
        #fbfcfe
      );
    color: var(--sf-color-text-muted);
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
  }

  html.storefront-clean
  :where(.product-image-placeholder-icon) {
    display: grid;
    inline-size: 64px;
    block-size: 64px;
    place-items: center;
    border-radius: 19px;
    background: var(--sf-color-surface);
    color: var(--sf-color-primary);
    box-shadow:
      0 14px 30px
      rgba(8, 104, 245, 0.12);
    font-size: 23px;
  }

  html.storefront-clean :where(.product-badges) {
    position: absolute;
    z-index: 4;
    inset-block-start: 11px;
    inset-inline-start: 11px;
    display: flex;
    max-inline-size: calc(100% - 64px);
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
  }

  html.storefront-clean :where(.product-badge) {
    display: inline-flex;
    min-block-size: 27px;
    padding: 5px 9px;
    align-items: center;
    justify-content: center;
    border:
      1px solid
      rgba(255, 255, 255, 0.6);
    border-radius: var(--sf-radius-pill);
    color: var(--sf-color-surface);
    box-shadow:
      0 8px 18px
      rgba(16, 24, 40, 0.15);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 950;
    line-height: 1.2;
  }

  html.storefront-clean :where(.discount-badge) {
    background: var(--sf-color-danger);
  }

  html.storefront-clean :where(.featured-badge) {
    background: var(--sf-color-gold-text);
  }

  html.storefront-clean :where(.out-of-stock-badge) {
    background: rgba(29, 41, 57, 0.9);
  }

  html.storefront-clean :where(.product-floating-actions) {
    position: absolute;
    z-index: 6;
    inset-block-start: 11px;
    inset-inline-end: 11px;
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  html.storefront-clean :where(.product-floating-button) {
    display: grid;
    inline-size: 44px;
    block-size: 44px;
    place-items: center;
    border:
      1px solid
      rgba(226, 232, 240, 0.9);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.94);
    color: #344054;
    box-shadow:
      0 9px 20px
      rgba(16, 24, 40, 0.11);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    font-size: 17px;
    cursor: pointer;
    transition:
      background-color 180ms ease,
      border-color 180ms ease,
      color 180ms ease,
      transform 180ms ease;
  }

  html.storefront-clean :where(.product-body) {
    display: flex;
    min-inline-size: 0;
    min-block-size: 235px;
    padding: 16px;
    flex: 1;
    flex-direction: column;
  }

  html.storefront-clean :where(.product-category) {
    display: block;
    margin-block-end: 6px;
    color: var(--sf-color-gold-text);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.5;
  }

  html.storefront-clean :where(.product-name) {
    min-block-size: 48px;
    margin: 0 0 7px;
    color: var(--sf-color-heading);
    font-size: 16px;
    font-weight: 950;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  html.storefront-clean :where(.product-name a) {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  html.storefront-clean :where(.product-description) {
    display: -webkit-box;
    min-block-size: 44px;
    margin: 0 0 12px;
    overflow: hidden;
    color: var(--sf-color-text-muted);
    font-size: 12px;
    line-height: 1.75;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  html.storefront-clean :where(.product-price-area) {
    display: flex;
    min-inline-size: 0;
    margin-block-start: auto;
    align-items: flex-end;
    justify-content: space-between;
    gap: 9px;
  }

  html.storefront-clean :where(.product-prices) {
    display: flex;
    min-inline-size: 0;
    align-items: baseline;
    gap: 7px;
    flex-wrap: wrap;
  }

  html.storefront-clean :where(.current-price) {
    color: var(--sf-color-primary);
    font-size: 22px;
    font-weight: 950;
    line-height: 1.2;
  }

  html.storefront-clean :where(.compare-price) {
    color: var(--sf-color-text-soft);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: line-through;
  }

  html.storefront-clean :where(.product-saving) {
    display: inline-flex;
    min-inline-size: 0;
    max-inline-size: 100%;
    min-block-size: 27px;
    padding: 5px 8px;
    align-items: center;
    justify-content: center;
    border:
      1px solid
      rgba(18, 163, 109, 0.15);
    border-radius: var(--sf-radius-pill);
    background: var(--sf-color-success-soft);
    color: var(--sf-color-success-text);
    font-size: 11px;
    font-weight: 950;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html.storefront-clean :where(.product-actions) {
    display: grid;
    margin-block-start: 15px;
    grid-template-columns:
      minmax(0, 1fr)
      44px;
    gap: 8px;
  }

  html.storefront-clean
  :where(.product-buy-button, .product-details-button) {
    display: inline-grid;
    min-block-size: 44px;
    place-items: center;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
    transition:
      border-color 180ms ease,
      background-color 180ms ease,
      box-shadow 180ms ease,
      color 180ms ease,
      transform 180ms ease;
  }

  html.storefront-clean :where(.product-buy-button) {
    border: 0;
    background:
      linear-gradient(
        115deg,
        var(--sf-color-primary-strong),
        var(--sf-color-primary) 55%,
        var(--sf-color-primary-light)
      );
    color: var(--sf-color-surface);
    box-shadow:
      0 11px 23px
      rgba(8, 104, 245, 0.2);
  }

  html.storefront-clean :where(.product-details-button) {
    inline-size: 44px;
    border: 1px solid var(--sf-color-border-strong);
    background: var(--sf-color-surface);
    color: var(--sf-color-primary);
  }

  /* Loading and empty catalog states */
  html.storefront-clean :where(.product-skeleton) {
    overflow: hidden;
    border: 1px solid var(--sf-color-border);
    border-radius: 20px;
    background: var(--sf-color-surface);
  }

  html.storefront-clean :where(.skeleton-block) {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #e9eef5;
  }

  html.storefront-clean :where(.skeleton-image) {
    aspect-ratio: 4 / 5;
    border-radius: 0;
  }

  html.storefront-clean :where(.skeleton-body) {
    display: grid;
    padding: 16px;
    gap: 11px;
  }

  html.storefront-clean :where(.skeleton-line) {
    block-size: 11px;
  }

  html.storefront-clean :where(.skeleton-line.is-small) {
    inline-size: 38%;
  }

  html.storefront-clean :where(.skeleton-line.is-medium) {
    inline-size: 68%;
  }

  html.storefront-clean :where(.skeleton-line.is-large) {
    inline-size: 90%;
  }

  html.storefront-clean :where(.skeleton-button) {
    block-size: 44px;
    margin-block-start: 4px;
    border-radius: 12px;
  }

  html.storefront-clean :where(.products-state) {
    position: relative;
    z-index: 2;
    display: grid;
    min-block-size: 320px;
    padding: 40px 20px;
    place-items: center;
    align-content: center;
    border:
      1px dashed
      var(--sf-color-border-strong);
    border-radius: 22px;
    background: var(--sf-color-surface);
    text-align: center;
  }

  html.storefront-clean :where(.products-state-icon) {
    display: grid;
    inline-size: 64px;
    block-size: 64px;
    margin-block-end: 14px;
    place-items: center;
    border-radius: 20px;
    background: #eff6ff;
    color: var(--sf-color-primary);
    font-size: 26px;
  }

  html.storefront-clean :where(.products-state h3) {
    margin: 0;
    color: var(--sf-color-heading);
    font-size: 21px;
    font-weight: 950;
    line-height: 1.5;
  }

  html.storefront-clean :where(.products-state p) {
    max-inline-size: 520px;
    margin: 8px 0 18px;
    color: var(--sf-color-text-muted);
    font-size: 13px;
    line-height: 1.8;
  }

  html.storefront-clean :where(.products-state-button) {
    display: inline-flex;
    min-block-size: 44px;
    padding: 9px 18px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--sf-color-primary);
    color: var(--sf-color-surface);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
  }
}

@layer variants {
  /* Header interaction states */
  html.storefront-clean
  :where(
    .desktop-nav-link:hover,
    .desktop-nav-link.is-active
  ) {
    background: #eff6ff;
    color: var(--sf-color-primary);
  }

  html.storefront-clean
  :where(.desktop-nav-link.is-active)::after {
    inline-size: 24px;
  }

  html.storefront-clean
  :where(
    .header-icon-button:hover,
    .mobile-menu-button:hover
  ) {
    border-color: rgba(8, 104, 245, 0.3);
    background: #eff6ff;
    color: var(--sf-color-primary);
    box-shadow:
      0 7px 18px
      rgba(8, 104, 245, 0.1);
    transform: translateY(-1px);
  }

  html.storefront-clean
  :where(.header-primary-button:hover) {
    box-shadow:
      0 14px 30px
      rgba(8, 104, 245, 0.3);
    filter: saturate(1.1);
    transform: translateY(-2px);
  }

  html.storefront-clean
  :where(.search-input)::placeholder {
    color: #a0aaba;
  }

  html.storefront-clean :where(.search-input:focus) {
    border-color: var(--sf-color-primary);
    box-shadow:
      0 0 0 4px
      rgba(8, 104, 245, 0.09);
  }

  html.storefront-clean
  :where(
    .desktop-nav-link,
    .header-icon-button,
    .header-primary-button,
    .mobile-menu-button,
    .search-submit,
    .search-clear,
    .hero-primary-button,
    .hero-secondary-button
  ):focus-visible {
    outline: 3px solid var(--sf-color-primary);
    outline-offset: 3px;
  }

  html.storefront-clean :where(.search-input:focus-visible) {
    outline: 3px solid var(--sf-color-primary);
    outline-offset: 2px;
  }

  html.storefront-clean :where(.search-clear.is-visible) {
    display: inline-flex;
  }

  /* Hero and trust states */
  html.storefront-clean
  :where(.hero-primary-button:hover) {
    box-shadow:
      0 19px 39px
      rgba(8, 104, 245, 0.3);
    filter: saturate(1.1);
    transform: translateY(-2px);
  }

  html.storefront-clean
  :where(.hero-secondary-button:hover) {
    border-color: rgba(8, 104, 245, 0.3);
    color: var(--sf-color-primary);
    box-shadow: var(--sf-shadow-small);
    transform: translateY(-1px);
  }

  html.storefront-clean
  :where(.hero-image-frame:hover .hero-image) {
    transform: scale(1.025);
  }

  html.storefront-clean
  :where(.hero-floating-card.is-top) {
    inset-block-start: 29px;
    inset-inline-start: -19px;
  }

  html.storefront-clean
  :where(.hero-floating-card.is-bottom) {
    inset-block-end: 27px;
    inset-inline-end: -20px;
  }

  html.storefront-clean :where(.trust-item:hover) {
    border-color: #d8e9ff;
    background: #f6faff;
  }

  html.storefront-clean
  :where(.trust-item:nth-child(2) .trust-item-icon) {
    background: var(--sf-color-success-soft);
    color: var(--sf-color-success);
  }

  html.storefront-clean
  :where(.trust-item:nth-child(3) .trust-item-icon) {
    background: var(--sf-color-warning-soft);
    color: var(--sf-color-warning);
  }

  html.storefront-clean
  :where(.trust-item:nth-child(4) .trust-item-icon) {
    background: var(--sf-color-purple-soft);
    color: var(--sf-color-purple);
  }

  /* Catalog interaction and runtime states */
  html.storefront-clean
  :where(
    .category-nav-link:hover,
    .category-nav-link.is-active
  ) {
    background: #eff6ff;
    color: var(--sf-color-primary);
  }

  html.storefront-clean
  :where(.category-nav-link.is-active) {
    box-shadow:
      inset 0 0 0 1px
      rgba(8, 104, 245, 0.12);
  }

  html.storefront-clean
  :where(.mobile-menu-backdrop.is-visible) {
    opacity: 1;
  }

  html.storefront-clean :where(.mobile-menu.is-open) {
    transform: translateX(0);
  }

  html.storefront-clean
  :where(
    .mobile-menu-link:hover,
    .mobile-menu-link.is-active
  ) {
    border-color: #d9e9ff;
    background: #f2f7ff;
    color: var(--sf-color-primary);
  }

  html.storefront-clean
  :where(.view-switch-button.is-active) {
    background: var(--sf-color-surface);
    color: var(--sf-color-primary);
    box-shadow:
      0 4px 11px
      rgba(16, 24, 40, 0.09);
  }

  html.storefront-clean
  :where(.product-card.has-no-image .product-media) {
    aspect-ratio: 4 / 3;
  }

  html.storefront-clean:where([
    data-product-card-style="bordered"
  ])
  :where(.product-card) {
    border-color: var(--sf-color-border-strong);
    border-width: 2px;
    box-shadow: none;
  }

  html.storefront-clean:where([
    data-product-card-style="minimal"
  ])
  :where(.product-card) {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  html.storefront-clean:where([
    data-product-card-style="minimal"
  ])
  :where(.product-media) {
    border-radius: 18px;
  }

  html.storefront-clean
  :where(
    .product-buy-button:disabled,
    .product-buy-button[aria-disabled="true"]
  ) {
    background: #b9c2cf;
    color: #344054;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.72;
    pointer-events: none;
  }

  html.storefront-clean :where(.skeleton-block)::after {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        105deg,
        transparent 25%,
        rgba(255, 255, 255, 0.72) 48%,
        transparent 72%
      );
    content: "";
    transform: translateX(105%);
    animation: sf-skeleton-shimmer 1.35s ease-in-out infinite;
  }

  @keyframes sf-skeleton-shimmer {
    to {
      transform: translateX(-105%);
    }
  }

  html.storefront-clean
  :where(
    .category-nav-link,
    .mobile-menu-close,
    .mobile-menu-link,
    .section-link,
    .category-card,
    .products-sort,
    .view-switch-button,
    .product-media,
    .product-name a,
    .product-floating-button,
    .product-buy-button,
    .product-details-button,
    .products-state-button
  ):focus-visible {
    outline: 3px solid var(--sf-color-primary);
    outline-offset: 3px;
  }

  @media (hover: hover) and (pointer: fine) {
    html.storefront-clean :where(.section-link:hover) {
      border-color: rgba(8, 104, 245, 0.34);
      background: #eff6ff;
      box-shadow:
        0 10px 22px
        rgba(8, 104, 245, 0.1);
      transform: translateY(-2px);
    }

    html.storefront-clean :where(.category-card:hover) {
      border-color: rgba(8, 104, 245, 0.28);
      box-shadow:
        0 18px 40px
        rgba(8, 62, 135, 0.12);
      transform: translateY(-4px);
    }

    html.storefront-clean
    :where(.category-card:hover .category-card-image) {
      transform: scale(1.04);
    }

    html.storefront-clean
    :where(.category-card:hover .category-card-arrow) {
      background: var(--sf-color-primary);
      color: var(--sf-color-surface);
      transform: translateX(-2px);
    }

    html.storefront-clean :where(.product-card:hover) {
      border-color: rgba(8, 104, 245, 0.25);
      box-shadow:
        0 22px 48px
        rgba(8, 56, 122, 0.14);
      transform: translateY(-5px);
    }

    html.storefront-clean
    :where(.product-card:hover .product-image) {
      transform: scale(1.035);
    }

    html.storefront-clean
    :where(.product-floating-button:hover) {
      border-color: rgba(8, 104, 245, 0.26);
      background: var(--sf-color-primary);
      color: var(--sf-color-surface);
      transform: translateY(-2px);
    }

    html.storefront-clean :where(.product-buy-button:hover) {
      box-shadow:
        0 15px 29px
        rgba(8, 104, 245, 0.29);
      transform: translateY(-2px);
    }

    html.storefront-clean :where(.product-details-button:hover) {
      border-color: rgba(8, 104, 245, 0.28);
      background: #eff6ff;
      transform: translateY(-1px);
    }
  }

  /* Motion preference */
  @media (prefers-reduced-motion: reduce) {
    html.storefront-clean {
      scroll-behavior: auto;
    }

    html.storefront-clean
    :where(
      .desktop-nav-link,
      .header-icon-button,
      .header-primary-button,
      .mobile-menu-button,
      .search-input,
      .hero-primary-button,
      .hero-secondary-button,
      .hero-image,
      .trust-item,
      .category-nav-link,
      .mobile-menu-backdrop,
      .mobile-menu,
      .mobile-menu-link,
      .section-link,
      .category-card,
      .category-card-image,
      .category-card-arrow,
      .view-switch-button,
      .product-card,
      .product-image,
      .product-floating-button,
      .product-buy-button,
      .product-details-button
    ) {
      transition: none;
    }

    html.storefront-clean
    :where(.desktop-nav-link)::after {
      transition: none;
    }

    html.storefront-clean
    :where(
      .header-icon-button:hover,
      .header-primary-button:hover,
      .mobile-menu-button:hover,
      .hero-primary-button:hover,
      .hero-secondary-button:hover,
      .hero-image-frame:hover .hero-image,
      .section-link:hover,
      .category-card:hover,
      .category-card:hover .category-card-image,
      .category-card:hover .category-card-arrow,
      .product-card:hover,
      .product-card:hover .product-image,
      .product-floating-button:hover,
      .product-buy-button:hover,
      .product-details-button:hover
    ) {
      transform: none;
    }

    html.storefront-clean :where(.skeleton-block)::after {
      animation: none;
    }
  }
}

@layer catalog {
  /* Category and product grid contracts */
  html.storefront-clean
  :where(.categories-grid > .category-card:only-child) {
    grid-column: 1 / -1;
    inline-size: min(100%, 340px);
    justify-self: center;
  }

  html.storefront-clean
  :where(.products-grid, .products-skeleton) {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  html.storefront-clean:where([
    data-products-desktop="2"
  ])
  :where(.products-grid:not(.is-list-view), .products-skeleton) {
    grid-template-columns:
      repeat(2, minmax(0, 380px));
    justify-content: center;
  }

  html.storefront-clean:where([
    data-products-desktop="3"
  ])
  :where(.products-grid:not(.is-list-view), .products-skeleton) {
    grid-template-columns:
      repeat(3, minmax(0, 340px));
    justify-content: center;
  }

  html.storefront-clean:where([
    data-products-desktop="4"
  ])
  :where(.products-grid:not(.is-list-view), .products-skeleton) {
    grid-template-columns:
      repeat(4, minmax(0, 1fr));
  }

  html.storefront-clean:where([
    data-products-desktop="5"
  ])
  :where(.products-grid:not(.is-list-view), .products-skeleton) {
    grid-template-columns:
      repeat(5, minmax(0, 1fr));
  }

  html.storefront-clean:where([
    data-products-desktop="6"
  ])
  :where(.products-grid:not(.is-list-view), .products-skeleton) {
    grid-template-columns:
      repeat(6, minmax(0, 1fr));
  }

  html.storefront-clean
  :where(
    .products-grid:not(.is-list-view)[data-product-count="1"]
  ) {
    inline-size: min(100%, 390px);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
  }

  html.storefront-clean
  :where(
    .products-grid:not(.is-list-view)[data-product-count="2"]
  ) {
    inline-size: min(100%, 790px);
    margin-inline: auto;
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    justify-content: center;
  }

  html.storefront-clean
  :where(
    .products-grid:not(.is-list-view)[data-product-count="3"]
  ) {
    inline-size: min(100%, 1040px);
    margin-inline: auto;
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
    justify-content: center;
  }

  /* List view deliberately overrides count and column settings. */
  html.storefront-clean :where(.products-grid.is-list-view) {
    inline-size: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  html.storefront-clean
  :where(.products-grid.is-list-view .product-card) {
    display: grid;
    grid-template-columns:
      minmax(220px, 260px)
      minmax(0, 1fr);
  }

  html.storefront-clean
  :where(.products-grid.is-list-view .product-media) {
    block-size: 100%;
    min-block-size: 310px;
    aspect-ratio: auto;
  }

  html.storefront-clean
  :where(.products-grid.is-list-view .product-body) {
    min-block-size: 310px;
    padding: 22px;
  }

  html.storefront-clean
  :where(.products-grid.is-list-view .product-description) {
    -webkit-line-clamp: 3;
  }
}

@layer responsive {
  /* Wide catalog tightening */
  @media (max-width: 1180px) {
    html.storefront-clean :where(.categories-grid) {
      gap: 14px;
    }

    html.storefront-clean
    :where(.products-grid, .products-skeleton) {
      gap: 14px;
    }
  }

  /* Navigation cutoff */
  @media (max-width: 1050px) {
    html.storefront-clean :where(.desktop-nav) {
      display: none;
    }

    html.storefront-clean :where(.mobile-menu-button) {
      display: inline-flex;
    }

    html.storefront-clean :where(.header-shell) {
      grid-template-columns:
        minmax(0, 1fr) auto;
    }

    html.storefront-clean:where([
      data-products-desktop="5"
    ], [
      data-products-desktop="6"
    ])
    :where(.products-grid:not(.is-list-view), .products-skeleton) {
      grid-template-columns:
        repeat(4, minmax(0, 1fr));
    }
  }

  /* Mobile header, hero, and trust layout */
  @media (max-width: 700px) {
    html.storefront-clean {
      --sf-container-gutter:
        var(--sf-container-gutter-mobile);
    }

    html.storefront-clean :where(.site-header) {
      position: sticky;
      z-index: 1000;
      inset-block-start: 0;
    }

    html.storefront-clean
    :where(.header-main, .header-shell) {
      min-block-size: 59px;
    }

    html.storefront-clean :where(.header-shell) {
      gap: 6px;
    }

    html.storefront-clean :where(.brand-link) {
      min-block-size: 44px;
      gap: 8px;
    }

    html.storefront-clean :where(.brand-logo) {
      inline-size: 40px;
      block-size: 40px;
      flex-basis: 40px;
      border-radius: 12px;
      font-size: 21px;
    }

    html.storefront-clean :where(.brand-name) {
      max-inline-size: 160px;
      font-size: 15px;
    }

    html.storefront-clean :where(.brand-tagline) {
      display: none;
    }

    html.storefront-clean :where(.header-primary-button) {
      display: none;
    }

    html.storefront-clean
    :where(.header-icon-button, .mobile-menu-button) {
      inline-size: 44px;
      block-size: 44px;
      flex-basis: 44px;
      border-radius: 11px;
    }

    html.storefront-clean
    :where(
      .header-icon-button .icon,
      .mobile-menu-button .icon
    ) {
      inline-size: 19px;
      block-size: 19px;
    }

    html.storefront-clean :where(.header-search-shell) {
      min-block-size: 56px;
      grid-template-columns: 1fr;
      gap: 18px;
    }

    html.storefront-clean :where(.store-search) {
      inline-size: 100%;
    }

    html.storefront-clean :where(.header-trust) {
      display: none;
    }

    html.storefront-clean :where(.search-input) {
      min-block-size: 48px;
      padding-block: 10px;
      padding-inline-start: 43px;
      padding-inline-end: 140px;
      border-radius: 13px;
      font-size: 13px;
      box-shadow:
        inset 0 1px 2px
        rgba(16, 24, 40, 0.018);
    }

    html.storefront-clean :where(.search-icon) {
      inset-inline-start: 14px;
      inline-size: 19px;
      block-size: 19px;
    }

    html.storefront-clean :where(.search-submit) {
      inset-inline-end: 4px;
      min-inline-size: 82px;
      min-block-size: 44px;
      padding: 8px 15px;
      border-radius: 10px;
      font-size: 12px;
    }

    html.storefront-clean :where(.search-clear) {
      inset-inline-end: 90px;
      inline-size: 44px;
      block-size: 44px;
    }

    html.storefront-clean :where(.hero-section) {
      padding: 10px 0 12px;
    }

    html.storefront-clean :where(.hero-shell) {
      min-block-size: 0;
      padding: 17px 14px 14px;
      grid-template-columns: 1fr;
      gap: 11px;
      border-radius: 20px;
    }

    html.storefront-clean :where(.hero-content) {
      max-inline-size: none;
      text-align: center;
    }

    html.storefront-clean :where(.hero-eyebrow) {
      min-block-size: 28px;
      margin-inline: auto;
      padding: 5px 10px;
      font-size: 11px;
    }

    html.storefront-clean :where(.hero-eyebrow-dot) {
      inline-size: 7px;
      block-size: 7px;
      box-shadow:
        0 0 0 4px
        rgba(18, 163, 109, 0.1);
    }

    html.storefront-clean :where(.hero-title) {
      margin: 12px 0 7px;
      font-size: clamp(28px, 8.2vw, 35px);
      line-height: 1.2;
      letter-spacing: normal;
    }

    html.storefront-clean :where(.hero-description) {
      max-inline-size: 430px;
      margin-inline: auto;
      font-size: 13px;
      line-height: 1.65;
    }

    html.storefront-clean :where(.hero-actions) {
      display: grid;
      inline-size: 100%;
      margin-block-start: 13px;
      grid-template-columns: minmax(0, 1fr);
      gap: 4px;
    }

    html.storefront-clean :where(.hero-primary-button) {
      inline-size: 100%;
      min-block-size: 46px;
      padding: 9px 18px;
      border-radius: 13px;
      font-size: 12px;
    }

    html.storefront-clean :where(.hero-secondary-button) {
      inline-size: max-content;
      min-block-size: 44px;
      margin-inline: auto;
      padding: 8px 14px;
      border: 0;
      border-radius: 9px;
      background: transparent;
      color: var(--sf-color-primary);
      box-shadow: none;
      font-size: 12px;
    }

    html.storefront-clean
    :where(.hero-secondary-button:hover) {
      background: #eff6ff;
      box-shadow: none;
      transform: none;
    }

    html.storefront-clean :where(.hero-stats) {
      display: none;
    }

    html.storefront-clean :where(.hero-media) {
      min-block-size: 220px;
      margin-block-start: 0;
    }

    html.storefront-clean :where(.hero-image-frame) {
      inline-size: 100%;
      max-inline-size: 430px;
      block-size: 230px;
      border-width: 4px;
      border-radius: 17px;
    }

    html.storefront-clean :where(.hero-image) {
      object-fit: cover;
      /* Keep faces and central garment detail inside the mobile crop. */
      object-position: center 20%;
    }

    html.storefront-clean
    :where(.hero-image-placeholder > span:last-child) {
      font-size: 11px;
    }

    html.storefront-clean :where(.hero-floating-card) {
      display: none;
    }

    html.storefront-clean :where(.trust-strip-section) {
      padding-block-end: 15px;
    }

    html.storefront-clean :where(.trust-strip) {
      padding: 7px;
      grid-template-columns:
        repeat(2, minmax(0, 1fr));
      gap: 5px;
      border-radius: 16px;
    }

    html.storefront-clean :where(.trust-item) {
      min-block-size: 59px;
      padding: 7px;
      gap: 7px;
      border-radius: 12px;
    }

    html.storefront-clean :where(.trust-item-icon) {
      inline-size: 34px;
      block-size: 34px;
      flex-basis: 34px;
      border-radius: 10px;
    }

    html.storefront-clean
    :where(.trust-item-icon .icon) {
      inline-size: 20px;
      block-size: 20px;
    }

    html.storefront-clean :where(.trust-item strong) {
      font-size: 13px;
    }

    html.storefront-clean
    :where(.trust-item > span:last-child > span) {
      font-size: 11px;
    }

    html.storefront-clean :where(.announcement-shell) {
      min-block-size: 38px;
      padding-block: 6px;
      gap: 7px;
    }

    html.storefront-clean :where(.announcement-icon) {
      inline-size: 20px;
      block-size: 20px;
      flex-basis: 20px;
      font-size: 11px;
    }

    html.storefront-clean :where(.announcement-text) {
      font-size: 11px;
    }

    html.storefront-clean :where(.category-nav-list) {
      min-block-size: 50px;
      gap: 3px;
    }

    html.storefront-clean :where(.category-nav-link) {
      min-block-size: 44px;
      padding-inline: 12px;
      font-size: 12px;
    }

    html.storefront-clean :where(.mobile-menu) {
      inline-size: min(90vw, 360px);
      padding-inline: 15px;
    }

    html.storefront-clean :where(.home-section) {
      padding-block: 34px 46px;
    }

    html.storefront-clean :where(.home-section.is-compact) {
      padding-block: 30px 36px;
    }

    html.storefront-clean :where(.section-heading) {
      display: grid;
      margin-block-end: 17px;
      align-items: start;
      gap: 12px;
    }

    html.storefront-clean :where(.section-kicker) {
      min-block-size: 29px;
      padding: 5px 10px;
      font-size: 11px;
    }

    html.storefront-clean :where(.section-title) {
      margin: 8px 0 6px;
      font-size: 25px;
      line-height: 1.3;
    }

    html.storefront-clean :where(.section-description) {
      font-size: 13px;
      line-height: 1.75;
    }

    html.storefront-clean :where(.section-link) {
      inline-size: max-content;
      max-inline-size: 100%;
      min-block-size: 44px;
      font-size: 12px;
    }

    html.storefront-clean :where(.categories-grid) {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 9px;
    }

    html.storefront-clean :where(.category-card) {
      padding: 7px;
      border-radius: 15px;
    }

    html.storefront-clean :where(.category-card-media) {
      border-radius: 11px;
    }

    html.storefront-clean :where(.category-placeholder) {
      inline-size: 52px;
      block-size: 52px;
      border-radius: 15px;
      font-size: 20px;
    }

    html.storefront-clean :where(.category-card-content) {
      min-block-size: 58px;
      padding: 9px 3px 2px;
      gap: 6px;
    }

    html.storefront-clean :where(.category-card-title) {
      font-size: 13px;
      line-height: 1.55;
    }

    html.storefront-clean :where(.category-card-count) {
      font-size: 11px;
    }

    html.storefront-clean :where(.category-card-arrow) {
      inline-size: 36px;
      block-size: 36px;
      flex-basis: 36px;
      border-radius: 10px;
      font-size: 14px;
    }

    html.storefront-clean :where(.products-toolbar) {
      display: grid;
      margin-block-end: 14px;
      padding: 9px;
      gap: 9px;
      border-radius: 14px;
    }

    html.storefront-clean :where(.products-result-info) {
      font-size: 12px;
    }

    html.storefront-clean :where(.products-result-count) {
      min-inline-size: 40px;
      block-size: 40px;
      font-size: 13px;
    }

    html.storefront-clean :where(.products-toolbar-actions) {
      inline-size: 100%;
      justify-content: stretch;
      gap: 8px;
    }

    html.storefront-clean :where(.products-sort) {
      min-inline-size: 0;
      min-block-size: 44px;
      flex: 1 1 auto;
      font-size: 12px;
    }

    html.storefront-clean :where(.view-switcher) {
      flex: 0 0 auto;
    }

    html.storefront-clean :where(.view-switch-button) {
      inline-size: 44px;
      block-size: 44px;
    }

    html.storefront-clean
    :where(.products-grid, .products-skeleton) {
      gap: 9px;
    }

    html.storefront-clean:where([
      data-products-mobile="1"
    ])
    :where(.products-grid:not(.is-list-view), .products-skeleton) {
      inline-size: min(100%, 480px);
      margin-inline: auto;
      grid-template-columns: minmax(0, 1fr);
    }

    html.storefront-clean:where([
      data-products-mobile="2"
    ])
    :where(.products-grid:not(.is-list-view), .products-skeleton) {
      inline-size: 100%;
      grid-template-columns:
        repeat(2, minmax(0, 1fr));
    }

    html.storefront-clean
    :where(
      .products-grid:not(.is-list-view)[data-product-count="1"]
    ) {
      inline-size: min(92%, 390px);
      grid-template-columns: minmax(0, 1fr);
    }

    html.storefront-clean :where(.product-card) {
      border-radius: 15px;
    }

    html.storefront-clean :where(.product-image) {
      object-position: center 16%;
    }

    html.storefront-clean
    :where(.product-image-placeholder) {
      padding: 12px;
      font-size: 11px;
    }

    html.storefront-clean
    :where(.product-image-placeholder-icon) {
      inline-size: 50px;
      block-size: 50px;
      border-radius: 15px;
      font-size: 19px;
    }

    html.storefront-clean :where(.product-badges) {
      inset-block-start: 7px;
      inset-inline-start: 7px;
      max-inline-size: calc(100% - 66px);
      gap: 3px;
    }

    html.storefront-clean :where(.product-badge) {
      min-block-size: 25px;
      padding: 4px 6px;
      font-size: 11px;
    }

    html.storefront-clean :where(.product-floating-actions) {
      inset-block-start: 7px;
      inset-inline-end: 7px;
      gap: 5px;
    }

    html.storefront-clean :where(.product-floating-button) {
      inline-size: 44px;
      block-size: 44px;
      border-radius: 11px;
      font-size: 16px;
    }

    html.storefront-clean :where(.product-body) {
      min-block-size: 235px;
      padding: 10px;
    }

    html.storefront-clean:where([
      data-products-mobile="2"
    ])
    :where(
      .products-grid:not(.is-list-view):not(
        [data-product-count="1"]
      )
      .product-body
    ) {
      min-block-size: 0;
    }

    html.storefront-clean :where(.product-category) {
      margin-block-end: 4px;
      font-size: 11px;
    }

    html.storefront-clean :where(.product-name) {
      min-block-size: 41px;
      margin-block-end: 5px;
      font-size: 13px;
      line-height: 1.55;
    }

    html.storefront-clean :where(.product-description) {
      min-block-size: 37px;
      margin-block-end: 9px;
      font-size: 11px;
      line-height: 1.65;
    }

    html.storefront-clean:where([
      data-products-mobile="2"
    ])
    :where(
      .products-grid:not(.is-list-view):not(
        [data-product-count="1"]
      )
      .product-description
    ) {
      display: none;
    }

    html.storefront-clean :where(.product-price-area) {
      display: block;
    }

    html.storefront-clean :where(.product-prices) {
      gap: 5px;
    }

    html.storefront-clean :where(.current-price) {
      font-size: 18px;
      line-height: 1.25;
      overflow-wrap: anywhere;
    }

    html.storefront-clean :where(.compare-price) {
      font-size: 11px;
    }

    html.storefront-clean :where(.product-saving) {
      min-block-size: 25px;
      margin-block-start: 5px;
      padding: 4px 6px;
      font-size: 11px;
    }

    html.storefront-clean :where(.product-actions) {
      margin-block-start: 9px;
      grid-template-columns:
        minmax(0, 1fr)
        44px;
      gap: 6px;
    }

    html.storefront-clean
    :where(.product-buy-button, .product-details-button) {
      min-block-size: 44px;
      border-radius: 11px;
      font-size: 12px;
    }

    html.storefront-clean :where(.product-details-button) {
      inline-size: 44px;
    }

    html.storefront-clean :where(.product-skeleton) {
      border-radius: 15px;
    }

    html.storefront-clean :where(.skeleton-body) {
      padding: 10px;
      gap: 9px;
    }

    html.storefront-clean :where(.products-state) {
      min-block-size: 280px;
      padding: 32px 16px;
      border-radius: 17px;
    }

    html.storefront-clean :where(.products-state h3) {
      font-size: 20px;
    }

    html.storefront-clean :where(.products-state p) {
      font-size: 13px;
    }

    html.storefront-clean :where(.products-state-button) {
      min-block-size: 44px;
      font-size: 12px;
    }

    /* Mobile list media scales with the row instead of retaining 235px. */
    html.storefront-clean :where(.products-grid.is-list-view) {
      inline-size: 100%;
      gap: 10px;
    }

    html.storefront-clean
    :where(.products-grid.is-list-view .product-card) {
      grid-template-columns:
        minmax(112px, 34%)
        minmax(0, 1fr);
    }

    html.storefront-clean
    :where(.products-grid.is-list-view .product-media) {
      min-block-size: 230px;
    }

    html.storefront-clean
    :where(.products-grid.is-list-view .product-body) {
      min-block-size: 230px;
      padding: 12px;
    }

    html.storefront-clean
    :where(.products-grid.is-list-view .product-badges) {
      max-inline-size: calc(100% - 14px);
    }

    html.storefront-clean
    :where(.products-grid.is-list-view .product-floating-actions) {
      inset-block-start: auto;
      inset-block-end: 7px;
    }
  }

  /* Compact handset adjustments */
  @media (max-width: 390px) {
    html.storefront-clean {
      --sf-container-gutter:
        var(--sf-container-gutter-compact);
    }

    html.storefront-clean :where(.header-actions) {
      gap: 4px;
    }

    html.storefront-clean :where(.hero-shell) {
      padding-inline: 12px;
    }

    html.storefront-clean :where(.hero-title) {
      font-size: 27px;
    }

    html.storefront-clean :where(.hero-image-frame) {
      block-size: 210px;
    }

    html.storefront-clean :where(.hero-media) {
      min-block-size: 210px;
    }

    html.storefront-clean :where(.section-title) {
      font-size: 24px;
    }

    html.storefront-clean :where(.categories-grid) {
      gap: 7px;
    }

    html.storefront-clean :where(.category-card) {
      padding: 6px;
    }

    html.storefront-clean :where(.category-card-content) {
      padding-inline: 2px;
    }

    html.storefront-clean :where(.category-card-arrow) {
      inline-size: 34px;
      block-size: 34px;
      flex-basis: 34px;
    }

    html.storefront-clean :where(.products-toolbar) {
      padding: 8px;
    }

    html.storefront-clean :where(.products-toolbar-actions) {
      gap: 6px;
    }

    html.storefront-clean
    :where(.products-grid, .products-skeleton) {
      gap: 7px;
    }

    html.storefront-clean :where(.product-body) {
      padding: 8px;
    }

    html.storefront-clean :where(.current-price) {
      font-size: 17px;
    }

    html.storefront-clean :where(.product-actions) {
      gap: 5px;
    }

    html.storefront-clean
    :where(.products-grid.is-list-view .product-card) {
      grid-template-columns:
        minmax(108px, 34%)
        minmax(0, 1fr);
    }

    html.storefront-clean
    :where(.products-grid.is-list-view .product-body) {
      padding: 10px;
    }
  }
}

@layer utilities {
  html.storefront-clean
  :where(
    .header-icon-button,
    .mobile-menu-button,
    .header-primary-button,
    .search-submit,
    .hero-primary-button,
    .hero-secondary-button,
    .mobile-menu-close,
    .section-link,
    .products-sort,
    .view-switch-button,
    .product-floating-button,
    .product-buy-button,
    .product-details-button,
    .products-state-button
  ) {
    border-radius: var(--sf-control-radius);
  }
  html.storefront-clean :where(.visually-hidden) {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  html.storefront-clean body.no-scroll {
    overflow: hidden;
  }

  html.storefront-clean [hidden] {
    display: none;
  }
}

/* === Integrated storefront reference layer: start === */
/*
 * Preview-only visual direction based on the approved mobile reference.
 * This file is intentionally isolated from production.
 */

html.storefront-clean {
  --reference-blue: var(--store-primary, #078bd1);
  --reference-cyan: var(--store-secondary, #15c7df);
  --reference-red: #e60012;
  --reference-dark: #263f59;
  --reference-border: color-mix(
    in srgb,
    var(--reference-cyan) 72%,
    #ffffff
  );
}

html.storefront-clean .reference-only {
  display: none;
}

@media (max-width: 700px) {
  html.storefront-clean {
    scroll-padding-block-end: 90px;
  }

  html.storefront-clean body {
    min-inline-size: 320px;
    background: #ffffff;
  }

  html.storefront-clean :where(.home-container, .section-shell) {
    inline-size: 100%;
  }

  /* Header: compact brand row + strong search row */
  html.storefront-clean :where(.site-announcement) {
    min-block-size: 30px;
    padding: 5px 10px;
    background:
      linear-gradient(
        90deg,
        var(--reference-blue),
        var(--reference-cyan)
      );
  }

  html.storefront-clean :where(.announcement-shell) {
    justify-content: center;
  }

  html.storefront-clean :where(.announcement-text) {
    font-size: 10px;
    font-weight: 900;
    text-align: center;
  }

  html.storefront-clean :where(.site-header) {
    position: sticky;
    inset-block-start: 0;
    border-block-end: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  }

  html.storefront-clean :where(.header-main, .header-shell) {
    min-block-size: 61px;
  }

  html.storefront-clean :where(.header-shell) {
    inline-size: 100%;
    padding-inline: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  html.storefront-clean :where(.brand-link) {
    min-inline-size: 0;
    gap: 8px;
  }

  html.storefront-clean :where(.brand-logo) {
    inline-size: 43px;
    block-size: 43px;
    flex-basis: 43px;
    border-radius: 8px;
    border-color:
      color-mix(
        in srgb,
        var(--reference-blue) 32%,
        #ffffff
      );
    background: #ffffff;
    box-shadow: none;
    color: var(--reference-blue);
  }

  html.storefront-clean :where(.brand-name) {
    max-inline-size: 150px;
    font-size: 17px;
    font-weight: 950;
  }

  html.storefront-clean :where(.brand-tagline) {
    max-inline-size: 150px;
    font-size: 8px;
  }

  html.storefront-clean :where(.desktop-nav) {
    display: none;
  }

  html.storefront-clean :where(.header-actions) {
    gap: 6px;
  }

  html.storefront-clean
  :where(.header-icon-button, .mobile-menu-button) {
    inline-size: 39px;
    block-size: 39px;
    flex-basis: 39px;
    border-radius: 8px;
    box-shadow: none;
  }

  html.storefront-clean :where(.header-primary-button) {
    min-block-size: 39px;
    padding-inline: 12px;
    border-radius: 8px;
    font-size: 11px;
  }

  html.storefront-clean :where(.header-search-area) {
    padding: 7px 12px;
    border-block-start: 1px solid #f0f2f5;
    background: #ffffff;
  }

  html.storefront-clean :where(.header-search-shell) {
    inline-size: 100%;
  }

  html.storefront-clean :where(.store-search) {
    min-block-size: 44px;
    border: 1px solid #bfc7d0;
    border-radius: 8px;
    box-shadow: none;
  }

  html.storefront-clean :where(.search-input) {
    min-block-size: 42px;
    padding-inline: 42px 105px;
    font-size: 12px;
  }

  html.storefront-clean :where(.search-submit) {
    inset-inline-end: auto;
    inset-inline-start: 4px;
    min-inline-size: 96px;
    min-block-size: 36px;
    border-radius: 7px;
    background:
      linear-gradient(
        90deg,
        var(--reference-blue),
        var(--reference-cyan)
      );
  }

  html.storefront-clean
  :where(
    .header-filter-row,
    .header-category-row,
    .category-filter-row,
    .storefront-filter-chips
  ) {
    padding-inline: 12px;
  }

  /* Reference banner: image first, no oversized hero copy */
  html.storefront-clean :where(.hero-section) {
    margin: 0;
    padding: 0;
    background: #ffffff;
  }

  html.storefront-clean :where(.hero-shell) {
    inline-size: 100%;
    display: block;
    min-block-size: 0;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
  }

  html.storefront-clean :where(.hero-content) {
    display: none;
  }

  html.storefront-clean :where(.hero-media) {
    display: block;
    inline-size: 100%;
    min-block-size: 0;
    max-block-size: 245px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #f5f7fa;
    box-shadow: none;
  }

  html.storefront-clean
  :where(.hero-media img, .hero-image) {
    inline-size: 100%;
    block-size: 245px;
    max-block-size: 245px;
    object-fit: cover;
    object-position: center 24%;
  }

  html.storefront-clean
  :where(
    .hero-floating-card,
    .hero-stats,
    .hero-statistics,
    .hero-benefits,
    .hero-features,
    .trust-strip-section
  ) {
    display: none;
  }

  /* Strong section titles like the reference */
  html.storefront-clean
  :where(
    #categoriesSection,
    #products,
    #benefits
  ) {
    padding: 38px 14px 24px;
    background: #ffffff;
  }

  html.storefront-clean
  :where(
    #categoriesSection .section-header,
    #products .section-header,
    #benefits .section-header
  ) {
    display: block;
    margin-block-end: 28px;
    text-align: center;
  }

  html.storefront-clean
  :where(
    #categoriesSection .section-kicker,
    #products .section-kicker,
    #benefits .section-kicker
  ) {
    display: none;
  }

  html.storefront-clean
  :where(
    #categoriesSection .section-title,
    #products .section-title,
    #benefits .section-title
  ) {
    position: relative;
    margin: 0;
    padding-block-end: 15px;
    color: var(--reference-blue);
    font-size: 28px;
    font-weight: 950;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: center;
  }

  html.storefront-clean
  :where(
    #categoriesSection .section-title,
    #products .section-title,
    #benefits .section-title
  )::after {
    position: absolute;
    inset-inline: 18%;
    inset-block-end: 0;
    block-size: 4px;
    border-radius: 999px;
    background:
      linear-gradient(
        90deg,
        var(--reference-blue),
        var(--reference-cyan)
      );
    content: "";
  }

  html.storefront-clean
  :where(
    #categoriesSection .section-description,
    #products .section-description,
    #benefits .section-description
  ) {
    display: none;
  }

  /* Category carousel */
  html.storefront-clean
  :where(.categories-grid, .category-list, .categories-track) {
    display: grid;
    grid-auto-columns: minmax(148px, 42vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    padding: 5px 6px 16px;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  html.storefront-clean
  :where(.categories-grid, .category-list, .categories-track)
 ::-webkit-scrollbar {
    display: none;
  }

  html.storefront-clean :where(.category-card) {
    min-block-size: 238px;
    padding: 14px 10px;
    scroll-snap-align: center;
    border:
      1px solid
      color-mix(
        in srgb,
        var(--reference-cyan) 42%,
        #dbeafe
      );
    border-block-start:
      5px solid
      var(--reference-cyan);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
    text-align: center;
  }

  html.storefront-clean :where(.category-media) {
    inline-size: 116px;
    block-size: 116px;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 50%;
    background: #f5f9fc;
  }

  html.storefront-clean
  :where(.category-media img, .category-image) {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
  }

  html.storefront-clean :where(.category-title) {
    margin-block-start: 18px;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f5f7fa;
    color: #111827;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.45;
  }

  /* Product catalog */
  html.storefront-clean :where(#products) {
    padding-block-start: 32px;
  }

  html.storefront-clean
  :where(
    .products-toolbar,
    .product-toolbar,
    .products-controls
  ) {
    margin-block-end: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  html.storefront-clean
  :where(
    .products-sort,
    .view-switch,
    .products-result-count
  ) {
    display: none;
  }

  html.storefront-clean :where(.products-grid) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  html.storefront-clean
  :where(
    .products-grid[data-product-count="1"],
    .products-grid[data-product-count="2"],
    .products-grid[data-product-count="3"],
    .products-grid[data-product-count="4"]
  ) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.storefront-clean :where(.product-card) {
    min-inline-size: 0;
    min-block-size: 0;
    overflow: hidden;
    border:
      1.5px solid
      var(--reference-border);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  }

  html.storefront-clean :where(.product-media) {
    aspect-ratio: 1 / 1.08;
    max-block-size: none;
    overflow: hidden;
    border-radius: 0;
    background: #ffffff;
  }

  html.storefront-clean
  :where(.product-media img, .product-image) {
    inline-size: 100%;
    block-size: 100%;
    object-fit: contain;
    object-position: center;
  }

  html.storefront-clean :where(.product-badges) {
    inset-block-start: 9px;
    inset-inline-start: 8px;
    gap: 5px;
  }

  html.storefront-clean
  :where(.product-badge, .discount-badge) {
    min-inline-size: 44px;
    min-block-size: 44px;
    padding: 7px 6px;
    border-radius: 50%;
    background: var(--reference-red);
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
  }

  html.storefront-clean :where(.product-body) {
    min-block-size: 0;
    padding: 11px 9px 10px;
  }

  html.storefront-clean :where(.product-category) {
    display: none;
  }

  html.storefront-clean :where(.product-title) {
    min-block-size: 44px;
    margin: 0;
    color: #161616;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.55;
    text-align: center;
  }

  html.storefront-clean :where(.product-description) {
    display: none;
  }

  html.storefront-clean
  :where(.product-price-row, .product-price-stack) {
    min-block-size: 56px;
    margin-block-start: 10px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-align: center;
  }

  html.storefront-clean
  :where(.product-price, .current-price) {
    color: var(--reference-blue);
    font-size: 21px;
    font-weight: 950;
    line-height: 1.25;
  }

  html.storefront-clean
  :where(.product-compare-price, .old-price) {
    color: #666666;
    font-size: 15px;
    text-decoration-thickness: 2px;
  }

  html.storefront-clean :where(.product-saving) {
    display: none;
  }

  html.storefront-clean :where(.product-actions) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 7px;
    margin-block-start: 10px;
  }

  html.storefront-clean :where(.product-buy-button) {
    min-block-size: 44px;
    border-radius: 8px;
    background:
      linear-gradient(
        90deg,
        var(--reference-blue),
        var(--reference-cyan)
      );
    font-size: 15px;
    font-weight: 950;
  }

  html.storefront-clean
  :where(.product-floating-button, .product-details-button) {
    position: static;
    inline-size: 44px;
    block-size: 44px;
    border-radius: 8px;
    background: #f1f3f5;
    color: #111111;
    box-shadow: none;
  }

  /* COD order steps: one bordered vertical panel */
  html.storefront-clean :where(#benefits) {
    padding-block: 42px 62px;
  }

  html.storefront-clean
  :where(#benefits .benefits-grid, #benefits .trust-grid) {
    display: block;
    overflow: hidden;
    padding: 0 22px;
    border:
      2px solid
      color-mix(
        in srgb,
        var(--reference-cyan) 70%,
        #ffffff
      );
    border-radius: 16px;
    background: #ffffff;
    box-shadow:
      0 0 18px
      color-mix(
        in srgb,
        var(--reference-cyan) 24%,
        transparent
      );
  }

  html.storefront-clean
  :where(#benefits .benefit-card, #benefits .trust-card) {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    min-block-size: 185px;
    padding: 28px 4px;
    align-items: center;
    gap: 18px;
    border: 0;
    border-block-end:
      4px solid
      color-mix(
        in srgb,
        var(--reference-cyan) 78%,
        #ffffff
      );
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
  }

  html.storefront-clean
  :where(#benefits .benefit-card:last-child, #benefits .trust-card:last-child) {
    border-block-end: 0;
  }

  html.storefront-clean
  :where(#benefits .benefit-icon, #benefits .trust-icon) {
    display: flex;
    inline-size: 64px;
    block-size: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background:
      linear-gradient(
        145deg,
        var(--reference-blue),
        var(--reference-cyan)
      );
    color: #ffffff;
    font-size: 28px;
  }

  html.storefront-clean
  :where(#benefits .benefit-title, #benefits .trust-title) {
    margin: 0 0 9px;
    color: #111111;
    font-size: 21px;
    font-weight: 950;
  }

  html.storefront-clean
  :where(#benefits .benefit-description, #benefits .trust-description) {
    margin: 0;
    color: #5b5b5b;
    font-size: 14px;
    line-height: 2;
  }

  /* Dark footer */
  html.storefront-clean :where(.site-footer, .reference-footer) {
    padding: 55px 20px 34px;
    background: var(--reference-dark);
    color: #ffffff;
    text-align: center;
  }

  html.storefront-clean :where(.reference-footer-social) {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-block-end: 34px;
  }

  html.storefront-clean :where(.reference-footer-social span) {
    display: flex;
    inline-size: 48px;
    block-size: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 20px;
    font-weight: 900;
  }

  html.storefront-clean :where(.reference-footer-links) {
    display: grid;
    gap: 20px;
    justify-items: center;
  }

  html.storefront-clean :where(.reference-footer-links a) {
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
  }

  html.storefront-clean :where(.reference-footer-copy) {
    margin-block-start: 34px;
    padding-block-start: 22px;
    border-block-start: 1px solid rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.76);
    font-size: 12px;
  }

  /* Reference floating actions; remove the unrelated bottom nav */
  html.storefront-clean :where(.mobile-bottom-nav) {
    display: none;
  }

  html.storefront-clean :where(.reference-whatsapp) {
    position: fixed;
    z-index: 1500;
    inset-inline-end: 18px;
    inset-block-end:
      max(
        18px,
        env(safe-area-inset-bottom)
      );
    display: flex;
    inline-size: 58px;
    block-size: 58px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #18c964;
    color: #ffffff;
    box-shadow:
      0 0 0 10px rgba(24, 201, 100, 0.14),
      0 12px 28px rgba(15, 23, 42, 0.22);
    font-size: 25px;
    text-decoration: none;
  }

  html.storefront-clean :where(.reference-back-top) {
    position: fixed;
    z-index: 1490;
    inset-inline-start: 18px;
    inset-block-end:
      max(
        18px,
        env(safe-area-inset-bottom)
      );
    display: flex;
    inline-size: 52px;
    block-size: 52px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background:
      linear-gradient(
        145deg,
        var(--reference-blue),
        var(--reference-cyan)
      );
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
    font-size: 25px;
    cursor: pointer;
  }

  html.storefront-clean :where(.reference-only) {
    display: initial;
  }
}

@media (max-width: 390px) {
  html.storefront-clean :where(.brand-name) {
    font-size: 15px;
  }

  html.storefront-clean :where(.header-primary-button) {
    padding-inline: 9px;
    font-size: 10px;
  }

  html.storefront-clean
  :where(
    #categoriesSection .section-title,
    #products .section-title,
    #benefits .section-title
  ) {
    font-size: 24px;
  }

  html.storefront-clean :where(.products-grid) {
    gap: 9px;
  }

  html.storefront-clean :where(.product-title) {
    font-size: 13px;
  }

  html.storefront-clean
  :where(.product-price, .current-price) {
    font-size: 19px;
  }
}

/* === Reference collections placement: start === */

html.storefront-clean
:where(
  .hero-stats,
  .hero-statistics,
  .hero-benefits,
  .hero-features,
  .trust-strip-section,
  .promo-section
) {
  display: none;
}

html.storefront-clean
:where(#categoriesSection.reference-collections-section) {
  position: relative;
  margin: 0;
  padding: 46px 14px 38px;
  background: #ffffff;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .section-shell
) {
  inline-size: min(100%, 1180px);
  margin-inline: auto;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .section-heading
) {
  display: block;
  margin-block-end: 28px;
  text-align: center;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .section-heading-content
) {
  max-inline-size: none;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .section-kicker,
  #categoriesSection.reference-collections-section
  .section-description,
  #categoriesSection.reference-collections-section
  .section-link
) {
  display: none;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .section-title
) {
  position: relative;
  margin: 0;
  padding-block-end: 16px;
  color:
    var(
      --reference-blue,
      var(--store-primary, #078bd1)
    );
  font-size: clamp(27px, 4vw, 40px);
  font-weight: 950;
  line-height: 1.25;
  text-align: center;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .section-title
)::after {
  position: absolute;
  inset-inline: 28%;
  inset-block-end: 0;
  block-size: 4px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      var(
        --reference-blue,
        var(--store-primary, #078bd1)
      ),
      var(
        --reference-cyan,
        var(--store-secondary, #15c7df)
      )
    );
  content: "";
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .categories-grid
) {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  grid-template-columns: none;
  justify-content: start;
  gap: 16px;
  padding: 10px 58px 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .categories-grid
)::-webkit-scrollbar {
  display: none;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section[
    data-collection-count="1"
  ]
  .categories-grid
) {
  justify-content: center;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .category-card
) {
  display: block;
  min-inline-size: 0;
  min-block-size: 292px;
  padding: 18px 14px 15px;
  overflow: hidden;
  scroll-snap-align: center;
  border:
    1px solid
    color-mix(
      in srgb,
      var(
        --reference-cyan,
        var(--store-secondary, #15c7df)
      ) 52%,
      #dbeafe
    );
  border-block-start:
    5px solid
    var(
      --reference-cyan,
      var(--store-secondary, #15c7df)
    );
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 11px 25px rgba(15, 23, 42, 0.09);
  color: #111827;
  text-align: center;
  text-decoration: none;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .category-card-media
) {
  inline-size: 154px;
  block-size: 154px;
  margin-inline: auto;
  margin-block-end: 18px;
  overflow: hidden;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      #f5f9fc,
      #eef7ff
    );
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .category-card-image
) {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .category-placeholder
) {
  display: grid;
  inline-size: 100%;
  block-size: 100%;
  place-items: center;
  color:
    var(
      --reference-blue,
      var(--store-primary, #078bd1)
    );
  font-size: 38px;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .category-card-content
) {
  display: block;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .category-card-title
) {
  margin: 0;
  padding: 10px 11px;
  overflow: hidden;
  border-radius: 11px;
  background: #f5f7fa;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .category-card-count
) {
  display: block;
  margin-block-start: 8px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

html.storefront-clean
:where(
  #categoriesSection.reference-collections-section
  .category-card-arrow
) {
  display: none;
}

html.storefront-clean
:where(.reference-category-arrow) {
  position: absolute;
  z-index: 5;
  inset-block-start: 59%;
  display: flex;
  inline-size: 54px;
  block-size: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color:
    var(
      --reference-blue,
      var(--store-primary, #078bd1)
    );
  box-shadow: 0 11px 28px rgba(15, 23, 42, 0.2);
  cursor: pointer;
  font-size: 30px;
  font-weight: 950;
}

html.storefront-clean
:where(.reference-category-arrow[data-direction="previous"]) {
  inset-inline-start: 18px;
}

html.storefront-clean
:where(.reference-category-arrow[data-direction="next"]) {
  inset-inline-end: 18px;
}

html.storefront-clean
:where(#products) {
  margin-block-start: 0;
}

@media (max-width: 700px) {
  html.storefront-clean
  :where(#categoriesSection.reference-collections-section) {
    padding: 38px 8px 30px;
  }

  html.storefront-clean
  :where(
    #categoriesSection.reference-collections-section
    .section-title
  ) {
    font-size: 28px;
  }

  html.storefront-clean
  :where(
    #categoriesSection.reference-collections-section
    .categories-grid
  ) {
    grid-auto-columns: minmax(154px, 42vw);
    gap: 12px;
    padding-inline: 22px;
  }

  html.storefront-clean
  :where(
    #categoriesSection.reference-collections-section
    .category-card
  ) {
    min-block-size: 236px;
    padding: 14px 10px 12px;
  }

  html.storefront-clean
  :where(
    #categoriesSection.reference-collections-section
    .category-card-media
  ) {
    inline-size: 112px;
    block-size: 112px;
    margin-block-end: 15px;
  }

  html.storefront-clean
  :where(
    #categoriesSection.reference-collections-section
    .category-card-title
  ) {
    font-size: 13px;
  }

  html.storefront-clean
  :where(.reference-category-arrow) {
    inset-block-start: 61%;
    inline-size: 48px;
    block-size: 48px;
    font-size: 27px;
  }

  html.storefront-clean
  :where(.reference-category-arrow[data-direction="previous"]) {
    inset-inline-start: 5px;
  }

  html.storefront-clean
  :where(.reference-category-arrow[data-direction="next"]) {
    inset-inline-end: 5px;
  }
}

/* === Reference collections placement: end === */
/* === Integrated storefront reference layer: end === */

/* === Preserve full storefront product images: start === */

/*
 * Product photos often use portrait ratios that are taller than the
 * storefront card media frame. Keep the card dimensions consistent,
 * but scale the complete source image inside the frame instead of
 * cropping its top or bottom.
 */
html.storefront-clean body
  #products
  .products-grid
  .product-card
  .product-media {
  background: #f7f9fc;
}

html.storefront-clean body
  #products
  .products-grid
  .product-card
  .product-media
  > .product-image {
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: 100%;
  max-block-size: 100%;
  object-fit: contain;
  object-position: center;
}

/* === Preserve full storefront product images: end === */
