html[data-bs-navy="storefront"] {
  --bs-action-edge: #c8ddeb8c;
  --bs-action-shadow: 0 7px 26px #07192b38, inset 0 1px 0 #f3f9ff38;
  --bs-interaction-ease: cubic-bezier(.2,.75,.25,1);
}

html[data-bs-navy="storefront"] .fidelity-hero .cherry-hero-copy {
  z-index: 2;
}

html[data-bs-navy="storefront"] .fidelity-hero .cherry-hero-copy h2 {
  max-inline-size: 15ch;
  text-wrap: balance;
}

html[data-bs-navy="storefront"] .fidelity-hero .cherry-hero-copy .premium-button {
  min-height: 44px;
  border-color: var(--bs-action-edge);
  background: linear-gradient(145deg,#1d3b55e8,#0c2238e6) !important;
  color: #fff !important;
  box-shadow: var(--bs-action-shadow);
  transition: transform 180ms var(--bs-interaction-ease), box-shadow 200ms ease, border-color 200ms ease;
}

@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  html[data-bs-navy="storefront"] .fidelity-hero .cherry-hero-copy .premium-button {
    background: linear-gradient(145deg,#254760c9,#0e273bc7) !important;
    -webkit-backdrop-filter: blur(9px) saturate(120%);
    backdrop-filter: blur(9px) saturate(120%);
  }

  html[data-bs-navy="storefront"] .fidelity-hero .swiper-pagination {
    width: max-content !important;
    max-width: calc(100% - 32px);
    inset-inline: 0 !important;
    margin-inline: auto;
    padding: 2px 8px;
    border: 1px solid #e3f0ff32;
    border-radius: 999px;
    background: #0c1e2d7d;
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
  }
}

html[data-bs-navy="storefront"] .fidelity-hero .cherry-hero-copy .premium-button:active {
  transform: scale(.97);
}

html[data-bs-navy="storefront"] :is(.fidelity-hero .premium-button, .category-rotation-card, .fc-product-grid a):focus-visible {
  outline: 2px solid #7dbfff;
  outline-offset: 4px;
}

html[data-bs-navy="storefront"] .category-rotation-image {
  background: radial-gradient(ellipse at 30% 22%,#fff 10%,#f3f7fa 56%,#e2edf3);
  box-shadow: inset 0 1px 0 #fff, 0 7px 14px #142e4610;
}

html[data-bs-navy="storefront"] .category-rotation-image img {
  filter: drop-shadow(0 6px 7px #13253b26);
  transition: transform 260ms var(--bs-interaction-ease);
}

@media (hover: hover) and (pointer: fine) {
  html[data-bs-navy="storefront"] .fidelity-hero .cherry-hero-copy .premium-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 25px #528fbd59, inset 0 1px 0 #f3f9ff66;
    border-color: #e1f2ff;
  }
  html[data-bs-navy="storefront"] .category-rotation-card:hover img {
    transform: perspective(380px) translateY(-3px) rotateX(5deg) scale(1.045);
  }
}

@keyframes bs-hero-drift {
  from { transform: scale(1); }
  to { transform: translateY(9px) scale(1.045); }
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    html[data-bs-navy="storefront"] .fidelity-hero .swiper-slide-active .fidelity-hero-image img {
      animation: bs-hero-drift linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 520px;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-bs-navy="storefront"] .fidelity-hero .premium-button,
  html[data-bs-navy="storefront"] .category-rotation-image img {
    transform: none !important;
    transition: none;
  }
}

/* Keep the drawer itself opaque and readable. Frost only the top bar. */
html[data-bs-navy="storefront"] header.header {
  background-image: linear-gradient(115deg,#24527338,transparent 52%) !important;
  box-shadow: inset 0 -1px 0 #c7e4fc24;
}

@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  @media (min-width: 1025px) {
    html[data-bs-navy="storefront"] header.header {
      background-color: #102434ed !important;
      -webkit-backdrop-filter: blur(12px) saturate(112%);
      backdrop-filter: blur(12px) saturate(112%);
    }
  }
}

html[data-bs-navy="storefront"] .category-rotation-section {
  position: relative;
  isolation: isolate;
}

html[data-bs-navy="storefront"] .category-rotation-section::before {
  content: "";
  position: absolute;
  inset: 0 12%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 30% 8%,#d5e8f475,transparent 64%);
}

@keyframes bs-category-light {
  from { transform: translateX(-11%); opacity: .45; }
  to { transform: translateX(11%); opacity: .9; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    html[data-bs-navy="storefront"] .category-rotation-section::before {
      animation: bs-category-light linear both;
      animation-timeline: view(block);
      animation-range: entry 0% cover 65%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-bs-navy="storefront"] .fidelity-hero .swiper-slide-active .fidelity-hero-image img {
    animation: none;
  }
}

html[data-bs-navy="storefront"] .fidelity-hero :is(.swiper-button-prev,.swiper-button-next) {
  color: #f5faff !important;
  background: #153044d9 !important;
  border: 1px solid #d3e8f172;
}

@supports (backdrop-filter: blur(8px)) {
  html[data-bs-navy="storefront"] .fidelity-hero :is(.swiper-button-prev,.swiper-button-next) {
    background: #18364fa6 !important;
    backdrop-filter: blur(8px);
  }
}

/* The outgoing slide can remain visible during a fade, but only the active slide handles taps. */
html[data-bs-navy="storefront"] .fidelity-hero .swiper-slide:not(.swiper-slide-active),
html[data-bs-navy="storefront"] .fidelity-hero .swiper-slide:not(.swiper-slide-active) :is(a, img) {
  pointer-events: none !important;
}

@media (max-width: 1024px) {
  html[data-bs-navy="storefront"] header.header .fidelity-navigation.open {
    background-color: #fff !important;
  }
}
