/** Shopify CDN: Minification failed

Line 17:18 Unexpected "{"
Line 17:27 Expected ":"
Line 17:34 Unexpected "{"
Line 25:20 Unexpected "{"
Line 25:29 Expected ":"
Line 47:20 Unexpected "{"
Line 47:29 Expected ":"
Line 52:20 Unexpected "{"
Line 52:29 Expected ":"
Line 57:20 Unexpected "{"
... and 7 more hidden warnings

**/
/* START_SECTION:custom-ez-back-to-top (INDEX:4) */
#shopify-section-{{ section.id }} {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #shopify-section-{{ section.id }} .custom-ez-btt {
    position: fixed;
    z-index: 90;
    right: var(--ez-btt-right, 16px);
    bottom: var(--ez-btt-bottom, 20px);
    width: var(--ez-btt-size, 44px);
    height: var(--ez-btt-size, 44px);
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--ez-btt-radius, 4px);
    background: var(--ez-btt-bg, #5c5c42);
    color: var(--ez-btt-fg, #ffffff);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, opacity 0.2s ease, background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  #shopify-section-{{ section.id }} .custom-ez-btt:hover {
    background: var(--ez-btt-bg-hover, #4a4a36);
    transform: translateY(-1px);
  }

  #shopify-section-{{ section.id }} .custom-ez-btt:focus-visible {
    outline: 2px solid var(--ez-btt-fg, #fff);
    outline-offset: 2px;
  }

  #shopify-section-{{ section.id }} .custom-ez-btt[hidden] {
    display: none !important;
  }

  #shopify-section-{{ section.id }} .custom-ez-btt__icon {
    display: block;
    flex-shrink: 0;
  }

  @media (max-width: 749px) {
    #shopify-section-{{ section.id }} .custom-ez-btt {
      right: var(--ez-btt-right-mobile, 12px);
      bottom: var(--ez-btt-bottom-mobile, 16px);
      width: var(--ez-btt-size-mobile, 42px);
      height: var(--ez-btt-size-mobile, 42px);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    #shopify-section-{{ section.id }} .custom-ez-btt {
      transition: none;
    }
  }
/* END_SECTION:custom-ez-back-to-top */
/* START_SECTION:custom-ez-header (INDEX:5) */
.section-custom-ez-header {
    position: sticky;
    top: 0;
    z-index: 40;
  }

  .custom-ez-header {
    --ez-header-bg: #ffffff;
    --ez-header-border: #e6e6e6;
    --ez-search-border: #b8d4f0;
    --ez-text: #222222;
    --ez-muted: #8a8a8a;
    background: var(--ez-header-bg);
    border-bottom: 0;
    /* 作为「整页顶栏」时保持吸顶；若与主题自带 Header 同时开启会叠两层，请只保留其一 */
    position: relative;
    top: 0;
    z-index: 1;
    transition: transform 220ms ease, opacity 220ms ease;
    will-change: transform;
  }

  .custom-ez-header.is-hidden-on-scroll {
    transform: translateY(calc(-100% - 2px));
    opacity: 0.98;
    pointer-events: none;
  }

  .custom-ez-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ez-inner-gap, 16px);
    padding: 0 var(--ez-pad-x, 0px);
    height: 72px;
  }

  .custom-ez-header__menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: var(--ez-text);
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
  }

  .custom-ez-header__menu-toggle:hover {
    background: #f3f7fb;
  }

  .custom-ez-header__menu-toggle svg {
    width: 24px;
    height: 24px;
  }

  .custom-ez-header__logo-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: var(--ez-text);
    text-decoration: none;
    transform: translate(var(--ez-logo-tx, 0px), var(--ez-logo-ty, 0px));
    margin-right: var(--ez-logo-mr, 0px);
    line-height: 0;
  }

  .custom-ez-header__logo {
    display: block;
    height: auto;
    max-height: var(--ez-logo-maxh, 48px);
    width: auto;
    max-width: var(--ez-logo-maxw, 220px);
    object-fit: contain;
    transform: scale(var(--ez-logo-scale, 1));
    transform-origin: left center;
  }

  .custom-ez-header__logo-text {
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.02em;
    max-width: var(--ez-logo-maxw, 220px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .custom-ez-header__right {
    display: flex;
    align-items: center;
    gap: var(--ez-search-icons-gap, 12px);
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
  }

  .custom-ez-header__search {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    max-width: var(--ez-search-mw, 720px);
    min-width: 0;
    padding: 0 14px;
    height: 44px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #fff;
    transform: translate(var(--ez-search-tx, 0px), var(--ez-search-ty, 0px));
    box-shadow: inset 0 0 0 1px rgba(120, 140, 160, 0.25);
    transition: border-color 180ms ease, box-shadow 220ms ease, background-color 180ms ease;
  }

  .custom-ez-header__search:focus-within {
    border-color: var(--ez-search-border);
    box-shadow:
      0 0 0 3px rgba(126, 174, 220, 0.28),
      0 8px 18px rgba(93, 132, 168, 0.18);
    background: #fff;
  }

  .custom-ez-header__search-icon {
    display: inline-flex;
    color: var(--ez-muted);
    flex: 0 0 auto;
  }

  .custom-ez-header__search-icon svg,
  .custom-ez-header__custom-icon--search {
    width: var(--ez-search-icon-size, 18px);
    height: var(--ez-search-icon-size, 18px);
  }

  .custom-ez-header__search-input {
    border: 0;
    outline: 0;
    background: transparent;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    color: var(--ez-text);
  }

  .custom-ez-header__search-input::placeholder {
    color: #b3b3b3;
  }

  .custom-ez-header__icons {
    display: inline-flex;
    align-items: center;
    gap: var(--ez-icons-gap, 6px);
    flex: 0 0 auto;
    transform: translate(var(--ez-icons-tx, 0px), var(--ez-icons-ty, 0px));
  }

  .custom-ez-header__icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--ez-text);
    text-decoration: none;
    transform: scale(1);
    transition: background 160ms ease, transform 160ms ease, filter 160ms ease;
  }

  .custom-ez-header__icon-link:hover {
    background: #f3f7fb;
    transform: scale(1.1);
  }

  .custom-ez-header__icon-link.is-clicking {
    animation: ezHeaderIconClick 240ms ease;
  }

  @keyframes ezHeaderIconClick {
    0% { transform: scale(1.1); filter: brightness(1); }
    45% { transform: scale(0.9); filter: brightness(1.3); }
    100% { transform: scale(1.1); filter: brightness(1); }
  }

  .custom-ez-header__icon-visual {
    position: relative;
    width: var(--ez-icon-size, 22px);
    height: var(--ez-icon-size, 22px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .custom-ez-header__custom-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 150ms ease;
  }

  .custom-ez-header__custom-icon--hover {
    position: absolute;
    inset: 0;
    opacity: 0;
  }

  .custom-ez-header__icon-link.has-hover-icon:hover .custom-ez-header__custom-icon--default,
  .custom-ez-header__icon-link.has-hover-icon:focus-visible .custom-ez-header__custom-icon--default {
    opacity: 0;
  }

  .custom-ez-header__icon-link.has-hover-icon:hover .custom-ez-header__custom-icon--hover,
  .custom-ez-header__icon-link.has-hover-icon:focus-visible .custom-ez-header__custom-icon--hover {
    opacity: 1;
  }

  .custom-ez-header__icon-link svg {
    width: var(--ez-icon-size, 22px);
    height: var(--ez-icon-size, 22px);
  }

  .custom-ez-header__icon-link--summary {
    list-style: none;
    cursor: pointer;
  }

  .custom-ez-header__icon-link--summary::-webkit-details-marker {
    display: none;
  }

  .custom-ez-header__cart-wrap {
    position: relative;
    display: inline-flex;
  }

  .custom-ez-header__cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
    text-align: center;
  }

  .custom-ez-header__locale {
    position: relative;
  }

  .custom-ez-header__support {
    position: relative;
  }

  .custom-ez-header__support-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: max-content;
    max-width: min(460px, calc(100vw - 24px));
    padding: 14px 18px;
    border: 1px solid var(--ez-header-border);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    z-index: 40;
    font-family: var(--ez-support-font-family, inherit);
    font-style: var(--ez-support-font-style, normal);
  }

  .custom-ez-header__support-panel::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 22px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    filter: drop-shadow(0 -1px 0 var(--ez-header-border));
  }

  .custom-ez-header__support:hover .custom-ez-header__support-panel,
  .custom-ez-header__support:focus-within .custom-ez-header__support-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .custom-ez-header__support-item {
    display: block;
    text-decoration: none;
    color: #2a2a2a;
    max-width: 100%;
  }

  .custom-ez-header__support-item + .custom-ez-header__support-item {
    margin-top: 16px;
  }

  .custom-ez-header__support-item-title {
    display: block;
    color: var(--ez-support-title-color, #f24a74);
    font-size: var(--ez-support-title-size, 18px);
    line-height: 1.05;
    font-weight: 500;
  }

  .custom-ez-header__support-item-desc {
    display: block;
    margin-top: 4px;
    color: var(--ez-support-desc-color, #3a3a3a);
    font-size: var(--ez-support-desc-size, 14px);
    line-height: 1.2;
  }

  .custom-ez-header__locale-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(320px, calc(100vw - 24px));
    padding: 12px;
    border: 1px solid var(--ez-header-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }

  .custom-ez-header__locale-block + .custom-ez-header__locale-block {
    margin-top: 10px;
  }

  .custom-ez-header__locale-title {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    color: #444;
  }

  .custom-ez-header__select {
    width: 100%;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--ez-header-border);
    padding: 0 10px;
    font-size: 13px;
    background: #fff;
  }

  .visually-hidden {
    position: absolute !important;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    word-wrap: normal !important;
  }

  .custom-ez-header__drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    z-index: 55;
    transition: opacity 220ms ease;
  }

  .custom-ez-header__drawer-backdrop.is-open {
    opacity: 1;
  }

  .custom-ez-header__drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    max-width: 100%;
    background: #ffffff;
    z-index: 60;
    transform: translateX(-100%);
    transition: transform 240ms ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.12);
  }

  .custom-ez-header__drawer.is-open {
    transform: translateX(0);
  }

  .custom-ez-header__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--ez-header-border);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
  }

  .custom-ez-header__drawer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--ez-text);
  }

  .custom-ez-header__drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: var(--ez-text);
    cursor: pointer;
  }

  .custom-ez-header__drawer-close:hover {
    background: #f3f7fb;
  }

  .custom-ez-header__drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 6px 0;
  }

  .custom-ez-header__drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--ez-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    border-bottom: 1px solid #f3f3f3;
    transition: background 160ms ease;
  }

  .custom-ez-header__drawer-item:hover,
  .custom-ez-header__drawer-item:focus-visible {
    background: #f6f8fb;
  }

  .custom-ez-header__drawer-mega {
    border-bottom: 1px solid #f3f3f3;
  }

  .custom-ez-header__drawer-mega-toggle {
    width: 100%;
    text-align: left;
    cursor: pointer;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    -webkit-appearance: none;
    appearance: none;
    justify-content: flex-start;
  }

  .custom-ez-header__drawer-mega-chevron {
    margin-left: auto;
    display: inline-flex;
    color: var(--ez-muted);
    transition: transform 0.2s ease;
  }

  .custom-ez-header__drawer-mega.is-mega-open .custom-ez-header__drawer-mega-chevron {
    transform: rotate(180deg);
  }

  .custom-ez-header__drawer-mega-panel {
    display: none;
    padding: 0 16px 14px 16px;
    background: #fafbfc;
  }

  .custom-ez-header__drawer-mega.is-mega-open .custom-ez-header__drawer-mega-panel {
    display: block;
  }

  .custom-ez-header__drawer-mega-viewall {
    display: block;
    padding: 8px 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: #00a6d6;
    text-decoration: none;
  }

  .custom-ez-header__drawer-mega-viewall:hover {
    text-decoration: underline;
  }

  .custom-ez-header__drawer-mega-ip-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-bottom: 4px;
  }

  .custom-ez-header__drawer-mega-ip {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--ez-text);
    text-decoration: none;
    border-top: 1px solid #ececec;
  }

  .custom-ez-header__drawer-mega-ip:hover,
  .custom-ez-header__drawer-mega-ip:focus-visible {
    color: #00a6d6;
    background: transparent;
  }

  .custom-ez-header__drawer-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex: 0 0 auto;
  }

  .custom-ez-header__drawer-section {
    padding: 12px 0 14px;
    border-top: 6px solid #f3f3f3;
  }

  .custom-ez-header__drawer-section-title {
    margin: 0;
    padding: 6px 16px 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #777;
  }

  .custom-ez-header__drawer-section .custom-ez-header__locale-block {
    padding: 4px 16px 8px;
  }

  @media (min-width: 750px) {
    .custom-ez-header__drawer,
    .custom-ez-header__drawer-backdrop {
      display: none !important;
    }
  }

  @media (max-width: 749px) {
    .custom-ez-header__inner {
      display: grid;
      /* 左右等宽，中间 Logo 相对整行几何居中（避免左一图标、右两图标时视觉偏右） */
      grid-template-columns: 1fr auto 1fr;
      grid-template-rows: auto auto;
      column-gap: 8px;
      row-gap: calc(10px * var(--ez-mobile-compact-scale, 1));
      align-items: center;
      height: auto;
      padding: calc(10px * var(--ez-mobile-compact-scale, 1)) var(--ez-pad-x, 12px);
    }

    .custom-ez-header__menu-toggle {
      display: inline-flex;
      grid-column: 1;
      grid-row: 1;
      justify-self: start;
      width: clamp(32px, calc(40px * var(--ez-mobile-compact-scale, 1)), 40px);
      height: clamp(32px, calc(40px * var(--ez-mobile-compact-scale, 1)), 40px);
    }

    .custom-ez-header__logo-link {
      grid-column: 2;
      grid-row: 1;
      justify-self: center;
      margin-right: 0;
    }

    .custom-ez-header__logo {
      max-height: clamp(28px, calc(36px * var(--ez-mobile-compact-scale, 1)), 36px);
      transform-origin: center center;
    }

    .custom-ez-header__right {
      display: contents;
    }

    .custom-ez-header__icons {
      grid-column: 3;
      grid-row: 1;
      justify-self: end;
      justify-content: flex-end;
      gap: 4px;
    }

    .custom-ez-header__icon-link {
      width: clamp(32px, calc(40px * var(--ez-mobile-compact-scale, 1)), 40px);
      height: clamp(32px, calc(40px * var(--ez-mobile-compact-scale, 1)), 40px);
    }

    .custom-ez-header__search {
      grid-column: 1 / -1;
      grid-row: 2;
      max-width: none;
      height: clamp(34px, calc(40px * var(--ez-mobile-compact-scale, 1)), 40px);
    }

    .custom-ez-header__support,
    .custom-ez-header__locale {
      display: none;
    }

    .custom-ez-header--mobile-reset-nudge .custom-ez-header__logo-link,
    .custom-ez-header--mobile-reset-nudge .custom-ez-header__search,
    .custom-ez-header--mobile-reset-nudge .custom-ez-header__icons {
      transform: none;
    }

    .custom-ez-header--mobile-reset-nudge .custom-ez-header__logo-link {
      margin-right: 0;
    }

    .custom-ez-header__support-panel {
      right: auto;
      left: 0;
      width: min(320px, calc(100vw - 32px));
      padding: 10px 12px;
    }

    .custom-ez-header__support-item-title {
      font-size: calc(var(--ez-support-title-size, 18px) - 1px);
    }

    .custom-ez-header__support-item-desc {
      font-size: calc(var(--ez-support-desc-size, 14px) - 1px);
    }
  }
