.retail-site {
  --retail-raised: color-mix(in srgb, var(--retail-surface) 94%, var(--retail-blue));
  --retail-shadow: 0 12px 36px #09132914;
  --retail-pager-glass: #c8dcfa99;
  --retail-pager-edge: #6b8ebdb3;
  --retail-pager-highlight: #fff9;
}

[data-store-mode="dark"] .retail-site {
  --retail-raised: #222b41;
  --retail-shadow: 0 12px 36px #080c1950;
  --retail-pager-glass: #222c42d9;
  --retail-pager-edge: #acc5ff45;
  --retail-pager-highlight: #d0ddff29;
}

.retail-header {
  background: color-mix(in srgb, var(--retail-surface) 94%, transparent);
  backdrop-filter: blur(12px);
}

.retail-search input { flex: 1 1 0; width: auto; }
.retail-search:focus-within {
  border-color: var(--retail-blue);
  box-shadow: 0 0 0 3px var(--retail-light);
}
@media (760px < width <= 1120px) {
  .retail-header-links { gap: 4px; }
  .retail-header-links :is(a, button) {
    display: grid;
    position: relative;
    place-items: center;
    width: 44px;
    padding: 0;
  }
  .retail-header-links :is(a, button) > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
}
@media (max-width: 350px) {
  .retail-header-inner { gap: 4px; }
  .retail-header-inner .retail-brand { margin-inline-end: 0; }
  .retail-mobile-controls, .retail-header-links { gap: 3px; }
  .retail-mobile-controls button, .retail-header-links :is(a, button) { width: 36px; min-width: 36px; }
}