/* END_SECTION:custom-ez-header */
/* START_SECTION:custom-ez-hero-slider (INDEX:6) */
.custom-ez-hero {
    position: relative;
    width: 100%;
  }

  .custom-ez-hero__viewport {
    position: relative;
    overflow: hidden;
    border-radius: 0;
  }

  .custom-ez-hero__track {
    position: relative;
    min-height: 320px;
  }

  .custom-ez-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
  }

  .custom-ez-hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
  }

  .custom-ez-hero__media-wrap {
    width: 100%;
    aspect-ratio: 16 / 5;
    background: #101218;
  }

  .custom-ez-hero__picture {
    display: block;
    width: 100%;
    height: 100%;
  }

  .custom-ez-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .custom-ez-hero__image--placeholder {
    background: linear-gradient(135deg, #242a3b, #121620);
  }

  .custom-ez-hero__overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .custom-ez-hero__subtitle {
    margin: 0 0 8px;
    font-size: 18px;
    letter-spacing: 0.04em;
  }

  .custom-ez-hero__title {
    margin: 0 0 18px;
    font-size: clamp(30px, 5vw, 72px);
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
  }

  .custom-ez-hero__cta {
    display: inline-block;
    background: #22a8ff;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 4px;
  }

  .custom-ez-hero__arrow {
    position: absolute;
    top: calc(50% + var(--ez-hero-arrow-offset-y, 0px));
    transform: translateY(-50%) scale(1);
    width: var(--ez-hero-arrow-size, 34px);
    height: var(--ez-hero-arrow-size, 34px);
    border-radius: 50%;
    border: 0;
    background: var(--ez-hero-arrow-bg, #f3ce37);
    color: var(--ez-hero-arrow-color, #222);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
    font-size: var(--ez-hero-arrow-icon-size, 18px);
    line-height: 1;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .custom-ez-hero:hover .custom-ez-hero__arrow,
  .custom-ez-hero:focus-within .custom-ez-hero__arrow {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .custom-ez-hero--arrow-circle-off .custom-ez-hero__arrow {
    background: transparent;
    box-shadow: none;
  }

  .custom-ez-hero__arrow-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .custom-ez-hero__arrow-image--hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 160ms ease;
  }

  .custom-ez-hero__arrow:hover,
  .custom-ez-hero__arrow:focus-visible {
    transform: translateY(-50%) scale(var(--ez-hero-arrow-hover-scale, 1.15));
  }

  .custom-ez-hero__arrow.is-clicking {
    animation: ezHeroArrowClick 260ms ease;
  }

  @keyframes ezHeroArrowClick {
    0% {
      transform: translateY(-50%) scale(var(--ez-hero-arrow-hover-scale, 1.15));
      filter: brightness(1);
    }
    45% {
      transform: translateY(-50%) scale(calc(var(--ez-hero-arrow-hover-scale, 1.15) * 0.86));
      filter: brightness(1.25);
    }
    100% {
      transform: translateY(-50%) scale(var(--ez-hero-arrow-hover-scale, 1.15));
      filter: brightness(1);
    }
  }

  .custom-ez-hero__arrow:hover .custom-ez-hero__arrow-image--hover,
  .custom-ez-hero__arrow:focus-visible .custom-ez-hero__arrow-image--hover {
    opacity: 1;
  }

  .custom-ez-hero__arrow:hover .custom-ez-hero__arrow-image--default + .custom-ez-hero__arrow-image--hover,
  .custom-ez-hero__arrow:focus-visible .custom-ez-hero__arrow-image--default + .custom-ez-hero__arrow-image--hover {
    opacity: 1;
  }

  .custom-ez-hero__arrow.has-hover-icon:hover .custom-ez-hero__arrow-image--default,
  .custom-ez-hero__arrow.has-hover-icon:focus-visible .custom-ez-hero__arrow-image--default {
    opacity: 0;
  }

  .custom-ez-hero__arrow--prev { left: calc(12px + var(--ez-hero-prev-offset-x, 0px)); }
  .custom-ez-hero__arrow--next { right: calc(12px + var(--ez-hero-next-offset-x, 0px)); }

  .custom-ez-hero__dots {
    position: absolute;
    left: calc(50% + var(--ez-hero-dots-offset-x, 0px));
    bottom: calc(10px + var(--ez-hero-dots-offset-y, 0px));
    transform: translateX(-50%);
    display: flex;
    gap: var(--ez-hero-dot-gap, 8px);
    z-index: 2;
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.28);
  }

  .custom-ez-hero__dot {
    width: var(--ez-hero-dot-size, 9px);
    height: var(--ez-hero-dot-size, 9px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    padding: 0;
    cursor: pointer;
    opacity: 0.78;
    transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
  }

  .custom-ez-hero__dot.is-active {
    background: #ffffff;
    border-color: #ffffff;
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
  }

  @media (max-width: 749px) {
    .custom-ez-hero__media-wrap {
      aspect-ratio: 1200 / 720;
    }
    /* 让 track 高度跟随图片，圆点贴在图片底部而不是 320px 留白下方 */
    .custom-ez-hero__track {
      min-height: 0;
    }
    .custom-ez-hero__subtitle { font-size: 12px; }
    .custom-ez-hero__title { font-size: clamp(20px, 8vw, 34px); }
    /* 手机端隐藏左右箭头，改用左右滑动手势翻页 */
    .custom-ez-hero__arrow {
      display: none !important;
    }

    /* 手机上的滑动区域：禁用横向选中、提示触感 */
    .custom-ez-hero__viewport {
      touch-action: pan-y;
      -webkit-user-select: none;
      user-select: none;
    }

    .custom-ez-hero__dots {
      bottom: calc(8px + var(--ez-hero-dots-offset-y, 0px));
      gap: 4px;
    }
    .custom-ez-hero__dot {
      width: 6px;
      height: 6px;
    }
  }
/* END_SECTION:custom-ez-hero-slider */
/* START_SECTION:custom-ez-hot-sale-tabs (INDEX:7) */
.custom-ez-hot-sale {
    padding-top: var(--ez-hot-sale-pad-top, 20px);
    padding-bottom: var(--ez-hot-sale-pad-bottom, 28px);
    background-color: var(--ez-hot-sale-bg, #c3a6f3);
    background-image: var(--ez-hot-sale-bg-image, none);
    background-size: var(--ez-hot-sale-bg-size, cover);
    background-position: var(--ez-hot-sale-bg-position, center bottom);
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    overflow: visible;
  }

  /* 避免主题外层 shopify-section 裁切背景/装饰（表现为底部一条直线） */
  .shopify-section.section-custom-ez-hot-sale {
    overflow: visible;
  }

  .custom-ez-hot-sale::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ez-hot-sale-bg-overlay, transparent);
    opacity: var(--ez-hot-sale-bg-overlay-opacity, 0);
    pointer-events: none;
  }

  .custom-ez-hot-sale__inner {
    position: relative;
    z-index: 1;
  }

  .custom-ez-hot-sale__head-row {
    display: block;
  }

  .custom-ez-hot-sale__heading {
    margin: 0 0 16px;
    color: var(--ez-hot-sale-heading-color, #ffffff);
    font-size: var(--ez-hot-sale-heading-size, 34px);
    line-height: 1.1;
    font-weight: 700;
    transform: translate(var(--ez-hot-sale-heading-offset-x, 0px), var(--ez-hot-sale-heading-offset-y, 0px));
  }

  .custom-ez-hot-sale__tabbar-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 14px;
  }

  .custom-ez-hot-sale__tabbar-wrap {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    overflow: visible;
  }

  .custom-ez-hot-sale__tab-scroll {
    display: none;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #d0d0d0;
    border-radius: 50%;
    background: #fff;
    color: #222;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: opacity 0.15s ease, background 0.15s ease;
  }

  .custom-ez-hot-sale__tab-scroll:disabled {
    opacity: 0.35;
    cursor: default;
  }

  .custom-ez-hot-sale__tabbar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--ez-hot-sale-btn-gap, 8px);
    transform: translate(var(--ez-hot-sale-btn-offset-x, 0px), var(--ez-hot-sale-btn-offset-y, 0px));
  }

  .custom-ez-hot-sale__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #2f2f2f;
    background: #ffffff;
    background-image: var(--ez-hot-sale-tab-bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #202020;
    border-radius: var(--ez-hot-sale-btn-radius, 999px);
    padding: var(--ez-hot-sale-btn-pad-y, 6px) var(--ez-hot-sale-btn-pad-x, 14px);
    font-size: var(--ez-hot-sale-btn-size, 13px);
    line-height: 1;
    cursor: pointer;
  }

  .custom-ez-hot-sale__tab.is-active {
    background: transparent;
    background-image: var(--ez-hot-sale-tab-bg-active-image, var(--ez-hot-sale-tab-bg-image, none));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #202020;
    border-color: #2f2f2f;
  }

  .custom-ez-hot-sale__tab--icon-only {
    border: 0;
    background: transparent;
    background-image: none;
    border-radius: 0;
    padding: 0;
    min-width: 0;
    line-height: 0;
    overflow: visible;
  }

  .custom-ez-hot-sale__tab--icon-only.is-active {
    border: 0;
    background: transparent;
    background-image: none;
  }

  .custom-ez-hot-sale__tab-image-wrap {
    position: relative;
    width: var(--ez-hot-sale-icon-only-size, 56px);
    height: var(--ez-hot-sale-icon-only-size, 56px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transform: scale(1);
    filter: brightness(1);
    transition: transform 180ms ease, filter 180ms ease;
  }

  .custom-ez-hot-sale__tab-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .custom-ez-hot-sale__tab-image--active {
    position: absolute;
    inset: 0;
    opacity: 0;
  }

  .custom-ez-hot-sale__tab--icon-only.is-active .custom-ez-hot-sale__tab-image--active {
    opacity: 1;
  }

  .custom-ez-hot-sale__tab--icon-only.is-active .custom-ez-hot-sale__tab-image--default {
    opacity: 0;
  }

  .custom-ez-hot-sale__tab--icon-only.is-active .custom-ez-hot-sale__tab-image-wrap {
    transform: scale(1.12);
    filter: brightness(1.16);
  }

  .custom-ez-hot-sale__panel { display: none; }
  .custom-ez-hot-sale__panel.is-active { display: block; }

  .custom-ez-hot-sale__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    column-gap: max(2px, var(--ez-hot-sale-col-gap, 12px));
    row-gap: var(--ez-hot-sale-card-gap, 12px);
    padding-left: 0;
    transform: translate(var(--ez-hot-sale-cards-offset-x, 0px), var(--ez-hot-sale-cards-offset-y, 0px)) scale(var(--ez-hot-sale-card-scale, 1));
    transform-origin: top center;
  }

  .custom-ez-hot-sale__card {
    background: var(--ez-hot-sale-card-bg, #ffffff);
    border-radius: var(--ez-hot-sale-card-radius, 4px);
    overflow: hidden;
    padding: var(--ez-hot-sale-card-pad, 0px);
  }

  .custom-ez-hot-sale__grid > .custom-ez-hot-sale__card {
    box-sizing: border-box;
    flex: 0 1 calc((100% - 4 * max(2px, var(--ez-hot-sale-col-gap, 12px))) / 5);
    max-width: calc((100% - 4 * max(2px, var(--ez-hot-sale-col-gap, 12px))) / 5);
    min-width: 0;
    margin-left: 0;
  }

  .custom-ez-hot-sale__card-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }

  .custom-ez-hot-sale__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--ez-hot-sale-media-bg, #eef0f4);
  }

  .custom-ez-hot-sale__discount-badge {
    box-sizing: border-box;
    position: absolute;
    top: calc(8px + var(--ez-hot-sale-badge-offset-y, 0px));
    right: calc(8px + var(--ez-hot-sale-badge-offset-x, 0px));
    z-index: 2;
    width: var(--ez-hot-sale-badge-size, 30px);
    min-width: var(--ez-hot-sale-badge-size, 30px);
    max-width: var(--ez-hot-sale-badge-size, 30px);
    height: var(--ez-hot-sale-badge-size, 30px);
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff4a87;
    color: #fff;
    font-size: clamp(10px, calc(var(--ez-hot-sale-badge-size, 30px) * 0.34), 14px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  }

  .custom-ez-hot-sale__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .custom-ez-hot-sale__title {
    margin: 8px 8px 6px;
    font-size: var(--ez-hot-sale-title-size, 12px);
    line-height: 1.35;
    color: #232323;
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .custom-ez-hot-sale__price {
    margin: 0 8px 10px;
    font-size: var(--ez-hot-sale-price-size, 12px);
    display: flex;
    gap: 8px;
    align-items: baseline;
  }

  .custom-ez-hot-sale__price-now {
    color: #ff2b8a;
    font-weight: 700;
  }

  .custom-ez-hot-sale__price-old {
    color: #888;
    font-size: var(--ez-hot-sale-price-old-size, 12px);
    text-decoration: line-through;
  }

  .custom-ez-hot-sale__empty {
    margin: 12px 0;
    color: #fff;
    font-size: 14px;
  }

  @media (max-width: 1199px) {
    .custom-ez-hot-sale__grid > .custom-ez-hot-sale__card {
      flex: 0 1 calc((100% - 3 * max(2px, var(--ez-hot-sale-col-gap, 12px))) / 4);
      max-width: calc((100% - 3 * max(2px, var(--ez-hot-sale-col-gap, 12px))) / 4);
    }
  }

  @media (max-width: 989px) {
    .custom-ez-hot-sale__heading { font-size: 28px; }
    .custom-ez-hot-sale__grid > .custom-ez-hot-sale__card {
      flex: 0 1 calc((100% - 2 * max(2px, var(--ez-hot-sale-col-gap, 12px))) / 3);
      max-width: calc((100% - 2 * max(2px, var(--ez-hot-sale-col-gap, 12px))) / 3);
    }
  }

  @media (max-width: 749px) {
    /* 手机端：去掉紫色背景与背景图、遮罩，整体更轻 */
    .custom-ez-hot-sale {
      background-color: var(--ez-hot-sale-bg-mobile, rgba(0, 0, 0, 0)) !important;
      background-image: none !important;
      padding-top: 28px !important;
      padding-bottom: 22px !important;
    }
    .custom-ez-hot-sale::before {
      display: none !important;
    }

    /* 标题居中 */
    .custom-ez-hot-sale__heading {
      color: #1a1a1a !important;
      font-size: clamp(18px, 5vw, 22px) !important;
      margin: 0 0 10px;
      transform: none !important;
      text-align: center;
    }

    /* 类目行：整体居中，左右箭头 + 中间可横向滚动 */
    .custom-ez-hot-sale__tabbar-row {
      justify-content: center;
      margin-bottom: 10px;
      width: 100%;
    }

    .custom-ez-hot-sale__tab-scroll {
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      font-size: 12px;
    }

    .custom-ez-hot-sale__tabbar-wrap {
      flex: 0 1 auto;
      max-width: calc(100% - 64px);
      justify-content: flex-start;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .custom-ez-hot-sale__tabbar-wrap::-webkit-scrollbar {
      display: none;
    }

    .custom-ez-hot-sale__tabbar {
      flex-wrap: nowrap;
      gap: 6px;
      transform: none !important;
      width: max-content;
      margin: 0;
    }

    .custom-ez-hot-sale__tab {
      box-sizing: border-box;
      padding: 5px 8px;
      font-size: 12px;
    }

    .custom-ez-hot-sale__tab--icon-only {
      padding: 0;
    }

    .custom-ez-hot-sale__tab--icon-only .custom-ez-hot-sale__tab-image-wrap {
      width: 100%;
      max-width: 56px;
      height: clamp(36px, 11vw, 44px);
      margin: 0 auto;
    }
    .custom-ez-hot-sale__tab {
      flex: 0 0 auto;
      padding: 5px 10px;
      font-size: 12px;
    }
    .custom-ez-hot-sale__tab--icon-only .custom-ez-hot-sale__tab-image-wrap {
      width: clamp(36px, 11vw, 44px);
      height: clamp(36px, 11vw, 44px);
    }

    /* 商品卡区：flex 居中；去掉 PC 的 scale/translate，避免横向溢出与错位 */
    .custom-ez-hot-sale__grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      column-gap: 10px !important;
      row-gap: 10px !important;
      padding-left: 0 !important;
      transform: none !important;
    }
    .custom-ez-hot-sale__grid > .custom-ez-hot-sale__card {
      flex: 0 1 calc((100% - 10px) / 2) !important;
      max-width: calc((100% - 10px) / 2) !important;
      margin-left: 0 !important;
    }

    /* 手机端只展示前 4 个商品卡（2 行 × 2 列） */
    .custom-ez-hot-sale__card:nth-child(n + 5) {
      display: none;
    }

    /* 卡片内文与价格字号收紧 */
    .custom-ez-hot-sale__title {
      margin: 8px 8px 4px;
      font-size: 12px;
      line-height: 1.3;
      min-height: 0;
    }
    .custom-ez-hot-sale__price {
      margin: 0 8px 10px;
      font-size: 13px;
      gap: 6px;
    }
    .custom-ez-hot-sale__price-old {
      font-size: 11px;
    }

    /* 卡片圆角更柔和 */
    .custom-ez-hot-sale__card {
      border-radius: 8px;
    }

    .custom-ez-hot-sale__empty {
      color: #555;
      text-align: center;
    }
  }

  /* 手机端折扣角标：写在基础样式之后，避免被 .custom-ez-hot-sale__discount-badge 覆盖 */
  @media screen and (max-width: 749px) {
    .custom-ez-hot-sale .custom-ez-hot-sale__discount-badge {
      box-sizing: border-box;
      width: var(--ez-hot-sale-badge-size-mobile, 26px);
      min-width: var(--ez-hot-sale-badge-size-mobile, 26px);
      max-width: var(--ez-hot-sale-badge-size-mobile, 26px);
      height: var(--ez-hot-sale-badge-size-mobile, 26px);
      padding: 0;
      border-radius: 50%;
      font-size: var(--ez-hot-sale-badge-font-mobile, 9px);
      font-weight: 700;
      line-height: 1;
      letter-spacing: -0.04em;
      top: calc(6px + var(--ez-hot-sale-badge-offset-y, 0px));
      right: calc(6px + var(--ez-hot-sale-badge-offset-x, 0px));
      overflow: hidden;
    }
  }
/* END_SECTION:custom-ez-hot-sale-tabs */
/* START_SECTION:custom-ez-menu-strip (INDEX:8) */
.section-custom-ez-header,
  .section-custom-ez-menu-strip {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* 横向滚动 + overflow 组合会裁切绝对定位的下拉层；分区需叠在下方内容之上 */
  .section-custom-ez-menu-strip {
    overflow: visible !important;
    position: relative;
    z-index: 30;
  }

  .custom-ez-menu-strip {
    background-color: var(--strip-bg-color, #f7f7f7);
    background-image: var(--strip-bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: 0;
    border-bottom: 1px solid #ececec;
    margin-top: -2px;
    position: relative;
    z-index: 1;
    /* 与下方大 padding 配合：避免透明占位层挡住整页点击 */
    pointer-events: none;
  }

  .custom-ez-menu-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--strip-overlay-color, transparent);
    opacity: var(--strip-overlay-opacity, 0);
    pointer-events: none;
  }

  .custom-ez-menu-strip__inner {
    position: relative;
    z-index: 1;
    min-height: var(--strip-min-height, 40px);
    padding: 0 var(--strip-pad-x, 10px);
    display: flex;
    align-items: center;
    gap: var(--strip-row-gap, 18px);
    overflow-x: auto;
    overflow-y: visible;
    /* 抵消 overflow-x:auto 导致的纵向裁切，使 mega 下拉能画出导航条区域 */
    padding-bottom: min(45vh, 420px);
    margin-bottom: calc(-1 * min(45vh, 420px));
    white-space: nowrap;
    scrollbar-width: thin;
    /* 大块 padding 仍占命中盒；none 让空白区点击穿透到下方页面 */
    pointer-events: none;
  }

  .custom-ez-menu-strip__inner > * {
    pointer-events: auto;
  }

  .custom-ez-menu-strip__font-debug {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 6px var(--strip-pad-x, 10px) 4px;
    font-size: 12px;
    color: #444;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.14);
    background: rgba(255, 255, 255, 0.85);
    pointer-events: auto;
  }

  .custom-ez-menu-strip__font-debug-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
  }

  .custom-ez-menu-strip__font-debug-item--main {
    font-family: var(--strip-main-font-family, inherit);
    font-style: var(--strip-main-font-style, normal);
  }

  .custom-ez-menu-strip__font-debug-item--dropdown {
    font-family: var(--strip-dropdown-font-family, inherit);
    font-style: var(--strip-dropdown-font-style, normal);
  }

  .custom-ez-menu-strip__badges,
  .custom-ez-menu-strip__nav {
    display: inline-flex;
    align-items: center;
    gap: var(--strip-item-gap, 14px);
    flex: 0 0 auto;
  }

  .custom-ez-menu-strip__badges {
    transform: translate(var(--strip-badges-tx, 0px), var(--strip-badges-ty, 0px));
  }

  .custom-ez-menu-strip__nav {
    transform: translate(var(--strip-nav-tx, 0px), var(--strip-nav-ty, 0px));
  }

  .custom-ez-menu-strip__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: var(--strip-min-height, 40px);
  }

  .custom-ez-menu-strip__badge,
  .custom-ez-menu-strip__link {
    color: var(--strip-text-color, #222222);
    text-decoration: none;
    font-size: var(--strip-nav-font-size, 13px);
    font-weight: var(--strip-font-weight, 400);
    font-family: var(--strip-main-font-family, inherit);
    font-style: var(--strip-main-font-style, normal);
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
  }

  .custom-ez-menu-strip__badge {
    font-size: var(--strip-badge-font-size, 13px);
  }

  .custom-ez-menu-strip__link {
    height: 100%;
    align-items: center;
  }

  .custom-ez-menu-strip__badge-icon {
    font-size: 14px;
    line-height: 1;
  }

  .custom-ez-menu-strip__link:hover,
  .custom-ez-menu-strip__badge:hover,
  .custom-ez-menu-strip__item:hover > .custom-ez-menu-strip__link {
    color: var(--strip-hover-color, #00a6d6);
  }

  .custom-ez-menu-strip__link--mega-trigger {
    background: none;
    border: 0;
    padding: 4px 0;
    margin: 0;
    cursor: pointer;
    text-align: inherit;
    -webkit-appearance: none;
    appearance: none;
    /* 勿用 font: inherit，会覆盖 .custom-ez-menu-strip__link 的字号，导致与主导航 <a> 不一致 */
    font-size: var(--strip-nav-font-size, 13px);
    font-weight: var(--strip-font-weight, 400);
    font-family: var(--strip-main-font-family, inherit);
    font-style: var(--strip-main-font-style, normal);
    line-height: 1;
  }

  .custom-ez-menu-strip__link--mega-trigger:hover,
  .custom-ez-menu-strip__item.is-mega-open > .custom-ez-menu-strip__link--mega-trigger {
    color: var(--strip-hover-color, #00a6d6);
  }

  .custom-ez-menu-strip__dropdown--mega {
    padding: 16px 18px 18px;
  }

  .custom-ez-menu-strip__mega-view-all {
    display: inline-block;
    margin-bottom: 12px;
    font-size: var(--strip-dropdown-title-size, 14px);
    font-weight: var(--strip-dropdown-title-weight, 600);
    color: var(--strip-hover-color, #00a6d6);
    text-decoration: none;
  }

  .custom-ez-menu-strip__mega-view-all:hover {
    text-decoration: underline;
  }

  .custom-ez-menu-strip__mega-ip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, max-content));
    column-gap: var(--strip-dropdown-col-gap, 22px);
    row-gap: 6px;
    white-space: normal;
  }

  .custom-ez-menu-strip__mega-ip-link {
    padding: 4px 0;
  }

  .custom-ez-menu-strip__dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 560px;
    width: min(var(--strip-dropdown-width, 1240px), calc(100vw - 20px));
    background: #fff;
    border: 1px solid #ececec;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 14px 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    pointer-events: none;
    z-index: 20;
  }

  /* Mega：随内容收缩；仍受分区「下拉最大宽度」与视口限制 */
  .custom-ez-menu-strip__dropdown.custom-ez-menu-strip__dropdown--mega {
    width: max-content;
    max-width: min(var(--strip-dropdown-width, 1240px), calc(100vw - 24px));
    min-width: min(200px, calc(100vw - 32px));
  }

  /* Mega 仅点击展开（.is-mega-open），避免悬停即出现 */
  .custom-ez-menu-strip__item.has-mega-menu.is-mega-open > .custom-ez-menu-strip__dropdown--mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 60;
  }

  .custom-ez-menu-strip__item:last-child .custom-ez-menu-strip__dropdown,
  .custom-ez-menu-strip__item:nth-last-child(2) .custom-ez-menu-strip__dropdown {
    left: auto;
    right: 0;
  }

  .custom-ez-menu-strip__item.has-dropdown:not(.has-mega-menu):hover > .custom-ez-menu-strip__dropdown,
  .custom-ez-menu-strip__item.has-dropdown:not(.has-mega-menu):focus-within > .custom-ez-menu-strip__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .custom-ez-menu-strip__dropdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    column-gap: var(--strip-dropdown-col-gap, 22px);
    row-gap: var(--strip-dropdown-row-gap, 10px);
    white-space: normal;
  }

  .custom-ez-menu-strip__dropdown-col {
    min-width: 0;
  }

  .custom-ez-menu-strip__dropdown-title {
    display: block;
    margin-bottom: 8px;
    font-size: var(--strip-dropdown-title-size, 14px);
    font-weight: var(--strip-dropdown-title-weight, 600);
    color: var(--strip-dropdown-title-color, #1f1f1f);
    font-family: var(--strip-dropdown-font-family, inherit);
    font-style: var(--strip-dropdown-font-style, normal);
    text-decoration: none;
  }

  .custom-ez-menu-strip__dropdown-link {
    display: block;
    padding: 3px 0;
    font-size: var(--strip-dropdown-font-size, 14px);
    line-height: 1.4;
    color: var(--strip-dropdown-text-color, #222222);
    font-family: var(--strip-dropdown-font-family, inherit);
    font-style: var(--strip-dropdown-font-style, normal);
    text-decoration: none;
  }

  .custom-ez-menu-strip__dropdown-link:hover,
  .custom-ez-menu-strip__dropdown-title:hover {
    color: #00a6d6;
  }

  @media (max-width: 989px) {
    .custom-ez-menu-strip__item.has-dropdown:not(.has-mega-menu) .custom-ez-menu-strip__dropdown {
      display: none !important;
    }
  }

  @media (max-width: 749px) {
    .custom-ez-menu-strip__font-debug {
      font-size: 11px;
      gap: 10px;
      padding: 5px 8px 3px;
    }

    .custom-ez-menu-strip__inner {
      min-height: 36px;
      gap: 12px;
      padding: 0 8px min(42vh, 380px);
      margin-bottom: calc(-1 * min(42vh, 380px));
    }

    .custom-ez-menu-strip__badges,
    .custom-ez-menu-strip__nav {
      gap: 10px;
    }

    .custom-ez-menu-strip__badge,
    .custom-ez-menu-strip__link {
      font-size: 12px;
    }

    .custom-ez-menu-strip--hide-mobile {
      display: none !important;
    }
  }
/* END_SECTION:custom-ez-menu-strip */
/* START_SECTION:custom-ez-new-arrivals (INDEX:9) */
.custom-ez-new-arrivals {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding-top: var(--ez-na-pad-top, 24px);
    padding-bottom: var(--ez-na-pad-bottom, 24px);
    background: var(--ez-na-bg-base-color, #121212);
  }

  .custom-ez-new-arrivals__layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .custom-ez-new-arrivals__layer--base {
    background-image: var(--ez-na-bg-base-image, none);
    background-size: var(--ez-na-bg-base-size, cover);
    background-position: center;
    background-repeat: no-repeat;
  }

  .custom-ez-new-arrivals__layer--overlay {
    overflow: hidden;
    border-radius: calc(var(--ez-na-bg-overlay-radius, 0px) * var(--ez-na-bg-overlay-radius-enabled, 0));
  }

  .custom-ez-new-arrivals__layer--overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--ez-na-bg-overlay-image, none);
    background-size: var(--ez-na-bg-overlay-size, cover);
    background-position: center;
    background-repeat: no-repeat;
    opacity: var(--ez-na-bg-overlay-opacity, 1);
    transform: translate(
      calc((var(--ez-na-bg-overlay-x, 50) - 50) * 1%),
      calc((var(--ez-na-bg-overlay-y, 50) - 50) * 1%)
    ) scale(var(--ez-na-bg-overlay-scale, 1));
    transform-origin: center center;
    border-radius: inherit;
  }

  .custom-ez-new-arrivals__inner {
    position: relative;
    z-index: 1;
    max-width: var(--ez-na-content-max, 1440px);
    margin: 0 auto;
    transform: translate(var(--ez-na-content-offset-x, 0px), var(--ez-na-content-offset-y, 0px));
  }

  .custom-ez-new-arrivals__head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-bottom: 12px;
    gap: 0;
  }

  .custom-ez-new-arrivals__head-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    flex-wrap: wrap;
  }

  .custom-ez-new-arrivals__head-sub-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    width: 100%;
  }

  .custom-ez-new-arrivals__hot-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    max-width: 100%;
    border: 1px solid var(--ez-na-hot-pill-border, #2f2f2f);
    border-radius: var(--ez-na-hot-pill-radius, 20px);
    padding: var(--ez-na-hot-pill-py, 6px) var(--ez-na-hot-pill-px, 14px);
    font-size: var(--ez-na-hot-pill-font, 13px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--ez-na-hot-pill-color, #202020);
    background-color: var(--ez-na-hot-pill-bg, #ffffff);
    background-image: var(--ez-na-hot-pill-bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: opacity 0.2s ease, transform 0.15s ease, filter 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .custom-ez-new-arrivals__hot-pill-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
  }

  .custom-ez-new-arrivals__hot-pill-btn-text {
    position: relative;
    z-index: 1;
  }

  .custom-ez-new-arrivals__heading {
    margin: 0;
    color: var(--ez-na-heading-color, #ffffff);
    font-family: var(--ez-na-heading-font-family, inherit);
    font-style: var(--ez-na-heading-font-style, normal);
    font-size: var(--ez-na-heading-size, 34px);
    line-height: 1.1;
    transform: translate(var(--ez-na-heading-offset-x, 0px), var(--ez-na-heading-offset-y, 0px));
    flex: 0 1 auto;
    min-width: 0;
  }

  .custom-ez-new-arrivals__view-all {
    position: relative;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: var(--ez-na-view-all-min-h-dt, 34px);
    padding: var(--ez-na-view-all-py-dt, 6px) var(--ez-na-view-all-px-dt, 22px);
    font-size: var(--ez-na-view-all-font-dt, 13px);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-radius: 999px;
    line-height: 1;
    border: 1px solid currentColor;
    color: var(--ez-na-view-all-color, #ffffff);
    background: transparent;
    margin-left: auto;
    flex-shrink: 0;
    align-self: center;
    transform: translate(
        var(--ez-na-view-all-offset-x, 0px),
        var(--ez-na-view-all-offset-y, 0px)
      )
      scale(var(--ez-na-view-all-scale-dt, 1));
    transform-origin: center center;
    transition: opacity 0.2s ease, filter 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .custom-ez-new-arrivals__view-all--below {
    display: none;
  }

  .custom-ez-new-arrivals__view-all--head {
    display: inline-flex;
  }

  .custom-ez-new-arrivals__tabbar-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 4px;
    width: 100%;
    box-sizing: border-box;
    transform: translate(
      calc(var(--ez-na-heading-offset-x, 0px) + var(--ez-na-cat-tab-row-offset-x, 0px)),
      var(--ez-na-cat-tab-row-offset-y, 0px)
    );
  }

  .custom-ez-new-arrivals__tabbar-row--pager {
    gap: var(--ez-na-cat-pager-gap, 8px);
  }

  .custom-ez-new-arrivals__tabbar-row--pager .custom-ez-new-arrivals__tab-scroll--prev {
    margin-right: var(--ez-na-cat-pager-arrow-shift, 0px);
  }

  .custom-ez-new-arrivals__tabbar-row--pager .custom-ez-new-arrivals__tab-scroll--next {
    margin-left: var(--ez-na-cat-pager-arrow-shift, 0px);
  }

  .custom-ez-new-arrivals__tabbar-wrap {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
  }

  .custom-ez-new-arrivals__tabbar-wrap::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  /* 翻页时禁止视口被 flex 撑满整行，否则会露出第 N+1 个类目 */
  .custom-ez-new-arrivals__tabbar-row--pager .custom-ez-new-arrivals__tabbar-wrap {
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    min-width: 0;
    overflow-x: hidden;
    margin-left: var(--ez-na-cat-pager-wrap-shift, 0px);
    margin-right: var(--ez-na-cat-pager-wrap-shift, 0px);
  }

  .custom-ez-new-arrivals__tab-scroll {
    display: none;
    flex: 0 0 auto;
    box-sizing: border-box;
    width: var(--ez-na-cat-pager-size, 32px);
    height: var(--ez-na-cat-pager-size, 32px);
    padding: 0;
    border: 1px solid var(--ez-na-cat-pager-border, #e8e8e8);
    border-radius: 50%;
    background: var(--ez-na-cat-pager-bg, #ffffff);
    color: var(--ez-na-cat-pager-fg, #666666);
    font-size: var(--ez-na-cat-pager-icon, 14px);
    line-height: 1;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: opacity 0.15s ease, background 0.15s ease;
  }

  .custom-ez-new-arrivals__tabbar-row--pager .custom-ez-new-arrivals__tab-scroll {
    display: inline-flex;
  }

  .custom-ez-new-arrivals__tab-scroll:hover:not(:disabled) {
    background: #fafafa;
  }

  .custom-ez-new-arrivals__tab-scroll:disabled {
    opacity: 0.35;
    cursor: default;
  }

  .custom-ez-new-arrivals__tabbar {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--ez-na-cat-tab-gap, 8px);
    justify-content: flex-start;
    width: max-content;
    /* 为激活态 scale 留出边距，避免被 tabbar-wrap 的 overflow-x 裁切 */
    padding: 6px 12px;
    box-sizing: content-box;
  }

  /* 翻页时收紧与左箭头的距离（左侧 padding 在视口内会完整露出，右侧常被裁切，易显得「偏右」） */
  .custom-ez-new-arrivals__tabbar-row--pager .custom-ez-new-arrivals__tabbar {
    padding: 6px 6px 6px 4px;
  }

  .custom-ez-new-arrivals__category-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    border: 1px solid #2f2f2f;
    background: #ffffff;
    background-image: var(--ez-na-cat-tab-bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #202020;
    border-radius: var(--ez-na-cat-tab-radius, 20px);
    padding: var(--ez-na-cat-tab-py, 6px) var(--ez-na-cat-tab-px, 14px);
    font-size: var(--ez-na-cat-tab-font, 13px);
    line-height: 1;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.02em;
    -webkit-tap-highlight-color: transparent;
  }

  .custom-ez-new-arrivals__category-tab.is-active {
    background: transparent;
    background-image: var(--ez-na-cat-tab-bg-active-image, var(--ez-na-cat-tab-bg-image, none));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #202020;
    border-color: #2f2f2f;
  }

  .custom-ez-new-arrivals__category-tab--icon-only {
    border: 0;
    background: transparent;
    background-image: none;
    border-radius: 0;
    padding: 0;
    min-width: 0;
    line-height: 0;
    overflow: visible;
  }

  .custom-ez-new-arrivals__category-tab--icon-only.is-active {
    border: 0;
    background: transparent;
    background-image: none;
  }

  .custom-ez-new-arrivals__category-tab-image-wrap {
    position: relative;
    width: var(--ez-na-cat-tab-icon-size, 56px);
    height: var(--ez-na-cat-tab-icon-size, 56px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    transform: scale(1);
    filter: brightness(1);
    transition: transform 180ms ease, filter 180ms ease;
  }

  .custom-ez-new-arrivals__category-tab-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .custom-ez-new-arrivals__category-tab-image--active {
    position: absolute;
    inset: 0;
    opacity: 0;
  }

  .custom-ez-new-arrivals__category-tab--icon-only.is-active .custom-ez-new-arrivals__category-tab-image--active {
    opacity: 1;
  }

  .custom-ez-new-arrivals__category-tab--icon-only.is-active .custom-ez-new-arrivals__category-tab-image--default {
    opacity: 0;
  }

  .custom-ez-new-arrivals__category-tab--icon-only.is-active .custom-ez-new-arrivals__category-tab-image-wrap {
    transform: scale(1.06);
    transform-origin: center center;
    filter: brightness(1.12);
  }

  .custom-ez-new-arrivals__panel {
    display: none;
  }

  .custom-ez-new-arrivals__panel.is-active {
    display: block;
  }

  .custom-ez-new-arrivals__carousel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    transform: translate(var(--ez-na-cards-offset-x, 0px), var(--ez-na-cards-offset-y, 0px)) scale(var(--ez-na-cards-scale, 1));
    transform-origin: top left;
  }

  .custom-ez-new-arrivals__arrow {
    width: var(--ez-na-arrow-size, 30px);
    height: var(--ez-na-arrow-size, 30px);
    border-radius: 999px;
    border: 0;
    background: var(--ez-na-arrow-bg, #ffd400);
    color: var(--ez-na-arrow-color, #000000);
    font-size: var(--ez-na-arrow-icon-size, 18px);
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  }

  .custom-ez-new-arrivals__arrow span {
    font-weight: 900;
    line-height: 1;
    -webkit-text-stroke: 0.25px currentColor;
  }

  .custom-ez-new-arrivals__arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }

  .custom-ez-new-arrivals__viewport {
    overflow: hidden;
  }

  .custom-ez-new-arrivals__track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    column-gap: var(--ez-na-card-gap, 12px);
    row-gap: 0;
    transition: transform 240ms ease;
    will-change: transform;
    /* --ez-na-slide-width 由脚本按视口宽度写入，避免 grid 的 100% 相对整条轨道宽度导致裁切半张卡 */
  }

  .custom-ez-new-arrivals__card {
    flex: 0 0 var(--ez-na-slide-width, 200px);
    max-width: var(--ez-na-slide-width, 200px);
    box-sizing: border-box;
    min-width: 0;
    background: var(--ez-na-card-bg, #ffffff);
    border-radius: var(--ez-na-card-radius, 4px);
    overflow: hidden;
  }

  .custom-ez-new-arrivals__card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    -webkit-user-drag: none;
    user-select: none;
  }

  .custom-ez-new-arrivals__media {
    position: relative;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    padding: var(--ez-na-media-photo-inset, 12px);
    background: var(--ez-na-card-bg, #ffffff);
  }

  .custom-ez-new-arrivals__discount-badge {
    position: absolute;
    top: calc(var(--ez-na-media-photo-inset, 12px) + 4px + var(--ez-na-badge-offset-y, 0px));
    right: calc(var(--ez-na-media-photo-inset, 12px) + 4px + var(--ez-na-badge-offset-x, 0px));
    z-index: 2;
    box-sizing: border-box;
    width: var(--ez-na-badge-size, 30px);
    min-width: var(--ez-na-badge-size, 30px);
    max-width: var(--ez-na-badge-size, 30px);
    height: var(--ez-na-badge-size, 30px);
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff4a87;
    color: #fff;
    font-size: var(--ez-na-badge-font, 10px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    overflow: hidden;
  }

  .custom-ez-new-arrivals__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
  }

  .custom-ez-new-arrivals__title {
    margin: 8px 8px 6px;
    font-size: var(--ez-na-card-title-size, 12px);
    line-height: 1.35;
    color: #232323;
    min-height: 32px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .custom-ez-new-arrivals__price {
    margin: 0 8px 10px;
    font-size: var(--ez-na-card-price-size, 12px);
    display: flex;
    gap: 8px;
    align-items: baseline;
  }

  .custom-ez-new-arrivals__price-now {
    color: #ff2b8a;
    font-weight: 700;
  }

  .custom-ez-new-arrivals__price-old {
    color: #888;
    font-size: var(--ez-na-card-old-price-size, 12px);
    text-decoration: line-through;
  }

  .custom-ez-new-arrivals__empty {
    margin: 10px 0;
    color: #fff;
    font-size: 14px;
  }

  @media (max-width: 749px) {
    /* 手机端：不显示底层/上层背景图，使用专属底色 */
    .custom-ez-new-arrivals {
      background: var(--ez-na-bg-color-mobile, var(--ez-na-bg-base-color, #ffffff)) !important;
      padding-top: var(--ez-na-pad-top-mobile, var(--ez-na-pad-top, 24px));
      padding-bottom: var(--ez-na-pad-bottom-mobile, var(--ez-na-pad-bottom, 24px));
    }
    .custom-ez-new-arrivals__layer--base {
      background-image: none !important;
      background-color: transparent !important;
    }
    .custom-ez-new-arrivals__layer--overlay::before {
      display: none !important;
    }

    .custom-ez-new-arrivals__inner {
      transform: none !important;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .custom-ez-new-arrivals__panels {
      width: 100%;
      align-self: stretch;
      box-sizing: border-box;
      padding: 0 12px;
    }

    .custom-ez-new-arrivals__tabbar-row {
      justify-content: center;
      align-self: center;
      width: max-content;
      max-width: 100%;
      min-width: 0;
      margin-top: 8px;
      margin-bottom: 6px;
      padding: 0;
      box-sizing: border-box;
      transform: none !important;
    }

    .custom-ez-new-arrivals__tab-scroll {
      display: none;
      width: var(--ez-na-cat-pager-size, 32px);
      height: var(--ez-na-cat-pager-size, 32px);
      font-size: var(--ez-na-cat-pager-icon, 14px);
    }

    .custom-ez-new-arrivals__tabbar-row--pager .custom-ez-new-arrivals__tab-scroll {
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
    }

    .custom-ez-new-arrivals__tabbar-wrap {
      flex: 1 1 auto;
      min-width: 0;
      max-width: 100%;
      overflow-x: auto;
      overflow-y: visible;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    .custom-ez-new-arrivals__tabbar-row--pager .custom-ez-new-arrivals__tabbar-wrap {
      flex-grow: 0;
      flex-shrink: 1;
      flex-basis: auto;
      overflow-x: hidden;
    }

    .custom-ez-new-arrivals__tabbar-wrap::-webkit-scrollbar {
      display: none;
    }

    .custom-ez-new-arrivals__tabbar {
      flex-wrap: nowrap;
      gap: var(--ez-na-cat-tab-gap, 8px);
      justify-content: flex-start;
      width: max-content;
      margin: 0;
      padding: 6px 12px;
      box-sizing: content-box;
    }

    .custom-ez-new-arrivals__tabbar-row--pager .custom-ez-new-arrivals__tabbar {
      padding: 6px 6px 6px 4px;
    }

    .custom-ez-new-arrivals__category-tab {
      flex: 0 0 auto;
      padding: var(--ez-na-cat-tab-py, 6px) var(--ez-na-cat-tab-px, 14px);
      font-size: var(--ez-na-cat-tab-font, 13px);
    }

    .custom-ez-new-arrivals__category-tab--icon-only {
      padding: 0;
    }

    .custom-ez-new-arrivals__category-tab--icon-only .custom-ez-new-arrivals__category-tab-image-wrap {
      width: clamp(36px, 11vw, 44px);
      height: clamp(36px, 11vw, 44px);
    }
    .custom-ez-new-arrivals__head {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      margin-bottom: 10px;
    }
    .custom-ez-new-arrivals__head-row {
      justify-content: center;
    }
    .custom-ez-new-arrivals__heading {
      transform: none !important;
      width: 100%;
      color: var(--ez-na-heading-color-mobile, var(--ez-na-heading-color, #232323));
      font-size: var(--ez-na-heading-size-mobile, 22px);
    }
    .custom-ez-new-arrivals__head-sub-actions {
      justify-content: center;
      margin-top: 10px;
    }
    .custom-ez-new-arrivals__view-all--head {
      display: none !important;
    }
    .custom-ez-new-arrivals__view-all.custom-ez-new-arrivals__view-all--below {
      display: inline-flex !important;
      margin: 12px 0 0 !important;
      transform: scale(var(--ez-na-view-all-scale-mb, 1)) !important;
      transform-origin: center center;
      min-height: var(--ez-na-view-all-min-h-mb, 34px);
      padding: var(--ez-na-view-all-py-mb, 6px) var(--ez-na-view-all-px-mb, 22px);
      font-size: var(--ez-na-view-all-font-mb, 13px);
      color: var(--ez-na-view-all-color-mobile, var(--ez-na-view-all-color, #232323));
      background: var(--ez-na-view-all-bg-mobile, transparent);
    }

    .custom-ez-new-arrivals__carousel {
      display: block !important;
      position: relative;
      transform: none !important;
    }

    .custom-ez-new-arrivals__arrow {
      display: none !important;
    }

    .custom-ez-new-arrivals__viewport {
      overflow: visible !important;
      width: 100%;
    }

    /* 2×2 静态网格，仅显示前 4 张卡 */
    .custom-ez-new-arrivals__track {
      display: grid !important;
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      column-gap: 10px !important;
      row-gap: 12px !important;
      transform: none !important;
      will-change: auto;
      flex-direction: unset;
      flex-wrap: unset;
    }

    .custom-ez-new-arrivals__card {
      flex: none !important;
      max-width: none !important;
      width: 100%;
      border-radius: var(--ez-na-card-radius-mobile, var(--ez-na-card-radius, 4px)) !important;
    }

    .custom-ez-new-arrivals__card:nth-child(n + 5) {
      display: none !important;
    }

    .custom-ez-new-arrivals__title {
      min-height: 0;
      font-size: 11px;
    }
    .custom-ez-new-arrivals__price {
      font-size: 12px;
    }
    .custom-ez-new-arrivals__price-old {
      font-size: 10px;
    }

    .custom-ez-new-arrivals__empty {
      color: #444;
      text-align: center;
      grid-column: 1 / -1;
    }

    .custom-ez-new-arrivals .custom-ez-new-arrivals__discount-badge {
      box-sizing: border-box;
      width: var(--ez-na-badge-size-mobile, 26px);
      min-width: var(--ez-na-badge-size-mobile, 26px);
      max-width: var(--ez-na-badge-size-mobile, 26px);
      height: var(--ez-na-badge-size-mobile, 26px);
      padding: 0;
      border-radius: 50%;
      font-size: var(--ez-na-badge-font-mobile, 9px);
      font-weight: 700;
      line-height: 1;
      letter-spacing: -0.04em;
      top: calc(var(--ez-na-media-photo-inset, 12px) + 4px + var(--ez-na-badge-offset-y, 0px));
      right: calc(var(--ez-na-media-photo-inset, 12px) + 4px + var(--ez-na-badge-offset-x, 0px));
      overflow: hidden;
    }
  }

  /* PC 端（≥750px）折扣角标：提高优先级，确保直径与数字字号滑块生效 */
  @media screen and (min-width: 750px) {
    .custom-ez-new-arrivals .custom-ez-new-arrivals__discount-badge {
      width: var(--ez-na-badge-size, 30px);
      min-width: var(--ez-na-badge-size, 30px);
      max-width: var(--ez-na-badge-size, 30px);
      height: var(--ez-na-badge-size, 30px);
      font-size: var(--ez-na-badge-font, 10px);
    }
  }
/* END_SECTION:custom-ez-new-arrivals */
/* START_SECTION:custom-ez-product-grid (INDEX:10) */
.custom-ez-fp {
    position: relative;
    z-index: 0;
    overflow: hidden;
    padding-top: var(--ez-fp-pad-top, 32px);
    padding-bottom: var(--ez-fp-pad-bottom, 32px);
    background-color: var(--ez-fp-bg, #ffffff);
  }

  .custom-ez-fp::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--ez-fp-section-bg-image, none);
    background-size: var(--ez-fp-section-bg-size, cover);
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
  }

  .custom-ez-fp::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: var(--ez-fp-bg-overlay-color, transparent);
    opacity: var(--ez-fp-bg-overlay-opacity, 0);
    pointer-events: none;
  }

  .custom-ez-fp__inner {
    position: relative;
    z-index: 2;
    max-width: var(--ez-fp-maxw, 1440px);
    margin: 0 auto;
    transform: translate(var(--ez-fp-content-offset-x, 0px), var(--ez-fp-content-offset-y, 0px)) scale(var(--ez-fp-content-scale, 1));
    transform-origin: top center;
  }

  .custom-ez-fp__heading {
    margin: 0 0 20px;
    font-weight: 700;
    line-height: 1.2;
  }

  @media screen and (min-width: 750px) {
    .custom-ez-fp__heading {
      font-size: var(--ez-fp-heading-size, 28px);
      color: var(--ez-fp-heading-color, #1a1a1a);
    }
  }

  .custom-ez-fp__grid {
    display: grid;
    grid-template-columns: repeat(var(--ez-fp-cols-lg, 4), minmax(0, 1fr));
    gap: var(--ez-fp-gap, 16px);
  }

  @media screen and (max-width: 989px) {
    .custom-ez-fp__grid {
      grid-template-columns: repeat(var(--ez-fp-cols-md, 3), minmax(0, 1fr));
    }
  }

  @media screen and (max-width: 749px) {
    /* 与上下分区更紧凑：略减上内边距 + 可调负外边距上移 */
    .custom-ez-fp {
      margin-top: calc(0px - var(--ez-fp-mobile-pull-up, 0px));
      padding-top: max(4px, min(14px, calc(var(--ez-fp-pad-top, 40px) * 0.28)));
      padding-bottom: max(8px, min(22px, calc(var(--ez-fp-pad-bottom, 40px) * 0.38)));
    }

    .custom-ez-fp::before {
      background-image: none !important;
    }

    .custom-ez-fp__heading {
      text-align: var(--ez-fp-heading-mobile-align, center);
      width: 100%;
      box-sizing: border-box;
      margin-bottom: 12px;
      font-size: var(--ez-fp-heading-mobile-size, 22px);
      color: var(--ez-fp-heading-mobile-color, #1a1a1a);
    }

    .custom-ez-fp__grid {
      grid-template-columns: repeat(var(--ez-fp-cols-sm, 2), minmax(0, 1fr));
      gap: max(8px, min(14px, calc(var(--ez-fp-gap, 16px) * 0.75)));
    }

    /* 手机端固定 2 列 × 4 行，仅展示前 8 个商品卡 */
    .custom-ez-fp__grid .custom-ez-fp__card:nth-child(n + 9) {
      display: none !important;
    }

    .custom-ez-fp__actions {
      margin-top: 14px;
      margin-bottom: 0;
    }
  }

  .custom-ez-fp__card {
    background: var(--ez-fp-card-bg, #ffffff);
    border-radius: var(--ez-fp-radius, 8px);
    overflow: hidden;
    min-width: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .custom-ez-fp__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .custom-ez-fp__media {
    position: relative;
    aspect-ratio: var(--ez-fp-media-ratio, 3 / 4);
    box-sizing: border-box;
    padding: var(--ez-fp-media-photo-inset, 12px);
    background: var(--ez-fp-card-bg, #ffffff);
    flex-shrink: 0;
  }

  .custom-ez-fp__discount-badge {
    position: absolute;
    top: calc(var(--ez-fp-media-photo-inset, 12px) + 4px + var(--ez-fp-badge-offset-y, 0px));
    right: calc(var(--ez-fp-media-photo-inset, 12px) + 4px + var(--ez-fp-badge-offset-x, 0px));
    z-index: 2;
    box-sizing: border-box;
    width: var(--ez-fp-badge-size, 30px);
    min-width: var(--ez-fp-badge-size, 30px);
    max-width: var(--ez-fp-badge-size, 30px);
    height: var(--ez-fp-badge-size, 30px);
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #ff4a87;
    color: #fff;
    font-size: clamp(9px, calc(var(--ez-fp-badge-size, 30px) * 0.32), 13px);
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    overflow: hidden;
  }

  .custom-ez-fp__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
  }

  .custom-ez-fp__img--placeholder {
    background: linear-gradient(145deg, #e8eef8, #f4f6f9);
  }

  .custom-ez-fp__meta {
    padding: 10px 12px 14px;
  }

  .custom-ez-fp__title {
    margin: 0 0 8px;
    font-size: var(--ez-fp-title-size, 13px);
    font-weight: 500;
    color: var(--ez-fp-title-color, #222);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .custom-ez-fp__price {
    margin: 0;
    font-size: var(--ez-fp-price-size, 14px);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
  }

  .custom-ez-fp__price-now {
    color: var(--ez-fp-price-color, #c62828);
    font-weight: 700;
  }

  .custom-ez-fp__price-old {
    font-size: var(--ez-fp-old-price-size, 12px);
    color: var(--ez-fp-old-price-color, #888);
    text-decoration: line-through;
  }

  .custom-ez-fp__actions {
    display: flex;
    justify-content: center;
    margin-top: 28px;
  }

  .custom-ez-fp__view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--ez-fp-btn-py, 12px) var(--ez-fp-btn-px, 32px);
    font-size: var(--ez-fp-btn-font, 13px);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--ez-fp-btn-radius, 999px);
    background: var(--ez-fp-btn-bg, #111111);
    color: var(--ez-fp-btn-color, #ffffff);
    transform: translate(var(--ez-fp-btn-tx, 0px), var(--ez-fp-btn-ty, 0px));
    transition: opacity 0.2s ease;
  }

  .custom-ez-fp__view-all:hover {
    opacity: 0.88;
  }

  .custom-ez-fp__empty {
    margin: 16px 0;
    color: #555;
    font-size: 15px;
  }

  /* 手机端折扣角标：必须写在基础 .custom-ez-fp__discount-badge 之后，否则会被覆盖 */
  @media screen and (max-width: 749px) {
    .custom-ez-fp .custom-ez-fp__discount-badge {
      box-sizing: border-box;
      width: var(--ez-fp-badge-size-mobile, 26px);
      min-width: var(--ez-fp-badge-size-mobile, 26px);
      max-width: var(--ez-fp-badge-size-mobile, 26px);
      height: var(--ez-fp-badge-size-mobile, 26px);
      padding: 0;
      border-radius: 50%;
      font-size: var(--ez-fp-badge-font-mobile, 9px);
      font-weight: 700;
      line-height: 1;
      letter-spacing: -0.04em;
      top: calc(var(--ez-fp-media-photo-inset, 12px) + 4px + var(--ez-fp-badge-offset-y, 0px));
      right: calc(var(--ez-fp-media-photo-inset, 12px) + 4px + var(--ez-fp-badge-offset-x, 0px));
      overflow: hidden;
    }
  }
/* END_SECTION:custom-ez-product-grid */
/* START_SECTION:custom-ez-product-series-slider (INDEX:11) */
.custom-ez-series {
    padding: var(--ez-series-pad-top, 10px) 0 var(--ez-series-pad-bottom, 10px);
    background-color: var(--ez-series-bg-color, transparent);
    background-image: var(--ez-series-bg-image, none);
    background-size: var(--ez-series-bg-size, cover);
    background-position: center;
    background-repeat: no-repeat;
    transform: translate(var(--ez-series-offset-x, 0px), var(--ez-series-offset-y, 0px));
    position: relative;
    z-index: 1;
  }

  .custom-ez-series::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ez-series-bg-overlay, transparent);
    opacity: var(--ez-series-bg-overlay-opacity, 0);
    pointer-events: none;
  }

  .custom-ez-series > .custom-ez-series__container {
    position: relative;
    z-index: 1;
  }

  .custom-ez-series__container {
    max-width: var(--ez-series-max-width, 1400px);
    margin: 0 auto;
  }

  .custom-ez-series__heading {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.2;
  }

  .custom-ez-series__viewport {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
  }

  .custom-ez-series__track-wrap {
    overflow: hidden;
  }

  .custom-ez-series__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--ez-series-gap, 12px) * (var(--ez-series-desktop-cols, 3) - 1))) / var(--ez-series-desktop-cols, 3));
    column-gap: var(--ez-series-gap, 12px);
    transition: transform 260ms ease;
    will-change: transform;
  }

  /* 桌面/平板：分页包装不参与布局，卡片仍直接参与横向 grid */
  @media (min-width: 750px) {
    .custom-ez-series__page {
      display: contents;
    }
  }

  .custom-ez-series__item {
    min-width: 0;
  }

  .custom-ez-series__card {
    text-decoration: none;
    color: inherit;
    display: block;
  }

  .custom-ez-series__image-wrap {
    width: 100%;
    aspect-ratio: 3 / 2; /* 6:4 */
    border-radius: var(--ez-series-radius, 12px);
    overflow: hidden;
    background: #eef1f5;
  }

  .custom-ez-series__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .custom-ez-series__image--placeholder {
    background: linear-gradient(120deg, #edf3ff, #f7fafc);
  }

  .custom-ez-series__title {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
  }

  .custom-ez-series__arrow {
    width: var(--ez-series-arrow-size, 42px);
    height: var(--ez-series-arrow-size, 42px);
    border: 0;
    border-radius: 50%;
    background: var(--ez-series-arrow-bg, #f3ce37);
    color: var(--ez-series-arrow-color, #222);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: var(--ez-series-arrow-font-size, 20px);
    line-height: 1;
    padding: 0;
  }

  .custom-ez-series__arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  @media (max-width: 989px) {
    .custom-ez-series__track {
      grid-auto-columns: calc((100% - (var(--ez-series-gap, 12px) * (var(--ez-series-tablet-cols, 2) - 1))) / var(--ez-series-tablet-cols, 2));
    }
  }

  @media (max-width: 749px) {
    /* 手机端：分区收紧、与上一分区贴近 */
    .custom-ez-series {
      padding-top: 6px !important;
      padding-bottom: 10px !important;
      transform: none !important;
      background-image: none !important;
      background-color: var(--ez-series-mobile-bg, rgba(0, 0, 0, 0)) !important;
    }

    /* 手机端隐藏背景遮罩层 */
    .custom-ez-series::before {
      display: none !important;
    }

    .custom-ez-series__heading {
      margin: 0 0 8px;
      font-size: 18px;
    }

    .custom-ez-series__viewport {
      grid-template-columns: auto 1fr auto;
      gap: 4px;
      align-items: center;
    }

    .custom-ez-series__track-wrap {
      overflow: hidden;
    }

    /* 手机端：每页 2×2 共 4 个系列，横向滑动翻页 */
    .custom-ez-series__track {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: flex-start;
      column-gap: 0;
      grid-auto-flow: unset;
      grid-auto-columns: unset;
      grid-template-columns: none;
    }

    .custom-ez-series__page {
      display: grid;
      grid-template-columns: 1fr 1fr;
      column-gap: 8px;
      row-gap: 8px;
      flex: 0 0 auto;
      box-sizing: border-box;
    }

    /* 图片仍 3:2，随卡片变窄而缩小 */
    .custom-ez-series__image-wrap {
      aspect-ratio: 3 / 2;
      border-radius: 8px;
    }

    /* 与 {%- style -%} 里 clamp 标题配合，略收紧 */
    .custom-ez-series__title {
      margin: 4px 0 0;
      line-height: 1.2;
    }

    /* 手机端箭头：小一点、放在卡片左右两侧外（不再 absolute 压在图上） */
    .custom-ez-series__arrow {
      position: static;
      transform: none;
      width: 20px;
      height: 20px;
      font-size: 10px;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    }

    .custom-ez-series__arrow--prev,
    .custom-ez-series__arrow--next {
      left: auto;
      right: auto;
      transform: translateX(var(--ez-series-arrow-offset-x, 0px));
    }
  }
/* END_SECTION:custom-ez-product-series-slider */
/* START_SECTION:footer-utilities (INDEX:17) */
.utilities {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
    text-wrap: nowrap;
    border-top: var(--border-width) solid var(--color-border);
    color: var(--color-foreground-muted);

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

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

  .utilities > * {
    text-align: center;

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

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

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

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

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

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

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

    .utilities--blocks-3 > *:nth-child(3) {
      justify-self: end;
      text-align: right;
    }
  }
/* END_SECTION:footer-utilities */
/* START_SECTION:header-announcements (INDEX:19) */
.announcement-bar {
    border-block-end: var(--border-bottom-width) solid var(--color-border);
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .announcement-bar__link {
    position: absolute;
    inset: 0;
  }
/* END_SECTION:header-announcements */
/* START_BLOCK:_announcement (INDEX:48) */
.text-block:not(.text-block--full-width).rte,
  .text-block:not(.text-block--full-width).paragraph {
    /* Safari doesn't support pretty, so fallback to balance */
    text-wrap: balance;
    text-wrap: pretty;
  }

  .text-block:not(.text-block--full-width).h1,
  .text-block:not(.text-block--full-width).h2,
  .text-block:not(.text-block--full-width).h3,
  .text-block:not(.text-block--full-width).h4,
  .text-block:not(.text-block--full-width).h5,
  .text-block:not(.text-block--full-width).h6 {
    text-wrap: balance;
  }

  /* Hide underline unless text is using paragraph styles. */
  .text-block:is(.h1, .h2, .h3, .h4, .h5, .h6) a {
    text-decoration-color: transparent;
  }

  .text-block h1,
  .text-block.h1 > * {
    margin-block: var(--font-h1--spacing);
  }

  .text-block h2,
  .text-block.h2 > * {
    margin-block: var(--font-h2--spacing);
  }

  .text-block h3,
  .text-block.h3 > * {
    margin-block: var(--font-h3--spacing);
  }

  .text-block h4,
  .text-block.h4 > * {
    margin-block: var(--font-h4--spacing);
  }

  .text-block h5,
  .text-block.h5 > * {
    margin-block: var(--font-h5--spacing);
  }

  .text-block h6,
  .text-block.h6 > * {
    margin-block: var(--font-h6--spacing);
  }

  .text-block > *:first-child {
    margin-block-start: 0;
  }

  .text-block > *:last-child {
    margin-block-end: 0;
  }

  .text-block--align-center,
  .text-block--align-center > * {
    margin-inline: auto;
  }

  .text-block--align-right,
  .text-block--align-right > * {
    margin-inline-start: auto;
  }
/* END_BLOCK:_announcement */
/* START_BLOCK:_blog-post-description (INDEX:51) */
.blog-post-card__content-text a {
    color: var(--color-primary);
  }

  .custom-color,
  .custom-color > :is(h1, h2, h3, h4, h5, h6, p, *) {
    color: var(--color);
  }
/* END_BLOCK:_blog-post-description */
/* START_BLOCK:_blog-post-info-text (INDEX:54) */
.blog-post-details {
    display: flex;
    gap: var(--gap-sm);
    font-size: var(--font-paragraph-size);
    color: rgb(var(--color-foreground-rgb) / var(--opacity-subdued-text));
    white-space: nowrap;
    flex-wrap: wrap;
  }

  .blog-post-details > span {
    text-overflow: clip;
    overflow: hidden;
  }
/* END_BLOCK:_blog-post-info-text */
/* START_BLOCK:_featured-blog-posts-card (INDEX:68) */
.featured-blog-posts-card {
    text-align: var(--text-align);
  }

  .featured-blog-posts-card__inner {
    gap: var(--gap);
  }

  .resource-list--grid .resource-list__item {
    min-width: 0;
  }

  /* Editorial layout */
  .resource-list:not(.hidden--desktop) .blog-post-card--flexible-aspect-ratio {
    .featured-blog-posts-card__content {
      --flex-wrap: nowrap;
    }
  }

  @media screen and (max-width: 749px) {
    .resource-list:not(.hidden--desktop) .blog-post-card--flexible-aspect-ratio {
      .featured-blog-posts-card__image,
      .blog-placeholder-svg {
        aspect-ratio: unset;
      }
    }
  }

  .featured-blog-posts-card__inner a,
  .featured-blog-posts-card__inner button {
    pointer-events: auto;
  }

  /* allow all blocks to be selectable in editor preview */
  .shopify-design-mode .featured-blog-posts-card__content * {
    pointer-events: auto;
  }

  .featured-blog-posts-card__content {
    --flex-wrap: wrap;
  }

  .featured-blog-posts-card__content h4 {
    margin: 0;
  }
/* END_BLOCK:_featured-blog-posts-card */
/* START_BLOCK:_featured-blog-posts-image (INDEX:69) */
.featured-blog-posts-card__image {
    width: 100%;
  }

  .featured-blog-posts-card__image .blog-placeholder-svg {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
/* END_BLOCK:_featured-blog-posts-image */
/* START_BLOCK:footer-policy-list (INDEX:113) */
.policy-list-trigger {
    anchor-name: --terms-policies-trigger;
    cursor: pointer;
    font-size: var(--font-size, 0.75rem);
    text-transform: var(--text-transform, none);
  }

  .policy_list {
    li {
      border-radius: calc(var(--style-border-radius-popover) - 8px);

      a {
        color: var(--color-foreground);
        display: inline-block;
        padding: 8px;
        text-align: start;
        width: 100%;
        outline-color: #0000;
        font-size: var(--font-size, 0.75rem);
        text-transform: var(--text-transform, none);
      }

      &:is(:hover, :focus-within) {
        background: rgb(var(--color-foreground-rgb) / 0.15);
      }
    }
  }

  .terms-policies-popover {
    position-anchor: --terms-policies-trigger;
    inset: unset;
    bottom: calc(anchor(top) + 1rem);
    left: anchor(left);
    border-radius: var(--style-border-radius-popover);
    background: linear-gradient(var(--color-background) 0 100%),
      linear-gradient(rgb(var(--color-background-rgb) / 0.15) 0 100%);
    background-clip: padding-box, border-box;
    border: 1px solid #0000;
    box-shadow: var(--shadow-popover);
    padding: 8px;
    margin: 0;
    opacity: 0;
    scale: 0.94;
    translate: 0 6px;
    transform-origin: 3.9em 100%;
  }

  .terms-policies-popover.\:popover-open,
  .terms-policies-popover:popover-open {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }

  @media screen and (max-width: 749px) {
    .terms-policies-popover {
      left: anchor(center);
      transform: translate(-50%, 0);
      transform-origin: 0% 100%;
    }
  }

  @supports not (position-anchor: --account-button-trigger) {
    .terms-policies-popover {
      bottom: unset;
      top: calc(var(--anchor-top) * 1px);
      left: calc(var(--anchor-left) * 1px);
      transform: translate(0, calc(-100% - 1.25rem));
    }

    @media screen and (max-width: 749px) {
      .terms-policies-popover {
        left: calc((var(--anchor-left) + (var(--anchor-width) / 2)) * 1px);
        transform: translate(-50%, calc(-100% - 1.25rem));
      }
    }
  }

  @media (prefers-reduced-motion: no-preference) {
    .terms-policies-popover {
      transition-property: display, overlay, opacity, scale, translate;
      transition-behavior: allow-discrete;
      transition-duration: 0.3s;
      transition-timing-function: var(--ease-out-quad);
    }

    @starting-style {
      .terms-policies-popover.\:popover-open,
      .terms-policies-popover:popover-open {
        opacity: 0.7;
        translate: 0 6px;
        scale: 0.94;
      }
    }
  }
/* END_BLOCK:footer-policy-list */
/* START_BLOCK:social-links (INDEX:134) */
.social-icons__wrapper {
    display: flex;
    gap: var(--gap-sm);
    flex-wrap: wrap;
    justify-content: center;

    @media screen and (min-width: 750px) {
      flex-wrap: nowrap;
      justify-content: flex-start;
    }
  }

  .social-icons__icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: var(--icon-size-lg);
  }

  .social-icons__icon {
    display: flex;
    flex-shrink: 0;
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
  }

  .social-icons__icon {
    display: none;
  }

  .social-icons__icon-wrapper:has(.social-icons__icon path) {
    width: var(--icon-size-lg);

    .social-icons__icon {
      display: block;
    }

    .social-icons__icon-label {
      display: none;
    }
  }

  /* Disabled state for editor */
  .shopify-design-mode .social-icons__icon-wrapper--disabled {
    opacity: var(--disabled-opacity, 0.5);
    cursor: not-allowed;
  }

  .shopify-design-mode .social-icons__icon-wrapper--disabled a {
    pointer-events: none;
  }
/* END_BLOCK:social-links */
/* START_SNIPPET:background-media (INDEX:142) */
@media (prefers-reduced-motion: reduce) {
    video-background-component video {
      display: none;
    }
  }
/* END_SNIPPET:background-media */
/* START_SNIPPET:product-media-gallery-content-styles (INDEX:197) */
media-gallery:where(.media-gallery--grid) .media-gallery__grid {
    display: none;
  }

  media-gallery.media-gallery--grid .media-gallery__grid .product-media-container {
    /* Needed for safari to stretch to full grid height */
    height: 100%;
  }

  @media screen and (min-width: 750px) {
    .media-gallery--two-column .media-gallery__grid {
      grid-template-columns: repeat(2, 1fr);
    }

    /* Display grid view as a carousel on mobile, grid on desktop */
    media-gallery:is(.media-gallery--grid) slideshow-component {
      display: none;
    }

    media-gallery:where(.media-gallery--grid) .media-gallery__grid {
      display: grid;
    }
  }

  .product-media-container__zoom-button {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: var(--layer-flat);
    cursor: zoom-in;
    background-color: transparent;

    &:hover {
      background-color: transparent;
    }
  }

  slideshow-slide.product-media-container--tallest {
    content-visibility: visible;
  }

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

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

  .product-media-container--zoomable.product-media-container--image {
    cursor: zoom-in;
  }
/* END_SNIPPET:product-media-gallery-content-styles */
/* START_SNIPPET:quick-add-modal-styles (INDEX:201) */
#quick-add-dialog {
    display: contents;
  }

  @media screen and (min-width: 750px) {
    .quick-add-modal {
      width: var(--quick-add-modal-width);
      height: var(--quick-add-modal-height);
      max-width: none;
    }
  }

  .quick-add-modal {
    padding: 0;
    border: var(--style-border-popover);
    overflow: hidden;
    box-shadow: 0 5px 30px rgb(0 0 0 / var(--opacity-15));

    @media screen and (max-width: 749px) {
      position: fixed;
      margin: auto 0 0 0;
      min-height: unset;
      max-width: 100%;
      border-radius: 0;
      overflow: clip;
      height: fit-content;
    }
  }

  .quick-add-modal[open] {
    @media screen and (max-width: 750px) {
      border-top-left-radius: var(--style-border-radius-popover);
      border-top-right-radius: var(--style-border-radius-popover);
    }
  }

  .quick-add-modal[open] {
    @media screen and (min-width: 750px) {
      display: flex;
    }
  }

  .quick-add-modal .view-more-details__wrapper {
    @media screen and (max-width: 749px) {
      display: none;
    }
  }

  .quick-add-modal[open] {
    animation: modalSlideInTop var(--animation-speed) var(--animation-easing) forwards;
  }

  .quick-add-modal.dialog-closing {
    animation: modalSlideOutTop var(--animation-speed) var(--animation-easing) forwards;
  }

  .quick-add-modal__close {
    position: absolute;
    top: var(--margin-2xs);
    right: var(--margin-2xs);
    transition: transform 0.15s var(--animation-timing-bounce);
    z-index: var(--layer-raised);
    overflow: visible;
    transform-origin: center;
  }

  .quick-add-modal__close:active {
    transform: scale(0.99) translateY(1px);
  }

  .quick-add-modal__close {
    &:focus-visible {
      outline: none;
    }

    &:focus-visible::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: calc(var(--style-border-radius-popover) - var(--margin-2xs));
      outline: var(--focus-outline-width) solid currentColor;
    }
  }

  .quick-add-modal__content {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: 100% 1fr;
    position: relative;
    overflow-y: auto;
    max-height: 100vh;
    flex-grow: 1;

    @media screen and (max-width: 749px) {
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: auto;
      padding-inline: var(--padding-xl);
      padding-block: var(--padding-xl);
      gap: var(--gap-lg);
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      height: auto; /* Prevent a bug in Safari where height:fit-content is not respected */
      max-height: 100vh;
    }
  }

  .quick-add-modal__content .media-gallery--grid .media-gallery__grid {
    grid-template-columns: 1fr;
  }

  .quick-add-modal__content .media-gallery--grid.media-gallery--two-column .product-media-container:first-child {
    grid-column: auto;
  }

  .quick-add-modal__content {
    /* One column */
    .media-gallery--grid:not(.media-gallery--two-column) .product-media > *,
      /* Two column, small first image */
      .media-gallery--grid.media-gallery--two-column:not(.media-gallery--large-first-image)
      .product-media-container:nth-of-type(odd)
      .product-media > *,
      /* Two column, large first image */
      .media-gallery--grid.media-gallery--two-column.media-gallery--large-first-image
        .product-media-container:is(:first-of-type, :nth-of-type(even))
        .product-media > *,
        /* Carousel */
      .media-gallery--carousel slideshow-container {
      border-top-left-radius: 0;
      border-bottom-left-radius: 0;
    }
  }

  .quick-add-modal__content .view-more-details__wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
  }

  .view-more-details__wrapper .view-more-details {
    display: flex;
    align-items: center;
    width: fit-content;
  }

  .quick-add-modal__content .product-header {
    @media screen and (max-width: 749px) {
      display: flex;
      flex-direction: column;
      grid-column: 2 / -1;
      grid-row: 1;
      padding-right: var(--padding-2xl);
    }
  }

  .quick-add-modal__content .product-header a:not(product-price *) {
    @media screen and (max-width: 749px) {
      font-size: var(--font-size--md);
      font-weight: 500;
      color: inherit;
      width: fit-content;
    }
  }

  .quick-add-modal__content variant-picker,
  .quick-add-modal__content product-form-component {
    @media screen and (max-width: 749px) {
      grid-column: 1 / -1;
    }
  }

  .quick-add-modal__content .product-media-container__zoom-button {
    cursor: default;
  }

  .quick-add-modal__content .product-details {
    grid-column: 4 / -1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    position: relative;

    dialog[open] & {
      animation: fadeSlideIn 0.3s var(--animation-timing-fade-in) both;
      animation-delay: 0.1s;
    }

    @media screen and (max-width: 749px) {
      grid-column: 2 / span 2;
      grid-row: span 1;
      max-height: 100%;
      height: 100%;
    }
  }

  @property --quick-add-modal-mask-start {
    syntax: '<length>';
    initial-value: 0px;
    inherits: false;
  }

  @property --quick-add-modal-mask-end {
    syntax: '<length>';
    initial-value: 0px;
    inherits: true;
  }

  @keyframes detect-scroll {
    from,
    to {
      --can-scroll: ;
    }
  }

  @supports (animation-timeline: scroll(self)) {
    dialog[open] .quick-add-modal__content .product-details {
      mask-image: linear-gradient(to bottom, transparent 0%, #000 var(--quick-add-modal-mask-start), #000 100%);
      animation: 0.3s var(--animation-timing-fade-in) 0.1s both fadeSlideIn, scrollStart 1s linear both,
        scrollEnd 1s linear both, detect-scroll 1ms linear none;
      animation-timeline: auto, scroll(self), scroll(self), scroll(self);
      animation-range: normal, 0px 48px, calc(100% - 48px) 100%, 0% 100%;
    }
  }

  @keyframes scrollStart {
    from {
      --quick-add-modal-mask-start: 0px;
    }
    to {
      --quick-add-modal-mask-start: 48px;
    }
  }

  @keyframes scrollEnd {
    from {
      --quick-add-modal-mask-end: 0px;
    }
    to {
      --quick-add-modal-mask-end: 48px;
    }
  }

  .quick-add-modal__content .product-details > .group-block {
    flex-grow: 1;
    width: auto;
  }

  .quick-add-modal__content > * {
    min-height: 0;
  }

  .quick-add-modal__content .product-details :is(.view-product-title, .buy-buttons-block) {
    flex: 0 0 auto;
  }
  .quick-add-modal__content .product-details :is(.buy-buttons-block) {
    margin-top: auto;
    position: sticky;
    bottom: 0;
    padding-bottom: var(--padding-3xl);
    background-color: var(--color-background);
    z-index: var(--layer-raised);

    &::before {
      --quick-add-modal-mask-end-progressive-enhanced: 0px;

      position: absolute;
      content: '';
      display: block;
      inset: auto 0 100% 0;
      pointer-events: none;
      height: min(var(--gap-2xl), var(--gap));
      background-color: inherit;
      mask-image: linear-gradient(
        to top,
        #000 0%,
        #000 calc(var(--gap-2xs)),
        transparent calc(100% - var(--quick-add-modal-mask-end-progressive-enhanced)),
        transparent
      );
    }
  }

  .quick-add-modal__content .product-details .buy-buttons-block:has(gift-card-recipient-form) {
    position: static;
    padding-bottom: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .quick-add-modal__content .product-details .buy-buttons-block:has(gift-card-recipient-form) > product-form-component {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .quick-add-modal__content .product-details .buy-buttons-block:has(gift-card-recipient-form) form {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .quick-add-modal__content .product-details .buy-buttons-block:has(gift-card-recipient-form)::before {
    display: none;
  }

  .quick-add-modal__content .product-details .buy-buttons-block__bar {
    display: block;
    position: sticky;
    bottom: 0;
    margin-top: auto;
    padding-block: var(--gap-md) var(--padding-3xl);
    background-color: var(--color-background);
    z-index: var(--layer-raised);

    &::before {
      --quick-add-modal-mask-end-progressive-enhanced: 0px;

      position: absolute;
      content: '';
      display: block;
      inset: auto 0 100% 0;
      pointer-events: none;
      height: min(var(--gap-2xl), var(--gap));
      background-color: inherit;
      mask-image: linear-gradient(
        to top,
        #000 0%,
        #000 calc(var(--gap-2xs)),
        transparent calc(100% - var(--quick-add-modal-mask-end-progressive-enhanced)),
        transparent
      );
    }
  }

  @supports (animation-timeline: scroll(self)) {
    .quick-add-modal__content .product-details :is(.buy-buttons-block)::before,
    .quick-add-modal__content .product-details .buy-buttons-block__bar::before {
      --mask-if-scroll: var(--can-scroll) var(--quick-add-modal-mask-end);
      --mask-if-no-scroll: 48px;
      --quick-add-modal-mask-end-progressive-enhanced: var(--mask-if-scroll, var(--mask-if-no-scroll));
      height: calc(var(--gap-2xs) + 48px);
    }
  }

  .quick-add-modal__content .product-details .variant-picker {
    flex: 0 0 auto;

    padding-block: min(var(--gap-2xl), var(--gap));
    margin-block-end: calc(var(--focus-outline-offset) + var(--focus-outline-width));
  }

  .quick-add-modal__content .variant-option--swatches {
    padding-inline-start: var(--padding-2xs);
  }

  .quick-add-modal__content .variant-option--swatches legend {
    margin-inline-start: calc(-1 * var(--padding-2xs));
  }

  .quick-add-modal__content:not(:has(.product-information__media)) .product-details {
    grid-column: 1 / -1;
  }

  .quick-add-modal__content .view-product-title {
    display: flex;
    padding-block: 0;
    margin-block-end: 12px;

    /* Prevent overlap between title and close button */
    padding-inline-end: calc(var(--padding-2xl) + calc(var(--minimum-touch-target) / 2));
  }

  .quick-add-modal__content .view-product-title a {
    color: inherit;
    text-decoration: none;
    text-align: left;
    font-size: var(--font-size--2xl);
    font-weight: 600;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s var(--animation-easing);
  }

  .quick-add-modal__content .product-details product-price {
    --text-align: left;
  }

  .quick-add-modal__content .product-details product-price.text-block--align-center {
    margin-inline: 0;
  }

  .quick-add-modal__content .product-details product-price.text-center {
    --text-align: left;
  }

  .quick-add-modal__content .product-details product-price > * {
    text-align: left;
  }

  .quick-add-modal__content
    .product-details
    *:not(
      .group-block,
      .group-block-content,
      .buy-buttons-block,
      .buy-buttons-block *,
      .view-product-title,
      .view-product-title *,
      variant-picker,
      variant-picker *,
      product-price,
      product-price *,
      product-inventory,
      product-inventory *,
      .view-more-details__wrapper,
      .view-more-details__wrapper *
    ) {
    @media screen and (min-width: 750px) {
      /* stylelint-disable-next-line declaration-no-important */
      display: none !important;
    }
  }

  .quick-add-modal__content
    .group-block:not(
      :has(
          .buy-buttons-block,
          .buy-buttons-block *,
          .view-product-title,
          .view-product-title *,
          variant-picker,
          variant-picker *,
          product-price,
          product-price *,
          product-inventory,
          product-inventory *,
          .view-more-details__wrapper,
          .view-more-details__wrapper *
        ),
      .buy-buttons-block
    ) {
    display: none;
  }

  @media screen and (min-width: 750px) {
    .quick-add-modal__content .group-block-content {
      gap: 0;
    }

    .quick-add-modal__content .media-gallery__grid {
      gap: min(var(--gap-2xs), var(--image-gap));
      border-radius: var(--style-border-radius-popover, 0);
    }

    .quick-add-modal__content .media-gallery--grid .product-media img {
      border-radius: 0;
    }
  }

  .quick-add-modal__content .product-details > .group-block {
    padding-block: var(--padding-3xl) 0;
  }

  .quick-add-modal__content :where(.product-details > .group-block > .group-block-content > *) {
    padding-inline: var(--padding-3xl);
  }

  .quick-add-modal__content slideshow-slide:not([aria-hidden='false']) {
    content-visibility: auto;
  }

  .quick-add-modal__content .product-information__media {
    width: 100%;
    grid-column: 1 / span 1;
    grid-row: 1;
    position: relative;
    top: 0;
    animation: fadeIn 0.4s var(--animation-timing-fade-in) both;

    @media screen and (min-width: 750px) {
      position: sticky;
      grid-column: 1 / 4;
      width: var(--quick-add-modal-gallery-width);
      overflow-y: auto;
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

    &::-webkit-scrollbar {
      display: none;
    }
  }

  .quick-add-modal__content .product-information__media media-gallery {
    pointer-events: none;

    @media screen and (min-width: 750px) {
      position: absolute;
      inset: 0;
    }
  }

  .quick-add-modal media-gallery {
    padding: 0;
  }

  .quick-add-modal__content .product-information__media slideshow-arrows {
    display: none;
  }

  .quick-add-modal__content .product-information__media slideshow-container {
    display: block;
  }

  .quick-add-modal__content .product-information__media slideshow-slides {
    display: flex;
    flex-direction: column;
    gap: var(--gap-2xs);
    overflow: visible;
    scroll-snap-type: none;
  }

  .quick-add-modal__content .product-information__media slideshow-slide {
    width: 100%;
    flex: none;
    scroll-snap-align: unset;
    position: relative;
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s var(--animation-easing);
  }

  .quick-add-modal__content .product-information__media slideshow-slide[aria-hidden='true'] {
    @media screen and (max-width: 749px) {
      display: none;
    }
  }

  .quick-add-modal__content .product-information__media slideshow-slide:nth-child(1) {
    animation: fadeSlideIn 0.3s var(--animation-timing-fade-in) both;
  }

  .quick-add-modal__content .product-information__media slideshow-slide:nth-child(2) {
    animation: fadeSlideIn 0.3s var(--animation-timing-fade-in) both;
    animation-delay: 0.05s;
  }

  .quick-add-modal__content .product-information__media slideshow-slide:nth-child(3) {
    animation: fadeSlideIn 0.3s var(--animation-timing-fade-in) both;
    animation-delay: 0.1s;
  }

  .quick-add-modal__content .product-information__media :is(slideshow-controls, slideshow-controls[thumbnails]) {
    display: none;
  }

  .quick-add-modal__content .sticky-content,
  .quick-add-modal__content .sticky-content--desktop {
    top: 0;
  }

  .quick-add-modal__content .text-block.rte:not(product-price),
  .quick-add-modal__content .view-more-details__wrapper {
    display: none;
  }

  @keyframes fadeSlideIn {
    from {
      opacity: 0;
      transform: translateY(10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
/* END_SNIPPET:quick-add-modal-styles */
/* START_SNIPPET:resource-card (INDEX:205) */
.resource-card {
    --resource-card-secondary-image-opacity: 0;
    --resource-card-primary-image-opacity: calc(1 - var(--resource-card-secondary-image-opacity));

    display: flex;
    flex-direction: column;
    row-gap: var(--padding-xs);
    position: relative;
    text-decoration: none;
    height: 100%;
    opacity: 0;
    animation: fadeIn var(--animation-speed-medium) var(--animation-timing-fade-in) forwards;
  }

  .resource-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  .resource-card__content {
    display: flex;
    flex-direction: column;
    color: var(--color-foreground);
    gap: var(--padding-3xs);

    .price {
      font-weight: 500;
    }

    .volume-pricing-note {
      display: block;
      margin-top: var(--padding-3xs);
      font-family: var(--font-body--family);
      font-weight: normal;
      font-size: min(0.85em, var(--font-paragraph--size));
      line-height: normal;
      letter-spacing: normal;
      text-transform: none;
      color: rgb(var(--color-foreground-rgb) / var(--opacity-subdued-text));
    }
  }

  .resource-card[data-resource-type='article'] .resource-card__content,
  .resource-card[data-resource-type='page'] .resource-card__content {
    gap: var(--padding-xs);
  }

  .resource-card__image {
    aspect-ratio: var(--resource-card-aspect-ratio, auto);
    object-fit: cover;
    border-radius: var(--resource-card-corner-radius);
    opacity: var(--resource-card-primary-image-opacity);
  }

  .resource-card__image--secondary {
    position: absolute;
    top: 0;
    opacity: var(--resource-card-secondary-image-opacity);
    border-radius: var(--resource-card-corner-radius);
  }

  .resource-card__media:empty {
    display: none;
  }

  .resource-card__image-placeholder {
    padding: var(--padding-sm);
    font-size: var(--font-size--lg);
    line-height: var(--line-height--display-loose);
    word-break: break-word;
    background-color: rgb(var(--color-foreground-rgb) / var(--opacity-5));
    aspect-ratio: var(--resource-card-aspect-ratio, auto);
    border-radius: var(--resource-card-corner-radius);
    color: var(--color-foreground);
  }

  .resource-card__title {
    margin-block: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .resource-card__title.paragraph {
    line-height: 1.3;
  }

  .resource-card--overlay {
    height: 100%;

    &::before {
      content: '';
      position: absolute;
      inset: 50% 0 0;
      background: var(--gradient-image-overlay);
      border-radius: var(--resource-card-corner-radius);
      pointer-events: none;
      z-index: var(--layer-flat);
    }
  }

  .resource-card--overlay .resource-card__image {
    height: 100%;
  }

  .resource-card--overlay .resource-card__content {
    position: absolute;
    inset: auto 0 0;
    padding: var(--padding-lg) var(--padding-lg) var(--padding-sm);
    z-index: var(--layer-raised);
  }

  .resource-card--overlay .resource-card__title {
    color: var(--color-white);
  }

  /* Collection images */
  .resource-card__image-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-2xs);
  }

  .resource-card__collection-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: calc(var(--card-corner-radius) - (var(--padding-xs) / 2));
  }

  .resource-card__subtext {
    color: rgb(var(--color-foreground-rgb) / var(--opacity-subdued-text));
    margin-block-start: 0;
  }

  .resource-card__subtext.paragraph {
    font-size: var(--font-size--body-sm);
    line-height: var(--line-height--body-tight);
    color: rgb(var(--color-foreground-rgb) / var(--opacity-subdued-text));
  }

  .resource-card:has(.resource-card__image--secondary) {
    &:hover,
    &:focus {
      --resource-card-secondary-image-opacity: 1;
    }
  }
/* END_SNIPPET:resource-card */
/* START_SNIPPET:resource-image (INDEX:206) */
.resource-image {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    z-index: var(--layer-base);
    overflow: hidden;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: var(--ratio);
  }

  .resource-image__image {
    object-fit: cover;
    aspect-ratio: var(--ratio);
    width: 100%;
    height: 100%;
  }

  .resource-image--placeholder {
    width: 100%;
    height: 100%;
  }
/* END_SNIPPET:resource-image */
/* START_SNIPPET:resource-list-carousel (INDEX:207) */
.resource-list__carousel {
    --slide-width: 60vw;
    width: 100%;
    position: relative;
    container-type: inline-size;
    container-name: resource-list-carousel;

    .slideshow-control[disabled] {
      display: none;
    }

    .slideshow-control--next {
      margin-inline-start: auto;
    }
  }

  @container resource-list-carousel (max-width: 749px) {
    .resource-list__carousel .resource-list__slide {
      --slide-width: clamp(150px, var(--mobile-card-size, 60cqw), var(--slide-width-max));
    }
  }

  @container resource-list-carousel (min-width: 750px) {
    .resource-list__carousel .resource-list__slide {
      --section-slide-width: calc(
        (100% - (var(--resource-list-column-gap) * (var(--column-count) - 1)) - var(--peek-next-slide-size)) /
          var(--column-count)
      );
      --fallback-slide-width: clamp(150px, var(--mobile-card-size, 60cqw), var(--slide-width-max));
      --slide-width: var(--section-slide-width, var(--fallback-slide-width));
    }
  }

  .resource-list__carousel slideshow-slides {
    gap: var(--resource-list-column-gap);

    /* Add padding to prevent hover animations from being clipped in slideshow
     15px accommodates:
     - Scale effect (9px on each side from 1.03 scale)
     - Lift effect (4px upward movement)
     - Shadow (15px spread with -5px offset)
     Using 16px for better alignment with our spacing scale */
    margin-block: -16px;
    padding-block: 16px;
  }

  .resource-list__carousel slideshow-arrows {
    padding-inline: var(--util-page-margin-offset);
  }

  .resource-list__carousel .resource-list__slide {
    width: var(--slide-width);
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 0;
  }

  /*
   * Resource list carousels have peeking slides on both sides.
   * We try to kick load them beforehand (they are lazy loaded otherwise).
   */
  .resource-list__carousel
    :is(
      slideshow-slide:has(+ slideshow-slide[aria-hidden='false']),
      slideshow-slide[aria-hidden='false'] + slideshow-slide
    ) {
    content-visibility: auto;

    slideshow-component[actioned] & {
      content-visibility: visible;
    }
  }
/* END_SNIPPET:resource-list-carousel */
/* START_SNIPPET:search-modal (INDEX:210) */
/* Search modal style */
  .search-modal {
    --search-border-radius: var(--style-border-radius-popover);
    --search-border-width: var(--style-border-width);
  }

  .search-modal__content {
    /* Approx set the top so when the content is at max height, the modal is centered */
    --modal-top-margin: calc(50dvh - var(--modal-max-height) / 2 - 2rem);
    --modal-width: 66dvw;

    padding: 0;
    border: var(--style-border-popover);

    @media screen and (min-width: 750px) {
      width: var(--modal-width);
      margin-block-start: var(--modal-top-margin);
      overflow: hidden;
    }
  }

  /* Hide the default dialog backdrop on small screens */
  @media screen and (max-width: 749px) {
    .search-modal__content::backdrop {
      display: none;
    }
  }

  .dialog-modal[open].search-modal__content {
    transform-origin: bottom center;
    animation: search-element-slide-in-bottom 300ms var(--ease-out-quad) forwards;
    border-radius: var(--search-border-radius);
    box-shadow: var(--shadow-popover);

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

  .dialog-modal.search-modal__content.dialog-closing {
    animation: search-element-slide-out-bottom 200ms var(--ease-out-quad) forwards;
  }

  .search-modal__content[open] {
    display: flex;
  }

  .search-modal__content :is(.predictive-search-dropdown, .predictive-search-form__content-wrapper) {
    position: relative;
  }

  .dialog-modal
    .predictive-search-form__header:has(
      .predictive-search__reset-button:not(.predictive-search__reset-button[hidden])
    )::before {
    content: '';
    position: absolute;
    right: calc(var(--padding-sm) + var(--minimum-touch-target));
    top: 0;
    bottom: 0;
    width: var(--border-width-sm);
    background-color: var(--color-border);
  }

  .dialog-modal
    .predictive-search-form__header:has(.predictive-search__reset-button:not(.predictive-search__reset-button[hidden]))
    > .predictive-search__close-modal-button {
    &::before {
      content: none;
    }
  }

  @media screen and (min-width: 750px) {
    .dialog-modal
      .predictive-search-form__header:has(
        .predictive-search__reset-button:not(.predictive-search__reset-button[hidden])
      )::before {
      right: calc(var(--padding-2xl) * 2);
    }
  }

  predictive-search-component {
    --resource-card-corner-radius: var(--product-corner-radius);

    display: flex;
    width: 100%;
    position: relative;
    margin-inline: auto;
    align-items: center;
    background-color: var(--color-background);
    z-index: var(--layer-heightened);
  }

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

    @media screen and (min-width: 750px) {
      --to-top-gradient-background: linear-gradient(
        to top,
        rgb(var(--color-background-rgb) / var(--opacity-90)),
        rgb(var(--color-background-rgb) / var(--opacity-80)),
        rgb(var(--color-background-rgb) / var(--opacity-40)),
        transparent
      );

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

  predictive-search-component:has([data-search-results]):not(:has(.predictive-search-results__no-results))
    .predictive-search-form__footer {
    display: block;
  }

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

  .predictive-search-form__content {
    max-height: 50dvh;
    overflow-y: auto;
    background-color: var(--color-background);

    /* Firefox */
    scrollbar-width: none;

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

  .predictive-search-form__content-wrapper {
    position: absolute;
    top: 100%;
    width: 100%;
    left: 0;
    z-index: var(--layer-raised);
    display: flex;
    flex-direction: column;
    border-radius: 0 0 var(--search-border-radius) var(--search-border-radius);
    transition: box-shadow var(--animation-speed) var(--animation-easing);
    transform: translateZ(0);
    will-change: transform, opacity;
    overflow: hidden;

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

    @media screen and (min-width: 750px) {
      max-height: var(--modal-max-height);
    }
  }

  /* Add new rule to apply bottom padding only when search button exists */
  .predictive-search-form__content-wrapper:has([data-search-results]):not(:has(.predictive-search-results__no-results))
    > .predictive-search-form__content {
    padding-block-end: var(--padding-6xl);
  }

  .predictive-search-form__header-inner {
    background: var(--color-background);
    border: var(--search-border-width) solid var(--color-border);
    color: var(--color-foreground);
    border-radius: var(--style-border-radius-popover);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    @media screen and (max-width: 749px) {
      border-radius: var(--style-border-radius-inputs);
      border: none;
    }
  }

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

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

  .predictive-search-form__header {
    display: flex;
    position: sticky;
    top: 0;
    z-index: var(--layer-heightened);
    width: 100%;
    align-items: center;
    background-color: var(--color-input-background);
    border: var(--search-border-width) solid var(--color-border);
    border-radius: var(--style-border-radius-inputs);

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

  .predictive-search-form__header:focus-within,
  .predictive-search-form__header-inner:focus-within,
  .predictive-search-form__header-inner:has(.search-input:is(:focus, :focus-visible)) {
    outline: none;
    box-shadow: none;
    /* stylelint-disable-next-line declaration-no-important */
    border-color: var(--color-border) !important;
  }

  input.search-input {
    border-radius: var(--style-border-radius-inputs);
    padding-block: var(--padding-sm);
    font-size: var(--font-size--md);
    width: 100%;
    color: var(--color-foreground);
    padding-inline: calc(var(--margin-lg) + var(--icon-size-lg)) 0;
    background: transparent;
    text-overflow: ellipsis;
    overflow: hidden;
    outline: none;
    border: 0;
  }

  .search-input::placeholder {
    color: rgb(var(--color-foreground-rgb) / var(--opacity-subdued-text));
  }

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

  .search-input:hover {
    background-color: transparent;
  }

  .predictive-search__icon {
    position: absolute;
    left: var(--margin-xl);
    top: auto;
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
    color: rgb(var(--color-foreground-rgb) / var(--opacity-60));

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

  .predictive-search__icon > svg {
    width: var(--icon-size-md);
    height: var(--icon-size-md);
  }

  .predictive-search__reset-button {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    padding: 0;
    margin-inline-end: var(--margin-md);
    background: transparent;
    color: var(--color-foreground);
    opacity: 0.68;
    transition: opacity var(--animation-speed-medium) var(--animation-timing-fade-out),
      visibility var(--animation-speed-medium) var(--animation-timing-fade-out);

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

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

    @media screen and (min-width: 750px) {
      margin-inline-end: var(--margin-2xs);
    }
  }

  .predictive-search__reset-button[hidden] {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .predictive-search__reset-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-size-lg);
    height: var(--icon-size-lg);
    transition: background-color var(--animation-speed-medium) ease-in-out,
      transform var(--animation-speed-medium) var(--animation-timing-bounce);
    border-radius: 50%;

    &:hover {
      background-color: rgb(var(--color-primary-hover-rgb) / var(--opacity-8));
    }
  }

  .predictive-search__reset-button:active .predictive-search__reset-button-icon {
    transform: scale(0.85);
    transition-timing-function: var(--animation-timing-active);
    transition-duration: 100ms;
  }

  .predictive-search__reset-button svg {
    width: var(--icon-size-md);
    height: var(--icon-size-md);
  }

  .predictive-search__reset-button-text {
    display: none;
  }

  .predictive-search__search-button {
    margin: auto;
    z-index: var(--layer-raised);
    transition: transform var(--animation-speed-medium) var(--animation-timing-bounce),
      box-shadow var(--animation-speed-medium) var(--animation-timing-hover);
    transform-origin: center;

    &:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgb(0 0 0 / var(--opacity-5));
    }

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

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

    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--minimum-touch-target);
    height: var(--minimum-touch-target);
    margin-inline-start: var(--margin-sm);
    padding: 0;
    box-shadow: none;

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

    .svg-wrapper,
    svg {
      width: var(--icon-size-xs);
      height: var(--icon-size-xs);
    }
  }

  .predictive-search__close-modal-button:hover {
    --button-color: var(--color-foreground);
    --button-background-color: transparent;
  }
/* END_SNIPPET:search-modal */
/* START_SNIPPET:section (INDEX:212) */
.section-wrapper {
    --section-height-offset: 0px;
  }

  .section[data-shopify-visual-preview] {
    min-height: var(--section-preview-height);
    padding-top: 0;
  }

  .section[data-shopify-visual-preview] .custom-section-background {
    display: none;
  }

  body:has(> #header-group > .header-section > #header-component[transparent]):not(
      :has(> #header-group > .header-section + .shopify-section)
    )
    > main
    > .section-wrapper:first-child {
    --section-height-offset: var(--header-group-height, 0);
  }

  .custom-section-background {
    grid-column: 1 / -1;
  }

  .custom-section-content {
    z-index: var(--layer-flat);
  }
/* END_SNIPPET:section */
/* START_SNIPPET:skip-to-content-link (INDEX:214) */
.skip-to-content-link {
    position: absolute;
    left: -99999px;
  }

  .skip-to-content-link:focus {
    z-index: var(--layer-temporary);
    overflow: auto;
    width: auto;
    height: auto;
    padding: var(--padding-lg) var(--padding-4xl);
    left: var(--margin-lg);
    top: var(--margin-lg);
    background-color: var(--color-background);
    box-shadow: 0 0 0 var(--focus-outline-offset) var(--color-background);
  }
/* END_SNIPPET:skip-to-content-link */
/* START_SNIPPET:slideshow-arrow (INDEX:216) */
.slideshow-control--large {
    .icon-caret {
      --icon-stroke-width: 1px;
    }

    .icon-caret {
      --icon-stroke-width: 1px;
    }

    .svg-wrapper,
    svg {
      width: var(--slideshow-controls-icon);
      height: var(--slideshow-controls-icon);
    }
  }

  /* Slideshow control shape styles */
  .slideshow-control.slideshow-control--shape-square,
  .slideshow-control.slideshow-control--shape-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background-color: var(--color-primary-button-background);
    color: var(--color-primary-button-text);
  }

  .slideshow-control.slideshow-control--shape-circle {
    border-radius: 50%;
  }

  .slideshow-control.slideshow-control--shape-square {
    border-radius: 0;
  }

  .slideshow-control .icon-caret {
    rotate: -90deg;
  }
/* END_SNIPPET:slideshow-arrow */
/* START_SNIPPET:slideshow-arrows (INDEX:217) */
slideshow-arrows {
    --cursor-previous: w-resize;
    --cursor-next: e-resize;

    position: absolute;
    inset: 0;
    display: flex;
    z-index: var(--layer-heightened);
    pointer-events: none;
    mix-blend-mode: difference;
    align-items: flex-end;

    &[position='left'] {
      justify-content: flex-start;
      padding-inline: var(--padding-xs);
    }

    &[position='right'] {
      justify-content: flex-end;
      padding-inline: var(--padding-xs);
    }

    &[position='center'] {
      justify-content: space-between;
      align-items: center;
    }
  }

  slideshow-arrows:has(.slideshow-control--shape-square),
  slideshow-arrows:has(.slideshow-control--shape-circle) {
    mix-blend-mode: normal;
  }

  slideshow-component[disabled='true'] slideshow-arrows {
    display: none;
  }

  slideshow-arrows .slideshow-control {
    pointer-events: auto;
    opacity: 0;
    min-height: var(--minimum-touch-target);
    min-width: var(--minimum-touch-target);
    padding: 0 var(--padding-xs);
    color: var(--color-white);
  }

  slideshow-arrows .slideshow-control.slideshow-control--style-none {
    display: none;
  }
/* END_SNIPPET:slideshow-arrows */
/* START_SNIPPET:slideshow-styles (INDEX:220) */
/*
   * Slideshow Component
   */
  slideshow-component {
    --cursor: grab;
    --slide-offset: 6px;

    position: relative;
    display: flex;
    flex-direction: column;
    timeline-scope: var(--slideshow-timeline);
  }

  .slideshow--single-media {
    --cursor: default;
  }

  a slideshow-component {
    --cursor: pointer;
  }

  slideshow-component [data-placeholder='true'] * {
    cursor: grab;
  }

  /*
   * Slideshow Slides
   */
  slideshow-slides {
    width: 100%;
    position: relative;
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-color: transparent transparent;
    scrollbar-width: none;
    gap: var(--slideshow-gap, 0);
    cursor: var(--cursor);
    min-height: var(--slide-min-height);
    align-items: var(--slideshow-align-items, normal);

    @media (prefers-reduced-motion) {
      scroll-behavior: auto;
    }

    &::-webkit-scrollbar {
      width: 0;
    }

    &::-webkit-scrollbar-track {
      background: transparent;
    }

    &::-webkit-scrollbar-thumb {
      background: transparent;
      border: none;
    }

    @media screen and (min-width: 750px) {
      min-height: var(--slide-min-height-desktop);
    }
  }

  .slideshow--stretch-content slideshow-slides > * {
    height: auto;
  }

  slideshow-component[disabled='true'] slideshow-slides {
    overflow: hidden;
  }

  /**
   * By default, slideshows have overflow: hidden (no compositor layer).
   * When the slideshow enters the viewport, JavaScript adds [in-viewport] which enables scrolling.
   */
  slideshow-component:not([in-viewport]) slideshow-slides {
    overflow: hidden;
  }

  slideshow-component[mobile-disabled] slideshow-slides {
    @media screen and (max-width: 749px) {
      overflow: hidden;
    }
  }

  slideshow-slides[gutters*='start'] {
    padding-inline-start: var(--gutter-slide-width, 0);
    scroll-padding-inline-start: var(--gutter-slide-width, 0);
  }

  slideshow-slides[gutters*='end'] {
    padding-inline-end: var(--gutter-slide-width, 0);
  }

  slideshow-component[dragging] {
    --cursor: grabbing;

    * {
      pointer-events: none;
    }
  }

  slideshow-component[dragging] slideshow-arrows {
    display: none;
  }

  slideshow-container {
    width: 100%;
    display: block;
    position: relative;
    grid-area: container;
    container-type: inline-size;
    background-color: var(--color-background);
  }

  /*
   * Be specific about HTML children structure to avoid targeting nested slideshows.
   * Ensure that the content is 'visible' while scrolling instead of 'auto' to avoid issues in Safari.
   */
  slideshow-component:is([dragging], [transitioning], :hover) > slideshow-container > slideshow-slides > slideshow-slide {
    content-visibility: visible;
  }

  @keyframes slide-reveal {
    0% {
      translate: calc(var(--slideshow-slide-offset, 6) * 1rem) 0;
      opacity: 0;
    }

    50% {
      opacity: 1;
    }

    100% {
      translate: calc(var(--slideshow-slide-offset, 6) * -1rem) 0;
      opacity: 0;
    }
  }

  /*
   * Slideshow Slide
   */
  slideshow-slide {
    position: relative;
    scroll-snap-align: center;
    width: var(--slide-width, 100%);
    max-height: 100%;
    flex-shrink: 0;
    view-timeline-name: var(--slideshow-timeline);
    view-timeline-axis: inline;
    content-visibility: auto;
    contain-intrinsic-size: auto none;
    border-radius: var(--corner-radius, 0);
    overflow: hidden;

    slideshow-component[actioned] &,
    &[aria-hidden='false'] {
      content-visibility: visible;
    }

    slideshow-component slideshow-slide:not([aria-hidden='false']) {
      content-visibility: hidden;
    }

    &[hidden]:not([reveal]) {
      display: none;
    }

    /* Make inactive slides appear clickable */
    &[aria-hidden='true'] {
      cursor: pointer;
    }
  }

  slideshow-slide .shopify-model-viewer-ui__controls-area.shopify-model-viewer-ui__controls-area {
    bottom: var(--padding-sm);
    right: var(--padding-sm);
  }

  slideshow-component.slideshow--content-below-media slideshow-slide {
    display: grid;
  }

  .slideshow--content-below-media slideshow-slide :is(.slide__image-container, .slide__content) {
    position: static;
  }

  .slideshow--content-below-media slideshow-slide {
    grid-template-rows: var(--grid-template-rows);

    @media screen and (min-width: 750px) {
      grid-template-rows: var(--grid-template-rows-desktop);
    }
  }
/* END_SNIPPET:slideshow-styles */
/* START_SNIPPET:text (INDEX:230) */
:root {
    --text-align-default: left;
  }

  [style*='--horizontal-alignment: center'] .text-block {
    --text-align-default: center;
  }

  [style*='--horizontal-alignment: flex-end'] .text-block {
    --text-align-default: right;
  }

  [style*='--horizontal-alignment: flex-start'] > .text-block {
    --text-align-default: left;
  }

  [style*='--horizontal-alignment: center'] > .text-block {
    --text-align-default: center;
  }

  [style*='--horizontal-alignment: flex-end'] > .text-block {
    --text-align-default: right;
  }

  .text-block {
    width: var(--width);
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: var(--horizontal-alignment);
  }

  .text-block > * {
    width: var(--width);
    max-inline-size: min(100%, var(--max-width, 100%));
    text-align: var(--text-align, var(--text-align-default));
    text-wrap: var(--text-wrap);
  }

  .text-block:not(.text-block--full-width).rte,
  .text-block:not(.text-block--full-width).paragraph {
    /* Safari doesn't support pretty, so fallback to balance */
    text-wrap: balance;
    text-wrap: pretty;
  }

  .text-block:not(.text-block--full-width):is(.h1, .h2, .h3, .h4, .h5, .h6) {
    text-wrap: balance;
  }

  /* Hide underline unless text is using paragraph styles. */
  .text-block:is(.h1, .h2, .h3, .h4, .h5, .h6) a {
    text-decoration-color: transparent;
  }

  .text-block h1,
  .text-block.h1 > * {
    margin-block: var(--font-h1--spacing);
  }

  .text-block h2,
  .text-block.h2 > * {
    margin-block: var(--font-h2--spacing);
  }

  .text-block h3,
  .text-block.h3 > * {
    margin-block: var(--font-h3--spacing);
  }

  .text-block h4,
  .text-block.h4 > * {
    margin-block: var(--font-h4--spacing);
  }

  .text-block h5,
  .text-block.h5 > * {
    margin-block: var(--font-h5--spacing);
  }

  .text-block h6,
  .text-block.h6 > * {
    margin-block: var(--font-h6--spacing);
  }

  .text-block p,
  .text-block.p > * {
    margin-block: var(--font-paragraph--spacing);
  }

  .text-block > *:first-child {
    margin-block-start: 0;
  }

  .text-block > *:last-child {
    margin-block-end: 0;
  }

  .text-block--align-center,
  .text-block--align-center > * {
    margin-inline: auto;
  }

  .text-block--align-right,
  .text-block--align-right > * {
    margin-inline-start: auto;
  }

  .text-block--background {
    background-color: var(--text-background-color);
    border-radius: var(--text-corner-radius);

    /* To avoid text being cropped when using a border radius we add a minimum padding. */
    padding-block-start: max(var(--text-padding), var(--padding-block-start, 0));
    padding-block-end: max(var(--text-padding), var(--padding-block-end, 0));
    padding-inline-start: max(var(--text-padding), var(--padding-inline-start, 0));
    padding-inline-end: max(var(--text-padding), var(--padding-inline-end, 0));
  }

  .custom-color,
  .custom-color > :is(h1, h2, h3, h4, h5, h6, p, *) {
    color: var(--color);
  }
/* END_SNIPPET:text */