.retail-footer .retail-footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  color: var(--retail-muted);
  font-size: 12px;
  white-space: nowrap;
}
.retail-footer-credit svg { color: #000; }
[data-store-mode="dark"] .retail-footer-credit svg { color: #fff; }
@media (max-width: 520px) {
  .retail-footer > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 6px 8px;
  }
  .retail-footer-brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .retail-footer nav { grid-column: 2; grid-row: 1; justify-self: center; white-space: nowrap; }
  .retail-footer-credit { grid-row: 1; grid-column: 3; justify-self: end; }
}

.retail-hero {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  min-height: clamp(270px, 24vw, 334px);
  color: #fff;
  border-color: #334f89;
  background: radial-gradient(ellipse at 24% 55%, #437ce0 0, #23468c 40%, #152758 72%, #111f45 100%);
  box-shadow: 0 14px 28px #111d4830;
}

.retail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(#c8ddff16 1px, transparent 1px), linear-gradient(90deg, #c8ddff16 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(90deg, #000, #0009 44%, transparent 70%);
}

.retail-hero h1 { letter-spacing: 0; font-size: clamp(28px, 4vw, 54px); text-wrap: balance; }
.retail-hero h1 strong { color: #a8ddff; }
.retail-hero p { color: #e1ecff; font-size: clamp(13px, 1.25vw, 17px); }

.retail-hero .retail-button {
  border-radius: 12px;
  background: #e3f2ff;
  color: #142c5c !important;
}

.retail-hero .retail-button:hover { background: #fff; }
.retail-hero .retail-button:focus-visible { outline-color: #b4e4ff; }
.retail-hero .retail-arrow { font-size: 1.2em; }

.retail-hero-visual { --hero-orb: clamp(214px, 22vw, 304px); }
.retail-hero-visual span { width: calc(var(--hero-orb) + 54px); border-color: #d8ebff52; }
.retail-hero-visual span + span {
  width: var(--hero-orb);
  border-color: #dcf3ffb0;
  background: radial-gradient(circle at 47% 38%, #f7fcff 6%, #d3eaff 57%, #a3c8fa 100%);
  box-shadow: 0 0 45px #a6d9ff44, 0 14px 36px #101c5266;
}

.retail-hero-visual img {
  width: calc(var(--hero-orb) * .94);
  height: auto;
  aspect-ratio: 1;
  clip-path: circle(50%);
  transform: rotate(-9deg);
}

.retail-hero.has-banner::after {
  background: linear-gradient(270deg, #111f45 4%, #111f45ed 26%, #111f4590 53%, #111f4514 100%);
}

.retail-catalog { margin-top: clamp(20px, 2.25vw, 32px); scroll-margin-top: 94px; }
.retail-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 10px 6px;
  overflow: visible;
  padding: 0;
  margin-bottom: 18px;
}
.retail-categories a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 4px 2px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--retail-muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}
.retail-categories a svg {
  width: 38px;
  height: 38px;
  padding: 8px;
  border: 1px solid var(--retail-border);
  border-radius: 11px;
  background: var(--retail-raised);
  color: var(--retail-blue);
}
.retail-categories a:is(:hover, [aria-current]) { background: transparent; color: var(--retail-blue); }
.retail-categories a:hover svg { border-color: var(--retail-blue); background: var(--retail-light); }
.retail-categories a[aria-current] svg {
  border-color: var(--retail-blue);
  background: var(--retail-blue);
  color: var(--retail-surface);
}

.retail-catalog-head { margin-bottom: 10px; }
.retail-catalog-head > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; }
.retail-catalog-head h2 { font-size: clamp(22px, 2.3vw, 30px); }
.retail-catalog-head p { margin: 0; }
.retail-filter-row {
  --retail-filter-padding: 8px;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: var(--retail-filter-padding);
  border: 1px solid var(--retail-border);
  border-radius: 15px;
  background: var(--retail-raised);
}
.retail-filter-panel { inset-inline: -1px auto; }
.retail-sort { --retail-sort-width: 132px; margin-inline-start: auto; }
.retail-sort > :is(select, .retail-select) { inline-size: var(--retail-sort-width); }
.retail-filter-menu > summary { min-height: 44px; }
.retail-select > summary { min-height: 44px; }
.retail-favorites-trigger { flex-shrink: 0; }

#retail-pager:not(:empty) {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#retail-pager > :is(a, span) {
  white-space: nowrap;
  border: 1px solid var(--retail-pager-edge);
  border-radius: 12px;
  background-color: var(--retail-pager-glass);
  background-image: linear-gradient(155deg, var(--retail-pager-highlight), transparent 62%);
  box-shadow: inset 0 1px 0 var(--retail-pager-highlight), 0 2px 5px #09132926;
  backdrop-filter: blur(12px) saturate(145%);
  color: var(--retail-text);
  font-weight: 700;
}
#retail-pager > a:hover {
  border-color: var(--retail-blue);
  background-color: var(--retail-light);
  color: var(--retail-blue);
}
#retail-pager > a:focus-visible { outline-offset: -4px; }
#retail-pager > [aria-current] {
  border-color: #a3b8ffb3;
  background-color: #304cbdf2;
  color: #fff;
}
.retail-floating-cart b { position: absolute; top: -7px; inset-inline-end: 0; }
.retail-cart-icon-only .retail-floating-cart { width: 44px; padding-inline: 0; }
.retail-cart-icon-only .retail-floating-cart > span { display: none; }
@media (max-width: 520px) {
  #retail-pager:not(:empty) { gap: 2px; }
  #retail-pager > :is(a, span) { flex: none; min-width: 32px; padding-inline: 3px; font-size: 12px; }
  #retail-pager:not(:empty):has(> :nth-child(6)) { gap: 1px; }
  #retail-pager:has(> :nth-child(6)) > :is(a, span) { width: 32px; padding-inline: 0; }
}
@media (380px <= width <= 520px) {
  #retail-pager:not(:empty):has(> :nth-child(6)) { gap: 3px; }
  #retail-pager:has(> :nth-child(6)) > :is(a, span) { width: 36px; }
}

.retail-card { border-radius: 18px; box-shadow: 0 2px 5px #111b3310; }
.retail-card:hover, .retail-card:focus-within { border-color: var(--retail-blue); box-shadow: var(--retail-shadow); }
.retail-card-media { border-radius: 12px; }
.retail-card-body { padding: 12px; }
.retail-card-stock { display: flex; align-items: center; gap: 5px; }
.retail-card-stock::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; background: currentColor; }
.retail-card-price { margin-top: 2px; }
.retail-card .retail-button { border-radius: 10px; }

@media (hover: none) {
  .retail-card:hover { transform: none; }
}

.retail-site .product-panel68 {
  gap: clamp(20px, 4vw, 56px);
  padding: clamp(16px, 3vw, 40px);
  border-radius: 22px;
  box-shadow: var(--retail-shadow);
}
.retail-site .product-gallery-frame68 { border-radius: 16px; }
.retail-site .product-purchase68 {
  padding: clamp(14px, 2.7vw, 26px);
  border: 1px solid var(--retail-border);
  background: var(--retail-raised);
  border-radius: 16px;
}
.retail-site .product-summary68 h1 { text-wrap: balance; }
.retail-site .product-specifications68 { scroll-margin-top: 90px; }

.retail-route-panel,
.retail-checkout-page #main-content,
.retail-floating-page #main-content {
  box-shadow: 0 24px 72px #05091275;
}
.retail-route-panel .retail-checkout-close,
.retail-checkout-page #main-content .retail-checkout-close,
.retail-floating-page #main-content .retail-checkout-close {
  top: 6px;
  margin-block-start: 0;
}
.retail-summary { background: var(--retail-raised); }
.retail-summary dl > div:last-child { color: var(--retail-blue); border-bottom: 0; }
.retail-dialog-head { background: var(--retail-raised); }

.retail-notice {
  border: 1px solid #9cb5ef45;
  border-radius: 13px;
}
.retail-notice.is-success::before {
  content: "";
  width: 11px;
  height: 6px;
  border: solid #89ebc2;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .retail-hero { min-height: 242px; }
  .retail-hero-visual { --hero-orb: clamp(148px, 35vw, 230px); }
  .retail-catalog, .retail-site .product-specifications68 { scroll-margin-top: 75px; }
  .retail-categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .retail-hero { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); min-height: 196px; }
  .retail-hero-content { padding: 18px 14px 18px 0; }
  .retail-hero h1 { font-size: clamp(23px, 6.4vw, 30px); }
  .retail-hero p { font-size: 12px; }
  .retail-hero-visual { --hero-orb: clamp(114px, 32vw, 166px); }
  .retail-hero-visual span { width: calc(var(--hero-orb) + 25px); }
  .retail-hero.has-banner::after { background: linear-gradient(270deg, #111f45 0%, #111f45ee 36%, #111f4580 100%); }
  .retail-categories { gap: 5px; margin-bottom: 14px; }
  .retail-categories a { font-size: 11px; }
  .retail-categories a svg { width: 36px; height: 36px; padding: 7px; }
  .retail-filter-row { --retail-filter-padding: 5px; gap: 6px; }
  .retail-sort { --retail-sort-width: 104px; }
  .retail-filter-panel { width: min(560px, 100%); }
  .retail-card { border-radius: 13px; }
  .retail-card-media { border-radius: 9px; }
  .retail-card-body { padding: 8px; }
}

@media (prefers-reduced-motion: no-preference) {
  .retail-site { --retail-ease: cubic-bezier(.2,.8,.25,1); }

  @keyframes retail-rise {
    from { opacity: .35; translate: 0 8px; }
    to { opacity: 1; translate: 0 0; }
  }
  @keyframes retail-hero-image-in {
    from { opacity: .4; transform: translateY(14px) rotate(-4deg) scale(.96); }
    to { opacity: 1; transform: translateY(0) rotate(-9deg) scale(1); }
  }
  @keyframes retail-banner-in {
    from { opacity: .65; scale: 1.025; }
    to { opacity: 1; scale: 1; }
  }

  html:not([data-page-loading]) .retail-hero-content > :is(h1,p,a) {
    animation: retail-rise 460ms var(--retail-ease) backwards;
  }
  html:not([data-page-loading]) .retail-hero-content p { animation-delay: 65ms; }
  html:not([data-page-loading]) .retail-hero-content a { animation-delay: 120ms; }
  html:not([data-page-loading]) .retail-hero-visual img {
    animation: retail-hero-image-in 680ms var(--retail-ease) backwards;
  }
  html:not([data-page-loading]) .retail-banner-image {
    animation: retail-banner-in 600ms var(--retail-ease) backwards;
  }
  html:not([data-page-loading]) .retail-grid[aria-busy="false"] > .retail-card:nth-child(-n+5) {
    animation: retail-rise 320ms var(--retail-ease) backwards;
  }
  html:not([data-page-loading]) .retail-grid[aria-busy="false"] > .retail-card:nth-child(n+6) { animation: none; }
  html:not([data-page-loading]) .retail-grid[aria-busy="false"] > .retail-card:nth-child(2) { animation-delay: 30ms; }
  html:not([data-page-loading]) .retail-grid[aria-busy="false"] > .retail-card:nth-child(3) { animation-delay: 60ms; }
  html:not([data-page-loading]) .retail-grid[aria-busy="false"] > .retail-card:nth-child(4) { animation-delay: 90ms; }
  html:not([data-page-loading]) .retail-grid[aria-busy="false"] > .retail-card:nth-child(5) { animation-delay: 120ms; }
  html:not([data-page-loading]) .retail-site :is(.product-media68, .product-summary68, .services-intro68, .services-layout68) {
    animation: retail-rise 430ms var(--retail-ease) backwards;
  }
  html:not([data-page-loading]) .retail-site :is(.product-summary68,.services-layout68) { animation-delay: 75ms; }
  .product-gallery-choice68:checked + .product-gallery-thumb68 + .product-gallery-frame68,
  .retail-route-panel:not([aria-busy]) > :is(h1, .retail-panel, .retail-checkout-layout),
  :is(#checkout-layout,#account-layout):not([hidden]) { animation: retail-rise 280ms var(--retail-ease) backwards; }

  .retail-filter-row summary, .retail-menu summary, .retail-choice label {
    transition: background-color 180ms, color 180ms, border-color 180ms, box-shadow 180ms;
  }
  .retail-chevron, .retail-hero .retail-arrow, .product-image-open68 { transition: transform 220ms var(--retail-ease); }
  .retail-hero .retail-button:hover .retail-arrow { transform: translateX(-3px); }
  .product-gallery-open682:hover .product-image-open68 { transform: scale(1.08); }

  .retail-site .retail-dialog {
    opacity: 0;
    transform: translateY(8px) scale(.985);
    transition: opacity 180ms, transform 220ms var(--retail-ease), display 220ms allow-discrete, overlay 220ms allow-discrete;
  }
  .retail-site .retail-dialog[open] { animation: none; opacity: 1; transform: none; }
  .retail-site .retail-dialog::backdrop {
    opacity: 0;
    transition: opacity 180ms, display 220ms allow-discrete, overlay 220ms allow-discrete;
  }
  .retail-site .retail-dialog[open]::backdrop { animation: none; opacity: 1; }
  @starting-style {
    .retail-site .retail-dialog[open] { opacity: 0; transform: translateY(8px) scale(.985); }
    .retail-site .retail-dialog[open]::backdrop { opacity: 0; }
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .retail-card-media img { transition: transform 320ms var(--retail-ease); }
  .retail-card:hover .retail-card-media img { transform: scale(1.045); }
}

@media (prefers-reduced-motion: reduce) {
  .retail-card:hover, .retail-floating-cart:hover { transform: none; }
}
