:root {
  --store-font-family: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --store-bg: #ffffff;
  --store-surface: rgba(255, 255, 255, 0.96);
  --store-surface-strong: #ffffff;
  --store-text: #17191d;
  --store-muted: #6f7785;
  --store-line: rgba(22, 26, 33, 0.12);
  --store-indigo: #1f2937;
  --store-indigo-deep: #111827;
  --store-amber: #ff8a18;
  --store-nav-text: #000000;
  --store-shadow: 0 22px 55px rgba(15, 23, 42, 0.10);
  --store-shell-bg: var(--store-bg);
  --store-shell-text: var(--store-text);
  --store-shell-muted: var(--store-muted);
  --store-shell-line: var(--store-line);
  --store-nav-bg: rgba(255, 255, 255, 0.99);
  --store-nav-link: var(--store-nav-text);
  --store-nav-link-disabled: rgba(0, 0, 0, 0.38);
  --store-nav-shadow: 0 16px 32px rgba(15, 23, 42, 0.10);
  --store-skeleton-surface: #ffffff;
  --store-skeleton-panel: #ffffff;
  --store-skeleton-line: rgba(125, 138, 188, 0.20);
  --store-skeleton-a: rgba(227, 232, 244, 0.72);
  --store-skeleton-b: rgba(255, 255, 255, 0.94);
  --store-mega-bg:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    linear-gradient(90deg, color-mix(in srgb, var(--store-brand-primary, #111827) 8%, transparent), transparent 46%);
  --store-mega-panel: rgba(255, 255, 255, 0.86);
  --store-mega-feature-panel:
    linear-gradient(145deg, color-mix(in srgb, var(--store-brand-primary, #111827) 5%, #fff), #fff),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%);
  --store-mega-tile: rgba(255, 255, 255, 0.74);
  --store-mega-subtile:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.88)),
    linear-gradient(135deg, transparent 0 55%, rgba(17, 24, 39, 0.03) 55% 100%);
  --store-mega-icon-bg: #ffffff;
  --store-mega-text: #111827;
  --store-mega-muted: var(--store-muted);
  --store-mega-link: var(--store-brand-primary, #0875d1);
  --store-mega-hover-bg: rgba(8, 117, 209, 0.055);
  --store-mega-shadow: 0 24px 46px rgba(15, 23, 42, 0.14);
  --store-menu-bg: rgba(255, 255, 255, 0.98);
  --store-menu-text: #111827;
  --store-menu-muted: #667085;
  --store-menu-line: rgba(17, 24, 39, 0.12);
  --store-menu-hover: color-mix(in srgb, var(--store-brand-primary, #0875d1) 7%, #ffffff);
  --store-menu-primary-bg: var(--store-brand-primary, #0875d1);
  --store-menu-primary-text: #ffffff;
  --store-search-overlay-bg: #f8fafc;
  --store-search-overlay-text: #111827;
  --store-search-overlay-muted: #667085;
  --store-search-overlay-line: rgba(17, 24, 39, 0.12);
  --store-search-overlay-card: #ffffff;
  --store-search-overlay-thumb: #f3f6fb;
  --store-search-overlay-price: var(--store-brand-primary, #0875d1);
  --store-top-strip-height: 70px;
  --store-nav-height: 104px;
  --store-search-workspace-top: calc(var(--store-top-strip-height) + var(--store-nav-height));
}

html[data-storefront-appearance="dark"] {
  --store-bg: #101112;
  --store-surface: rgba(25, 25, 27, 0.94);
  --store-surface-strong: #18191b;
  --store-text: #f8fafc;
  --store-muted: #d1d5db;
  --store-line: rgba(255, 255, 255, 0.14);
  --store-shadow: 0 24px 54px rgba(0, 0, 0, 0.38);
  --store-shell-bg: #101112;
  --store-shell-text: #f8fafc;
  --store-shell-muted: #d1d5db;
  --store-shell-line: rgba(255, 255, 255, 0.14);
  --store-nav-bg: #141517;
  --store-nav-link: #f8fafc;
  --store-nav-link-disabled: rgba(248, 250, 252, 0.42);
  --store-nav-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
  --store-skeleton-surface: #1f2023;
  --store-skeleton-panel: #18191b;
  --store-skeleton-line: rgba(255, 255, 255, 0.13);
  --store-skeleton-a: rgba(36, 37, 40, 0.86);
  --store-skeleton-b: rgba(72, 73, 78, 0.70);
  --store-mega-bg:
    linear-gradient(135deg, rgba(17, 17, 18, 0.98), rgba(26, 26, 28, 0.96)),
    linear-gradient(90deg, color-mix(in srgb, var(--store-brand-primary, #4b5563) 14%, transparent), transparent 54%);
  --store-mega-panel: rgba(24, 25, 27, 0.92);
  --store-mega-feature-panel:
    linear-gradient(145deg, rgba(27, 27, 29, 0.96), rgba(17, 17, 18, 0.96)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 44%);
  --store-mega-tile: rgba(30, 31, 33, 0.76);
  --store-mega-subtile:
    linear-gradient(135deg, rgba(31, 32, 35, 0.90), rgba(24, 25, 27, 0.78)),
    linear-gradient(135deg, transparent 0 55%, rgba(255, 255, 255, 0.045) 55% 100%);
  --store-mega-icon-bg: rgba(255, 255, 255, 0.08);
  --store-mega-text: #f8fafc;
  --store-mega-muted: #d1d5db;
  --store-mega-link: #e5e7eb;
  --store-mega-hover-bg: rgba(255, 255, 255, 0.09);
  --store-mega-shadow: 0 24px 48px rgba(0, 0, 0, 0.38);
  --store-menu-bg: rgba(24, 25, 27, 0.96);
  --store-menu-text: #f8fafc;
  --store-menu-muted: #d1d5db;
  --store-menu-line: rgba(255, 255, 255, 0.14);
  --store-menu-hover: rgba(255, 255, 255, 0.08);
  --store-menu-primary-bg: #f8fafc;
  --store-menu-primary-text: #111827;
  --store-search-overlay-bg: #0b0d10;
  --store-search-overlay-text: #f8fafc;
  --store-search-overlay-muted: rgba(255, 255, 255, 0.62);
  --store-search-overlay-line: rgba(255, 255, 255, 0.14);
  --store-search-overlay-card: transparent;
  --store-search-overlay-thumb: #16181c;
  --store-search-overlay-price: #ff4a4a;
}

html[data-storefront-appearance="light"] {
  --store-shell-bg: var(--store-bg);
  --store-shell-text: var(--store-text);
  --store-shell-muted: var(--store-muted);
  --store-shell-line: var(--store-line);
  --store-nav-bg: rgba(255, 255, 255, 0.99);
  --store-nav-link: var(--store-nav-text);
  --store-nav-link-disabled: rgba(0, 0, 0, 0.38);
  --store-nav-shadow: 0 16px 32px rgba(15, 23, 42, 0.10);
  --store-skeleton-surface: #ffffff;
  --store-skeleton-panel: #ffffff;
  --store-skeleton-line: rgba(125, 138, 188, 0.20);
  --store-skeleton-a: rgba(227, 232, 244, 0.72);
  --store-skeleton-b: rgba(255, 255, 255, 0.94);
  --store-mega-bg:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)),
    linear-gradient(90deg, color-mix(in srgb, var(--store-brand-primary, #111827) 8%, transparent), transparent 46%);
  --store-mega-panel: rgba(255, 255, 255, 0.86);
  --store-mega-feature-panel:
    linear-gradient(145deg, color-mix(in srgb, var(--store-brand-primary, #111827) 5%, #fff), #fff),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%);
  --store-mega-tile: rgba(255, 255, 255, 0.74);
  --store-mega-subtile:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.88)),
    linear-gradient(135deg, transparent 0 55%, rgba(17, 24, 39, 0.03) 55% 100%);
  --store-mega-icon-bg: #ffffff;
  --store-mega-text: #111827;
  --store-mega-muted: var(--store-muted);
  --store-mega-link: var(--store-brand-primary, #0875d1);
  --store-mega-hover-bg: rgba(8, 117, 209, 0.055);
  --store-mega-shadow: 0 24px 46px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--store-font-family);
  color: var(--store-shell-text);
  background: var(--store-shell-bg);
}

html {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html {
    overflow-x: hidden;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.storefront-shell {
  max-width: 100%;
  margin: 0 auto;
  overflow-x: clip;
  padding: 0;
  color: var(--store-shell-text);
  background: var(--store-shell-bg);
}

@supports not (overflow: clip) {
  .storefront-shell {
    overflow-x: hidden;
  }
}

.storefront-top-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  min-height: var(--store-top-strip-height);
  padding: 0 max(28px, calc((100% - 1720px) / 2));
  color: rgba(255, 255, 255, 0.82);
  background: var(--store-brand-primary, #1e1e1e);
  font-size: 0.9rem;
  font-weight: 700;
}

.storefront-top-strip-copy {
  display: flex;
  align-items: center;
  min-width: 0;
}

.storefront-top-strip .storefront-top-actions {
  position: static;
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
}

.storefront-top-search {
  flex: 1 1 520px;
  grid-column: auto;
  justify-self: center;
  width: min(560px, 100%);
  max-width: 640px;
  margin: 8px auto;
  z-index: 430;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 10px 24px rgba(0, 0, 0, 0.14);
}

.storefront-top-strip .storefront-top-search + .storefront-top-actions {
  margin-left: 0;
}

.storefront-beta-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.storefront-appearance-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  align-items: center;
  flex: 0 0 auto;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.90);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.storefront-appearance-toggle:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--store-brand-accent, #ff8a18) 55%, transparent);
  outline-offset: 3px;
}

.storefront-appearance-toggle-option {
  grid-area: 1 / 1;
  display: none;
  place-items: center;
  min-width: 0;
  color: currentColor;
  line-height: 1;
  transition: opacity 180ms ease, transform 180ms ease;
}

html[data-storefront-appearance="light"] .storefront-appearance-toggle-option[data-storefront-appearance-label="dark"],
html[data-storefront-appearance="dark"] .storefront-appearance-toggle-option[data-storefront-appearance-label="light"] {
  display: grid;
}

.storefront-nav {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 560px) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  min-height: var(--store-nav-height);
  padding: 26px max(28px, calc((100% - 1720px) / 2)) 24px;
  border: 1px solid var(--store-shell-line);
  border-top: 0;
  border-radius: 0;
  color: var(--store-nav-link, #000);
  background: var(--store-nav-bg);
  box-shadow: var(--store-nav-shadow);
}

.storefront-nav-left {
  display: flex;
  align-items: center;
  grid-column: 1;
  gap: clamp(24px, 2.8vw, 46px);
  min-width: 0;
}

.storefront-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 14px;
  justify-self: start;
  color: var(--store-nav-link, #000);
}

.storefront-brand-logo {
  display: block;
  width: auto;
  max-width: 160px;
  max-height: 56px;
  height: auto;
  object-fit: contain;
}

.storefront-brand strong,
.storefront-brand small {
  display: block;
}

.storefront-brand strong {
  font-size: 1.2rem;
}

.storefront-brand small {
  color: var(--store-nav-link, #000);
  font-size: 0.94rem;
}

.storefront-brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 32px;
  border-radius: 8px 18px 8px 18px;
  color: #111;
  font-weight: 800;
  background: linear-gradient(135deg, var(--store-brand-primary, #111) 0 42%, var(--store-amber) 42% 100%);
  text-indent: -999px;
}

.storefront-nav-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  min-width: 0;
}

.storefront-nav-links > a,
.storefront-store-dropdown > a,
.storefront-nav-link-disabled {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  color: var(--store-nav-link, #000);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: inset 0 -1px 0 transparent;
  transform: translateY(0);
  transition:
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.storefront-nav-link-disabled {
  color: var(--store-nav-link-disabled);
  cursor: not-allowed;
  pointer-events: none;
}

.storefront-nav-links > a:hover,
.storefront-store-dropdown:hover > a,
.storefront-store-dropdown:focus-within > a,
.storefront-store-dropdown.is-open > a {
  color: var(--store-nav-link, #000);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--store-nav-link, #000);
  transform: translateY(-2px);
}

.storefront-nav-links > .storefront-nav-home,
.storefront-nav-link-disabled.storefront-nav-home,
.storefront-store-dropdown > .storefront-store-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.storefront-nav-home-icon,
.storefront-nav-store-icon {
  position: relative;
  display: inline-block;
  width: 0.92rem;
  height: 0.92rem;
  flex: 0 0 auto;
  color: currentColor;
}

.storefront-nav-home-icon::before {
  content: "";
  position: absolute;
  left: 0.11rem;
  top: 0.16rem;
  width: 0.62rem;
  height: 0.62rem;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-radius: 2px 0 0;
  transform: rotate(45deg);
}

.storefront-nav-home-icon::after {
  content: "";
  position: absolute;
  left: 0.22rem;
  right: 0.22rem;
  bottom: 0.1rem;
  height: 0.46rem;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 3px 3px;
}

.storefront-nav-store-icon::before {
  content: "";
  position: absolute;
  left: 0.14rem;
  right: 0.14rem;
  bottom: 0.1rem;
  height: 0.58rem;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.storefront-nav-store-icon::after {
  content: "";
  position: absolute;
  left: 0.31rem;
  right: 0.31rem;
  top: 0.1rem;
  height: 0.36rem;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.storefront-nav-links > .storefront-nav-firesale,
.storefront-store-dropdown > .storefront-nav-firesale,
.storefront-nav-link-disabled.storefront-nav-firesale,
.storefront-nav-links > .storefront-nav-whats-new,
.storefront-nav-link-disabled.storefront-nav-whats-new {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.storefront-nav-links > .storefront-nav-firesale,
.storefront-store-dropdown > .storefront-nav-firesale,
.storefront-nav-link-disabled.storefront-nav-firesale {
  color: var(--store-firesale-nav, #dc2626);
}

.storefront-nav-links > .storefront-nav-firesale:hover,
.storefront-store-dropdown:hover > .storefront-nav-firesale,
.storefront-store-dropdown:focus-within > .storefront-nav-firesale,
.storefront-store-dropdown.is-open > .storefront-nav-firesale {
  color: var(--store-firesale-nav, #dc2626);
  box-shadow: inset 0 -2px 0 currentColor;
}

.storefront-nav-links > .storefront-nav-whats-new,
.storefront-nav-link-disabled.storefront-nav-whats-new {
  color: #16a34a;
}

.storefront-nav-links > .storefront-nav-whats-new:hover {
  color: #15803d;
  box-shadow: inset 0 -2px 0 currentColor;
}

.storefront-nav-link-disabled.storefront-nav-firesale {
  color: rgba(220, 38, 38, 0.55);
}

.storefront-nav-link-disabled.storefront-nav-whats-new {
  color: rgba(22, 163, 74, 0.55);
}

.storefront-nav-new-icon {
  position: relative;
  display: inline-block;
  width: 0.86rem;
  height: 0.86rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14), 0 6px 12px rgba(22, 163, 74, 0.24);
}

.storefront-nav-new-icon::after {
  content: "";
  position: absolute;
  inset: 0.22rem;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.82);
}

.storefront-nav-fire-icon {
  position: relative;
  display: inline-block;
  width: 0.74rem;
  height: 0.94rem;
  flex: 0 0 auto;
  transform-origin: 50% 100%;
  animation: storefront-fire-flicker 1.05s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(220, 38, 38, 0.24));
}

.storefront-nav-fire-icon::before,
.storefront-nav-fire-icon::after {
  content: "";
  position: absolute;
  transform: rotate(-45deg);
}

.storefront-nav-fire-icon::before {
  inset: 0.08rem 0.08rem 0;
  border-radius: 70% 12% 70% 70%;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 52%, #f59e0b 100%);
}

.storefront-nav-fire-icon::after {
  left: 0.28rem;
  right: 0.18rem;
  bottom: 0.09rem;
  height: 0.48rem;
  border-radius: 70% 12% 70% 70%;
  background: linear-gradient(135deg, #fde68a 0%, #fb923c 100%);
}

@keyframes storefront-fire-flicker {
  0%,
  100% {
    transform: scale(1) rotate(-2deg);
  }

  45% {
    transform: scale(1.08, 0.96) rotate(2deg);
  }

  70% {
    transform: scale(0.96, 1.06) rotate(-1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .storefront-nav-fire-icon {
    animation: none;
  }
}

.storefront-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.storefront-nav-search {
  position: relative;
  z-index: 140;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  grid-column: 2;
  justify-self: center;
  width: min(560px, 100%);
  min-width: 0;
  border: 1px solid rgba(17, 24, 39, 0.13);
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 12px 26px rgba(15, 23, 42, 0.08);
}

.storefront-page-videos {
  display: grid;
  gap: 0;
  width: min(100%, 1776px);
  margin: 0 0 clamp(20px, 2.4vw, 42px);
  padding: 0;
  justify-self: center;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: #05070d;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.storefront-page-video {
  position: relative;
  display: grid;
  gap: 0;
  overflow: hidden;
  background: #05070d;
}

.storefront-page-video video {
  display: block;
  width: 100%;
  height: clamp(260px, 37.5vw, 640px);
  max-height: 640px;
  object-fit: var(--storefront-video-fit, cover);
  object-position: var(--storefront-video-position, center);
  border: 0;
  border-radius: 0;
  background: #0f1115;
  box-shadow: none;
}

.storefront-page-video-copy {
  position: absolute;
  left: clamp(24px, 5vw, 92px);
  bottom: clamp(42px, 5vw, 84px);
  z-index: 1;
  display: grid;
  gap: 4px;
  max-width: 860px;
  color: #fff;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

.storefront-page-video-copy strong {
  font-size: clamp(1.1rem, 1.8vw, 1.8rem);
  font-weight: 900;
}

.storefront-page-video-copy span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.6;
}

.storefront-nav-search:focus-within {
  border-color: color-mix(in srgb, var(--store-brand-primary, #111827) 38%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--store-brand-primary, #111827) 12%, transparent), 0 14px 28px rgba(15, 23, 42, 0.10);
}

.storefront-nav-search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px 0 0 6px;
  color: #000;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  outline: 0;
}

.storefront-nav-search:has(.storefront-nav-search-rolodex.is-visible) input::placeholder {
  color: transparent;
}

.storefront-nav-search-rolodex {
  position: absolute;
  left: 14px;
  right: 112px;
  top: 50%;
  z-index: 1;
  display: block;
  overflow: hidden;
  color: #5f6f86;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-overflow: ellipsis;
  transform: translateY(calc(-50% + 4px));
  white-space: nowrap;
}

.storefront-nav-search-rolodex.is-visible {
  opacity: 1;
}

.storefront-nav-search-rolodex.is-changing {
  animation: storefront-search-rolodex 420ms ease both;
}

.storefront-nav-search-rolodex::before {
  content: attr(data-type);
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 22px;
  margin-right: 8px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--store-brand-primary, #0875d1);
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 9%, #fff);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: middle;
}

@keyframes storefront-search-rolodex {
  0% {
    opacity: 0;
    transform: translateY(calc(-50% + 9px));
  }

  100% {
    opacity: 1;
    transform: translateY(-50%);
  }
}

.storefront-nav-search button {
  display: grid;
  place-items: center;
  min-width: 86px;
  height: 36px;
  margin-right: 4px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--store-brand-primary, #111827);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.storefront-nav-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  right: auto;
  z-index: 150;
  overflow: hidden;
  width: min(760px, calc(100vw - 32px));
  max-height: min(76vh, 680px);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.22);
  transform: translateX(-50%);
}

.storefront-nav-search-results[hidden],
.storefront-nav-search-skeleton[hidden],
.storefront-nav-search-empty[hidden] {
  display: none;
}

.storefront-nav-search-list {
  display: grid;
  max-height: min(76vh, 680px);
  overflow: auto;
}

.storefront-nav-search-group {
  display: grid;
  border-bottom: 1px solid rgba(17, 24, 39, 0.1);
}

.storefront-nav-search-group:last-child {
  border-bottom: 0;
}

.storefront-nav-search-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px 10px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--store-brand-primary, #0875d1) 9%, #fff), #fff);
}

.storefront-nav-search-group-head span {
  color: var(--store-brand-primary, #0875d1);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storefront-nav-search-group-head a {
  color: #111827;
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
}

.storefront-nav-search-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 88px;
  padding: 14px 16px;
  color: #111827;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  background: #fff;
  transition: background 140ms ease;
}

.storefront-nav-search-item:last-child {
  border-bottom: 0;
}

.storefront-nav-search-item:hover,
.storefront-nav-search-item:focus {
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 7%, #fff);
  outline: 0;
}

.storefront-nav-search-item--shortcut .storefront-nav-search-thumb {
  color: var(--store-brand-primary, #0875d1);
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 8%, #fff);
}

.storefront-nav-search-item--brands .storefront-nav-search-thumb {
  color: var(--store-brand-primary, #0875d1);
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 10%, #fff);
}

.storefront-nav-search-item--orders .storefront-nav-search-thumb {
  color: #9a3412;
  background: #fff7ed;
}

.storefront-nav-search-thumb {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 64px;
  height: 64px;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.09);
  border-radius: 6px;
  background: #fff;
}

.storefront-nav-search-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.storefront-nav-search-thumb span {
  color: var(--store-brand-primary, #0875d1);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.storefront-nav-search-copy {
  display: grid;
  align-content: center;
  min-width: 0;
}

.storefront-nav-search-copy strong,
.storefront-nav-search-copy span,
.storefront-nav-search-price {
  display: block;
}

.storefront-nav-search-copy strong {
  overflow: hidden;
  color: #111827;
  font-size: 0.92rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-nav-search-copy span {
  overflow: hidden;
  margin-top: 3px;
  color: var(--store-muted);
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-nav-search-price {
  color: #111827;
  font-size: 0.84rem;
  font-weight: 900;
  white-space: nowrap;
}

.storefront-nav-search-empty {
  padding: 16px;
  color: var(--store-muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.storefront-nav-search-skeleton {
  display: grid;
  gap: 0;
  padding: 6px 0;
}

.storefront-nav-search-skeleton span {
  display: block;
  height: 52px;
  margin: 8px 12px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--store-skeleton-a), var(--store-skeleton-b), var(--store-skeleton-a));
  background-size: 220% 100%;
  animation: storefront-skeleton-shimmer 1.2s ease-in-out infinite;
}

@media (max-width: 720px) {
  .storefront-nav-search-rolodex {
    left: 12px;
    right: 86px;
    font-size: 0.78rem;
  }

  .storefront-nav-search-rolodex::before {
    min-width: 44px;
    height: 20px;
    margin-right: 6px;
    padding: 0 7px;
    font-size: 0.58rem;
  }

  .storefront-nav-search-results {
    top: calc(100% + 8px);
    width: calc(100vw - 20px);
    max-height: min(70vh, 560px);
  }

  .storefront-nav-search-list {
    max-height: min(70vh, 560px);
  }

  .storefront-nav-search-group-head {
    padding: 10px 12px 8px;
  }

  .storefront-nav-search-item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    min-height: 76px;
    padding: 12px;
  }

  .storefront-nav-search-thumb {
    width: 52px;
    height: 52px;
  }

  .storefront-nav-search-thumb img {
    max-width: 46px;
    max-height: 46px;
  }

  .storefront-nav-search-price {
    grid-column: 2;
    justify-self: start;
  }
}

.storefront-store-dropdown {
  position: static;
  display: flex;
  align-items: center;
}

.storefront-mega-menu::before {
  position: absolute;
  left: 0;
  top: -42px;
  width: 100%;
  height: 42px;
  content: "";
}

.storefront-main {
  display: grid;
  gap: 22px;
  min-width: 0;
  max-width: 100%;
  overflow-x: clip;
  padding-bottom: 48px;
  color: var(--store-shell-text);
  background: var(--store-shell-bg);
}

.storefront-mobile-menu-trigger {
  display: none;
  place-items: center;
  gap: 4px;
  width: 44px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--store-brand-primary, #111827) 24%, rgba(255, 255, 255, 0.28));
  border-radius: 8px;
  color: var(--store-nav-link, #000);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent),
    color-mix(in srgb, var(--store-nav-bg, #fff) 88%, var(--store-brand-primary, #111827) 12%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 26px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.storefront-mobile-menu-trigger:hover {
  border-color: color-mix(in srgb, var(--store-brand-accent, #ff8a18) 58%, var(--store-brand-primary, #111827));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 34px rgba(0, 0, 0, 0.20);
  transform: translateY(-1px);
}

.storefront-mobile-menu-trigger:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--store-brand-accent, #ff8a18) 46%, transparent);
  outline-offset: 3px;
}

.storefront-nav-filter-button {
  display: none;
  place-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(17, 24, 39, 0.13);
  border-radius: 6px;
  color: #111827;
  background: #fff;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.storefront-mobile-menu-trigger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.storefront-mobile-menu-trigger span:nth-child(2) {
  width: 14px;
}

.storefront-mobile-menu-trigger span:nth-child(3) {
  width: 10px;
}

.storefront-mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 520;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(6px);
  touch-action: none;
}

.storefront-mobile-menu-backdrop[hidden],
.storefront-mobile-menu[hidden] {
  display: none;
}

.storefront-mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 530;
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: 100%;
  grid-template-rows: auto auto auto auto minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: min(520px, 100dvw);
  min-width: 0;
  max-width: 100dvw;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 18px;
  color: #111827;
  background: #fff;
  box-shadow: 24px 0 60px rgba(15, 23, 42, 0.28);
  transform: translateX(calc(-100% - 24px));
  visibility: hidden;
  pointer-events: none;
  transition: transform 220ms ease, visibility 220ms ease;
}

.storefront-mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.storefront-mobile-menu > * {
  min-width: 0;
  grid-column: 1;
}

body.storefront-mobile-menu-open {
  overflow: hidden;
}

html:has(body.storefront-mobile-menu-open),
html:has(body.storefront-filter-drawer-open),
html:has(body.storefront-account-drawer-open),
html:has(body.storefront-search-workspace-open) {
  overflow: hidden;
  overscroll-behavior: none;
}

body.storefront-mobile-menu-open,
body.storefront-filter-drawer-open,
body.storefront-account-drawer-open,
body.storefront-search-workspace-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.storefront-mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.storefront-mobile-menu-header div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.storefront-mobile-menu-header strong {
  overflow: hidden;
  font-size: 1.05rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-mobile-menu-header button,
.storefront-mobile-account-links a,
.storefront-mobile-account-links button,
.storefront-mobile-primary-links a,
.storefront-mobile-primary-links button,
.storefront-mobile-view-all {
  display: grid;
  place-items: center;
  min-height: 40px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 6px;
  color: #111827;
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.storefront-mobile-menu-header button {
  padding: 0 12px;
}

.storefront-mobile-account {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 8px;
  background: #f8fafc;
}

.storefront-mobile-account-heading {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.storefront-mobile-account-heading .storefront-profile-avatar {
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--store-brand-primary, #111827);
}

.storefront-mobile-account-heading strong,
.storefront-mobile-account-heading span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-mobile-account-heading span {
  margin-top: 2px;
  color: var(--store-muted);
  font-size: 0.78rem;
}

.storefront-mobile-account-links,
.storefront-mobile-primary-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
  gap: 8px;
}

.storefront-mobile-primary-links a,
.storefront-mobile-primary-links button,
.storefront-mobile-primary-link-disabled {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 9px 10px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 8px;
  color: #111827;
  background: rgba(248, 250, 252, 0.92);
  font: inherit;
  text-decoration: none;
}

.storefront-mobile-primary-links button {
  cursor: pointer;
}

.storefront-mobile-primary-links a > span,
.storefront-mobile-primary-links button > span,
.storefront-mobile-primary-link-disabled > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  color: #fff;
  background: var(--store-brand-primary, #111827);
  font-size: 0.72rem;
  font-weight: 950;
}

.storefront-mobile-primary-links strong {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-mobile-category--firesale summary > span,
.storefront-mobile-category--firesale .storefront-mobile-subcategory-thumb {
  color: var(--store-firesale-nav, #dc2626);
  background: color-mix(in srgb, var(--store-firesale-nav, #dc2626) 10%, #fff);
}

.storefront-mobile-category--firesale summary > span .storefront-nav-fire-icon {
  color: var(--store-firesale-nav, #dc2626);
}

.storefront-mobile-primary-link-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.storefront-mobile-account-links form {
  margin: 0;
}

.storefront-mobile-account-links button {
  width: 100%;
  color: #fff;
  background: #111827;
}

.storefront-mobile-product-search {
  position: relative;
  z-index: 1;
  width: 100%;
}

.storefront-mobile-catalog {
  display: grid;
  gap: 12px;
  min-height: 0;
}

.storefront-mobile-catalog-heading {
  display: grid;
  gap: 10px;
}

.storefront-mobile-catalog-heading input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 6px;
  color: #111827;
  background: #fff;
  font: inherit;
}

.storefront-mobile-category-list {
  display: grid;
  gap: 8px;
}

.storefront-mobile-category[hidden] {
  display: none;
}

.storefront-mobile-category {
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 8px;
  background: #fff;
}

.storefront-mobile-category summary {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 62px;
  padding: 9px 10px;
  cursor: pointer;
  list-style: none;
}

.storefront-mobile-category summary::-webkit-details-marker {
  display: none;
}

.storefront-mobile-category summary > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 6px;
  color: var(--store-brand-primary, #111827);
  background: #f8fafc;
  font-weight: 900;
}

.storefront-mobile-category img {
  display: block;
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
}

.storefront-mobile-category strong {
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-mobile-category small {
  color: var(--store-muted);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.storefront-mobile-subcategory-list {
  display: grid;
  gap: 6px;
  max-height: 260px;
  overflow-y: auto;
  padding: 0 10px 10px 64px;
}

.storefront-mobile-subcategory-list a {
  display: block;
  overflow: hidden;
  padding: 9px 10px;
  border-radius: 6px;
  color: #111827;
  background: #f8fafc;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@supports not (overflow: clip) {
  .storefront-main {
    overflow-x: hidden;
  }
}

.storefront-main.is-route-loading {
  position: relative;
  min-height: calc(100vh - 180px);
}

html[data-storefront-appearance="dark"] .storefront-main > h1,
html[data-storefront-appearance="dark"] .storefront-main > h2,
html[data-storefront-appearance="dark"] .storefront-section-heading,
html[data-storefront-appearance="dark"] .storefront-commerce-layout > h1,
html[data-storefront-appearance="dark"] .storefront-cart-page > h1,
html[data-storefront-appearance="dark"] .storefront-checkout-page > h1,
html[data-storefront-appearance="dark"] .storefront-orders-heading h1,
html[data-storefront-appearance="dark"] .storefront-members-heading h1 {
  color: var(--store-shell-text);
}

.storefront-hero,
.storefront-panel {
  padding: 28px 32px;
  border: 1px solid var(--store-line);
  border-radius: 30px;
  background: var(--store-surface);
  box-shadow: var(--store-shadow);
  backdrop-filter: blur(18px);
}

.storefront-hero {
  display: grid;
  min-height: 360px;
  place-items: center;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(6, 10, 18, 0.34), rgba(6, 10, 18, 0.58)),
    radial-gradient(circle at 30% 35%, rgba(255, 255, 255, 0.22), transparent 16%),
    linear-gradient(150deg, #101820 0%, #243241 38%, #6f7d89 56%, #d5dce2 100%);
  box-shadow: none;
}

.storefront-hero-copy {
  max-width: 860px;
  padding: 0 24px;
  color: #fff;
  text-align: center;
}

.storefront-hero-copy .storefront-kicker,
.storefront-hero-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.storefront-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--store-indigo);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storefront-hero h1,
.storefront-panel h2,
.storefront-card h3,
.storefront-product-card h3 {
  margin: 0;
}

.storefront-hero h1 {
  font-size: clamp(2.4rem, 5vw, 5rem);
  letter-spacing: -0.06em;
}

.storefront-hero p,
.storefront-card p,
.storefront-message,
.storefront-context-card p {
  color: var(--store-muted);
}

.storefront-login-screen {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 22px;
  min-height: calc(100vh - 142px);
  padding: clamp(42px, 7vh, 82px) 24px 64px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--store-brand-primary, #111827) 7%, #fff), #fff 46%),
    #fff;
}

.storefront-login-copy {
  max-width: 720px;
  text-align: center;
}

.storefront-login-copy h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  letter-spacing: -0.06em;
}

.storefront-login-copy p {
  margin: 16px auto 0;
  max-width: 620px;
  color: var(--store-muted);
  font-size: 1.05rem;
}

.storefront-login-card {
  display: grid;
  gap: 18px;
  width: min(980px, 100%);
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid color-mix(in srgb, var(--store-brand-primary, #111827) 16%, rgba(125, 138, 188, 0.24));
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)),
    #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.storefront-login-card-heading,
.storefront-login-recovery-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  min-width: 0;
}

.storefront-login-card-heading span,
.storefront-login-recovery-heading span {
  color: color-mix(in srgb, var(--store-brand-primary, #111827) 70%, var(--store-muted));
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storefront-login-card-heading h2,
.storefront-login-recovery-heading strong {
  margin: 0;
  color: #111827;
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: 0;
}

.storefront-login-form {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(240px, 340px) auto;
  gap: 18px;
  align-items: end;
}

.storefront-login-card h2 {
  margin: 0;
  font-size: 1.5rem;
}

.storefront-login-card p {
  margin: 8px 0 0;
  color: var(--store-muted);
}

.storefront-login-card label {
  display: grid;
  gap: 8px;
}

.storefront-login-card label > span:not(.storefront-password-field) {
  color: var(--store-indigo-deep);
  font-size: 0.85rem;
  font-weight: 800;
}

.storefront-password-field {
  position: relative;
  display: block;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.storefront-password-field input {
  padding-right: 76px;
}

.storefront-password-field button {
  position: absolute;
  top: 50%;
  right: 8px;
  min-height: 34px;
  padding: 0 12px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: #111827;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.storefront-login-card input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(125, 138, 188, 0.34);
  border-radius: 6px;
  font: inherit;
  color: var(--store-text);
  background: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.storefront-login-recovery {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 24, 39, 0.09);
}

.storefront-password-reset {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(125, 138, 188, 0.22);
  border-radius: 8px;
  color: var(--store-muted);
  background: rgba(255, 255, 255, 0.74);
}

.storefront-password-reset summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
  padding: 0 16px;
  cursor: pointer;
  color: #111827;
  font-weight: 900;
  list-style: none;
}

.storefront-password-reset summary::-webkit-details-marker {
  display: none;
}

.storefront-password-reset summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  color: var(--store-brand-primary, #111827);
  background: #fff;
  font-size: 1rem;
}

.storefront-password-reset[open] summary {
  border-bottom: 1px solid rgba(125, 138, 188, 0.18);
  background: color-mix(in srgb, var(--store-brand-primary, #111827) 5%, #fff);
}

.storefront-password-reset[open] summary::after {
  content: "-";
}

.storefront-password-reset form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  align-items: end;
  margin-top: 0;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: rgba(248, 250, 252, 0.74);
}

.storefront-password-reset label {
  display: grid;
  gap: 8px;
}

.storefront-password-reset label span {
  color: var(--store-indigo-deep);
  font-size: 0.85rem;
  font-weight: 800;
}

.storefront-password-reset input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(125, 138, 188, 0.35);
  border-radius: 6px;
  font: inherit;
  color: var(--store-text);
  background: #fff;
}

.storefront-login-card .storefront-button {
  min-height: 48px;
  border-radius: 6px;
  font-weight: 950;
}

.storefront-login-card .storefront-button--secondary {
  color: #fff;
  border-color: color-mix(in srgb, var(--store-brand-primary, #111827) 84%, #000);
  background: color-mix(in srgb, var(--store-brand-primary, #111827) 88%, #111827);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--store-brand-primary, #111827) 18%, transparent);
}

.storefront-top-actions {
  position: fixed;
  top: 11px;
  right: max(28px, calc((100% - 1720px) / 2));
  z-index: 420;
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(17, 24, 39, 0.32);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.storefront-nav > .storefront-top-actions {
  position: static;
  grid-column: 3;
  justify-self: end;
  align-self: center;
}

.storefront-top-action-button {
  display: none;
  place-items: center;
  min-width: 42px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.storefront-top-action-button--menu {
  gap: 4px;
  padding: 0;
}

.storefront-top-action-button--menu span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.storefront-top-actions .storefront-appearance-toggle {
  min-height: 34px;
  border-color: rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.10);
}

.storefront-profile-menu {
  position: relative;
}

.storefront-profile-menu summary::-webkit-details-marker {
  display: none;
}

.storefront-profile-chip {
  display: grid;
  grid-template-columns: 24px minmax(0, auto) 12px;
  gap: 8px;
  align-items: center;
  width: max-content;
  max-width: min(360px, calc(100dvw - 124px));
  min-height: 34px;
  padding: 4px 9px 4px 5px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.10);
  box-shadow: none;
  backdrop-filter: none;
  cursor: pointer;
  list-style: none;
}

.storefront-mini-cart {
  position: relative;
}

.storefront-mini-cart summary {
  display: inline-grid;
  grid-template-columns: 24px auto;
  gap: 7px;
  align-items: center;
  height: 34px;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: none;
  cursor: pointer;
  list-style: none;
}

.storefront-mini-cart summary::-webkit-details-marker {
  display: none;
}

.storefront-mini-cart-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  color: #111827;
  background: #fff;
  font-size: 0.62rem;
  font-weight: 900;
}

.storefront-mini-cart summary strong {
  font-size: 0.84rem;
}

.storefront-mini-cart-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 260;
  width: min(360px, calc(100dvw - 36px));
  padding: 16px;
  border-radius: 8px;
  color: var(--store-menu-text);
  background: var(--store-menu-bg);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.28);
}

.storefront-mini-cart[open] summary,
.storefront-profile-menu[open] .storefront-profile-chip {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.18);
}

.storefront-mini-cart-empty {
  margin: 0;
  color: var(--store-menu-muted);
  font-weight: 700;
}

.storefront-mini-cart-line {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--store-menu-line);
}

.storefront-mini-cart-line + .storefront-mini-cart-line {
  padding-top: 14px;
}

.storefront-mini-cart-line strong {
  font-size: 0.82rem;
}

.storefront-mini-cart-line span {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  min-height: 28px;
  margin-top: 6px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 8px;
  color: var(--store-menu-muted);
  font-weight: 700;
}

.storefront-mini-cart-line-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.storefront-mini-cart-line-meta span {
  margin-top: 0;
}

.storefront-mini-cart-remove-form {
  margin: 0;
}

.storefront-mini-cart-remove-form button {
  min-height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(138, 47, 47, 0.16);
  border-radius: 7px;
  color: #8a2f2f;
  background: rgba(138, 47, 47, 0.06);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}

.storefront-mini-cart-remove-form button:hover,
.storefront-mini-cart-remove-form button:focus {
  background: rgba(138, 47, 47, 0.12);
}

.storefront-mini-cart-image {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--store-menu-line);
  border-radius: 6px;
  background: #fff;
}

.storefront-mini-cart-image img {
  max-width: 46px;
  max-height: 46px;
  object-fit: contain;
}

.storefront-mini-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  color: var(--store-menu-muted);
  text-transform: uppercase;
}

.storefront-mini-cart-total strong {
  color: var(--store-menu-text);
}

.storefront-mini-cart-primary {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 4px;
  color: var(--store-menu-primary-text);
  background: var(--store-menu-primary-bg);
  font-weight: 900;
}

.storefront-mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 120;
  width: min(100vw, 1920px);
  max-height: min(620px, calc(100vh - 150px));
  min-height: 310px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 12px);
  border-top: 1px solid var(--store-shell-line);
  border-bottom: 1px solid var(--store-shell-line);
  color: var(--store-mega-text);
  background: var(--store-mega-bg);
  box-shadow: var(--store-mega-shadow);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.storefront-mega-menu::-webkit-scrollbar {
  width: 10px;
}

.storefront-mega-menu::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--store-mega-panel) 78%, transparent);
}

.storefront-mega-menu::-webkit-scrollbar-thumb {
  border: 2px solid var(--store-mega-panel);
  border-radius: 999px;
  background: color-mix(in srgb, var(--store-mega-text) 34%, transparent);
}

.storefront-store-dropdown.is-open .storefront-mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.storefront-store-dropdown.is-closing .storefront-mega-menu {
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
}

.storefront-mega-menu-inner {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(620px, 1fr) minmax(300px, 400px);
  gap: 24px;
  width: min(1840px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 32px;
  max-height: min(620px, calc(100vh - 150px));
  min-height: 0;
}

.storefront-mega-menu a {
  color: var(--store-mega-text);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.storefront-mega-rail,
.storefront-mega-ranges,
.storefront-mega-feature {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 304px;
  min-width: 0;
  max-height: calc(min(620px, calc(100vh - 150px)) - 58px);
  padding: 18px;
  border: 1px solid var(--store-shell-line);
  border-radius: 6px;
  color: var(--store-mega-text);
  background: var(--store-mega-panel);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.storefront-mega-rail,
.storefront-mega-ranges {
  grid-template-rows: auto minmax(0, 1fr);
}

.storefront-mega-eyebrow {
  color: color-mix(in srgb, var(--store-brand-primary, #111827) 62%, var(--store-mega-muted));
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.storefront-mega-rail-list {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 4px 4px 0;
  scrollbar-gutter: stable;
}

.storefront-mega-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 0;
  align-items: stretch;
  min-height: 72px;
  padding: 0;
  border: 1px solid var(--store-shell-line);
  border-radius: 6px;
  background: var(--store-mega-subtile);
  color: var(--store-mega-text);
  transition: none;
}

.storefront-mega-menu .storefront-mega-category,
.storefront-mega-menu .storefront-mega-category-link,
.storefront-mega-menu .storefront-mega-category-icon,
.storefront-mega-menu .storefront-mega-category strong,
.storefront-mega-menu .storefront-mega-category small,
.storefront-mega-menu .storefront-mega-category-toggle {
  transition: none;
}

.storefront-mega-category-link {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon meta";
  gap: 2px 10px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  color: var(--store-mega-text);
  text-decoration: none;
}

.storefront-mega-category-icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  color: var(--store-mega-link);
  background: var(--store-mega-icon-bg);
  border: 1px solid var(--store-shell-line);
  font-size: 0.82rem;
  font-weight: 900;
}

.storefront-mega-category strong {
  grid-area: title;
  justify-self: stretch;
  overflow: hidden;
  color: var(--store-mega-text);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.94rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.storefront-mega-category small {
  grid-area: meta;
  justify-self: stretch;
  color: var(--store-mega-muted);
  font-size: 0.75rem;
  line-height: 1.2;
  text-align: left;
}

.storefront-mega-category-toggle {
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 42px;
  min-width: 42px;
  margin: 0;
  border: 0;
  border-left: 1px solid var(--store-shell-line);
  border-radius: 0 5px 5px 0;
  color: var(--store-mega-link);
  background: color-mix(in srgb, var(--store-mega-icon-bg) 72%, transparent);
  cursor: pointer;
  font: inherit;
}

.storefront-mega-category-toggle span {
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
}

.storefront-mega-category:hover,
.storefront-mega-category:focus-within {
  border-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 74%, var(--store-shell-line));
  background: color-mix(in srgb, var(--store-mega-hover-bg) 72%, var(--store-brand-primary, #0875d1) 8%);
  transform: none;
}

.storefront-mega-category.is-pending,
.storefront-mega-category.is-active {
  border-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 82%, var(--store-shell-line));
  background: color-mix(in srgb, var(--store-mega-hover-bg) 68%, var(--store-brand-primary, #0875d1) 10%);
  transform: none;
}

.storefront-mega-category.is-active .storefront-mega-category-toggle,
.storefront-mega-category-toggle:hover,
.storefront-mega-category-toggle:focus-visible {
  border-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 74%, var(--store-shell-line));
  color: var(--store-brand-primary, #0875d1);
  background: color-mix(in srgb, var(--store-mega-hover-bg) 76%, var(--store-brand-primary, #0875d1) 10%);
}

.storefront-mega-subcategory:hover,
.storefront-mega-feature-tile:hover,
.storefront-mega-more:hover {
  border-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 74%, var(--store-shell-line));
  background: color-mix(in srgb, var(--store-mega-hover-bg) 72%, var(--store-brand-primary, #0875d1) 8%);
  transform: translateX(2px);
}

.storefront-mega-section-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.storefront-mega-section-header a {
  color: var(--store-mega-link);
  font-size: 0.78rem;
  font-weight: 900;
}

.storefront-mega-section-header strong {
  min-width: 0;
  overflow: hidden;
  color: var(--store-mega-text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 900;
}

.storefront-mega-subcategory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 4px 4px 0;
  scrollbar-gutter: stable;
}

.storefront-mega-rail-list::-webkit-scrollbar,
.storefront-mega-subcategory-grid::-webkit-scrollbar {
  width: 8px;
}

.storefront-mega-rail-list::-webkit-scrollbar-track,
.storefront-mega-subcategory-grid::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--store-mega-panel) 78%, transparent);
  border-radius: 999px;
}

.storefront-mega-rail-list::-webkit-scrollbar-thumb,
.storefront-mega-subcategory-grid::-webkit-scrollbar-thumb {
  border: 2px solid var(--store-mega-panel);
  border-radius: 999px;
  background: color-mix(in srgb, var(--store-mega-text) 28%, transparent);
}

.storefront-mega-subcategory {
  display: none;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon meta";
  gap: 2px 10px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--store-shell-line);
  border-radius: 6px;
  color: var(--store-mega-text);
  background: var(--store-mega-subtile);
}

.storefront-mega-subcategory.is-visible {
  display: grid;
}

.storefront-mega-subcategory span {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 4px;
  color: var(--store-mega-link);
  background: var(--store-mega-icon-bg);
  border: 1px solid var(--store-shell-line);
  font-size: 0.82rem;
  font-weight: 900;
}

.storefront-mega-category-icon img,
.storefront-mega-subcategory span img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.storefront-mega-subcategory strong {
  grid-area: title;
  justify-self: stretch;
  overflow: hidden;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--store-mega-text);
  font-size: 0.88rem;
  line-height: 1.2;
}

.storefront-mega-subcategory small {
  grid-area: meta;
  justify-self: stretch;
  overflow: hidden;
  color: var(--store-mega-muted);
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.74rem;
  line-height: 1.2;
}

.storefront-mega-category--brands .storefront-mega-category-icon,
.storefront-mega-brand-card span {
  border-radius: 8px;
  color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 78%, var(--store-mega-text));
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.88)),
    #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.storefront-mega-category--brands .storefront-mega-category-icon img,
.storefront-mega-brand-card span img {
  padding: 5px;
  background: #fff;
  object-fit: contain;
}

.storefront-mega-brand-card {
  min-height: 76px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--store-brand-primary, #0875d1) 8%, transparent), transparent 48%),
    var(--store-mega-subtile);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.045);
}

.storefront-mega-brand-card span {
  width: 46px;
  height: 46px;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.storefront-mega-brand-card strong {
  font-size: 0.92rem;
  font-weight: 900;
}

.storefront-mega-brand-card small {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 100%;
  padding: 0 8px;
  border: 1px solid color-mix(in srgb, var(--store-brand-primary, #0875d1) 20%, var(--store-shell-line));
  border-radius: 999px;
  color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 58%, var(--store-mega-muted));
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 8%, var(--store-mega-panel));
  font-size: 0.7rem;
  font-weight: 850;
}

.storefront-mega-feature {
  gap: 12px;
  background: var(--store-mega-feature-panel);
}

.storefront-mega-feature-tile,
.storefront-mega-more {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 6px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--store-shell-line);
  border-radius: 6px;
  color: var(--store-mega-text);
  background: var(--store-mega-tile);
}

.storefront-mega-feature-tile--primary {
  color: #fff;
  border-color: transparent;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--store-brand-primary, #111827) 92%, #111827), #111827),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

.storefront-mega-feature-tile--new {
  border-color: rgba(22, 163, 74, 0.28);
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.16), transparent 48%),
    var(--store-mega-tile);
}

.storefront-mega-feature-tile--new strong {
  color: #15803d;
}

.storefront-mega-feature-tile strong,
.storefront-mega-more strong {
  color: var(--store-mega-text);
  font-size: 0.98rem;
  line-height: 1.2;
}

.storefront-mega-feature-tile--new strong {
  color: #15803d;
}

.storefront-mega-feature-tile--primary strong {
  color: #fff;
}

.storefront-mega-feature-tile small,
.storefront-mega-more small {
  color: var(--store-mega-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.storefront-mega-feature-tile--primary small {
  color: rgba(255, 255, 255, 0.78);
}

.storefront-profile-avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  color: #111827;
  font-size: 0.72rem;
  font-weight: 900;
  background: #fff;
}

.storefront-profile-copy,
.storefront-profile-copy strong,
.storefront-profile-copy span,
.storefront-profile-copy small {
  display: block;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-profile-copy span,
.storefront-profile-copy small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.74rem;
}

.storefront-profile-copy strong {
  color: #fff;
  font-size: 0.82rem;
}

.storefront-profile-copy small {
  display: none;
}

.storefront-profile-chevron {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 900;
  text-align: center;
}

.storefront-profile-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  display: grid;
  gap: 8px;
  min-width: 250px;
  padding: 14px;
  border: 1px solid var(--store-menu-line);
  border-radius: 14px;
  color: var(--store-menu-text);
  background: var(--store-menu-bg);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.24);
}

.storefront-profile-dropdown-heading {
  padding: 2px 4px 10px;
  border-bottom: 1px solid var(--store-menu-line);
}

.storefront-profile-dropdown-heading strong,
.storefront-profile-dropdown-heading span {
  display: block;
}

.storefront-profile-dropdown-heading span {
  margin-top: 2px;
  color: var(--store-menu-muted);
  font-size: 0.82rem;
}

.storefront-profile-dropdown a,
.storefront-profile-dropdown button {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--store-menu-line);
  border-radius: 10px;
  color: var(--store-menu-text);
  background: var(--store-menu-hover);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.storefront-profile-dropdown button {
  color: var(--store-menu-primary-text);
  background: var(--store-menu-primary-bg);
}

.storefront-profile-dropdown form {
  margin: 0;
}

.storefront-members-page {
  display: grid;
  gap: 24px;
  width: min(1500px, calc(100% - 64px));
  margin: 42px auto 90px;
}

.storefront-members-heading {
  padding: 28px 32px;
  border: 1px solid var(--store-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--store-shadow);
}

.storefront-members-heading h1,
.storefront-members-heading p,
.storefront-members-form h2,
.storefront-members-list-header h2 {
  margin: 0;
}

.storefront-members-heading p {
  margin-top: 10px;
  color: var(--store-muted);
}

.storefront-members-tabs {
  display: grid;
  gap: 18px;
}

.storefront-members-tab-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.storefront-members-tab-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-self: start;
  padding: 8px;
  border: 1px solid var(--store-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--store-shadow);
}

.storefront-members-tab-list label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-weight: 900;
  cursor: pointer;
}

#members-tab-active:checked ~ .storefront-members-tab-list label[for="members-tab-active"],
#members-tab-create:checked ~ .storefront-members-tab-list label[for="members-tab-create"] {
  border-color: var(--store-brand-primary, #111827);
  background: var(--store-brand-primary, #111827);
  color: #fff;
}

.storefront-members-panel {
  display: none;
}

#members-tab-active:checked ~ .storefront-members-panel--active,
#members-tab-create:checked ~ .storefront-members-panel--create {
  display: block;
}

.storefront-members-form,
.storefront-members-list-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--store-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--store-shadow);
}

.storefront-members-form label {
  display: grid;
  gap: 8px;
}

.storefront-members-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: none;
}

.storefront-members-form h2,
.storefront-members-form .storefront-button {
  grid-column: 1 / -1;
}

.storefront-members-form label span {
  color: var(--store-indigo-deep);
  font-size: 0.85rem;
  font-weight: 800;
}

.storefront-members-form input,
.storefront-members-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(125, 138, 188, 0.35);
  border-radius: 6px;
  font: inherit;
}

.storefront-members-list-header,
.storefront-members-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.storefront-members-list {
  display: grid;
  gap: 12px;
}

.storefront-members-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(520px, auto);
  padding: 18px;
  border: 1px solid var(--store-line);
  border-radius: 8px;
  background: rgba(248, 250, 255, 0.78);
}

.storefront-members-row-details {
  min-width: 0;
}

.storefront-members-row-details strong,
.storefront-members-row-details span,
.storefront-members-row-details small {
  display: block;
}

.storefront-members-row-details strong,
.storefront-members-row-details span {
  overflow-wrap: anywhere;
}

.storefront-members-row-details span,
.storefront-members-row-details small {
  color: var(--store-muted);
}
.storefront-members-row-meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.storefront-members-row-meta span {
  display: inline-flex;
  max-width: 100%;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--store-line);
  border-radius: 999px;
  background: #fff;
  color: var(--store-muted);
  font-size: 0.76rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-members-row button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.storefront-members-row-actions,
.storefront-members-row-actions form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.storefront-members-row-actions {
  min-width: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.storefront-members-row-actions form {
  min-width: 0;
  flex-wrap: wrap;
}

.storefront-members-row-actions input,
.storefront-members-row-actions select {
  width: min(100%, 220px);
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 6px;
  font: inherit;
}
.storefront-members-row-actions .storefront-address-check {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 6px;
  background: #fff;
  white-space: nowrap;
}

.storefront-route-loading {
  cursor: progress;
}

.storefront-route-loading--catalog .storefront-page-videos,
.storefront-route-loading--catalog .storefront-footer {
  display: none;
}

.storefront-route-loading--catalog .storefront-main > :not(.storefront-top-actions) {
  display: none;
}

.storefront-main.is-route-loading > :not(.storefront-route-skeleton) {
  display: none;
}

.storefront-route-skeleton {
  position: absolute;
  inset: 0;
  z-index: 220;
  overflow: auto;
  padding: 28px 0 90px;
  background: var(--store-shell-bg);
}

.storefront-route-skeleton--catalog {
  position: relative;
  inset: auto;
  z-index: 180;
  min-height: calc(100vh - 162px);
}

.storefront-route-skeleton--home {
  position: relative;
  inset: auto;
  z-index: 180;
  min-height: calc(100vh - 162px);
}

.storefront-route-skeleton .storefront-members-page,
.storefront-route-skeleton .storefront-orders-page {
  pointer-events: none;
}

.storefront-route-skeleton-block {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--store-skeleton-a), var(--store-skeleton-b), var(--store-skeleton-a));
  background-size: 220% 100%;
  animation: storefront-skeleton-shimmer 1.2s ease-in-out infinite;
}

.storefront-route-skeleton-kicker {
  width: 150px;
  height: 14px;
  margin-bottom: 14px;
}

.storefront-route-skeleton-heading {
  width: min(520px, 72%);
  height: 42px;
}

.storefront-route-skeleton-subheading {
  width: min(680px, 86%);
  height: 18px;
  margin-top: 16px;
}

.storefront-route-skeleton-tab {
  width: 160px;
  height: 42px;
}

.storefront-route-skeleton-panel-kicker {
  width: 100px;
  height: 13px;
  margin-bottom: 12px;
}

.storefront-route-skeleton-panel-heading {
  width: min(560px, 70vw);
  height: 30px;
}

.storefront-route-skeleton-panel-count {
  width: 84px;
  height: 28px;
}

.storefront-route-skeleton-account-name {
  width: min(190px, 82%);
  height: 18px;
}

.storefront-route-skeleton-account-nav {
  width: 100%;
  height: 42px;
}

.storefront-route-skeleton-row {
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.72);
}

.storefront-route-skeleton-row--order {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  padding: 16px;
}

.storefront-route-skeleton-status {
  width: 86px;
  height: 28px;
}

.storefront-route-skeleton-title {
  width: min(360px, 72%);
  height: 20px;
}

.storefront-route-skeleton-total {
  width: 92px;
  height: 18px;
}

.storefront-route-skeleton-meta {
  grid-column: 2 / 3;
  width: min(520px, 86%);
  height: 16px;
}

.storefront-route-skeleton-row--member {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(520px, auto);
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.storefront-route-skeleton-member-copy,
.storefront-route-skeleton-member-actions {
  display: flex;
  min-width: 0;
  gap: 8px;
}

.storefront-route-skeleton-member-copy {
  flex-direction: column;
}

.storefront-route-skeleton-member-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.storefront-route-skeleton-member-name {
  width: min(260px, 72%);
  height: 18px;
}

.storefront-route-skeleton-member-email {
  width: min(320px, 86%);
  height: 16px;
}

.storefront-route-skeleton-member-meta {
  width: min(220px, 62%);
  height: 14px;
}

.storefront-route-skeleton-member-select {
  width: 220px;
  height: 38px;
}

.storefront-route-skeleton-member-password {
  width: 220px;
  height: 38px;
}

.storefront-route-skeleton-member-button {
  width: 78px;
  height: 38px;
}

.storefront-route-catalog-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  width: min(1720px, calc(100% - 80px));
  margin: 0 auto;
}

.storefront-route-catalog-toolbar,
.storefront-route-catalog-listing {
  border: 1px solid var(--store-shell-line);
  border-radius: 4px;
  background: var(--store-skeleton-panel);
  box-shadow: var(--store-shadow);
}

.storefront-route-catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 16px 18px;
}

.storefront-route-catalog-toolbar-summary {
  display: grid;
  gap: 8px;
  min-width: min(380px, 100%);
}

.storefront-route-catalog-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.storefront-route-skeleton-filter {
  width: 100%;
  height: 42px;
}

.storefront-route-skeleton-filter-button {
  width: 118px;
  height: 38px;
}

.storefront-route-skeleton-sort {
  width: 194px;
  height: 38px;
}

.storefront-route-catalog-listing {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.storefront-route-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  min-height: min(980px, calc(100vh - 260px));
  padding: 0;
}

.storefront-route-home-page {
  display: grid;
  gap: 28px;
  width: min(1720px, calc(100% - 80px));
  margin: 0 auto;
}

.storefront-route-home-hero {
  display: grid;
  align-content: end;
  gap: 16px;
  min-height: clamp(280px, 38vw, 520px);
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid var(--store-shell-line);
  border-radius: 8px;
  background: var(--store-skeleton-panel);
  box-shadow: var(--store-shadow);
}

.storefront-route-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}

.storefront-route-product-page {
  margin-top: 0;
  pointer-events: none;
}

.storefront-route-product-image {
  width: 100%;
  aspect-ratio: 1 / 0.82;
  min-height: 420px;
  border-radius: 8px;
}

.storefront-route-product-thumb {
  width: 84px;
  height: 84px;
}

.storefront-route-product-copy {
  display: grid;
  align-content: start;
  gap: 16px;
}

.storefront-route-account-workspace {
  pointer-events: none;
}

.storefront-route-account-rail nav {
  display: grid;
  gap: 8px;
}

.storefront-route-account-panel {
  gap: 18px;
}

.storefront-route-account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.storefront-route-account-card {
  min-height: 104px;
}

.storefront-route-account-list {
  display: grid;
  gap: 10px;
}

.storefront-product-detail {
  display: grid;
  gap: 28px;
  width: min(1500px, calc(100% - 64px));
  margin: 34px auto 80px;
}

.storefront-product-detail-skeleton[hidden] {
  display: none;
}

.storefront-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--store-shell-muted);
  font-size: 0.82rem;
}

.storefront-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.storefront-breadcrumb a:hover,
.storefront-breadcrumb a:focus {
  color: var(--store-shell-text);
  text-decoration: underline;
}

.storefront-breadcrumb strong {
  color: var(--store-shell-text);
}

.storefront-product-detail-grid {
  display: grid;
  grid-template-columns: minmax(560px, 1.18fr) minmax(420px, 0.82fr);
  gap: 64px;
  align-items: start;
}

.storefront-product-gallery {
  min-width: 0;
  padding-bottom: 28px;
}

.storefront-product-detail-image {
  --storefront-product-image-frame-height: 520px;
  display: grid;
  place-items: center;
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.16);
}

.storefront-product-detail-image img {
  display: block;
  align-self: center;
  justify-self: center;
  box-sizing: border-box;
  width: 100%;
  height: var(--storefront-product-image-frame-height);
  max-width: 100%;
  max-height: var(--storefront-product-image-frame-height);
  margin: auto;
  padding: 76px;
  object-fit: contain;
  object-position: center center;
}

.storefront-product-detail-image span {
  color: #0875d1;
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: lowercase;
}

.storefront-product-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  color: #111827;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.storefront-product-gallery-nav:hover,
.storefront-product-gallery-nav:focus-visible {
  background: #fff;
}

.storefront-product-gallery-nav--prev {
  left: 18px;
}

.storefront-product-gallery-nav--next {
  right: 18px;
}

@media (max-width: 760px) {
  .storefront-product-gallery-nav {
    width: 38px;
    height: 38px;
    font-size: 1.45rem;
  }

  .storefront-product-gallery-nav--prev {
    left: 10px;
  }

  .storefront-product-gallery-nav--next {
    right: 10px;
  }
}

.storefront-product-thumbs {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  width: 100%;
  margin-top: 22px;
  padding: 2px 0;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.storefront-product-thumbs::-webkit-scrollbar {
  display: none;
}

.storefront-product-thumbs button {
  display: grid;
  flex: 0 0 126px;
  width: 126px;
  height: 92px;
  place-items: center;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(8, 117, 209, 0.18);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 12px rgba(17, 24, 39, 0.14);
  cursor: pointer;
  scroll-snap-align: start;
}

.storefront-product-thumbs button.is-active {
  border-color: rgba(8, 117, 209, 0.58);
  box-shadow: 0 8px 16px rgba(8, 117, 209, 0.18);
}

.storefront-product-thumbs img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}

.storefront-product-detail-grid--gallery-first {
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

.storefront-product-detail-grid--gallery-first .storefront-product-detail-copy {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(280px, 360px);
  gap: 16px clamp(32px, 5vw, 88px);
  align-items: start;
  justify-content: space-between;
  width: 100%;
  padding: 26px;
  border: 1px solid var(--store-shell-line);
  border-left: 4px solid color-mix(in srgb, var(--store-brand-primary, #0875d1) 58%, var(--store-shell-line));
  border-radius: 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--store-surface-strong) 88%, #fff 12%), color-mix(in srgb, var(--store-shell-bg) 90%, var(--store-surface-strong))),
    var(--store-surface-strong);
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.08);
}

.storefront-product-detail-grid--gallery-first .storefront-product-detail-heading,
.storefront-product-detail-grid--gallery-first .storefront-product-detail-badges,
.storefront-product-detail-grid--gallery-first .storefront-product-detail-prices,
.storefront-product-detail-grid--gallery-first .storefront-product-detail-price,
.storefront-product-detail-grid--gallery-first .storefront-stock-panel,
.storefront-product-detail-grid--gallery-first .storefront-product-detail-actions,
.storefront-product-detail-grid--gallery-first .storefront-cart-feedback {
  grid-column: 1;
}

.storefront-product-detail-grid--gallery-first .storefront-product-detail-quickfacts {
  grid-column: 2;
  grid-row: 3 / span 4;
  align-self: start;
  justify-self: center;
}

.storefront-product-gallery--mosaic {
  padding-bottom: 0;
}

.storefront-product-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.68fr) minmax(0, 0.68fr);
  grid-template-rows: repeat(2, minmax(180px, 238px));
  gap: 14px;
  min-height: 476px;
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.storefront-product-mosaic--count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.storefront-product-mosaic--count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.storefront-product-mosaic-item {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: var(--store-shell-text);
  background: #fff;
  cursor: zoom-in;
}

.storefront-product-mosaic-item--hero {
  grid-row: span 2;
}

.storefront-product-mosaic-item img {
  display: block;
  align-self: center;
  justify-self: center;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  padding: 58px;
  object-fit: contain;
  object-position: center 32%;
  transform: translateY(-14%);
  transition: transform 180ms ease;
}

.storefront-product-mosaic-item:hover img,
.storefront-product-mosaic-item:focus-visible img {
  transform: translateY(-14%) scale(1.006);
}

.storefront-product-mosaic-more {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
  font-size: 0.86rem;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

body.storefront-gallery-viewer-open {
  overflow: hidden;
}

.storefront-gallery-viewer[hidden] {
  display: none;
}

.storefront-gallery-viewer {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(10px);
}

.storefront-gallery-viewer-dialog {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  width: min(1120px, 100%);
  height: min(760px, calc(100vh - 48px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.storefront-gallery-viewer-image {
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f8fafc;
}

.storefront-gallery-viewer-image img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 52px;
  object-fit: contain;
  object-position: center 40%;
  transform: translateY(-6%);
}

.storefront-gallery-viewer-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 850;
}

.storefront-gallery-viewer-close,
.storefront-gallery-viewer-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  color: #111827;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  cursor: pointer;
}

.storefront-gallery-viewer-close {
  top: 22px;
  right: 22px;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
}

.storefront-gallery-viewer-nav {
  top: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.storefront-gallery-viewer-nav--prev {
  left: 22px;
}

.storefront-gallery-viewer-nav--next {
  right: 22px;
}

@media (max-width: 900px) {
  .storefront-product-detail-grid--gallery-first .storefront-product-detail-copy {
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  .storefront-product-detail-grid--gallery-first .storefront-stock-panel,
  .storefront-product-detail-grid--gallery-first .storefront-product-detail-actions,
  .storefront-product-detail-grid--gallery-first .storefront-cart-feedback,
  .storefront-product-detail-grid--gallery-first .storefront-product-detail-quickfacts {
    grid-column: 1;
    grid-row: auto;
  }

  .storefront-product-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(260px, 42vw) repeat(2, minmax(130px, 22vw));
    min-height: 0;
    gap: 12px;
    padding: 0;
  }

  .storefront-product-mosaic-item--hero {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .storefront-product-detail-grid--gallery-first .storefront-product-detail-copy {
    padding: 16px;
    border-radius: 14px;
  }

  .storefront-product-mosaic {
    display: flex;
    gap: 10px;
    padding: 0;
    overflow-x: auto;
    border-radius: 8px;
    scroll-snap-type: x mandatory;
  }

  .storefront-product-mosaic-item,
  .storefront-product-mosaic-item--hero {
    flex: 0 0 86%;
    width: 86%;
    min-height: 300px;
    padding: 0;
    scroll-snap-align: start;
  }

  .storefront-product-mosaic-item img {
    max-width: 100%;
    max-height: 100%;
    padding: 38px;
  }

  .storefront-gallery-viewer {
    padding: 12px;
  }

  .storefront-gallery-viewer-dialog {
    height: min(680px, calc(100vh - 24px));
    padding: 10px;
  }

  .storefront-gallery-viewer-close {
    top: 16px;
    right: 16px;
  }

  .storefront-gallery-viewer-nav--prev {
    left: 16px;
  }

  .storefront-gallery-viewer-nav--next {
    right: 16px;
  }
}

.storefront-product-detail-copy {
  padding-top: 0;
}

.storefront-product-detail-heading {
  display: grid;
  gap: 10px;
}

.storefront-product-detail-copy h1 {
  margin: 0 0 18px;
  color: var(--store-shell-text);
  font-size: clamp(2.25rem, 3.3vw, 3.35rem);
  line-height: 1.08;
  text-transform: uppercase;
}

.storefront-product-detail-heading h1 {
  margin-bottom: 0;
}

.storefront-product-detail-heading p {
  max-width: 760px;
  margin: 0;
  color: var(--store-shell-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.storefront-product-detail-grid--gallery-first .storefront-product-detail-heading h1 {
  font-size: clamp(1.85rem, 2.8vw, 2.75rem);
}

.storefront-product-detail-grid--gallery-first .storefront-product-detail-badges {
  margin-top: 4px;
}

.storefront-product-detail-grid--gallery-first .storefront-product-detail-prices {
  margin-top: 0;
  width: min(100%, 760px);
  padding: 16px;
  border: 1px solid var(--store-shell-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--store-shell-bg) 96%, var(--store-surface-strong) 4%);
}

.storefront-product-detail-grid--gallery-first .storefront-product-detail-price {
  font-size: 1.42rem;
}

.storefront-product-detail-grid--gallery-first .storefront-stock-panel {
  width: min(100%, 760px);
  margin-top: 2px;
  background: color-mix(in srgb, var(--store-shell-bg) 96%, var(--store-surface-strong) 4%);
}

.storefront-product-detail-grid--gallery-first .storefront-product-detail-actions {
  grid-template-columns: 86px minmax(170px, 260px);
  width: min(100%, 760px);
  margin: 0;
  padding: 0;
  border-bottom: 0;
}

.storefront-product-detail-grid--gallery-first .storefront-cart-feedback {
  width: min(100%, 760px);
  margin-top: -4px;
}

.storefront-product-detail-quickfacts {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 360px;
  padding: 18px;
  border: 1px solid var(--store-shell-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--store-shell-bg) 96%, var(--store-surface-strong) 4%);
}

.storefront-product-detail-quickfacts-title {
  color: var(--store-shell-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.storefront-product-detail-quickfacts dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.storefront-product-detail-quickfacts dl > div {
  display: grid;
  grid-template-columns: minmax(116px, 0.44fr) minmax(0, 1fr);
  min-height: 38px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--store-shell-line) 88%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--store-surface-strong) 72%, var(--store-shell-bg));
}

.storefront-product-detail-quickfacts dt,
.storefront-product-detail-quickfacts dd {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 9px 12px;
  line-height: 1.25;
}

.storefront-product-detail-quickfacts dt {
  border-right: 1px solid var(--store-shell-line);
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-line) 58%, transparent);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.storefront-product-detail-quickfacts dd {
  color: var(--store-shell-muted);
  font-size: 0.78rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.storefront-product-detail-large-description,
.storefront-product-detail-summary {
  color: var(--store-shell-muted);
}

.storefront-product-detail-large-description {
  max-width: 680px;
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.65;
}

.storefront-product-detail-summary {
  max-width: 620px;
  line-height: 1.7;
}

.storefront-product-detail-price {
  display: block;
  margin-top: 18px;
  color: var(--store-shell-text);
  font-size: 1.55rem;
  font-weight: 900;
}

.storefront-product-detail-prices {
  display: grid;
  gap: 4px;
  margin-top: 18px;
}

.storefront-product-detail-prices .storefront-product-detail-price {
  margin-top: 0;
}

.storefront-product-detail-copy small {
  display: block;
  margin-top: 6px;
  color: var(--store-shell-muted);
}

.storefront-stock-label {
  --stock-accent: #94a3b8;
  display: inline-grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 7px;
  width: max-content;
  min-height: 30px;
  margin-top: 10px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--stock-accent) 20%, var(--store-shell-line));
  border-left: 3px solid var(--stock-accent);
  border-radius: 6px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-bg) 88%, var(--stock-accent) 12%);
  font-size: 0.75rem;
  font-weight: 850;
  line-height: 1.15;
}

.storefront-stock-label--in {
  --stock-accent: #16a34a;
}

.storefront-stock-label--low {
  --stock-accent: #d97706;
}

.storefront-stock-label--out {
  --stock-accent: #94a3b8;
}

.storefront-stock-panel {
  display: grid;
  gap: 10px;
  width: min(100%, 560px);
  margin-top: 16px;
  padding: 12px;
  border: 1px solid var(--store-shell-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--store-shell-bg) 88%, var(--store-surface-strong) 12%);
}

.storefront-stock-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.storefront-stock-panel-head span {
  display: block;
  color: var(--store-shell-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}


.storefront-branch-stock-status {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  margin-top: 0;
  padding: 0;
}

.storefront-branch-stock-card {
  --stock-accent: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid color-mix(in srgb, var(--stock-accent) 16%, var(--store-shell-line));
  border-radius: 7px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-bg) 96%, var(--stock-accent) 4%);
}

.storefront-branch-stock-card.storefront-stock-label--in {
  --stock-accent: #16a34a;
}

.storefront-branch-stock-card.storefront-stock-label--low {
  --stock-accent: #d97706;
}

.storefront-branch-stock-card.storefront-stock-label--out {
  --stock-accent: #94a3b8;
}
.storefront-branch-stock-card strong {
  flex: 0 0 auto;
  color: var(--store-shell-text);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.storefront-branch-stock-indicator {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border: 1px solid color-mix(in srgb, var(--stock-accent) 58%, var(--store-shell-line));
  border-radius: 999px;
  background: var(--stock-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--stock-accent) 13%, transparent);
}

@media (max-width: 720px) {
  .storefront-stock-panel {
    width: 100%;
    padding: 10px;
  }

  .storefront-branch-stock-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .storefront-stock-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .storefront-branch-stock-status {
    grid-template-columns: 1fr;
  }
}
.storefront-product-detail-actions {
  display: grid;
  grid-template-columns: 86px minmax(150px, 220px);
  gap: 10px;
  align-items: center;
  margin: 20px 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--store-shell-line);
}

.storefront-product-detail-actions input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--store-shell-line);
  border-radius: 999px;
  color: var(--store-shell-text);
  font: inherit;
  font-weight: 800;
  text-align: center;
  background: color-mix(in srgb, var(--store-shell-bg) 74%, var(--store-skeleton-panel));
}

.storefront-product-detail-actions .storefront-button {
  min-height: 42px;
  background: var(--store-brand-primary, #0875d1);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--store-brand-primary, #0875d1) 24%, transparent);
}

.storefront-product-detail-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--store-shell-muted);
  font-size: 0.82rem;
}

.storefront-product-detail-meta strong {
  color: var(--store-shell-text);
}

.storefront-product-description {
  padding-top: 24px;
}

.storefront-product-description h2 {
  display: inline-block;
  margin: 0 0 18px;
  border-bottom: 2px solid var(--store-shell-text);
  color: var(--store-shell-text);
}

.storefront-product-description p {
  max-width: 1180px;
  color: var(--store-shell-muted);
  line-height: 1.75;
}

.storefront-product-tabs {
  display: grid;
  gap: 22px;
  padding-top: 14px;
}

.storefront-product-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 7px;
  border: 1px solid var(--store-shell-line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--store-shell-bg) 88%, var(--store-surface-strong));
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.storefront-product-tab-button {
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  color: var(--store-shell-muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  background: transparent;
  cursor: pointer;
}

.storefront-product-tab-button:hover,
.storefront-product-tab-button:focus {
  color: var(--store-brand-primary, var(--store-shell-text));
  outline: none;
}

.storefront-product-tab-button.is-active {
  color: #fff;
  background: var(--store-brand-primary, #0875d1);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--store-brand-primary, #0875d1) 26%, transparent);
}

.storefront-product-tab-panel[hidden] {
  display: none;
}

.storefront-product-tab-panel .storefront-product-description {
  padding: 34px;
  border: 1px solid var(--store-shell-line);
  border-left-width: 4px;
  border-left-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 58%, var(--store-shell-line));
  border-radius: 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--store-surface-strong) 88%, #fff 12%), color-mix(in srgb, var(--store-shell-bg) 90%, var(--store-surface-strong))),
    var(--store-surface-strong);
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.08);
}

.storefront-product-enrichment {
  display: grid;
  gap: 22px;
  padding: 34px;
  border: 1px solid var(--store-shell-line);
  border-left: 4px solid color-mix(in srgb, var(--store-brand-primary, #0875d1) 58%, var(--store-shell-line));
  border-radius: 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--store-surface-strong) 88%, #fff 12%), color-mix(in srgb, var(--store-shell-bg) 90%, var(--store-surface-strong))),
    var(--store-surface-strong);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.08);
}

.storefront-product-enrichment-heading {
  display: grid;
  gap: 10px;
}

.storefront-product-enrichment-heading h2 {
  max-width: 1040px;
  margin: 0;
  color: var(--store-shell-text);
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1.15;
}

.storefront-product-enrichment-heading p {
  max-width: 1120px;
  margin: 0;
  color: var(--store-shell-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.storefront-product-enrichment-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  min-width: 0;
}

.storefront-product-enrichment-column {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}

.storefront-product-enrichment-group {
  display: grid;
  align-content: start;
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  padding: 16px;
  border: 1px solid var(--store-shell-line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--store-surface-strong) 76%, var(--store-shell-bg));
}

.storefront-product-enrichment-group h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--store-brand-primary, #0875d1) 18%, var(--store-shell-line));
  border-left: 4px solid var(--store-brand-primary, #0875d1);
  border-radius: 8px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 9%, var(--store-shell-bg));
  font-size: 0.88rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.storefront-product-enrichment-pills {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  min-width: 0;
  max-width: 100%;
}

.storefront-product-enrichment-pills--summary {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  padding-bottom: 2px;
}

.storefront-product-enrichment-pill {
  display: grid;
  grid-template-columns: minmax(116px, 34%) minmax(0, 1fr);
  align-items: stretch;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 38px;
  overflow: hidden;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--store-shell-line) 84%, var(--store-brand-primary, #0875d1));
  border-radius: 8px;
  color: var(--store-shell-muted);
  background: color-mix(in srgb, var(--store-surface-strong) 70%, var(--store-shell-bg));
  font-size: 0.84rem;
  line-height: 1.3;
}

.storefront-product-enrichment-pill--long {
  width: 100%;
}

.storefront-product-enrichment-pill strong {
  display: flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  padding: 8px 10px;
  border-right: 1px solid var(--store-shell-line);
  color: var(--store-shell-text);
  font-weight: 950;
  font-size: 0.74rem;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  background: color-mix(in srgb, var(--store-shell-text) 7%, var(--store-shell-bg));
}

.storefront-product-enrichment-pill--long strong {
  border-right: 1px solid var(--store-shell-line);
  border-bottom: 0;
}

.storefront-product-enrichment-pill span {
  min-width: 0;
  padding: 9px 11px;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  white-space: normal;
}

html[data-storefront-appearance="dark"] .storefront-product-tab-list,
html[data-storefront-appearance="dark"] .storefront-product-tab-panel .storefront-product-description,
html[data-storefront-appearance="dark"] .storefront-product-enrichment,
html[data-storefront-appearance="dark"] .storefront-product-detail-quickfacts {
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

html[data-storefront-appearance="dark"] .storefront-product-tab-list {
  background: #17181a;
}

html[data-storefront-appearance="dark"] .storefront-product-tab-panel .storefront-product-description,
html[data-storefront-appearance="dark"] .storefront-product-enrichment,
html[data-storefront-appearance="dark"] .storefront-product-detail-quickfacts {
  background:
    linear-gradient(180deg, rgba(30, 31, 33, 0.98), rgba(19, 20, 21, 0.98)),
    #191a1c;
}

html[data-storefront-appearance="dark"] .storefront-product-tab-panel .storefront-product-description,
html[data-storefront-appearance="dark"] .storefront-product-enrichment {
  border-left-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 72%, rgba(255, 255, 255, 0.13));
}

html[data-storefront-appearance="dark"] .storefront-product-detail-quickfacts dl > div {
  border-color: rgba(255, 255, 255, 0.12);
  background: #151617;
}

html[data-storefront-appearance="dark"] .storefront-product-detail-quickfacts dt {
  background: rgba(255, 255, 255, 0.08);
}

html[data-storefront-appearance="dark"] .storefront-product-enrichment-group {
  border-color: rgba(255, 255, 255, 0.12);
  background: #151617;
}

html[data-storefront-appearance="dark"] .storefront-product-enrichment-pill {
  border-color: rgba(255, 255, 255, 0.15);
  background: #101112;
}

html[data-storefront-appearance="dark"] .storefront-product-enrichment-pill strong {
  border-right-color: rgba(255, 255, 255, 0.14);
  border-bottom-color: rgba(255, 255, 255, 0.14);
  background: #252629;
}

html[data-storefront-appearance="dark"] .storefront-product-enrichment-pill span {
  color: #e5e7eb;
  background: #111213;
}


@media (max-width: 1180px) {
  .storefront-product-enrichment-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .storefront-product-tab-panel .storefront-product-description,
  .storefront-product-enrichment {
    padding: 22px;
    border-radius: 14px;
  }

  .storefront-product-enrichment-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-product-enrichment-pills,
  .storefront-product-enrichment-pills--summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-product-enrichment-pill,
  .storefront-product-enrichment-pill--long {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .storefront-product-enrichment-pill strong,
  .storefront-product-enrichment-pill--long strong {
    border-right: 0;
    border-bottom: 1px solid var(--store-shell-line);
  }
}

.storefront-skeleton-block,
.storefront-skeleton-line,
.storefront-skeleton-thumb,
.storefront-skeleton-pill {
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--store-skeleton-a), var(--store-skeleton-b), var(--store-skeleton-a));
  background-size: 220% 100%;
  animation: storefront-skeleton-shimmer 1.2s ease-in-out infinite;
}

.storefront-skeleton-block {
  width: 100%;
  min-height: 520px;
  border-radius: 4px;
}

.storefront-skeleton-line {
  width: 100%;
  height: 16px;
  margin-bottom: 13px;
}

.storefront-skeleton-line.is-tiny {
  width: 70px;
}

.storefront-skeleton-line.is-small {
  width: 130px;
}

.storefront-skeleton-line.is-short {
  width: 170px;
}

.storefront-skeleton-line.is-medium {
  width: 58%;
}

.storefront-skeleton-line.is-wide {
  width: 86%;
}

.storefront-skeleton-line.is-title {
  width: 220px;
  height: 24px;
  margin-bottom: 20px;
}

.storefront-skeleton-line.is-heading {
  height: 42px;
  margin-bottom: 14px;
}

.storefront-skeleton-line.is-price {
  width: 180px;
  height: 34px;
  margin-top: 26px;
}

.storefront-skeleton-thumb {
  flex: 0 0 126px;
  width: 126px;
  height: 92px;
  border-radius: 4px;
}

.storefront-skeleton-pill {
  height: 42px;
}

.storefront-skeleton-pill.is-button {
  border-radius: 999px;
}

.storefront-product-detail-grid--skeleton-gallery-first .storefront-product-detail-copy > .storefront-skeleton-line,
.storefront-product-detail-grid--skeleton-gallery-first .storefront-product-detail-copy > .storefront-product-detail-actions {
  grid-column: 1;
  width: min(100%, 760px);
}

.storefront-product-detail-grid--skeleton-gallery-first .storefront-product-detail-copy > .storefront-skeleton-line.is-price {
  width: 220px;
}

.storefront-product-detail-grid--skeleton-gallery-first .storefront-product-mosaic--skeleton {
  gap: 14px;
}

.storefront-product-mosaic-item--skeleton {
  cursor: default;
  pointer-events: none;
}

.storefront-product-mosaic-item--skeleton .storefront-skeleton-block {
  align-self: center;
  justify-self: center;
  width: 68%;
  min-height: 0;
  height: 48%;
  border-radius: 8px;
  transform: translateY(-14%);
}

.storefront-product-mosaic-item--skeleton.storefront-product-mosaic-item--hero .storefront-skeleton-block {
  width: 72%;
  height: 38%;
}

.storefront-product-detail-quickfacts--skeleton {
  grid-column: 2;
  grid-row: 3 / span 4;
  align-self: start;
  justify-self: center;
  pointer-events: none;
}

.storefront-product-detail-quickfacts--skeleton .storefront-skeleton-line {
  width: 100%;
  margin: 0;
}

.storefront-product-detail-quickfacts--skeleton .storefront-skeleton-line.is-small {
  width: 64%;
}

.storefront-product-detail-error {
  padding: 42px;
  border: 1px solid var(--store-line);
  border-radius: 24px;
  background: var(--store-surface-strong);
  box-shadow: var(--store-shadow);
}

.storefront-product-detail-error h1 {
  margin: 0 0 12px;
}

.storefront-product-detail-error p {
  margin: 0;
  color: var(--store-muted);
}

.storefront-checkout-page {
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100% - 64px));
  margin: 42px auto 90px;
  min-width: 0;
}

.storefront-checkout-page h1 {
  margin: 0;
  color: var(--store-shell-text);
  font-size: 2.1rem;
}

.storefront-checkout-grid,
.storefront-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 36px;
  align-items: start;
  min-width: 0;
}

.storefront-checkout-steps {
  display: grid;
  gap: 0;
  padding: 22px;
  min-width: 0;
  border: 1px solid var(--store-shell-line);
  border-radius: 18px;
  color: var(--store-shell-text);
  background: var(--store-surface-strong);
  box-shadow: var(--store-shadow);
  overflow: hidden;
}

.storefront-checkout-steps section {
  position: relative;
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 0 0 22px 46px;
  border-left: 1px solid var(--store-shell-line);
}

.storefront-checkout-steps form {
  display: grid;
  gap: 0;
}

.storefront-checkout-steps section:last-of-type {
  border-left-color: transparent;
}

.storefront-checkout-steps h2 {
  margin: 0;
  color: var(--store-shell-text);
  font-size: 1.35rem;
}

.storefront-checkout-steps p {
  margin: 0;
  color: var(--store-muted);
  overflow-wrap: anywhere;
}

.storefront-checkout-steps strong {
  min-width: 0;
  color: var(--store-shell-text);
  overflow-wrap: anywhere;
}

.storefront-checkout-step {
  position: absolute;
  left: -13px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--store-brand-primary, #0875d1);
  border-radius: 50%;
  color: var(--store-brand-primary, #0875d1);
  background: var(--store-surface-strong);
  font-weight: 900;
}

.storefront-checkout-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--store-shell-line);
  border-radius: 8px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-surface-strong) 90%, var(--store-brand-primary, #0875d1) 6%);
}

.storefront-checkout-option--icon::before {
  content: "";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--store-brand-primary, #0875d1) 34%, var(--store-shell-line));
  border-radius: 8px;
  color: var(--store-brand-primary, #0875d1);
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 10%, var(--store-surface-strong));
  font-size: 1rem;
  font-weight: 900;
}

.storefront-checkout-option--collection::before { content: "\21E9"; }
.storefront-checkout-option--delivery::before { content: "\2316"; }
.storefront-checkout-option--corporate::before { content: "\2302"; }
.storefront-checkout-option--third-party::before { content: "+"; }

.storefront-checkout-option:has(input:checked),
.storefront-checkout-address-option:has(input:checked) {
  border-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 58%, var(--store-shell-line));
  background: color-mix(in srgb, var(--store-surface-strong) 82%, var(--store-brand-primary, #0875d1) 14%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--store-brand-primary, #0875d1) 34%, transparent);
}

.storefront-checkout-option:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.55;
}

.storefront-checkout-option span,
.storefront-checkout-option strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.storefront-checkout-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.storefront-checkout-address-option input {
  accent-color: var(--store-brand-primary, #0875d1);
}

.storefront-checkout-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.storefront-checkout-panel {
  display: grid;
  gap: 12px;
  margin-top: 8px;
  padding: 16px;
  min-width: 0;
  border: 1px solid var(--store-shell-line);
  border-radius: 8px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-surface-strong) 94%, var(--store-shell-bg) 6%);
}

.storefront-checkout-panel[hidden] {
  display: none;
}

.storefront-checkout-panel label {
  display: grid;
  gap: 6px;
  color: var(--store-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.storefront-checkout-panel input[type="text"],
.storefront-checkout-panel input[type="search"],
.storefront-checkout-panel input[type="email"],
.storefront-checkout-panel input:not([type]),
.storefront-checkout-panel select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--store-shell-line);
  border-radius: 8px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-bg) 86%, var(--store-surface-strong) 14%);
  font: inherit;
}

.storefront-checkout-panel input[readonly] {
  opacity: 0.86;
}

.storefront-checkout-address-entry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.storefront-checkout-address-entry[hidden] {
  display: none;
}

.storefront-address-check--wide {
  grid-column: 1 / -1;
}

.storefront-checkout-panel input[type="text"]:focus,
.storefront-checkout-panel input[type="search"]:focus,
.storefront-checkout-panel input[type="email"]:focus,
.storefront-checkout-panel input:not([type]):focus,
.storefront-checkout-panel select:focus {
  border-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 72%, var(--store-shell-line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--store-brand-primary, #0875d1) 18%, transparent);
  outline: 0;
}

.storefront-checkout-address-list {
  display: grid;
  gap: 10px;
  max-height: 250px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  scrollbar-gutter: stable;
}

.storefront-checkout-address-list::-webkit-scrollbar {
  width: 9px;
}

.storefront-checkout-address-list::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--store-shell-bg) 74%, transparent);
}

.storefront-checkout-address-list::-webkit-scrollbar-thumb {
  border: 2px solid color-mix(in srgb, var(--store-shell-bg) 80%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--store-shell-text) 32%, transparent);
}

.storefront-checkout-address-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--store-shell-line);
  border-radius: 8px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-surface-strong) 90%, var(--store-brand-primary, #0875d1) 6%);
}

.storefront-checkout-address-option span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.storefront-checkout-address-option strong,
.storefront-checkout-address-option small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.storefront-checkout-address-option small {
  color: var(--store-muted);
}

.storefront-address-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.storefront-address-form .storefront-button,
.storefront-address-check,
.storefront-address-form .address-lookup-field {
  grid-column: 1 / -1;
}

.storefront-address-form .address-lookup-field select {
  width: 100%;
  min-height: 132px;
  padding: 8px;
  border: 1px solid var(--store-shell-line);
  border-radius: 12px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-bg) 86%, var(--store-surface-strong) 14%);
  font: inherit;
}

.storefront-address-form .address-lookup-field small {
  color: var(--store-muted);
}

.storefront-address-check {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 8px;
  align-items: center;
}

.storefront-address-create-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 24%, var(--store-shell-line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--store-brand-primary, #0875d1) 11%, transparent), transparent 42%),
    linear-gradient(180deg, color-mix(in srgb, var(--store-surface-strong) 94%, #fff 6%), var(--store-surface-strong));
}

.storefront-address-create-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--store-brand-primary, #0875d1);
}

.storefront-address-create {
  display: grid;
  min-width: 0;
}

.storefront-address-create-summary {
  position: relative;
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) 34px;
  gap: 14px;
  align-items: center;
  width: 100% !important;
  min-height: 76px;
  padding: 18px 22px 18px 20px;
  color: var(--store-shell-text);
  cursor: pointer;
  list-style: none;
}

.storefront-address-create-summary::-webkit-details-marker {
  display: none;
}

.storefront-address-create-summary::after {
  content: "+";
  display: grid;
  place-items: center;
  justify-self: end;
  grid-column: 3;
  grid-row: 1;
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--store-brand-primary, #0875d1) 30%, var(--store-shell-line));
  border-radius: 999px;
  color: var(--store-brand-primary, #0875d1);
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 9%, var(--store-surface-strong));
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
}

.storefront-address-create[open] .storefront-address-create-summary::after {
  content: "-";
}

.storefront-address-create-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--store-brand-primary, #0875d1), color-mix(in srgb, var(--store-brand-primary, #0875d1) 68%, #111827));
  box-shadow: 0 14px 28px color-mix(in srgb, var(--store-brand-primary, #0875d1) 24%, transparent);
}

.storefront-address-create-icon::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 999px 999px 999px 0;
  transform: rotate(-45deg);
}

.storefront-address-create-icon::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
}

.storefront-address-create-summary span:not(.storefront-address-create-icon) {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  align-items: baseline;
  min-width: 0;
  padding-right: 0;
}

.storefront-address-create-summary strong {
  color: var(--store-shell-text);
  font-size: 1rem;
  line-height: 1.2;
}

.storefront-address-create-summary small {
  color: var(--store-shell-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.storefront-address-create-form {
  margin: 0;
  padding: 0 22px 22px;
  gap: 14px;
}

.storefront-address-create-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.storefront-address-create-form label > span {
  color: var(--store-shell-muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.storefront-address-create-form input[type="text"],
.storefront-address-create-form input[type="search"],
.storefront-address-create-form input:not([type]),
.storefront-address-create-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, var(--store-shell-line) 84%, var(--store-brand-primary, #0875d1));
  border-radius: 10px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-bg) 86%, var(--store-surface-strong) 14%);
  font: inherit;
  font-weight: 750;
}

.storefront-address-create-form input:focus,
.storefront-address-create-form select:focus {
  border-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 72%, var(--store-shell-line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--store-brand-primary, #0875d1) 18%, transparent);
  outline: 0;
}

.storefront-address-create-form .address-lookup-field {
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--store-brand-primary, #0875d1) 18%, var(--store-shell-line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 7%, var(--store-shell-bg));
}

.storefront-address-create-form .address-lookup-field select {
  margin-top: 4px;
}

.storefront-address-create-form .storefront-address-check {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--store-shell-line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--store-surface-strong) 82%, var(--store-brand-primary, #0875d1) 6%);
}

.storefront-address-create-form .storefront-address-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--store-brand-primary, #0875d1);
}

.storefront-address-create-form .storefront-address-check span {
  color: var(--store-shell-text);
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: none;
}

.storefront-address-create-form .storefront-button {
  justify-self: end;
  min-width: 176px;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--store-brand-primary, #0875d1) 24%, transparent);
}

.storefront-address-edit {
  padding: 12px;
  border: 1px solid var(--store-shell-line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--store-surface-strong) 90%, var(--store-brand-primary, #0875d1) 6%);
}

.storefront-address-edit summary {
  display: grid;
  gap: 4px;
  cursor: pointer;
}

.storefront-address-edit summary small {
  color: var(--store-muted);
}

.storefront-checkout-confirm {
  display: grid;
  gap: 0;
}

.storefront-checkout-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.storefront-checkout-workspace,
.storefront-checkout-confirm--tabbed {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.storefront-checkout-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--store-shell-line);
  border-radius: 16px;
  background: var(--store-surface-strong);
  box-shadow: var(--store-shadow);
}

.storefront-checkout-tabs button {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--store-muted);
  background: transparent;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.storefront-checkout-tabs button span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-text) 9%, transparent);
  font-size: 0.78rem;
}

.storefront-checkout-tabs button strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.storefront-checkout-tabs button.is-active {
  border-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 42%, var(--store-shell-line));
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 12%, var(--store-surface-strong));
}

.storefront-checkout-tabs button.is-active span {
  color: #fff;
  background: var(--store-brand-primary, #0875d1);
}

.storefront-checkout-tab-panel[hidden] {
  display: none;
}

.storefront-checkout-tab-panel {
  position: relative;
  display: grid;
  gap: 12px;
  min-width: 0;
}

.storefront-checkout-contact-card {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--store-shell-line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--store-surface-strong) 92%, var(--store-shell-bg) 8%);
}

.storefront-checkout-panel-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.storefront-checkout-choice-grid--fulfillment,
.storefront-checkout-choice-grid--address-source {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.storefront-checkout-option {
  grid-template-columns: auto minmax(0, 1fr);
}

.storefront-checkout-option strong {
  grid-column: 2;
  color: var(--store-muted);
  font-size: 0.82rem;
}

.storefront-checkout-actions .storefront-button,
.storefront-checkout-panel-actions .storefront-button {
  min-width: 132px;
}

.storefront-orders-page,
.storefront-order-detail-page {
  display: grid;
  gap: 24px;
  width: min(1500px, calc(100% - 64px));
  margin: 42px auto 80px;
}

.storefront-orders-heading,
.storefront-order-detail-heading,
.storefront-order-panel {
  border: 1px solid var(--store-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--store-shadow);
}

.storefront-orders-heading {
  padding: 28px 32px;
}

.storefront-orders-heading h1,
.storefront-orders-heading p,
.storefront-order-detail-heading h1,
.storefront-order-detail-heading p,
.storefront-order-panel h2,
.storefront-order-panel p {
  margin: 0;
}

.storefront-orders-heading p,
.storefront-order-detail-heading p,
.storefront-order-row small,
.storefront-order-line span,
.storefront-order-timeline span,
.storefront-order-timeline p {
  color: var(--store-muted);
}

.storefront-orders-grid,
.storefront-order-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.46fr);
  gap: 24px;
  align-items: start;
}

.storefront-orders-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.storefront-order-detail-grid {
  grid-template-columns: minmax(0, 1fr) minmax(330px, 420px);
}

.storefront-order-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--store-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--store-shadow);
}

.storefront-order-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 6px;
  color: #111827;
  text-decoration: none;
  font-weight: 900;
}

.storefront-order-tabs a.is-active {
  color: #fff;
  border-color: var(--store-brand-primary, #111827);
  background: var(--store-brand-primary, #111827);
}

.storefront-order-tabs strong {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.08);
  font-size: 0.78rem;
}

.storefront-order-tabs a.is-active strong {
  color: var(--store-brand-primary, #111827);
  background: #fff;
}

.storefront-order-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.storefront-order-panel.is-hidden {
  display: none;
}

.storefront-order-panel-heading,
.storefront-order-detail-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.storefront-order-panel-heading span {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  border-radius: 999px;
  color: var(--store-brand-primary, #111827);
  background: color-mix(in srgb, var(--store-brand-primary, #111827) 9%, #fff);
  font-weight: 900;
}

.storefront-order-panel-heading p {
  margin-top: 4px;
  color: var(--store-muted);
  font-size: 0.92rem;
}

.storefront-order-list,
.storefront-order-line-list,
.storefront-order-side,
.storefront-order-timeline {
  display: grid;
  gap: 12px;
}

.storefront-order-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  color: #111827;
  text-decoration: none;
  background: rgba(248, 250, 252, 0.72);
}

.storefront-order-row strong,
.storefront-order-row small {
  min-width: 0;
}

.storefront-order-row small {
  grid-column: 2 / 3;
}

.storefront-order-status {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 4px;
  color: #374151;
  background: #f3f4f6;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.storefront-order-status--submitted,
.storefront-order-status--processing,
.storefront-order-status--readyforcollection {
  color: #075985;
  border-color: #bae6fd;
  background: #e0f2fe;
}

.storefront-order-status--delivered {
  color: #166534;
  border-color: #bbf7d0;
  background: #dcfce7;
}

.storefront-order-status--failed,
.storefront-order-status--cancelled {
  color: #991b1b;
  border-color: #fecaca;
  background: #fee2e2;
}

.storefront-order-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
}

.storefront-order-pagination a,
.storefront-order-pagination span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--store-line);
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font-weight: 900;
  text-decoration: none;
}

.storefront-order-pagination span {
  color: var(--store-muted);
  font-size: 0.9rem;
}

.storefront-order-pagination a.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.storefront-order-detail-heading {
  padding: 28px 32px;
}

.storefront-order-detail-heading h1 {
  color: #111827;
  font-size: clamp(2rem, 3vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.storefront-order-detail-heading > strong {
  color: #111827;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
}

.storefront-order-back {
  width: max-content;
  color: var(--store-brand-primary, #111827);
  font-weight: 900;
  text-decoration: none;
}

.storefront-order-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 80px auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.74);
}

.storefront-order-line--meta {
  grid-template-columns: 72px minmax(0, 1fr) 80px;
}

.storefront-order-line-image {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 6px;
  background: #fff;
}

.storefront-order-line-image img {
  max-width: 88%;
  max-height: 88%;
  object-fit: contain;
}

.storefront-order-timeline article {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 3px solid color-mix(in srgb, var(--store-brand-primary, #111827) 30%, #e5e7eb);
}

.storefront-cart-page {
  display: grid;
  gap: 18px;
  width: min(1360px, calc(100% - 64px));
  margin: 42px auto 90px;
  min-width: 0;
}

.storefront-cart-page h1 {
  margin: 0;
  color: var(--store-shell-text);
  font-size: 2rem;
}

.storefront-cart-table,
.storefront-cart-summary {
  min-width: 0;
  border: 1px solid var(--store-shell-line);
  border-radius: 18px;
  color: var(--store-shell-text);
  background: var(--store-surface-strong);
  box-shadow: var(--store-shadow);
  overflow: hidden;
}

.storefront-cart-table-head,
.storefront-cart-table-line {
  display: grid;
  grid-template-columns: 64px minmax(150px, 1fr) 174px minmax(104px, 116px) minmax(112px, 124px) 118px;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.storefront-cart-table-head.storefront-cart-table--no-pricing,
.storefront-cart-table-line.storefront-cart-table--no-pricing {
  grid-template-columns: 64px minmax(180px, 1fr) 174px 118px;
}

.storefront-cart-table-head {
  padding: 14px 18px;
  border-bottom: 2px solid var(--store-shell-text);
  color: var(--store-shell-text);
  font-size: 0.78rem;
  font-weight: 900;
}

.storefront-cart-table-line {
  padding: 16px 18px;
  border-bottom: 1px solid var(--store-shell-line);
}

.storefront-cart-table-line span {
  color: var(--store-muted);
}

.storefront-cart-table-line > *,
.storefront-cart-table-line strong,
.storefront-cart-table-line span,
.storefront-cart-table-line small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.storefront-cart-table-line button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, #ef4444 34%, var(--store-shell-line));
  border-radius: 8px;
  color: color-mix(in srgb, #ef4444 78%, var(--store-shell-text) 22%);
  background: color-mix(in srgb, #ef4444 8%, transparent);
  font: inherit;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.storefront-cart-table-line button:hover,
.storefront-cart-table-line button:focus-visible {
  background: color-mix(in srgb, #ef4444 14%, transparent);
}

.storefront-cart-summary {
  align-self: start;
  display: grid;
  gap: 14px;
  padding: 22px;
}

.storefront-cart-summary h2 {
  margin: 0 0 8px;
  color: var(--store-shell-text);
}

.storefront-cart-summary div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  min-width: 0;
  color: var(--store-muted);
}

.storefront-cart-summary span,
.storefront-cart-summary strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.storefront-cart-summary strong {
  color: var(--store-shell-text);
  text-align: right;
}

.storefront-cart-table-line small {
  display: block;
  margin-top: 3px;
  color: var(--store-muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.storefront-cart-summary-total {
  padding: 14px 0;
  border-top: 1px solid var(--store-shell-line);
  border-bottom: 1px solid var(--store-shell-line);
}

.storefront-cart-validation-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 26%, var(--store-shell-line));
  border-radius: 14px;
  color: var(--store-muted);
  background: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 8%, var(--store-surface-strong) 92%);
}

.storefront-cart-validation-card span {
  color: var(--store-brand-primary, #6b5bd6);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-cart-validation-card strong {
  color: var(--store-shell-text);
  text-align: left;
}

.storefront-cart-validation-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.storefront-cart-validate-form {
  display: grid;
  gap: 0;
}

.storefront-cart-validate-form .storefront-button {
  width: 100%;
}

.storefront-checkout-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.storefront-pager {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
}

.storefront-pager span {
  color: var(--store-muted);
  font-weight: 800;
}

.storefront-more {
  justify-content: center;
}

.storefront-more .storefront-button {
  min-width: 160px;
}

.storefront-more-skeleton {
  pointer-events: none;
}

.storefront-button.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.storefront-button:disabled,
.storefront-product-detail-actions input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.storefront-home-slider,
.storefront-category-showcase,
.storefront-firesale-random,
.storefront-home-promo-showcase,
.storefront-subcategory-showcase,
.storefront-brand-showcase,
.storefront-commerce-visuals,
.storefront-firesale-strip {
  box-sizing: border-box;
  justify-self: center;
  min-width: 0;
  width: 100%;
  max-width: 1776px;
  overflow-x: clip;
  margin: 0 auto;
  padding-right: 28px;
  padding-left: 28px;
}

@supports not (overflow: clip) {
  .storefront-home-slider,
  .storefront-category-showcase,
  .storefront-firesale-random,
  .storefront-home-promo-showcase,
  .storefront-subcategory-showcase,
  .storefront-brand-showcase,
  .storefront-commerce-visuals,
  .storefront-firesale-strip {
    overflow-x: hidden;
  }
}

.storefront-category-showcase {
  margin-top: clamp(34px, 4.4vw, 72px);
  margin-bottom: clamp(28px, 3.6vw, 58px);
}

.storefront-category-showcase,
.storefront-firesale-random,
.storefront-home-promo-showcase,
.storefront-subcategory-showcase,
.storefront-brand-showcase,
.storefront-commerce-visuals {
  content-visibility: auto;
  contain-intrinsic-size: 1px 360px;
}

.storefront-home-slider {
  position: relative;
  width: min(100%, 1776px);
  max-width: 1776px;
  margin: 0 auto;
  contain: layout paint;
  overflow: hidden;
  padding-right: 0;
  padding-left: 0;
  border-bottom: 0;
  background: #05070d;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.storefront-home-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  width: 100%;
  max-width: 100%;
  contain: layout paint;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.storefront-home-track::-webkit-scrollbar {
  display: none;
}

.storefront-home-slide {
  display: grid;
  height: clamp(260px, 37.5vw, 640px);
  min-height: clamp(260px, 37.5vw, 640px);
  max-height: 640px;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: clamp(42px, 6vw, 92px);
  color: #fff;
}

.storefront-home-slide > div {
  max-width: 760px;
}

.storefront-home-slide--primary {
  background:
    linear-gradient(118deg, rgba(11, 18, 32, 0.92), rgba(31, 41, 55, 0.74) 48%, rgba(17, 24, 39, 0.34)),
    radial-gradient(circle at 72% 28%, color-mix(in srgb, var(--store-brand-primary, #6454d6) 34%, transparent), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--store-brand-primary, #6454d6) 18%, #111827), #0f172a);
}

.storefront-home-slide--catalog {
  background:
    linear-gradient(120deg, rgba(3, 12, 22, 0.76), rgba(17, 24, 39, 0.46)),
    radial-gradient(circle at 75% 35%, color-mix(in srgb, var(--store-brand-primary, #111827) 35%, transparent), transparent 30%);
}

.storefront-home-slide--firesale {
  background:
    linear-gradient(120deg, rgba(9, 17, 30, 0.80), rgba(28, 36, 49, 0.52)),
    radial-gradient(circle at 72% 32%, color-mix(in srgb, var(--store-brand-accent, #ff8a18) 38%, transparent), transparent 26%);
}

.storefront-home-slide .storefront-kicker,
.storefront-home-slide p {
  color: rgba(255, 255, 255, 0.76);
}

.storefront-home-slide h1,
.storefront-home-slide h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.storefront-home-slide h2 {
  max-width: 820px;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
}

.storefront-home-slide p {
  max-width: 620px;
  margin: 18px 0 28px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.storefront-button--light {
  color: #111827;
  background: #fff;
  box-shadow: none;
}

.storefront-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: #fff;
  background: rgba(17, 24, 39, 0.42);
  font: inherit;
  font-size: 0;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.storefront-carousel-control::before {
  font-size: 2rem;
  line-height: 1;
}

.storefront-carousel-control--prev::before {
  content: "<";
}

.storefront-carousel-control--next::before {
  content: ">";
}

.storefront-carousel-control:hover {
  background: rgba(17, 24, 39, 0.72);
}

.storefront-carousel-control--prev {
  left: 24px;
}

.storefront-carousel-control--next {
  right: 24px;
}

.storefront-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.storefront-carousel-dots button {
  width: 38px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.storefront-carousel-dots button.is-active {
  background: #fff;
}

.storefront-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.storefront-section-heading--compact {
  margin-bottom: 14px;
}

.storefront-section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.55rem, 2vw, 2.2rem);
  letter-spacing: -0.04em;
}

.storefront-category-showcase {
  padding-top: 34px;
}

.storefront-firesale-random {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 18px;
  margin-top: clamp(18px, 2.6vw, 42px);
  margin-bottom: clamp(30px, 4vw, 64px);
  padding-top: clamp(18px, 2vw, 28px);
  padding-bottom: clamp(20px, 2.4vw, 34px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--store-brand-accent, #ff8a18) 24%, rgba(17, 24, 39, 0.12));
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 237, 0.52)),
    var(--store-surface-strong);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.storefront-firesale-random::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(255, 191, 0, 0.56), rgba(255, 91, 22, 0.7), rgba(220, 38, 38, 0.48), transparent) 0 0 / 52% 2px repeat-x,
    linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.26), rgba(255, 120, 28, 0.5), rgba(255, 220, 80, 0.32), transparent) 100% 100% / 44% 2px repeat-x,
    radial-gradient(circle at 12% 0, rgba(255, 120, 28, 0.08), transparent 34%),
    radial-gradient(circle at 88% 100%, rgba(220, 38, 38, 0.07), transparent 32%);
  filter: none;
  opacity: 0.82;
  animation: storefront-fire-edge 6s linear infinite;
  pointer-events: none;
}

.storefront-firesale-random::after {
  content: none;
}

.storefront-firesale-random > * {
  position: relative;
  z-index: 1;
}

.storefront-firesale-random .storefront-kicker {
  color: #dc2626;
}

.storefront-firesale-product-grid {
  --storefront-card-gap: 18px;
  --storefront-card-width: 260px;
  display: flex;
  align-items: stretch;
  gap: var(--storefront-card-gap);
  width: 100%;
  max-width: 100%;
  contain: layout paint;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 10px;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-x pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.storefront-firesale-product-grid::-webkit-scrollbar {
  display: none;
}

.storefront-firesale-product-grid.is-drag-ready {
  scroll-behavior: auto;
}

.storefront-firesale-product-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.storefront-firesale-random-card {
  flex: 0 0 min(280px, calc(100vw - 56px));
  width: min(280px, calc(100vw - 56px));
  min-width: 0;
  min-height: 380px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  -webkit-user-drag: none;
}

.storefront-firesale-random-card .storefront-product-card-link {
  grid-template-rows: 220px auto auto;
  min-height: 380px;
}

.storefront-firesale-random-card .storefront-product-media {
  min-height: 220px;
}

.storefront-firesale-random-card .storefront-product-media img {
  width: 100%;
  max-width: 220px;
  max-height: 176px;
  object-fit: contain;
}

.storefront-firesale-random-card .storefront-product-firesale-badge {
  top: 12px;
  left: 12px;
}

.storefront-firesale-random-card .storefront-product-previous-price {
  color: #94a3b8;
  font-size: 0.72rem;
}

.storefront-firesale-random-card .storefront-product-price {
  color: #111827;
  font-size: 0.98rem;
  line-height: 1.1;
}

.storefront-product-sku {
  display: inline-grid;
  justify-self: center;
  max-width: 100%;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 22%, rgba(148, 163, 184, 0.28));
  border-radius: 999px;
  color: var(--store-brand-primary, #6b5bd6);
  background: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 8%, #fff);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes storefront-fire-edge {
  0% {
    background-position: 0 0, 100% 100%, 0 0, 100% 100%;
  }

  100% {
    background-position: 100% 0, 0 100%, 0 0, 100% 100%;
  }
}

@media (max-width: 1180px) {
  .storefront-firesale-random-card {
    flex-basis: min(280px, calc(100vw - 56px));
    width: min(280px, calc(100vw - 56px));
  }
}

@media (max-width: 720px) {
  .storefront-firesale-random {
    border-radius: 8px;
    padding-inline: clamp(14px, 4vw, 20px);
  }

  .storefront-firesale-product-grid {
    --storefront-card-gap: 14px;
  }

  .storefront-firesale-random-card {
    flex-basis: min(280px, calc(100vw - 56px));
    width: min(280px, calc(100vw - 56px));
  }
}

.storefront-card-carousel-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.storefront-card-carousel-actions button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 999px;
  color: #111827;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  transition: border-color 160ms ease, color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.storefront-card-carousel-actions button:hover:not(:disabled) {
  border-color: var(--store-brand-primary, #0875d1);
  color: var(--store-brand-primary, #0875d1);
  transform: translateY(-1px);
}

.storefront-card-carousel-actions button:disabled {
  cursor: default;
  opacity: 0.34;
  box-shadow: none;
}

.storefront-card-carousel-actions.is-hidden {
  display: none;
}

.storefront-card-carousel {
  position: relative;
  box-sizing: border-box;
  contain: layout paint;
  overflow: hidden;
}

.storefront-category-card-grid {
  --storefront-card-gap: 18px;
  --storefront-cards-per-view: 4;
  display: flex;
  gap: var(--storefront-card-gap);
  width: 100%;
  max-width: 100%;
  contain: layout paint;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 8px;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-x pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.storefront-category-card-grid::-webkit-scrollbar,
.storefront-subcategory-card-grid::-webkit-scrollbar {
  display: none;
}

.storefront-category-card-grid.is-drag-ready,
.storefront-subcategory-card-grid.is-drag-ready {
  scroll-behavior: auto;
}

.storefront-category-card-grid.is-dragging,
.storefront-subcategory-card-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.storefront-category-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(132px, 42%) minmax(0, 1fr);
  align-items: stretch;
  flex: 0 0 calc((100% - (var(--storefront-card-gap) * (var(--storefront-cards-per-view) - 1))) / var(--storefront-cards-per-view));
  min-width: 0;
  min-height: 190px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 8px;
  color: #111827;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0 52%, rgba(248, 250, 252, 0.88) 52% 100%),
    radial-gradient(circle at 86% 14%, color-mix(in srgb, var(--store-brand-accent, #ff8a18) 18%, transparent), transparent 22%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  -webkit-user-drag: none;
}

.storefront-category-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--store-brand-primary, #111827) 35%, transparent);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.11);
}

.storefront-category-card-media {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 190px;
  padding: 22px;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.62), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.70)),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.035) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(17, 24, 39, 0.035) 0 1px, transparent 1px 28px);
}

.storefront-category-card-media img {
  display: block;
  max-width: 100%;
  width: min(100%, 148px);
  height: 118px;
  object-fit: contain;
}

.storefront-category-card-media strong {
  color: #0875d1;
  font-size: 2rem;
  font-weight: 900;
}

.storefront-category-card-copy {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 28px 28px 28px 20px;
  text-align: left;
}

.storefront-category-card-copy strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 360px;
  font-size: 1.28rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}

.storefront-subcategory-showcase {
  display: grid;
  gap: 0;
  padding-top: 30px;
  padding-bottom: 36px;
}

.storefront-subcategory-card-grid {
  --storefront-card-gap: 18px;
  --storefront-cards-per-view: 5;
  display: flex;
  gap: var(--storefront-card-gap);
  width: 100%;
  max-width: 100%;
  contain: layout paint;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 0 8px;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-x pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.storefront-subcategory-card {
  display: grid;
  grid-template-columns: minmax(92px, 40%) minmax(0, 1fr);
  align-items: stretch;
  flex: 0 0 calc((100% - (var(--storefront-card-gap) * (var(--storefront-cards-per-view) - 1))) / var(--storefront-cards-per-view));
  min-width: 0;
  min-height: 132px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 8px;
  color: #111827;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.86)),
    radial-gradient(circle at 90% 0%, color-mix(in srgb, var(--store-brand-accent, #ff8a18) 14%, transparent), transparent 24%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  -webkit-user-drag: none;
}

.storefront-category-card img,
.storefront-subcategory-card img {
  -webkit-user-drag: none;
  user-select: none;
}

.storefront-category-card,
.storefront-subcategory-card {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.storefront-subcategory-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--store-brand-primary, #111827) 35%, transparent);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.11);
}

.storefront-home-promo-showcase {
  contain-intrinsic-size: 1px 1320px;
  margin-top: clamp(12px, 2.2vw, 32px);
  margin-bottom: clamp(30px, 4vw, 64px);
}

.storefront-home-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.storefront-home-promo-card {
  position: relative;
  isolation: isolate;
  display: block;
  height: clamp(280px, 28vw, 460px);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 8px;
  color: #0f172a;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 246, 249, 0.9) 48%, rgba(232, 237, 241, 0.92) 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  text-decoration: none;
}

.storefront-home-promo-card:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(250, 252, 253, 0.98) 0%, rgba(238, 243, 245, 0.92) 50%, rgba(226, 232, 236, 0.9) 100%);
}

.storefront-home-promo-card--clickable {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.storefront-home-promo-card--clickable:hover,
.storefront-home-promo-card--clickable:focus-visible {
  border-color: color-mix(in srgb, var(--store-brand-primary, #111827) 32%, transparent);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.14);
  transform: translateY(-2px);
}

.storefront-home-promo-card--clickable::after {
  content: "";
  position: absolute;
  inset: -28%;
  z-index: 2;
  background:
    linear-gradient(115deg, transparent 34%, rgba(255, 255, 255, 0.34) 48%, transparent 62%);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-34%) rotate(8deg);
  transition: opacity 180ms ease, transform 560ms ease;
}

.storefront-home-promo-card--clickable:hover::after,
.storefront-home-promo-card--clickable:focus-visible::after {
  opacity: 1;
  transform: translateX(34%) rotate(8deg);
}

.storefront-home-promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0 28%, rgba(255, 255, 255, 0.54) 48%, rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}

.storefront-home-promo-card > img {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 0;
  width: min(78%, 560px);
  height: 62%;
  object-fit: var(--storefront-promo-fit, contain);
  object-position: var(--storefront-promo-position, center bottom);
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 24px rgba(15, 23, 42, 0.12));
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 420ms ease;
  will-change: transform;
}

.storefront-home-promo-card--clickable:hover > img,
.storefront-home-promo-card--clickable:focus-visible > img {
  transform: translateX(-50%) translateY(-8px) scale(1.045) rotate(-0.8deg);
  filter: drop-shadow(0 24px 28px rgba(15, 23, 42, 0.16));
}

.storefront-home-promo-card--image::before {
  display: none;
}

.storefront-home-promo-card--image > img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: var(--storefront-promo-fit, cover);
  object-position: var(--storefront-promo-position, center);
  transform: none;
  filter: none;
}

.storefront-home-promo-card--image.storefront-home-promo-card--clickable:hover > img,
.storefront-home-promo-card--image.storefront-home-promo-card--clickable:focus-visible > img {
  transform: scale(1.055) rotate(0.45deg);
  filter: saturate(1.05) contrast(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .storefront-home-promo-card--clickable,
  .storefront-home-promo-card--clickable::after,
  .storefront-home-promo-card > img {
    transition: none;
  }

  .storefront-home-promo-card--clickable:hover,
  .storefront-home-promo-card--clickable:focus-visible,
  .storefront-home-promo-card--clickable:hover > img,
  .storefront-home-promo-card--clickable:focus-visible > img,
  .storefront-home-promo-card--image.storefront-home-promo-card--clickable:hover > img,
  .storefront-home-promo-card--image.storefront-home-promo-card--clickable:focus-visible > img {
    transform: none;
  }

  .storefront-home-promo-card--clickable::after {
    display: none;
  }
}

.storefront-home-promo-placeholder {
  position: absolute;
  left: 50%;
  bottom: 52px;
  z-index: 0;
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 8px;
  color: var(--store-brand-primary, #111827);
  background: rgba(255, 255, 255, 0.72);
  font-size: 3rem;
  font-weight: 900;
  transform: translateX(-50%);
}

.storefront-home-promo-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 28px 28px 0;
  text-align: center;
}

.storefront-home-promo-copy span {
  color: #6b7280;
  font-size: 0.94rem;
  line-height: 1.35;
}

.storefront-home-promo-copy h2 {
  max-width: min(100%, 620px);
  margin: 0;
  overflow-wrap: anywhere;
  color: #0b1220;
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}

.storefront-home-promo-copy p {
  margin: 0;
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
}

.storefront-home-promo-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 12px;
}

.storefront-home-promo-link {
  color: #111827;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.storefront-home-promo-link:hover {
  color: var(--store-brand-primary, #0875d1);
}

.storefront-subcategory-card-media {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 132px;
  padding: 16px;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.62), transparent 28%),
    linear-gradient(145deg, rgba(17, 24, 39, 0.05), rgba(17, 24, 39, 0.10));
}

.storefront-subcategory-card-media img {
  display: block;
  max-width: 100%;
  width: min(100%, 92px);
  height: 82px;
  object-fit: contain;
}

.storefront-subcategory-card-media strong {
  color: #0875d1;
  font-size: 1.45rem;
  font-weight: 900;
}

.storefront-subcategory-card-copy {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
  padding: 22px 22px 22px 18px;
  text-align: left;
}

.storefront-subcategory-card-copy span {
  display: block;
  max-width: 100%;
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.2;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.storefront-subcategory-card-copy strong {
  display: block;
  max-width: 260px;
  font-size: 1.05rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 1280px) {
  .storefront-category-card-grid {
    --storefront-cards-per-view: 3;
  }

  .storefront-subcategory-card-grid {
    --storefront-cards-per-view: 4;
  }

  .storefront-category-card-copy {
    padding: 22px 18px;
  }

  .storefront-category-card-copy strong {
    font-size: 1.08rem;
    line-height: 1.3;
  }

  .storefront-subcategory-card-copy {
    padding: 18px 16px;
  }

  .storefront-subcategory-card-copy strong {
    font-size: 0.96rem;
    line-height: 1.3;
  }
}

.storefront-brand-showcase {
  display: grid;
  gap: 46px;
  padding: 36px 0 62px;
  background: #fff;
}

.storefront-brand-showcase-heading {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: baseline;
  color: #111827;
  font-size: clamp(1.55rem, 2.3vw, 2.45rem);
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.storefront-brand-showcase-heading span {
  font-weight: 300;
}

.storefront-brand-showcase-heading strong {
  font-weight: 600;
}

.storefront-brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 44px 48px;
  align-items: center;
}

.storefront-brand-tile {
  display: grid;
  place-items: center;
  min-height: 98px;
  padding: 18px 16px;
  color: var(--brand-tile-color, #111827);
  text-decoration: none;
}

.storefront-brand-tile span {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(1.35rem, 1.9vw, 2.15rem);
  font-style: italic;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  transform: skew(-5deg);
  transition: transform 160ms ease, filter 160ms ease;
}

.storefront-brand-tile:hover span {
  filter: saturate(1.12);
  transform: translateY(-2px) skew(-5deg);
}

.storefront-home-slide--media {
  position: relative;
  isolation: isolate;
  background:
    var(--storefront-banner-image) var(--storefront-banner-position, center) / var(--storefront-banner-fit, cover) no-repeat;
  background-color: #05070d;
}

.storefront-home-slide--media.is-image-only {
  background:
    var(--storefront-banner-image) var(--storefront-banner-position, center) / var(--storefront-banner-fit, cover) no-repeat;
  background-color: #05070d;
}

.storefront-home-slide--media.has-copy {
  background:
    linear-gradient(90deg, rgba(10, 12, 18, 0.48), rgba(10, 12, 18, 0.24) 48%, rgba(10, 12, 18, 0.06)),
    var(--storefront-banner-image) var(--storefront-banner-position, center) / var(--storefront-banner-fit, cover) no-repeat;
  background-color: #05070d;
}

.storefront-brand-tile--image {
  display: grid;
  place-items: center;
  background: #fff;
}

.storefront-brand-tile--image img {
  display: block;
  max-width: 78%;
  max-height: 52px;
  object-fit: contain;
}

.storefront-commerce-visuals {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 36px);
  align-items: stretch;
  min-width: 0;
  margin-top: clamp(28px, 3.4vw, 56px);
  margin-bottom: clamp(30px, 4vw, 64px);
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 32px;
  background:
    radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--store-brand-accent, #ff8a18) 18%, transparent), transparent 34%),
    linear-gradient(135deg, #fff 0%, #f8fafc 58%, color-mix(in srgb, var(--store-brand-primary, #111827) 8%, #fff) 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}

.storefront-commerce-visuals-head {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
}

.storefront-commerce-visuals-head h2 {
  max-width: 520px;
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.storefront-commerce-visuals-head p {
  max-width: 520px;
  margin: 0;
  color: var(--store-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.storefront-commerce-visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  grid-template-rows: repeat(2, minmax(176px, 1fr));
  gap: 16px;
  min-width: 0;
}

.storefront-commerce-visual-card {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: end;
  min-width: 0;
  min-height: 176px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 26px;
  color: #111827;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.storefront-commerce-visual-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--store-brand-accent, #ff8a18) 48%, transparent);
  box-shadow: 0 26px 50px rgba(15, 23, 42, 0.13);
}

.storefront-commerce-visual-card span,
.storefront-commerce-visual-card strong,
.storefront-commerce-visual-card small {
  position: relative;
  z-index: 1;
  display: block;
}

.storefront-commerce-visual-card span {
  color: color-mix(in srgb, var(--store-brand-primary, #111827) 78%, #4f46e5);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storefront-commerce-visual-card strong {
  max-width: 360px;
  overflow-wrap: anywhere;
  font-size: clamp(1.25rem, 1.7vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.storefront-commerce-visual-card small {
  max-width: 330px;
  color: var(--store-muted);
  font-weight: 800;
  line-height: 1.45;
}

.storefront-commerce-visual-card--image {
  grid-row: span 2;
  grid-template-rows: auto 1fr;
  background:
    radial-gradient(circle at 78% 12%, color-mix(in srgb, var(--store-brand-accent, #ff8a18) 34%, transparent), transparent 26%),
    linear-gradient(145deg, #fff, #f8fafc);
}

.storefront-commerce-visual-media {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 220px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.70)),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.04) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(17, 24, 39, 0.04) 0 1px, transparent 1px 28px);
}

.storefront-commerce-visual-media img {
  width: min(78%, 320px);
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(15, 23, 42, 0.14));
}

.storefront-commerce-visual-media strong {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, var(--store-brand-primary, #111827), var(--store-brand-accent, #ff8a18));
}

.storefront-commerce-visual-card--deal {
  color: #fff;
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 255, 255, 0.26), transparent 25%),
    linear-gradient(135deg, var(--store-brand-primary, #111827), #111827);
}

.storefront-commerce-visual-card--deal span,
.storefront-commerce-visual-card--deal small {
  color: rgba(255, 255, 255, 0.74);
}

.storefront-commerce-visual-card--catalog {
  background:
    radial-gradient(circle at 86% 18%, color-mix(in srgb, var(--store-brand-primary, #111827) 18%, transparent), transparent 26%),
    #fff;
}

.storefront-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: min(1480px, calc(100% - 48px));
  margin: 64px auto 0;
  padding: 30px 0 38px;
  border-top: 1px solid rgba(17, 24, 39, 0.10);
  color: var(--store-muted);
}

.storefront-footer-brand {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.storefront-footer-brand strong {
  color: var(--store-text);
  font-size: 1rem;
  font-weight: 900;
}

.storefront-footer-brand span {
  color: var(--store-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.storefront-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.storefront-footer a {
  font-size: 0.9rem;
  font-weight: 700;
}

.storefront-footer a:hover {
  color: var(--store-brand-primary, #111827);
}

html[data-storefront-appearance="dark"] .storefront-footer {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 138, 24, 0.10), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0));
}

html[data-storefront-appearance="dark"] .storefront-footer-brand strong {
  color: #f8fafc;
}

html[data-storefront-appearance="dark"] .storefront-footer-brand span,
html[data-storefront-appearance="dark"] .storefront-footer a {
  color: #cbd5e1;
}

html[data-storefront-appearance="dark"] .storefront-footer a:hover {
  color: #ffffff;
}

.storefront-content-page {
  max-width: min(1180px, calc(100% - 48px));
  margin: 38px auto 0;
}

.storefront-content-page-hero {
  display: grid;
  align-items: end;
  min-height: 360px;
  padding: clamp(34px, 6vw, 72px);
  color: #fff;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--store-brand-primary, #111827) 94%, #111827), #111827),
    var(--storefront-content-hero-image, none) center / cover no-repeat;
}

.storefront-content-page-hero--image {
  background:
    linear-gradient(90deg, rgba(10, 12, 18, 0.82), rgba(10, 12, 18, 0.48)),
    var(--storefront-content-hero-image) center / cover no-repeat;
}

.storefront-content-page-hero > div {
  max-width: 760px;
}

.storefront-content-page-hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.storefront-content-page-hero p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.7;
}

.storefront-content-page-body {
  max-width: 840px;
  margin: 42px auto 0;
  color: #3f4652;
  font-size: 1.04rem;
  line-height: 1.85;
}

.storefront-content-page-body p {
  margin: 0 0 20px;
}

.storefront-content-page-empty {
  color: var(--store-muted);
}

.storefront-brand-tile--acer { --brand-tile-color: #62b83c; }
.storefront-brand-tile--amd { --brand-tile-color: #111827; }
.storefront-brand-tile--aoc { --brand-tile-color: #050505; }
.storefront-brand-tile--aorus,
.storefront-brand-tile--gigabyte { --brand-tile-color: #111827; }
.storefront-brand-tile--asus { --brand-tile-color: #005aaa; }
.storefront-brand-tile--aten { --brand-tile-color: #13598d; }
.storefront-brand-tile--canon { --brand-tile-color: #df1723; }
.storefront-brand-tile--chenbro { --brand-tile-color: #32358c; }
.storefront-brand-tile--chint { --brand-tile-color: #005ca8; }
.storefront-brand-tile--cooler-master { --brand-tile-color: #161616; }
.storefront-brand-tile--corsair { --brand-tile-color: #2d3137; }
.storefront-brand-tile--cricut { --brand-tile-color: #00b881; }
.storefront-brand-tile--dahua { --brand-tile-color: #e30613; }
.storefront-brand-tile--deye { --brand-tile-color: #3a9fcb; }
.storefront-brand-tile--d-link { --brand-tile-color: #008f96; }
.storefront-brand-tile--dyness { --brand-tile-color: #5bbf22; }
.storefront-brand-tile--epson { --brand-tile-color: #273a8d; }
.storefront-brand-tile--everki { --brand-tile-color: #1b1b1f; }
.storefront-brand-tile--intel { --brand-tile-color: #0071c5; }
.storefront-brand-tile--lg { --brand-tile-color: #a50034; }
.storefront-brand-tile--logitech { --brand-tile-color: #222326; }
.storefront-brand-tile--hisense { --brand-tile-color: #00aaa6; }
.storefront-brand-tile--lenovo { --brand-tile-color: #e2231a; }
.storefront-brand-tile--msi { --brand-tile-color: #b91c1c; }
.storefront-brand-tile--newland { --brand-tile-color: #1f5ea8; }
.storefront-brand-tile--poslab { --brand-tile-color: #dd1f2f; }
.storefront-brand-tile--pny { --brand-tile-color: #222326; }
.storefront-brand-tile--luxpower { --brand-tile-color: #5abf83; }
.storefront-brand-tile--samsung { --brand-tile-color: #1456a8; }
.storefront-brand-tile--seagate { --brand-tile-color: #202124; }
.storefront-brand-tile--synology { --brand-tile-color: #8a8f94; }
.storefront-brand-tile--transcend { --brand-tile-color: #c81045; }
.storefront-brand-tile--vivotek { --brand-tile-color: #1473e6; }
.storefront-brand-tile--rct { --brand-tile-color: #1f2937; }
.storefront-brand-tile--zebra { --brand-tile-color: #111827; }
.storefront-brand-tile--dji { --brand-tile-color: #111827; }
}

.storefront-firesale-strip {
  display: grid;
  gap: 16px;
  margin-top: clamp(30px, 4vw, 64px);
  padding: 30px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92)),
    radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--store-brand-accent, #ff8a18) 15%, transparent), transparent 22%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}

.storefront-firesale-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 16px;
}

.storefront-firesale-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 128px;
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 24px;
  color: #111827;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

@media (max-width: 1380px) {
  .storefront-top-strip {
    gap: 22px;
    padding-inline: 22px;
  }

  .storefront-nav {
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 460px) minmax(160px, 0.44fr);
    gap: 20px;
    min-height: 94px;
    padding: 22px 22px 20px;
  }

  .storefront-nav-left {
    gap: 20px;
  }

  .storefront-brand-logo {
    max-width: 138px;
    max-height: 48px;
  }

  .storefront-brand strong {
    font-size: 1.04rem;
  }

  .storefront-brand small {
    font-size: 0.82rem;
  }

  .storefront-nav-links {
    gap: 14px;
  }

  .storefront-nav-links > a,
  .storefront-store-dropdown > a,
  .storefront-nav-link-disabled {
    min-height: 38px;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
  }

  .storefront-nav-search {
    width: min(420px, 100%);
  }

  .storefront-nav-search input {
    height: 40px;
    font-size: 0.84rem;
  }

  .storefront-nav-search button {
    min-width: 76px;
    height: 32px;
    font-size: 0.72rem;
  }

  .storefront-top-actions {
    right: 16px;
  }

  .storefront-profile-chip {
    max-width: min(300px, calc(100dvw - 118px));
  }

  .storefront-commerce-layout {
    grid-template-columns: minmax(200px, 230px) minmax(0, 1fr);
    gap: 22px;
    width: min(100%, calc(100% - 40px));
  }

  .storefront-product-grid,
  .storefront-catalog-skeleton,
  .storefront-page-skeleton-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 22px;
  }

  .storefront-product-card {
    min-height: 292px;
  }

  .storefront-product-card-link {
    grid-template-rows: 184px 1fr auto;
    min-height: 292px;
  }

  .storefront-product-media {
    min-height: 184px;
    padding: 18px 14px 6px;
  }

  .storefront-product-media img {
    max-width: 190px;
    max-height: 148px;
  }

  .storefront-product-body {
    padding: 0 16px 12px;
  }

  .storefront-product-body h3 {
    font-size: 0.82rem;
    line-height: 1.32;
  }

  .storefront-product-purchase {
    gap: 8px;
    padding: 0 16px 16px;
  }

  .storefront-product-price {
    font-size: 0.92rem;
  }
}

@media (max-width: 1180px) {
  .storefront-top-actions {
    position: static;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: min(100%, calc(100% - 32px));
    margin: 12px auto;
    padding: 6px;
    overflow: visible;
  }

  .storefront-top-action-button {
    display: inline-grid;
    flex: 0 0 auto;
  }

  .storefront-top-action-button--menu {
    order: 1;
  }

  .storefront-profile-menu {
    order: 2;
    flex: 1 1 220px;
    min-width: 0;
    max-width: 360px;
  }

  .storefront-profile-chip {
    width: 100%;
    max-width: none;
    grid-template-columns: 24px minmax(0, 1fr) 12px;
  }

  .storefront-profile-copy,
  .storefront-profile-copy strong,
  .storefront-profile-copy span,
  .storefront-profile-copy small {
    max-width: none;
  }

  .storefront-top-actions .storefront-appearance-toggle {
    order: 4;
  }

  .storefront-mini-cart {
    order: 5;
  }

  .storefront-top-action-button--filters {
    order: 3;
    margin-left: 0;
    color: #111827;
    background: #fff;
  }

  .storefront-nav {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    min-height: auto;
  }

  .storefront-nav-left {
    grid-column: 1;
    justify-content: space-between;
  }

  .storefront-nav-links {
    display: none;
  }

  .storefront-mobile-menu-trigger {
    display: inline-grid;
  }

  @supports selector(:has(*)) {
    .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
      display: none;
    }
  }

  .storefront-nav-search {
    grid-column: 1;
    justify-self: center;
    width: min(520px, 100%);
  }

  .storefront-nav > .storefront-nav-search {
    display: none;
  }

  .storefront-mega-menu {
    display: none;
  }

  .storefront-commerce-visuals {
    grid-template-columns: 1fr;
    padding: clamp(24px, 3.4vw, 42px);
  }

  .storefront-commerce-visuals-head {
    align-content: start;
  }

  .storefront-commerce-visuals-head h2,
  .storefront-commerce-visuals-head p {
    max-width: 720px;
  }

  .storefront-commerce-visual-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .storefront-commerce-layout {
    grid-template-columns: 1fr;
  }

  .storefront-filter-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 520;
    display: block;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(6px);
    touch-action: none;
  }

  .storefront-filter-drawer-backdrop[hidden] {
    display: none;
  }

  .storefront-filter-panel {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 530;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(430px, 100dvw);
    max-width: 100dvw;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 18px;
    color: #111827;
    background: #fff;
    box-shadow: -24px 0 60px rgba(15, 23, 42, 0.28);
    transform: translateX(100%);
    transition: transform 180ms ease;
  }

  .storefront-filter-panel.is-open {
    transform: translateX(0);
  }

  .storefront-filter-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }

  .storefront-filter-panel-header strong {
    font-size: 1.05rem;
  }

  .storefront-filter-panel-header button {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 6px;
    color: #111827;
    background: #fff;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
  }

  body.storefront-filter-drawer-open {
    overflow: hidden;
  }

  .storefront-product-grid,
  .storefront-catalog-skeleton,
  .storefront-page-skeleton-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
  }
}

@media (max-width: 1280px) {
  .storefront-category-card-grid {
    --storefront-cards-per-view: 3;
  }

  .storefront-subcategory-card-grid {
    --storefront-cards-per-view: 4;
  }

  .storefront-brand-grid {
    grid-template-columns: repeat(4, minmax(140px, 1fr));
  }
}

.storefront-firesale-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--store-brand-accent, #ff8a18) 48%, transparent);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.storefront-firesale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 999px;
  color: #111827;
  background: color-mix(in srgb, var(--store-brand-accent, #ff8a18) 26%, #fff);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.storefront-firesale-media {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.70)),
    repeating-linear-gradient(90deg, rgba(17, 24, 39, 0.035) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(0deg, rgba(17, 24, 39, 0.035) 0 1px, transparent 1px 24px);
}

.storefront-firesale-media img {
  max-width: 84px;
  max-height: 84px;
  object-fit: contain;
}

.storefront-firesale-media strong {
  color: #0875d1;
  font-weight: 900;
  text-transform: lowercase;
}

.storefront-firesale-card div:last-child {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.storefront-firesale-card div:last-child strong,
.storefront-firesale-card div:last-child span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-firesale-card div:last-child span {
  color: var(--store-muted);
  font-size: 0.86rem;
}

.storefront-firesale-card div:last-child small {
  color: #111827;
  font-size: 1rem;
  font-weight: 900;
}

.storefront-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}

.storefront-access-panel,
.storefront-panel:not(.storefront-access-panel) {
  width: min(1560px, calc(100% - 64px));
  margin: 0 auto;
}

.storefront-commerce-layout {
  width: min(1720px, calc(100% - 56px));
  margin: 0 auto;
}

.storefront-count,
.storefront-branch,
.storefront-badge,
.storefront-stock {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.storefront-count,
.storefront-branch {
  border: 1px solid var(--store-line);
  color: var(--store-indigo-deep);
  background: rgba(255, 255, 255, 0.68);
}

.storefront-badge {
  color: var(--store-indigo);
  background: rgba(92, 83, 214, 0.1);
}

.storefront-stock {
  color: #94610a;
  background: rgba(255, 159, 41, 0.16);
}

.storefront-grid,
.storefront-product-grid {
  display: grid;
  gap: 18px;
}

.storefront-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.storefront-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.storefront-card,
.storefront-product-card,
.storefront-context-card,
.storefront-message {
  border: 1px solid var(--store-line);
  border-radius: 24px;
  background: var(--store-surface-strong);
}

.storefront-card,
.storefront-product-card {
  padding: 0;
}

.storefront-product-card {
  position: relative;
  display: block;
  min-height: 380px;
  border-radius: 3px;
  overflow: hidden;
  color: inherit;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.storefront-product-card-link {
  display: grid;
  grid-template-rows: 220px auto auto;
  min-height: 380px;
  color: inherit;
  text-align: center;
  text-decoration: none;
}

.storefront-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.10);
}

.storefront-product-grid .storefront-product-card {
  isolation: isolate;
}

.storefront-product-grid .storefront-product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 2px solid color-mix(in srgb, var(--store-brand-accent, #ff8a18) 72%, var(--store-brand-primary, #111827));
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, #fff 48%, transparent),
    0 18px 42px color-mix(in srgb, var(--store-brand-primary, #111827) 16%, transparent);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.992);
  transition: opacity 170ms ease, transform 170ms ease;
}

.storefront-product-grid .storefront-product-card:hover::before,
.storefront-product-grid .storefront-product-card:focus-within::before {
  opacity: 1;
  transform: scale(1);
}

.storefront-product-grid .storefront-product-card:hover,
.storefront-product-grid .storefront-product-card:focus-within {
  border-color: color-mix(in srgb, var(--store-brand-accent, #ff8a18) 64%, var(--store-line));
  box-shadow: 0 20px 44px color-mix(in srgb, var(--store-brand-primary, #111827) 16%, rgba(15, 23, 42, 0.12));
}

.storefront-product-quick-add {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 8;
  margin: 0;
}

.storefront-product-quick-add-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid color-mix(in srgb, var(--store-line) 76%, transparent);
  border-radius: 999px;
  color: var(--store-indigo-deep);
  background: color-mix(in srgb, var(--store-surface-strong) 86%, #fff 14%);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.storefront-product-quick-add-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storefront-product-quick-add-button:hover,
.storefront-product-quick-add-button:focus-visible {
  color: #fff;
  background: var(--store-indigo);
  box-shadow: 0 18px 34px color-mix(in srgb, var(--store-indigo) 28%, rgba(15, 23, 42, 0.18));
  transform: translateY(-1px);
}

.storefront-product-quick-add-button:disabled {
  cursor: not-allowed;
  color: var(--store-shell-muted);
  background: color-mix(in srgb, var(--store-skeleton-panel) 72%, transparent);
  box-shadow: none;
}

.storefront-product-quick-add-feedback {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 9;
  margin: 0;
  text-align: center;
}

.storefront-product-media {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 220px;
  padding: 24px 18px 12px;
  background: #fff;
}

.storefront-product-media img {
  display: block;
  width: 100%;
  max-width: 220px;
  max-height: 176px;
  object-fit: contain;
}

.storefront-product-card-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--store-indigo) 48%, transparent);
  outline-offset: -3px;
}

.storefront-product-media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.04), rgba(17, 24, 39, 0.01));
}

.storefront-product-media-placeholder[hidden] {
  display: none !important;
}

.storefront-product-body {
  display: grid;
  gap: 10px;
  justify-items: center;
  align-self: start;
  padding: 14px 22px 16px;
}

.storefront-product-body h3 {
  color: #111;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
}

.storefront-product-card-description {
  display: -webkit-box;
  max-width: 25ch;
  margin: 0;
  overflow: hidden;
  color: #647084;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.storefront-product-purchase {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 0 22px 20px;
}

.storefront-product-price {
  display: block;
  color: #111;
  font-size: 1rem;
  font-weight: 900;
}

.storefront-product-previous-price,
.storefront-product-detail-previous-price {
  display: block;
  color: #7a8498;
  font-weight: 800;
  text-decoration-line: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(220, 38, 38, 0.65);
}

.storefront-product-previous-price {
  margin-bottom: 3px;
  font-size: 0.76rem;
}

.storefront-product-detail-previous-price {
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.storefront-product-firesale-badge,
.storefront-product-new-badge,
.storefront-product-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.storefront-product-firesale-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  color: #fff;
  background: linear-gradient(135deg, #ff2a1f, #e10600);
  box-shadow: 0 10px 22px rgba(225, 6, 0, 0.24);
}

.storefront-product-new-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  color: #fff;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.24);
}

.storefront-product-firesale-badge + .storefront-product-new-badge {
  top: 42px;
}

.storefront-product-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.storefront-product-firesale-badge--detail {
  position: static;
}

.storefront-product-new-badge--detail {
  position: static;
}

.storefront-product-discount-badge {
  color: #991b1b;
  background: rgba(254, 226, 226, 0.9);
}

.storefront-product-purchase small {
  display: block;
  margin-top: 3px;
  color: var(--store-muted);
  font-size: 0.72rem;
}

.storefront-card-top,
.storefront-product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.storefront-meta,
.storefront-product-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.storefront-meta dt,
.storefront-product-meta dt {
  color: var(--store-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.storefront-meta dd,
.storefront-product-meta dd,
.storefront-product-code {
  margin: 6px 0 0;
  font-weight: 700;
}

.storefront-filter-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 16px;
  margin-bottom: 20px;
}

.storefront-filter-bar--catalog {
  grid-template-columns: minmax(160px, 220px) minmax(260px, 1fr) auto auto;
}

.storefront-filter-bar label {
  display: grid;
  gap: 8px;
}

.storefront-filter-bar span {
  color: var(--store-indigo-deep);
  font-size: 0.85rem;
  font-weight: 700;
}

.storefront-filter-bar input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(125, 138, 188, 0.35);
  border-radius: 16px;
  font: inherit;
  color: var(--store-text);
  background: #fff;
}

.storefront-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  align-self: end;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  background: var(--store-brand-primary, #111827);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--store-brand-primary, #111827) 22%, transparent);
}

.storefront-button--secondary {
  border: 1px solid var(--store-line);
  color: var(--store-indigo-deep);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: none;
}

.storefront-context-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.storefront-commerce-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-top: 28px;
}

.storefront-catalog-toolbar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid var(--store-shell-line);
  border-radius: 4px;
  background: var(--store-surface-strong);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.storefront-catalog-toolbar .storefront-sort-strip {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.storefront-catalog-toolbar-summary {
  display: grid;
  gap: 4px;
  color: var(--store-shell-muted);
  font-size: 0.82rem;
}

.storefront-catalog-toolbar-summary strong {
  color: var(--store-shell-text);
  font-size: 0.98rem;
}

.storefront-catalog-toolbar-summary small {
  color: var(--store-shell-muted);
  font-size: 0.76rem;
}

.storefront-filter-open-button {
  min-height: 38px;
  padding: 0 16px;
}

.storefront-filter-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 520;
  display: block;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(6px);
  touch-action: none;
}

.storefront-filter-drawer-backdrop[hidden] {
  display: none;
}

.storefront-filter-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 530;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(460px, 100dvw);
  max-width: 100dvw;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
  padding: 20px;
  color: #111827;
  background: #fff;
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.28);
  transform: translateX(calc(100% + 24px));
  visibility: hidden;
  pointer-events: none;
  transition: transform 180ms ease, visibility 180ms ease;
}

.storefront-filter-panel.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.storefront-filter-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--store-shell-line);
}

.storefront-filter-panel-header strong {
  display: block;
  margin-top: 3px;
  color: var(--store-shell-text);
  font-size: 1.25rem;
}

.storefront-filter-panel-header button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 5px;
  color: #111827;
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.storefront-filter-panel-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.storefront-filter-tab {
  min-height: 40px;
  border: 1px solid var(--store-shell-line);
  border-radius: 5px;
  color: var(--store-shell-text);
  background: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.storefront-filter-tab.is-active {
  color: #fff;
  border-color: var(--store-brand-primary, #111827);
  background: var(--store-brand-primary, #111827);
}

.storefront-filter-tab-panel {
  display: grid;
  gap: 18px;
}

.storefront-filter-tab-panel[hidden] {
  display: none !important;
}

.storefront-filter-panel form {
  display: grid;
  gap: 18px;
}

.storefront-filter-group {
  display: grid;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--store-shell-line);
}

.storefront-filter-group h3 {
  margin: 0;
  color: var(--store-shell-text);
  font-size: 0.84rem;
  font-weight: 800;
}

.storefront-filter-group legend {
  margin-bottom: 10px;
  color: var(--store-shell-text);
  font-size: 0.84rem;
  font-weight: 900;
}

.storefront-filter-group--checks {
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--store-shell-line);
}

.storefront-filter-group--collapsible {
  gap: 0;
  padding-bottom: 10px;
}

.storefront-filter-group--collapsible summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid var(--store-shell-line);
  border-radius: 6px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-bg) 74%, var(--store-skeleton-panel));
  cursor: pointer;
  list-style: none;
}

.storefront-filter-group--collapsible summary::-webkit-details-marker {
  display: none;
}

.storefront-filter-group--collapsible summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: var(--store-brand-primary, #0875d1);
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 9%, transparent);
  font-weight: 900;
}

.storefront-filter-group--collapsible[open] summary::after {
  content: "-";
}

.storefront-filter-group--collapsible summary span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  color: var(--store-shell-text);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 900;
}

.storefront-filter-group--collapsible summary small {
  flex: 0 0 auto;
  color: var(--store-shell-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.storefront-filter-group-options {
  display: grid;
  gap: 8px;
  padding: 10px 0 4px;
}

.storefront-filter-group input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--store-shell-line);
  border-radius: 4px;
  color: var(--store-shell-text);
  font: inherit;
  font-size: 0.84rem;
  background: color-mix(in srgb, var(--store-shell-bg) 72%, var(--store-skeleton-panel));
}

.storefront-filter-group span {
  display: flex;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: 4px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-bg) 78%, var(--store-skeleton-panel));
  font-size: 0.78rem;
}

.storefront-filter-link {
  display: block;
  padding: 9px 10px;
  border-radius: 4px;
  color: var(--store-shell-muted);
  background: color-mix(in srgb, var(--store-shell-bg) 76%, var(--store-skeleton-panel));
  font-size: 0.78rem;
  font-weight: 800;
  transition: background 140ms ease, color 140ms ease, transform 140ms ease;
}

.storefront-filter-link:hover,
.storefront-filter-link.is-active {
  color: var(--store-shell-text);
  background: rgba(8, 117, 209, 0.10);
}

.storefront-filter-link:hover {
  transform: translateX(2px);
}

.storefront-filter-link--category {
  margin-top: 4px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-bg) 70%, var(--store-skeleton-panel));
  border: 1px solid var(--store-shell-line);
}

.storefront-filter-link--sub {
  margin-left: 12px;
  padding-left: 14px;
  color: var(--store-shell-muted);
  background: color-mix(in srgb, var(--store-shell-bg) 70%, var(--store-skeleton-panel));
  border-left: 2px solid var(--store-shell-line);
}

.storefront-filter-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--store-shell-text);
  font-size: 0.8rem;
  font-weight: 800;
}

.storefront-filter-check input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 10px;
}

.storefront-filter-check span {
  flex: 1 1 auto;
}

.storefront-filter-check small {
  color: var(--store-shell-muted);
  font-size: 0.72rem;
}

.storefront-filter-empty {
  padding: 16px;
  border: 1px dashed var(--store-shell-line);
  border-radius: 6px;
  color: var(--store-shell-muted);
  background: color-mix(in srgb, var(--store-shell-bg) 80%, var(--store-skeleton-panel));
  font-size: 0.86rem;
  line-height: 1.5;
}

.storefront-filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 4px;
}

body.storefront-filter-drawer-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .storefront-catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .storefront-catalog-toolbar .storefront-sort-strip {
    align-items: stretch;
    gap: 12px;
  }

  .storefront-catalog-toolbar .storefront-sort-strip label {
    justify-content: space-between;
  }

  .storefront-filter-open-button,
  .storefront-catalog-toolbar .storefront-sort-strip select {
    width: 100%;
  }

  .storefront-filter-panel {
    width: 100dvw;
  }
}

@media (max-width: 1180px) {
  .storefront-filter-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 520;
    display: block;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(6px);
  }

  .storefront-filter-drawer-backdrop[hidden] {
    display: none;
  }

  .storefront-filter-panel {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 530;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(430px, 100dvw);
    max-width: 100dvw;
    overflow-y: auto;
    padding: 18px;
    color: #111827;
    background: #fff;
    box-shadow: -24px 0 60px rgba(15, 23, 42, 0.28);
    transform: translateX(calc(100% + 24px));
    visibility: hidden;
    pointer-events: none;
    transition: transform 180ms ease, visibility 180ms ease;
  }

  .storefront-filter-panel.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .storefront-filter-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
  }

  .storefront-filter-panel-header strong {
    font-size: 1.05rem;
  }

  .storefront-filter-panel-header button {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 6px;
    color: #111827;
    background: #fff;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
  }

  body.storefront-filter-drawer-open {
    overflow: hidden;
  }
}

.storefront-product-listing {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.storefront-commerce-layout .storefront-product-listing {
  position: relative;
  width: 100%;
  margin: 0;
}

.storefront-error-page {
  display: grid;
  place-items: center;
  min-height: min(640px, calc(100vh - 260px));
  padding: 72px 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96)),
    radial-gradient(circle at 20% 10%, color-mix(in srgb, var(--store-brand-accent, #ff8a18) 12%, transparent), transparent 34%);
}

.storefront-error-panel {
  display: grid;
  gap: 18px;
  width: min(720px, 100%);
  padding: 42px;
  border: 1px solid rgba(125, 138, 188, 0.24);
  border-radius: 8px;
  color: var(--store-text);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 70px rgba(17, 24, 39, 0.12);
}

.storefront-error-kicker {
  color: var(--store-brand-primary, #111827);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storefront-error-panel h1 {
  margin: 0;
  max-width: 620px;
  color: var(--store-text);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.98;
}

.storefront-error-panel p {
  margin: 0;
  max-width: 560px;
  color: var(--store-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.storefront-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.storefront-error-reference {
  padding-top: 8px;
  border-top: 1px solid rgba(125, 138, 188, 0.22);
  font-size: 0.85rem;
}

.storefront-error-reference span {
  color: var(--store-text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.storefront-product-listing .storefront-panel-header {
  margin-bottom: 36px;
}

.storefront-catalog-skeleton[hidden] {
  display: none;
}

.storefront-catalog-skeleton {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  min-height: min(980px, calc(100vh - 260px));
  width: 100%;
  margin: 0 0 30px;
}

.storefront-product-listing.is-loading .storefront-product-grid,
.storefront-product-listing.is-loading .storefront-empty-state,
.storefront-product-listing.is-loading .storefront-pager {
  display: none;
  pointer-events: none;
}

.storefront-skeleton-card {
  display: grid;
  grid-template-rows: 210px 36px 1fr 54px;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--store-skeleton-line);
  border-radius: 3px;
  background: var(--store-skeleton-surface);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.10);
}

.storefront-skeleton-card span,
.storefront-skeleton-card strong,
.storefront-skeleton-card small,
.storefront-skeleton-card em,
.storefront-page-skeleton-filters span,
.storefront-page-skeleton-filters strong,
.storefront-page-skeleton-header span,
.storefront-page-skeleton-header strong {
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--store-skeleton-a), var(--store-skeleton-b), var(--store-skeleton-a));
  background-size: 220% 100%;
  animation: storefront-skeleton-shimmer 1.2s ease-in-out infinite;
}

.storefront-skeleton-card span {
  align-self: center;
  justify-self: center;
  width: min(220px, calc(100% - 36px));
  height: min(176px, calc(100% - 34px));
  margin: 0;
  border-radius: 5px;
}

.storefront-skeleton-card strong {
  justify-self: start;
  align-self: end;
  width: 38%;
  height: 12px;
  margin: 0 22px 10px;
}

.storefront-skeleton-card small {
  justify-self: start;
  width: calc(100% - 44px);
  height: 30px;
  margin: 0 22px;
  border-radius: 5px;
}

.storefront-skeleton-card em {
  justify-self: start;
  align-self: start;
  width: 52%;
  height: 18px;
  margin: 6px 22px 0;
}

.storefront-page-skeleton[hidden] {
  display: none;
}

.storefront-page-skeleton {
  position: fixed;
  inset: 162px 0 0;
  z-index: 90;
  overflow: auto;
  padding: 42px 0 56px;
  background: var(--store-shell-bg);
}

.storefront-page-skeleton-inner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  width: min(1720px, calc(100% - 56px));
  margin: 0 auto;
}

.storefront-page-skeleton-filters {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--store-skeleton-line);
  border-radius: 22px;
  background: var(--store-skeleton-panel);
}

.storefront-page-skeleton-filters span {
  width: 54%;
  height: 14px;
  margin-bottom: 4px;
}

.storefront-page-skeleton-filters strong {
  width: 100%;
  height: 42px;
}

.storefront-page-skeleton-listing {
  min-width: 0;
}

.storefront-page-skeleton-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.storefront-page-skeleton-header span {
  width: 190px;
  height: 28px;
}

.storefront-page-skeleton-header strong {
  width: 280px;
  height: 28px;
}

.storefront-page-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  min-height: calc(100vh - 290px);
}

@keyframes storefront-skeleton-shimmer {
  0% {
    background-position: 120% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

.storefront-sort-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--store-muted);
  font-size: 0.78rem;
}

.storefront-sort-strip label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111827;
  font-weight: 800;
}

.storefront-sort-strip select {
  min-width: 140px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(17, 24, 39, 0.15);
  border-radius: 5px;
  background: #fff;
}

.storefront-cart-panel {
  grid-column: 2;
  position: static;
  width: auto;
}

.storefront-add-cart {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 10px;
  align-items: end;
}

.storefront-add-cart input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(125, 138, 188, 0.35);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.storefront-add-cart .storefront-button {
  min-height: 42px;
  border-radius: 4px;
  font-size: 0.78rem;
}

.storefront-cart-lines {
  display: grid;
  gap: 12px;
}

.storefront-cart-line {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--store-line);
  border-radius: 18px;
  background: #fff;
}

.storefront-cart-line-image {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #f6f6f6;
}

.storefront-cart-line-image img {
  max-width: 42px;
  max-height: 42px;
  object-fit: contain;
}

.storefront-cart-line span {
  display: block;
  margin-top: 4px;
  color: var(--store-muted);
  font-size: 0.82rem;
}

.storefront-cart-line form {
  margin-top: 6px;
  text-align: right;
}

.storefront-cart-line button {
  border: 0;
  padding: 0;
  color: #8a2f2f;
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

button.is-button-loading,
.storefront-button.is-button-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.82;
}

button.is-button-loading::after,
.storefront-button.is-button-loading::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  vertical-align: -0.14em;
  animation: storefront-button-spin 0.72s linear infinite;
}

@keyframes storefront-button-spin {
  to {
    transform: rotate(360deg);
  }
}

.storefront-checkout {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--store-line);
}

.storefront-checkout label {
  display: grid;
  gap: 6px;
}

.storefront-checkout span {
  color: var(--store-indigo-deep);
  font-size: 0.8rem;
  font-weight: 800;
}

.storefront-checkout input {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(125, 138, 188, 0.35);
  border-radius: 14px;
  font: inherit;
}

.storefront-cart-note {
  margin: 0;
  color: var(--store-muted);
  font-size: 0.82rem;
}

.storefront-cart-feedback {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 800;
}

.storefront-cart-feedback.is-success {
  color: #0f5132;
  background: #d1e7dd;
}

.storefront-cart-feedback.is-warning {
  color: #664d03;
  background: #fff3cd;
}

.storefront-cart-feedback.is-danger {
  color: #842029;
  background: #f8d7da;
}

.storefront-toast {
  position: fixed;
  top: calc(var(--store-top-strip-height, 70px) + 14px);
  right: max(18px, calc((100% - 1720px) / 2));
  z-index: 1800;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: min(420px, calc(100% - 32px));
  padding: 16px 16px 16px 14px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
  color: #111827;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  animation: storefront-toast-in 0.22s ease-out both;
}

.storefront-toast.is-hiding {
  animation: storefront-toast-out 0.2s ease-in both;
}

.storefront-toast__indicator {
  width: 10px;
  height: 34px;
  border-radius: 999px;
  background: var(--store-brand-primary);
}

.storefront-toast__dismiss {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.storefront-toast--success .storefront-toast__indicator {
  background: #16a34a;
}

.storefront-toast--danger .storefront-toast__indicator {
  background: #dc2626;
}

.storefront-toast--warning .storefront-toast__indicator {
  background: #f59e0b;
}

.storefront-toast--info .storefront-toast__indicator {
  background: var(--store-brand-primary);
}

.storefront-cookie-notice[hidden] {
  display: none;
}

.storefront-cookie-notice {
  position: fixed;
  left: max(18px, calc((100% - 1720px) / 2));
  right: max(18px, calc((100% - 1720px) / 2));
  bottom: 18px;
  z-index: 1700;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(780px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: 8px;
  color: #111827;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.20);
  animation: storefront-cookie-notice-in 0.22s ease-out both;
}

.storefront-cookie-notice__copy {
  min-width: 0;
}

.storefront-cookie-notice__copy strong,
.storefront-cookie-notice__copy p {
  display: block;
}

.storefront-cookie-notice__copy strong {
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 800;
}

.storefront-cookie-notice__copy p {
  margin: 0;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
}

.storefront-cookie-notice__actions {
  display: flex;
  justify-content: flex-end;
}

.storefront-cookie-notice__button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: var(--store-brand-primary, #111827);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--store-brand-primary, #111827) 20%, transparent);
}

.storefront-cookie-notice__button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--store-brand-accent, #ff8a18) 48%, transparent);
  outline-offset: 3px;
}

@keyframes storefront-cookie-notice-in {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes storefront-toast-in {
  from {
    opacity: 0;
    transform: translate3d(0, -12px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes storefront-toast-out {
  to {
    opacity: 0;
    transform: translate3d(0, -8px, 0) scale(0.98);
  }
}

.storefront-message {
  padding: 18px 20px;
}

.storefront-login-screen .storefront-message {
  width: min(620px, 100%);
  padding: 16px 20px;
  border-width: 1px;
  border-radius: 18px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.storefront-message--danger {
  color: #8a2f2f;
  border-color: rgba(219, 88, 88, 0.26);
  background: rgba(255, 245, 245, 0.96);
}

.storefront-message--warning {
  color: #896018;
  border-color: rgba(255, 159, 41, 0.32);
  background: rgba(255, 250, 237, 0.96);
}

.storefront-message--success {
  color: #0f5132;
  border-color: rgba(25, 135, 84, 0.28);
  background: linear-gradient(135deg, rgba(209, 242, 224, 0.98), rgba(236, 253, 245, 0.98));
}

.storefront-message--info {
  color: var(--store-indigo-deep);
}

.storefront-signin-card {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 420px) auto;
  gap: 18px;
  align-items: end;
  padding: 22px;
  border: 1px solid var(--store-line);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 159, 41, 0.13), transparent 28%),
    #fff;
}

.storefront-signin-card p {
  margin: 0;
  color: var(--store-muted);
}

.storefront-signin-card label {
  display: grid;
  gap: 8px;
}

.storefront-signin-card label span {
  color: var(--store-indigo-deep);
  font-size: 0.85rem;
  font-weight: 700;
}

.storefront-signin-card input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(125, 138, 188, 0.35);
  border-radius: 16px;
  font: inherit;
  color: var(--store-text);
  background: #fff;
}

.storefront-empty-state {
  display: grid;
  min-height: 160px;
  place-items: center;
  padding: 28px;
  border: 1px dashed rgba(132, 150, 196, 0.38);
  border-radius: 24px;
  color: var(--store-muted);
  background: rgba(255, 255, 255, 0.66);
  font-weight: 700;
  text-align: center;
}

.storefront-empty-state--compact {
  min-height: 120px;
}

.storefront-shell,
.storefront-shell input,
.storefront-shell select,
.storefront-shell textarea,
.storefront-shell button {
  font-weight: 400;
}

.storefront-shell h1,
.storefront-shell h2,
.storefront-shell h3,
.storefront-shell strong,
.storefront-shell b,
.storefront-top-strip,
.storefront-brand strong,
.storefront-brand-mark,
.storefront-kicker,
.storefront-button,
.storefront-nav-links > a,
.storefront-store-dropdown > a,
.storefront-nav-search button,
.storefront-mega-category strong,
.storefront-mega-subcategory,
.storefront-mega-feature-tile,
.storefront-mega-more,
.storefront-profile-avatar,
.storefront-profile-copy strong,
.storefront-profile-chevron,
.storefront-profile-dropdown a,
.storefront-profile-dropdown button,
.storefront-product-media-placeholder,
.storefront-product-body h3,
.storefront-product-price,
.storefront-category-card-media strong,
.storefront-category-card-copy span,
.storefront-category-card-copy small,
.storefront-subcategory-card-copy span,
.storefront-filter-group h3,
.storefront-filter-link,
.storefront-sort-strip label,
.storefront-count,
.storefront-branch,
.storefront-badge,
.storefront-stock,
.storefront-mini-cart-icon,
.storefront-mini-cart summary strong,
.storefront-profile-name {
  font-weight: 600;
}

@media (max-width: 960px) {
  .storefront-shell {
    padding: 16px;
  }

  .storefront-login-card,
  .storefront-login-form,
  .storefront-password-reset form {
    grid-template-columns: 1fr;
  }

  .storefront-login-card-heading,
  .storefront-login-recovery-heading {
    display: grid;
    gap: 4px;
  }

  .storefront-top-actions {
    position: static;
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: min(100%, calc(100% - 32px));
    margin: 12px auto;
    padding: 6px;
    overflow: visible;
  }

  .storefront-profile-chip {
    position: static;
    width: 100%;
    max-width: none;
    border-radius: 10px;
    grid-template-columns: 24px minmax(0, 1fr) 12px;
  }

  .storefront-profile-menu {
    flex: 1 1 200px;
    min-width: 0;
  }

  .storefront-profile-copy,
  .storefront-profile-copy strong,
  .storefront-profile-copy span,
  .storefront-profile-copy small {
    max-width: none;
  }

  .storefront-mini-cart-menu {
    right: auto;
    left: 0;
  }

  .storefront-cookie-notice {
    grid-template-columns: 1fr;
    justify-items: stretch;
    width: min(100%, calc(100% - 24px));
    padding: 14px;
  }

  .storefront-cookie-notice__actions {
    justify-content: stretch;
  }

  .storefront-cookie-notice__button {
    width: 100%;
  }

  .storefront-nav,
  .storefront-panel-header,
  .storefront-context-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .storefront-top-strip {
    min-height: 44px;
    padding-inline: 18px;
  }

  .storefront-nav {
    gap: 18px;
    min-height: auto;
    padding: 18px;
  }

  .storefront-nav-left {
    grid-column: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .storefront-brand-logo {
    max-width: 132px;
    max-height: 44px;
  }

  .storefront-mobile-menu-trigger {
    display: inline-grid;
  }

  @supports selector(:has(*)) {
    .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
      display: none;
    }
  }

  .storefront-nav-links {
    display: none;
  }

  .storefront-nav-search {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  }

  .storefront-nav-search-results {
    max-height: min(68vh, calc(100vh - 180px));
    overflow-y: auto;
  }

  .storefront-nav > .storefront-nav-search {
    display: none;
  }

  .storefront-mega-menu {
    display: none;
  }

  .storefront-filter-bar {
    grid-template-columns: 1fr;
  }

  .storefront-members-form {
    grid-template-columns: 1fr;
  }

  .storefront-members-row {
    grid-template-columns: 1fr;
  }

  .storefront-route-skeleton {
    padding: 24px 0 70px;
  }

  .storefront-route-skeleton-row--order,
  .storefront-route-skeleton-row--member {
    grid-template-columns: 1fr;
  }

  .storefront-route-skeleton-meta {
    grid-column: auto;
  }

  .storefront-route-skeleton-member-actions {
    justify-content: flex-start;
  }

  .storefront-route-catalog-page {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 720px);
  }

  .storefront-route-catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .storefront-route-catalog-toolbar-actions {
    justify-content: flex-start;
  }

  .storefront-route-home-page {
    width: min(100% - 32px, 720px);
  }

  .storefront-route-home-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }

  .storefront-route-account-workspace {
    grid-template-columns: minmax(0, 1fr);
    width: min(100% - 32px, 760px);
  }

  .storefront-route-account-rail {
    position: static;
  }

  .storefront-route-account-rail nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .storefront-route-catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }

  .storefront-route-skeleton-member-select,
  .storefront-route-skeleton-member-password {
    flex: 1 1 180px;
  }

  .storefront-members-row-actions {
    justify-content: flex-start;
  }

  .storefront-members-row-actions input,
  .storefront-members-row-actions select {
    flex: 1 1 180px;
  }

  .storefront-signin-card {
    grid-template-columns: 1fr;
  }

  .storefront-commerce-layout {
    grid-template-columns: 1fr;
  }

  .storefront-catalog-toolbar {
    justify-content: stretch;
  }

  .storefront-catalog-toolbar .storefront-sort-strip {
    justify-content: flex-start;
  }

  .storefront-home-slider,
  .storefront-category-showcase,
  .storefront-home-promo-showcase,
  .storefront-subcategory-showcase,
  .storefront-brand-showcase,
  .storefront-commerce-visuals,
  .storefront-firesale-strip,
  .storefront-commerce-layout {
    width: min(100%, calc(100% - 24px));
    padding-right: 0;
    padding-left: 0;
  }

  .storefront-home-slide {
    height: clamp(240px, 56vw, 420px);
    min-height: clamp(240px, 56vw, 420px);
    padding: 36px 24px;
  }

  .storefront-page-video video {
    height: clamp(240px, 56vw, 420px);
  }

  .storefront-category-card-grid,
  .storefront-subcategory-card-grid {
    --storefront-card-gap: 14px;
    padding-bottom: 8px;
  }

  .storefront-category-card-grid {
    --storefront-cards-per-view: 2;
  }

  .storefront-subcategory-card-grid {
    --storefront-cards-per-view: 3;
  }

  .storefront-home-promo-grid {
    grid-template-columns: 1fr;
  }

  .storefront-home-promo-card {
    height: clamp(260px, 56vw, 390px);
  }

  .storefront-home-promo-copy h2 {
    font-size: 1.9rem;
  }

  .storefront-firesale-grid {
    grid-template-columns: 1fr;
  }

  .storefront-brand-grid {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 30px 20px;
  }

  .storefront-brand-showcase-heading {
    display: grid;
    gap: 4px;
  }

  .storefront-commerce-visuals,
  .storefront-commerce-visual-grid {
    grid-template-columns: 1fr;
  }

  .storefront-commerce-visuals {
    gap: 22px;
    border-radius: 18px;
    padding: 22px;
  }

  .storefront-commerce-visuals-head h2 {
    font-size: clamp(1.75rem, 8vw, 2.45rem);
    line-height: 1;
  }

  .storefront-commerce-visuals-head p {
    font-size: 0.95rem;
  }

  .storefront-commerce-visual-grid {
    grid-template-rows: none;
  }

  .storefront-commerce-visual-card {
    min-height: 150px;
    border-radius: 16px;
    padding: 18px;
  }

  .storefront-commerce-visual-card--image {
    grid-row: auto;
  }

  .storefront-commerce-visual-media {
    min-height: 150px;
    border-radius: 14px;
  }

  .storefront-carousel-control {
    display: none;
  }

  .storefront-category-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .storefront-subcategory-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .storefront-category-card-copy,
  .storefront-subcategory-card-copy {
    padding: 22px;
  }

  .storefront-firesale-card {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .storefront-firesale-media {
    width: 82px;
    height: 82px;
  }

  .storefront-checkout-page,
  .storefront-checkout-grid,
  .storefront-cart-page,
  .storefront-cart-grid,
  .storefront-cart-table-head,
  .storefront-cart-table-line {
    grid-template-columns: 1fr;
  }

  .storefront-mega-subcategory-grid {
    grid-template-columns: 1fr;
  }

  .storefront-checkout-confirm,
  .storefront-pager {
    justify-content: stretch;
    flex-direction: column;
    align-items: stretch;
  }

  .storefront-checkout-choice-grid {
    grid-template-columns: 1fr;
  }

  .storefront-checkout-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .storefront-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .storefront-footer nav {
    justify-content: flex-start;
  }

  .storefront-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .storefront-catalog-skeleton {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .storefront-page-skeleton {
    inset: 0;
    padding-top: 24px;
  }

  .storefront-page-skeleton-inner {
    grid-template-columns: 1fr;
    width: min(100%, calc(100% - 24px));
  }

  .storefront-page-skeleton-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  .storefront-error-page {
    padding: 42px 16px;
  }

  .storefront-error-panel {
    padding: 28px 22px;
  }

  .storefront-error-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .storefront-cart-panel {
    position: static;
    grid-column: auto;
  }

  .storefront-product-detail,
  .storefront-product-detail-grid {
    width: min(100%, calc(100% - 32px));
    grid-template-columns: 1fr;
  }

  .storefront-product-detail-grid {
    gap: 28px;
  }

  .storefront-product-gallery {
    padding-bottom: 18px;
  }

  .storefront-product-detail-image {
    --storefront-product-image-frame-height: 340px;
    min-height: 340px;
  }

  .storefront-product-detail-image img {
    max-height: var(--storefront-product-image-frame-height);
    padding: 58px;
  }

  .storefront-product-thumbs button {
    flex-basis: 104px;
    width: 104px;
    height: 78px;
  }

  .storefront-product-detail-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .storefront-nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 16px;
  }

  .storefront-nav > .storefront-nav-left {
    display: contents;
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand,
  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    display: none;
  }

  .storefront-mobile-menu-trigger {
    display: inline-grid;
    grid-column: 1;
    grid-row: 1;
  }

  .storefront-nav > .storefront-nav-search {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .storefront-nav-filter-button {
    display: grid;
    grid-column: 3;
    grid-row: 1;
  }

  .storefront-commerce-layout .storefront-product-listing {
    grid-column: 1 / -1;
  }

  .storefront-product-grid,
  .storefront-catalog-skeleton,
  .storefront-page-skeleton-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
    gap: 18px;
  }

  .storefront-route-catalog-page {
    grid-template-columns: 1fr;
    width: min(100% - 24px, 1000px);
  }

  .storefront-page-skeleton-filters {
    display: none;
  }

  .storefront-page-skeleton-inner {
    grid-template-columns: 1fr;
    width: min(100%, calc(100% - 24px));
  }

  .storefront-route-catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
    gap: 18px;
  }

  .storefront-skeleton-card {
    grid-template-rows: 184px 34px 1fr 50px;
    min-height: 292px;
  }

  .storefront-skeleton-card span {
    width: min(190px, calc(100% - 28px));
    height: min(148px, calc(100% - 30px));
  }

  .storefront-skeleton-card strong {
    margin-right: 16px;
    margin-left: 16px;
  }

  .storefront-skeleton-card small {
    width: calc(100% - 32px);
    margin-right: 16px;
    margin-left: 16px;
  }

  .storefront-skeleton-card em {
    margin-right: 16px;
    margin-left: 16px;
  }
}

@media (max-width: 720px) {
  .storefront-nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .storefront-nav-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (max-width: 720px) {
  .storefront-section-heading {
    align-items: center;
  }

  .storefront-card-carousel-actions button {
    width: 34px;
    height: 34px;
  }

  .storefront-category-card-grid,
  .storefront-subcategory-card-grid {
    --storefront-cards-per-view: 1;
  }

  .storefront-page-skeleton-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .storefront-route-catalog-toolbar-actions,
  .storefront-route-skeleton-filter-button,
  .storefront-route-skeleton-sort {
    width: 100%;
  }

  .storefront-brand-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 26px 18px;
  }

  .storefront-brand-tile {
    min-height: 76px;
    padding: 12px 8px;
  }
}

.storefront-top-strip .storefront-top-actions {
  position: static;
  justify-content: flex-end;
  flex-wrap: nowrap;
  width: auto;
  max-width: min(720px, 100%);
  margin: 0 0 0 auto;
  padding: 5px;
}

.storefront-top-strip .storefront-profile-menu {
  flex: 0 1 300px;
  min-width: 180px;
  max-width: 340px;
}

.storefront-top-strip .storefront-profile-chip {
  width: 100%;
  max-width: none;
  grid-template-columns: 24px minmax(0, 1fr) 12px;
  border-radius: 8px;
}

.storefront-top-strip .storefront-profile-copy,
.storefront-top-strip .storefront-profile-copy strong,
.storefront-top-strip .storefront-profile-copy span,
.storefront-top-strip .storefront-profile-copy small {
  max-width: none;
}

@media (max-width: 1180px) {
  .storefront-top-strip {
    flex-wrap: wrap;
    gap: 8px 14px;
    min-height: 58px;
    padding-block: 8px;
  }

  .storefront-top-strip .storefront-top-actions {
    flex: 1 1 520px;
    justify-content: flex-end;
    margin-left: 0;
  }

  .storefront-top-strip .storefront-profile-menu {
    flex: 1 1 220px;
    min-width: 0;
    max-width: 360px;
  }

  .storefront-nav > .storefront-nav-search {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }
}

@media (max-width: 720px) {
  .storefront-top-strip .storefront-top-actions {
    flex: 1 1 100%;
    justify-content: stretch;
  }

  .storefront-top-strip .storefront-profile-menu {
    flex: 1 1 auto;
  }

  .storefront-top-strip .storefront-appearance-toggle,
  .storefront-top-strip .storefront-mini-cart {
    flex: 0 0 auto;
  }

  .storefront-nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .storefront-nav-filter-button {
    min-width: 42px;
    padding-inline: 10px;
  }

  .storefront-nav-search button {
    min-width: 64px;
    padding-inline: 10px;
  }
}

.storefront-top-strip .storefront-mini-cart-menu,
.storefront-top-strip .storefront-profile-dropdown {
  width: min(360px, calc(100dvw - 24px));
  overflow: hidden;
  border: 1px solid var(--store-menu-line);
  border-radius: 10px;
  color: var(--store-menu-text);
  background: var(--store-menu-bg);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

@media (max-width: 1180px) {
  .storefront-top-strip .storefront-mini-cart,
  .storefront-top-strip .storefront-profile-menu {
    position: static;
  }

  .storefront-top-strip .storefront-mini-cart-menu,
  .storefront-top-strip .storefront-profile-dropdown {
    position: fixed;
    top: calc(var(--store-top-strip-height) + 12px);
    right: 12px;
    left: auto;
    width: min(360px, calc(100dvw - 24px));
    max-height: calc(100dvh - var(--store-top-strip-height) - 28px);
    overflow-y: auto;
  }
}

@media (max-width: 520px) {
  .storefront-top-strip .storefront-mini-cart-menu,
  .storefront-top-strip .storefront-profile-dropdown {
    right: 8px;
    left: 8px;
    width: auto;
  }
}

.storefront-top-strip .storefront-mini-cart-empty,
.storefront-top-strip .storefront-mini-cart-total,
.storefront-top-strip .storefront-profile-dropdown-heading span {
  color: var(--store-menu-muted);
}

.storefront-top-strip .storefront-mini-cart-line {
  border-bottom-color: var(--store-menu-line);
}

.storefront-top-strip .storefront-mini-cart-line strong,
.storefront-top-strip .storefront-mini-cart-total strong,
.storefront-top-strip .storefront-profile-dropdown-heading strong {
  color: var(--store-menu-text);
}

.storefront-top-strip .storefront-mini-cart-line span {
  border-color: var(--store-menu-line);
  color: var(--store-menu-muted);
  background: var(--store-menu-hover);
}

.storefront-top-strip .storefront-mini-cart-image {
  border-color: var(--store-menu-line);
  background: rgba(255, 255, 255, 0.94);
}

.storefront-top-strip .storefront-mini-cart-primary,
.storefront-top-strip .storefront-profile-dropdown button {
  color: var(--store-menu-primary-text);
  background: var(--store-menu-primary-bg);
}

.storefront-top-strip .storefront-profile-dropdown a {
  border-color: var(--store-menu-line);
  color: var(--store-menu-text);
  background: var(--store-menu-hover);
}

.storefront-top-strip .storefront-profile-dropdown-heading {
  border-bottom-color: var(--store-menu-line);
}

@media (max-width: 1180px) {
  .storefront-top-strip .storefront-top-actions {
    flex: 0 1 auto;
    justify-content: flex-end;
    max-width: min(560px, 100%);
    margin-left: auto;
  }

  .storefront-top-strip .storefront-profile-menu {
    flex: 0 1 240px;
    max-width: 260px;
  }

  .storefront-top-strip .storefront-profile-copy span {
    display: none;
  }

  .storefront-mobile-menu-trigger {
    display: inline-grid;
  }

  @supports selector(:has(*)) {
    .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
      display: inline-grid;
    }
  }

  .storefront-nav {
    grid-template-columns: auto minmax(220px, min(52vw, 520px)) auto;
    justify-content: center;
  }

  .storefront-nav > .storefront-nav-search {
    max-width: 520px;
    justify-self: center;
  }
}

@media (max-width: 720px) {
  .storefront-top-strip {
    align-items: center;
  }

  .storefront-top-strip .storefront-top-actions {
    flex: 0 1 auto;
    max-width: min(100%, 390px);
  }

  .storefront-top-strip .storefront-profile-menu {
    flex: 0 1 176px;
    min-width: 132px;
    max-width: 190px;
  }

  .storefront-top-strip .storefront-profile-chip {
    gap: 6px;
    padding-right: 7px;
  }

  .storefront-top-strip .storefront-profile-copy strong {
    font-size: 0.76rem;
  }

  .storefront-nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
    justify-content: stretch;
  }

  .storefront-nav > .storefront-nav-search {
    max-width: none;
  }

  .storefront-nav-search input {
    height: 38px;
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .storefront-nav-search button {
    min-width: 58px;
    height: 30px;
    padding-inline: 8px;
    font-size: 0.7rem;
  }
}

@media (max-width: 1380px) {
  .storefront-nav {
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    justify-content: stretch;
    align-items: center;
    gap: 16px;
    padding: 18px max(18px, calc((100% - 1720px) / 2));
  }

  .storefront-nav > .storefront-nav-left {
    display: contents;
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand,
  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    display: none;
  }

  .storefront-mobile-menu-trigger {
    display: inline-grid;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  @supports selector(:has(*)) {
    .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
      display: inline-grid;
    }
  }

  .storefront-nav > .storefront-nav-search {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: min(520px, 100%);
    max-width: 520px;
  }

  .storefront-nav-filter-button {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
}

@media (max-width: 720px) {
  .storefront-nav {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 10px;
    padding: 12px 14px 16px;
  }

  .storefront-mobile-menu-trigger {
    width: 42px;
    height: 38px;
  }

  .storefront-nav > .storefront-nav-search {
    max-width: none;
  }
}

@media (max-width: 1180px) {
  .storefront-cart-page,
  .storefront-checkout-page {
    width: min(100%, calc(100% - 32px));
    margin-block: 30px 72px;
  }

  .storefront-cart-grid,
  .storefront-checkout-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .storefront-cart-summary {
    width: 100%;
  }

  .storefront-checkout-steps,
  .storefront-cart-table,
  .storefront-cart-summary {
    border: 1px solid var(--store-shell-line);
    border-radius: 18px;
    overflow: hidden;
  }

  .storefront-cart-table-head {
    display: none;
  }

  .storefront-cart-table-line,
  .storefront-cart-table-line.storefront-cart-table--no-pricing {
    grid-template-columns: 78px minmax(0, 1fr) minmax(128px, auto);
    gap: 12px 16px;
    align-items: start;
    padding: 18px;
  }

  .storefront-cart-table-line > div:not(.storefront-cart-line-image) {
    grid-column: 2 / 3;
  }

  .storefront-cart-table-line > span,
  .storefront-cart-table-line > strong {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--store-shell-line);
    border-radius: 12px;
    color: var(--store-shell-text);
    background: color-mix(in srgb, var(--store-shell-bg) 82%, var(--store-surface-strong) 18%);
    font-weight: 850;
  }

  .storefront-cart-table-line > span::before,
  .storefront-cart-table-line > strong::before,
  .storefront-cart-table-line form::before {
    content: attr(data-label);
    color: var(--store-muted);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .storefront-cart-table-line > span:nth-of-type(1) {
    grid-column: 3;
    grid-row: 1;
  }

  .storefront-cart-table-line > span:not(:nth-of-type(1)),
  .storefront-cart-table-line > strong {
    grid-column: 3;
  }

  .storefront-cart-table-line form {
    grid-column: 3;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid var(--store-shell-line);
    border-radius: 12px;
    background: color-mix(in srgb, var(--store-shell-bg) 82%, var(--store-surface-strong) 18%);
    margin: 0;
  }

  .storefront-checkout-option {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .storefront-checkout-option strong {
    grid-column: 2;
  }

  .storefront-checkout-actions .storefront-button {
    min-width: 160px;
  }
}

@media (max-width: 720px) {
  .storefront-cart-page,
  .storefront-checkout-page {
    width: min(100%, calc(100% - 24px));
    margin-block: 24px 64px;
  }

  .storefront-cart-page h1,
  .storefront-checkout-page h1 {
    font-size: 1.6rem;
  }

  .storefront-checkout-steps {
    padding: 14px;
  }

  .storefront-checkout-steps section {
    padding: 0 0 18px 34px;
  }

  .storefront-checkout-choice-grid,
  .storefront-checkout-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-checkout-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-checkout-panel {
    padding: 12px;
  }

  .storefront-checkout-address-option {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-address-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-cart-table-line,
  .storefront-cart-table-line.storefront-cart-table--no-pricing {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 14px;
  }

  .storefront-cart-line-image {
    width: 64px;
    height: 64px;
  }

  .storefront-cart-table-line > span:nth-of-type(1) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .storefront-cart-table-line > span,
  .storefront-cart-table-line > strong,
  .storefront-cart-table-line form {
    grid-column: 1 / -1;
  }

  .storefront-cart-table-line form {
    flex-wrap: wrap;
  }

  .storefront-cart-table-line form button {
    width: 100%;
    min-height: 40px;
    border-radius: 999px;
    background: color-mix(in srgb, #ef4444 12%, var(--store-surface-strong) 88%);
  }

  .storefront-cart-summary {
    padding: 18px;
  }

  .storefront-cart-summary div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

.storefront-top-strip .storefront-top-search {
  order: 2;
  flex: 1 1 520px;
  grid-column: auto;
  grid-row: auto;
  justify-self: center;
  width: min(560px, 100%);
  max-width: 640px;
  min-width: min(280px, 100%);
  margin: 8px auto;
}

.storefront-top-strip-copy {
  order: 1;
}

.storefront-top-strip .storefront-top-actions {
  order: 3;
}

@media (max-width: 1380px) {
  .storefront-top-strip .storefront-top-search {
    width: min(500px, 100%);
    max-width: 500px;
  }
}

@media (max-width: 1180px) {
  .storefront-top-strip {
    align-items: center;
  }

  .storefront-top-strip .storefront-top-search {
    order: 4;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .storefront-top-strip .storefront-top-actions {
    order: 3;
    flex: 1 1 auto;
    justify-content: flex-end;
    max-width: min(100%, 560px);
  }
}

@media (max-width: 720px) {
  .storefront-top-strip .storefront-top-search {
    min-width: 0;
  }

  .storefront-top-strip .storefront-top-actions {
    flex: 1 1 100%;
    justify-content: stretch;
    max-width: none;
  }

  .storefront-top-strip .storefront-top-search input {
    height: 40px;
    font-size: 0.82rem;
  }

  .storefront-top-strip .storefront-top-search button {
    min-width: 64px;
    height: 32px;
    padding-inline: 10px;
    font-size: 0.72rem;
  }
}

.storefront-top-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px) minmax(0, 1fr);
  align-items: center;
  gap: 16px 24px;
}

.storefront-top-strip-copy {
  order: initial;
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.storefront-top-strip .storefront-top-search {
  order: initial;
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  flex: none;
  width: min(460px, 100%);
  max-width: 460px;
  min-width: 0;
  margin: 8px 0;
}

.storefront-top-strip .storefront-top-actions {
  order: initial;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  flex: none;
  margin-left: 0;
}

.storefront-nav + .storefront-page-videos,
.storefront-nav + .storefront-home-slider {
  margin-top: clamp(18px, 2vw, 34px);
}

.storefront-shell > .storefront-page-videos,
.storefront-main > .storefront-home-slider:first-child {
  margin-top: clamp(18px, 2vw, 34px);
}

.storefront-nav {
  grid-template-columns: minmax(0, 1fr);
}

.storefront-nav-left {
  grid-column: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: 100%;
}

.storefront-nav .storefront-brand {
  grid-column: 1;
  justify-self: start;
}

.storefront-nav .storefront-nav-links {
  grid-column: 2;
  justify-self: center;
  justify-content: center;
  text-align: center;
}

.storefront-nav .storefront-mobile-menu-trigger {
  grid-column: 3;
  justify-self: end;
}

@media (max-width: 1380px) {
  .storefront-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-nav > .storefront-nav-left {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-column: 1;
    align-items: center;
    width: 100%;
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand {
    display: inline-flex;
    grid-column: 1;
    justify-self: start;
  }

  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    display: flex;
    grid-column: 2;
    justify-self: center;
    justify-content: center;
  }

  .storefront-nav .storefront-mobile-menu-trigger {
    display: none;
  }
}

@media (max-width: 1180px) {
  .storefront-top-strip {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    align-items: center;
  }

  .storefront-top-strip-copy {
    grid-column: 1;
    grid-row: 1;
  }

  .storefront-top-strip .storefront-top-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: auto;
    max-width: min(100%, 420px);
  }

  .storefront-top-strip .storefront-top-search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: min(420px, 100%);
    max-width: 420px;
    margin-inline: auto;
  }

  .storefront-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-nav > .storefront-nav-left {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-column: 1;
    align-items: center;
    width: 100%;
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand {
    display: inline-flex;
    grid-column: 1;
    justify-self: start;
  }

  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    display: flex;
    grid-column: 2;
    justify-self: center;
    justify-content: center;
  }

  .storefront-nav .storefront-mobile-menu-trigger {
    display: none;
  }
}

@media (max-width: 720px) {
  .storefront-top-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-top-strip-copy,
  .storefront-top-strip .storefront-top-actions,
  .storefront-top-strip .storefront-top-search {
    grid-column: 1;
    justify-self: center;
  }

  .storefront-top-strip-copy {
    grid-row: 1;
    width: 100%;
    justify-content: center;
  }

  .storefront-top-strip .storefront-top-actions {
    grid-row: 2;
    width: min(100%, 390px);
    max-width: 390px;
  }

  .storefront-top-strip .storefront-top-search {
    grid-row: 3;
    width: min(100%, 360px);
    max-width: 360px;
  }

  .storefront-nav > .storefront-nav-left {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand {
    display: none;
  }

  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    grid-column: 1;
    flex-wrap: wrap;
    width: 100%;
  }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .storefront-top-strip {
    grid-template-columns: minmax(280px, 1fr) minmax(300px, 420px);
    grid-auto-rows: auto;
    gap: 8px 16px;
    padding: 10px 18px;
  }

  .storefront-top-strip-copy {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: start;
  }

  .storefront-top-strip .storefront-top-search {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .storefront-top-strip .storefront-top-actions {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    justify-self: end;
    width: 100%;
    max-width: 420px;
    margin: 0;
  }

  .storefront-top-strip .storefront-profile-menu {
    flex: 1 1 210px;
    max-width: 260px;
  }

  .storefront-top-strip .storefront-profile-copy span {
    display: none;
  }
}

@media (max-width: 720px) {
  .storefront-shell {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .storefront-top-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 10px 12px;
  }

  .storefront-top-strip-copy {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    justify-content: center;
  }

  .storefront-top-strip .storefront-top-search {
    grid-column: 1;
    grid-row: 2;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .storefront-top-strip .storefront-top-actions {
    position: fixed;
    inset: auto 10px calc(10px + env(safe-area-inset-bottom)) 10px;
    z-index: 1500;
    display: flex;
    grid-column: auto;
    grid-row: auto;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 8px;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.92);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(18px);
  }

  .storefront-top-strip .storefront-appearance-toggle,
  .storefront-top-strip .storefront-mini-cart {
    flex: 0 0 auto;
  }

  .storefront-top-strip .storefront-profile-menu {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  .storefront-top-strip .storefront-profile-chip {
    width: 100%;
    min-height: 40px;
    grid-template-columns: 26px minmax(0, 1fr) 12px;
    gap: 8px;
    padding: 5px 8px 5px 6px;
  }

  .storefront-top-strip .storefront-profile-copy span,
  .storefront-top-strip .storefront-profile-copy small {
    display: none;
  }

  .storefront-top-strip .storefront-mini-cart-menu,
  .storefront-top-strip .storefront-profile-dropdown {
    position: fixed;
    right: 10px;
    bottom: calc(74px + env(safe-area-inset-bottom));
    left: 10px;
    top: auto;
    width: auto;
    max-height: min(420px, calc(100dvh - 120px));
    overflow-y: auto;
  }

  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    display: none;
  }
}

.storefront-discovery-strip {
  display: grid;
  gap: 18px;
  width: min(100%, 1776px);
  margin: clamp(24px, 3vw, 46px) auto 0;
  padding: 0 clamp(20px, 3vw, 40px);
}

.storefront-firesale-random,
.storefront-commerce-visuals {
  --storefront-home-panel-inset: clamp(40px, 6vw, 80px);
  width: min(calc(100% - var(--storefront-home-panel-inset)), calc(1776px - var(--storefront-home-panel-inset)));
  max-width: calc(1776px - var(--storefront-home-panel-inset));
}

.storefront-discovery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.storefront-discovery-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 22%, rgba(17, 24, 39, 0.1));
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 5%, rgba(248, 250, 252, 0.9))),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.storefront-discovery-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 52%, transparent), color-mix(in srgb, #38bdf8 42%, transparent), transparent) 0 0 / 46% 3px repeat-x,
    linear-gradient(90deg, transparent, color-mix(in srgb, #38bdf8 36%, transparent), color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 42%, transparent), transparent) 100% 100% / 40% 3px repeat-x;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 28%, transparent));
  opacity: 0.76;
  animation: storefront-viewed-edge 4.2s linear infinite;
  pointer-events: none;
}

.storefront-discovery-panel > * {
  position: relative;
  z-index: 1;
}

.storefront-discovery-panel > strong {
  color: #111827;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-discovery-products {
  --storefront-viewed-card-width: min(280px, calc(100vw - 56px));
  display: flex;
  align-items: stretch;
  gap: 18px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 6px 10px 0;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-gutter: stable;
  scrollbar-color: transparent transparent;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.storefront-viewed-product-card {
  flex: 0 0 var(--storefront-viewed-card-width);
  width: var(--storefront-viewed-card-width);
  min-width: 0;
  min-height: 380px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.storefront-viewed-product-card .storefront-product-card-link {
  grid-template-rows: 220px auto auto;
  min-height: 380px;
}

.storefront-viewed-product-card .storefront-product-media {
  min-height: 220px;
}

.storefront-viewed-product-card .storefront-product-media img {
  width: 100%;
  max-width: 220px;
  max-height: 176px;
  object-fit: contain;
}

.storefront-discovery-product {
  min-width: 0;
  min-height: 112px;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 7px;
  color: #111827;
  background: rgba(248, 250, 252, 0.84);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.storefront-discovery-products::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.storefront-discovery-products::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: transparent;
}

.storefront-discovery-products:hover,
.storefront-discovery-products:focus-within {
  scrollbar-color: rgba(100, 116, 139, 0.3) transparent;
}

.storefront-discovery-products:hover::-webkit-scrollbar-thumb,
.storefront-discovery-products:focus-within::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.3);
}

.storefront-discovery-product:hover {
  border-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 38%, rgba(148, 163, 184, 0.26));
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.storefront-discovery-product small {
  min-width: 0;
  color: #64748b;
  font-size: 0.82rem;
  line-height: 1.35;
}

.storefront-discovery-product {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 160px) minmax(24px, auto);
  align-content: start;
  justify-items: center;
  gap: 10px;
  flex: 0 0 var(--storefront-viewed-card-width);
  width: var(--storefront-viewed-card-width);
  min-height: 230px;
  overflow: hidden;
  scroll-snap-align: start;
}

.storefront-discovery-product-media {
  display: grid;
  grid-row: 1;
  place-items: center;
  width: 100%;
  height: 160px;
  min-height: 0;
  overflow: hidden;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 7px;
  background: #fff;
  box-sizing: border-box;
}

.storefront-discovery-product-media:empty::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.16), rgba(226, 232, 240, 0.34));
}

.storefront-discovery-product img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.storefront-discovery-product .storefront-product-sku {
  grid-row: 2;
  align-self: start;
  min-width: 0;
  max-width: calc(100% - 12px);
  position: relative;
  z-index: 1;
}

@keyframes storefront-viewed-edge {
  0% {
    background-position: 0 0, 100% 100%;
  }

  100% {
    background-position: 100% 0, 0 100%;
  }
}

@media (max-width: 1180px) {
  .storefront-discovery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .storefront-discovery-strip {
    padding-inline: clamp(14px, 4vw, 20px);
  }

  .storefront-firesale-random,
  .storefront-commerce-visuals {
    --storefront-home-panel-inset: clamp(28px, 8vw, 40px);
  }
}

/* Final tablet/mobile storefront layout pass. Keep this at the end so it wins older responsive blocks. */
@media (max-width: 1180px) {
  .storefront-shell,
  .storefront-main,
  .storefront-nav,
  .storefront-commerce-layout,
  .storefront-panel,
  .storefront-product-listing,
  .storefront-product-detail,
  .storefront-product-detail-target,
  .storefront-cart-page,
  .storefront-checkout-page {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }

  .storefront-nav {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 10px;
    width: min(100%, calc(100% - 24px));
    margin-inline: auto;
    padding: 12px;
  }

  .storefront-nav > .storefront-nav-left {
    display: contents;
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand,
  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    display: none;
  }

  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    display: inline-grid !important;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  .storefront-nav > .storefront-nav-search {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .storefront-nav-filter-button {
    display: grid;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    min-width: 42px;
    white-space: nowrap;
  }

  .storefront-top-strip .storefront-profile-menu {
    flex: 0 1 250px;
    max-width: 250px;
  }

  .storefront-top-strip .storefront-profile-chip {
    min-height: 40px;
    padding: 5px 8px 5px 6px;
  }

  .storefront-top-strip .storefront-profile-copy span {
    display: none;
  }

  .storefront-top-strip .storefront-mini-cart-menu {
    width: min(280px, calc(100dvw - 24px));
  }

  .storefront-top-strip .storefront-profile-dropdown {
    width: min(300px, calc(100dvw - 24px));
  }

  .storefront-top-strip .storefront-mini-cart-menu,
  .storefront-top-strip .storefront-profile-dropdown {
    right: 12px;
    max-height: calc(100dvh - var(--store-top-strip-height) - 28px);
    padding: 12px;
    overflow-y: auto;
  }

  .storefront-mini-cart-line {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }

  .storefront-mini-cart-line > strong:last-child {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .storefront-commerce-layout {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, calc(100% - 28px));
    gap: 18px;
    padding-top: 28px;
  }

  .storefront-catalog-toolbar {
    justify-content: stretch;
  }

  .storefront-catalog-toolbar > div:first-child {
    display: none;
  }

  .storefront-catalog-toolbar .storefront-sort-strip {
    justify-content: flex-start;
    width: 100%;
  }

  .storefront-commerce-layout .storefront-filter-panel {
    display: grid;
  }

  .storefront-commerce-layout .storefront-product-listing {
    grid-column: 1;
    width: 100%;
    min-width: 0;
  }

  .storefront-product-grid,
  .storefront-catalog-skeleton,
  .storefront-page-skeleton-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 18px;
    width: 100%;
    min-width: 0;
  }

  .storefront-product-detail {
    width: min(100%, calc(100% - 28px));
    margin-block: 28px 72px;
  }

  .storefront-product-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    width: 100%;
  }

  .storefront-product-gallery,
  .storefront-product-detail-copy,
  .storefront-product-tabs,
  .storefront-product-tab-panel,
  .storefront-product-enrichment {
    min-width: 0;
    max-width: 100%;
  }

  .storefront-product-detail-image {
    --storefront-product-image-frame-height: clamp(300px, 48vw, 460px);
    min-height: clamp(300px, 48vw, 460px);
  }

  .storefront-product-detail-image img {
    max-height: var(--storefront-product-image-frame-height);
    padding: 60px;
  }

  .storefront-cart-page,
  .storefront-checkout-page {
    width: min(100%, calc(100% - 28px));
  }

  .storefront-cart-grid,
  .storefront-checkout-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    width: 100%;
  }

  .storefront-cart-table-line,
  .storefront-cart-table-line.storefront-cart-table--no-pricing {
    grid-template-columns: 72px minmax(0, 1fr) minmax(118px, 0.45fr);
  }
}

@media (min-width: 721px) and (max-width: 1180px) and (orientation: landscape) {
  .storefront-product-grid,
  .storefront-catalog-skeleton,
  .storefront-page-skeleton-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }

  .storefront-nav {
    width: min(100%, calc(100% - 32px));
  }
}

@media (max-width: 860px) {
  .storefront-nav {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    width: min(100%, calc(100% - 20px));
    gap: 8px;
    padding: 10px;
  }

  .storefront-nav-search input {
    height: 40px;
    padding-inline: 10px;
  }

  .storefront-nav-search button {
    min-width: 58px;
    height: 32px;
    padding-inline: 9px;
  }

  .storefront-nav-filter-button {
    min-width: 40px;
    min-height: 36px;
    padding-inline: 10px;
  }

  .storefront-top-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-top-strip-copy,
  .storefront-top-strip .storefront-top-search,
  .storefront-top-strip .storefront-top-actions {
    grid-column: 1;
  }

  .storefront-top-strip .storefront-top-actions {
    position: static;
    inset: auto;
    z-index: auto;
    width: min(100%, 520px);
    max-width: 520px;
    margin: 0 auto;
    justify-content: center;
  }

  .storefront-top-strip .storefront-profile-menu {
    flex: 0 1 220px;
    max-width: 220px;
  }

  .storefront-product-grid,
  .storefront-catalog-skeleton,
  .storefront-page-skeleton-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  }
}

@media (max-width: 720px) {
  .storefront-shell {
    padding-bottom: 16px;
  }

  .storefront-nav {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    width: min(100%, calc(100% - 16px));
    padding: 8px;
  }

  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    display: inline-grid !important;
    width: 40px;
    height: 38px;
  }

  .storefront-nav-filter-button {
    min-width: 38px;
    font-size: 0.72rem;
  }

  .storefront-nav-search {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .storefront-nav-search-rolodex {
    right: 72px;
  }

  .storefront-top-strip .storefront-top-actions {
    position: static;
    inset: auto;
    z-index: auto;
    display: flex;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 6px;
    border-radius: 12px;
  }

  .storefront-top-strip .storefront-profile-menu {
    flex: 1 1 150px;
    max-width: 180px;
  }

  .storefront-top-strip .storefront-mini-cart-menu,
  .storefront-top-strip .storefront-profile-dropdown {
    top: calc(var(--store-top-strip-height) + 8px);
    right: 8px;
    bottom: auto;
    left: auto;
    width: min(280px, calc(100dvw - 16px));
    max-height: calc(100dvh - var(--store-top-strip-height) - 20px);
  }

  .storefront-top-strip .storefront-profile-dropdown {
    width: min(292px, calc(100dvw - 16px));
  }

  .storefront-product-grid,
  .storefront-catalog-skeleton,
  .storefront-page-skeleton-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
    gap: 14px;
  }

  .storefront-product-card {
    min-height: 280px;
  }

  .storefront-product-card-link {
    grid-template-rows: 170px 1fr auto;
    min-height: 280px;
  }

  .storefront-product-media {
    min-height: 170px;
  }

  .storefront-cart-table-line,
  .storefront-cart-table-line.storefront-cart-table--no-pricing {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .storefront-saved-addresses > summary {
    width: 100%;
  }
}

.storefront-saved-addresses {
  display: grid;
  gap: 12px;
}

.storefront-saved-addresses > summary {
  width: max-content;
  cursor: pointer;
}

.storefront-saved-addresses[open] > summary {
  margin-bottom: 2px;
}

button.is-button-loading,
.storefront-button.is-button-loading,
.storefront-product-quick-add-button.is-button-loading {
  --storefront-loading-color: #fff;
  position: relative;
  color: transparent !important;
  text-shadow: none !important;
  pointer-events: none;
  opacity: 0.88;
}

button.is-button-loading > *,
.storefront-button.is-button-loading > *,
.storefront-product-quick-add-button.is-button-loading > * {
  opacity: 0;
}

button.is-button-loading::after,
.storefront-button.is-button-loading::after,
.storefront-product-quick-add-button.is-button-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  width: 1rem;
  height: 1rem;
  margin: auto;
  border: 2px solid color-mix(in srgb, var(--storefront-loading-color) 28%, transparent);
  border-top-color: var(--storefront-loading-color);
  border-radius: 999px;
  animation: storefront-button-spin 0.72s linear infinite;
}

.storefront-mini-cart-remove-form button.is-button-loading,
.storefront-cart-table-line > form:not(.storefront-cart-quantity-form) button.is-button-loading {
  --storefront-loading-color: color-mix(in srgb, #ef4444 82%, var(--store-shell-text) 18%);
}

.storefront-cart-quantity-submit {
  display: none !important;
}

.storefront-cart-quantity-form {
  position: relative;
  grid-template-columns: minmax(82px, 96px) !important;
}

.storefront-cart-quantity-form.is-cart-mutating input {
  padding-right: 30px;
}

.storefront-cart-quantity-form.is-cart-mutating::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border: 2px solid color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 24%, transparent);
  border-top-color: var(--store-brand-primary, #6b5bd6);
  border-radius: 999px;
  animation: storefront-button-spin 0.72s linear infinite;
}

.storefront-cart-table-line.is-cart-mutating,
.storefront-mini-cart-line.is-cart-mutating {
  opacity: 0.72;
}

@media (max-width: 1180px) {
  .storefront-cart-table-line .storefront-cart-quantity-form {
    grid-template-columns: minmax(0, 1fr) minmax(86px, 108px) !important;
  }
}

@media (max-width: 1180px) {
  .storefront-cart-table-line,
  .storefront-cart-table-line.storefront-cart-table--no-pricing {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px 16px;
  }

  .storefront-cart-table-line > div:not(.storefront-cart-line-image) {
    grid-column: 2;
    grid-row: 1;
  }

  .storefront-cart-table-line > span:nth-of-type(1),
  .storefront-cart-table-line > span:not(:nth-of-type(1)),
  .storefront-cart-table-line > strong,
  .storefront-cart-table-line form {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .storefront-cart-table-line > span,
  .storefront-cart-table-line > strong {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
  }

  .storefront-cart-table-line form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(120px, auto);
    align-items: center;
  }

  .storefront-cart-table-line form button {
    justify-self: end;
    width: auto;
    min-width: 120px;
    min-height: 40px;
  }

  .storefront-cart-summary {
    justify-self: stretch;
    width: 100%;
    max-width: none;
    padding: 20px;
  }

  .storefront-cart-summary div {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 16px;
  }

  .storefront-cart-summary .storefront-button {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .storefront-cart-table-line form {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-cart-table-line form button {
    justify-self: stretch;
    width: 100%;
  }

  .storefront-cart-summary div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .storefront-cart-summary strong {
    text-align: left;
  }
}

.storefront-cart-quantity-form {
  display: grid;
  grid-template-columns: 74px 84px;
  gap: 8px;
  align-items: center;
  width: max-content;
  max-width: 100%;
}

.storefront-cart-quantity-form label {
  min-width: 0;
}

.storefront-cart-quantity-form input {
  width: 100%;
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid var(--store-shell-line);
  border-radius: 8px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-bg) 82%, var(--store-surface-strong) 18%);
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.storefront-cart-quantity-form.has-error input,
.storefront-cart-quantity-form input[aria-invalid="true"] {
  border-color: color-mix(in srgb, #ef4444 70%, var(--store-shell-line));
  box-shadow: 0 0 0 3px color-mix(in srgb, #ef4444 16%, transparent);
}

.storefront-cart-table-line > form:not(.storefront-cart-quantity-form) button {
  min-width: 102px;
}

html[data-storefront-appearance="dark"] .storefront-product-card {
  border-color: var(--store-shell-line);
  color: var(--store-shell-text);
  background: var(--store-surface-strong);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

html[data-storefront-appearance="dark"] .storefront-product-quick-add-button {
  border-color: var(--store-shell-line);
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-surface-strong) 86%, #fff 8%);
}

html[data-storefront-appearance="dark"] .storefront-firesale-random {
  border-color: color-mix(in srgb, var(--store-brand-accent, #ff8a18) 38%, var(--store-shell-line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--store-shell-bg) 72%, #451a03 28%), color-mix(in srgb, var(--store-surface-strong) 84%, #7f1d1d 16%)),
    var(--store-surface-strong);
}

html[data-storefront-appearance="dark"] .storefront-product-sku {
  color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 72%, #fff);
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 34%, var(--store-shell-line));
  background: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 18%, var(--store-surface-strong));
}

html[data-storefront-appearance="dark"] .storefront-product-body h3,
html[data-storefront-appearance="dark"] .storefront-product-price,
html[data-storefront-appearance="dark"] .storefront-catalog-toolbar,
html[data-storefront-appearance="dark"] .storefront-sort-strip,
html[data-storefront-appearance="dark"] .storefront-sort-strip label {
  color: var(--store-shell-text);
}

html[data-storefront-appearance="dark"] .storefront-product-card-description,
html[data-storefront-appearance="dark"] .storefront-product-purchase small,
html[data-storefront-appearance="dark"] .storefront-firesale-random-card .storefront-product-previous-price,
html[data-storefront-appearance="dark"] .storefront-sort-strip span {
  color: var(--store-shell-muted);
}

html[data-storefront-appearance="dark"] .storefront-sort-strip select,
html[data-storefront-appearance="dark"] .storefront-filter-panel,
html[data-storefront-appearance="dark"] .storefront-filter-panel-header button {
  color: var(--store-shell-text);
  border-color: var(--store-shell-line);
  background: var(--store-surface-strong);
}

html[data-storefront-appearance="dark"] .storefront-filter-group input {
  color: var(--store-shell-text);
  border-color: var(--store-shell-line);
  background: color-mix(in srgb, var(--store-shell-bg) 68%, var(--store-surface-strong) 32%);
}

html[data-storefront-appearance="dark"] .storefront-filter-link,
html[data-storefront-appearance="dark"] .storefront-filter-link--category,
html[data-storefront-appearance="dark"] .storefront-filter-link--sub {
  color: var(--store-shell-muted);
  border-color: var(--store-shell-line);
  background: color-mix(in srgb, var(--store-shell-bg) 72%, var(--store-surface-strong) 28%);
}

html[data-storefront-appearance="dark"] .storefront-filter-link:hover,
html[data-storefront-appearance="dark"] .storefront-filter-link.is-active {
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 28%, var(--store-surface-strong) 72%);
}

html[data-storefront-appearance="dark"] .storefront-mega-menu,
html[data-storefront-appearance="dark"] .storefront-mega-rail,
html[data-storefront-appearance="dark"] .storefront-mega-ranges,
html[data-storefront-appearance="dark"] .storefront-mega-feature,
html[data-storefront-appearance="dark"] .storefront-mega-category,
html[data-storefront-appearance="dark"] .storefront-mega-subcategory,
html[data-storefront-appearance="dark"] .storefront-mega-feature-tile,
html[data-storefront-appearance="dark"] .storefront-mega-more {
  border-color: var(--store-shell-line);
}

html[data-storefront-appearance="dark"] .storefront-mega-category:hover,
html[data-storefront-appearance="dark"] .storefront-mega-category.is-pending,
html[data-storefront-appearance="dark"] .storefront-mega-category.is-active,
html[data-storefront-appearance="dark"] .storefront-mega-subcategory:hover,
html[data-storefront-appearance="dark"] .storefront-mega-feature-tile:hover:hover,
html[data-storefront-appearance="dark"] .storefront-mega-more:hover {
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 22%, var(--store-mega-panel) 78%);
}

@media (min-width: 721px) and (max-width: 1180px) {
  .storefront-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding: 12px clamp(18px, 3vw, 34px);
    border-right: 0;
    border-left: 0;
  }

  .storefront-nav > .storefront-nav-left {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-column: 1;
    width: 100%;
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand {
    display: none;
  }

  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    display: flex;
    grid-column: 1;
    justify-self: start;
    justify-content: flex-start;
    gap: clamp(18px, 3vw, 34px);
    width: 100%;
  }

  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    display: none !important;
  }

  .storefront-nav-filter-button {
    grid-column: 2;
    justify-self: end;
  }

  .storefront-mega-menu {
    display: none;
  }

  .storefront-filter-panel {
    color: var(--store-shell-text);
    border-left: 1px solid var(--store-shell-line);
    background: var(--store-surface-strong);
  }

  .storefront-cart-table-line .storefront-cart-quantity-form {
    display: grid;
    grid-template-columns: minmax(74px, 92px) minmax(96px, auto);
    align-items: center;
  }

  .storefront-cart-table-line .storefront-cart-quantity-form button {
    justify-self: start;
    min-width: 96px;
  }

  .storefront-cart-table-line > form:not(.storefront-cart-quantity-form) {
    grid-template-columns: minmax(0, 1fr) minmax(140px, auto);
  }

  .storefront-cart-table-line > form:not(.storefront-cart-quantity-form) button {
    min-width: 140px;
  }
}

@media (max-width: 720px) {
  .storefront-cart-quantity-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-cart-quantity-form button,
  .storefront-cart-table-line > form:not(.storefront-cart-quantity-form) button {
    width: 100%;
    min-width: 0;
  }
}

@media (min-width: 1181px) {
  .storefront-cart-quantity-form button {
    min-width: 84px;
  }

  .storefront-cart-table-line > form:not(.storefront-cart-quantity-form) {
    justify-self: end;
  }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .storefront-cart-table-line,
  .storefront-cart-table-line.storefront-cart-table--no-pricing {
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 16px;
  }

  .storefront-cart-table-line .storefront-cart-quantity-form {
    grid-template-columns: minmax(0, 1fr) 92px 108px;
    width: 100%;
    max-width: none;
  }

  .storefront-cart-table-line .storefront-cart-quantity-form::before {
    align-self: center;
  }

  .storefront-cart-table-line .storefront-cart-quantity-form button {
    justify-self: stretch;
    min-width: 0;
    width: 100%;
  }

  .storefront-cart-table-line > form:not(.storefront-cart-quantity-form) {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 720px) {
  .storefront-cart-table-line,
  .storefront-cart-table-line.storefront-cart-table--no-pricing {
    grid-template-columns: 62px minmax(0, 1fr);
    padding: 14px;
  }

  .storefront-cart-table-line .storefront-cart-quantity-form {
    grid-template-columns: minmax(0, 1fr) minmax(110px, 1fr);
    width: 100%;
    max-width: none;
  }

  .storefront-cart-table-line .storefront-cart-quantity-form::before {
    grid-column: 1 / -1;
  }

  .storefront-cart-table-line .storefront-cart-quantity-form button {
    width: 100%;
    min-width: 0;
  }

  .storefront-cart-table-line > form:not(.storefront-cart-quantity-form) {
    width: 100%;
    max-width: none;
  }
}

.storefront-cart-price-review {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid color-mix(in srgb, var(--store-brand-accent, #ff8a18) 34%, var(--store-shell-line));
  border-radius: 16px;
  color: var(--store-shell-text);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--store-brand-accent, #ff8a18) 10%, transparent), transparent),
    var(--store-surface-strong);
  box-shadow: var(--store-shadow);
}

.storefront-cart-price-review-header,
.storefront-cart-price-review article,
.storefront-cart-price-review dl {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.storefront-cart-price-review-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.storefront-cart-price-review-header span {
  color: var(--store-muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storefront-cart-price-review-header strong {
  color: var(--store-shell-text);
}

.storefront-cart-price-review-list {
  display: grid;
  gap: 10px;
}

.storefront-cart-price-review article {
  grid-template-columns: minmax(180px, 1fr) minmax(320px, 1.4fr);
  align-items: center;
  padding: 12px;
  border: 1px solid var(--store-shell-line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--store-shell-bg) 84%, var(--store-surface-strong) 16%);
}

.storefront-cart-price-review article > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.storefront-cart-price-review article strong,
.storefront-cart-price-review article span,
.storefront-cart-price-review dd {
  min-width: 0;
  overflow-wrap: anywhere;
}

.storefront-cart-price-review article span {
  color: var(--store-muted);
  font-weight: 750;
}

.storefront-cart-price-review dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.storefront-cart-price-review dl > div {
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--store-shell-line);
  border-radius: 10px;
  background: var(--store-surface-strong);
}

.storefront-cart-price-review dt {
  color: var(--store-muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-cart-price-review dd {
  margin: 0;
  color: var(--store-shell-text);
  font-weight: 900;
}

.storefront-cart-validate-form {
  display: grid;
  margin: 0;
}

.storefront-cart-validate-form .storefront-button,
.storefront-cart-summary > .storefront-button {
  width: 100%;
}

.storefront-button--secondary {
  color: var(--store-shell-text);
  border: 1px solid var(--store-shell-line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent),
    color-mix(in srgb, var(--store-surface-strong) 82%, var(--store-brand-primary, #6b5bd6) 18%);
}

@media (max-width: 1180px) {
  .storefront-nav > .storefront-nav-left {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
  }

  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    display: grid !important;
    grid-column: 1;
    justify-self: start;
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand {
    display: inline-flex;
    grid-column: 2;
    justify-self: start;
  }

  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    display: none !important;
  }

  .storefront-mega-menu {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .storefront-cart-table {
    display: grid;
    gap: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .storefront-cart-table-line,
  .storefront-cart-table-line.storefront-cart-table--no-pricing {
    position: relative;
    border: 1px solid var(--store-shell-line);
    border-radius: 16px;
    background: var(--store-surface-strong);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.10);
  }

  .storefront-cart-price-review article {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1181px) {
  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .storefront-cart-price-review {
    padding: 12px;
  }

  .storefront-cart-price-review-header,
  .storefront-cart-price-review dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-cart-price-review article {
    padding: 10px;
  }
}

.storefront-top-strip {
  --store-chip-height: 36px;
  --store-chip-radius: 10px;
  --store-chip-border: rgba(255, 255, 255, 0.18);
  --store-chip-bg: rgba(255, 255, 255, 0.11);
  --store-chip-bg-hover: rgba(255, 255, 255, 0.18);
  --store-chip-text: rgba(255, 255, 255, 0.92);
}

.storefront-beta-badge,
.storefront-top-actions .storefront-appearance-toggle,
.storefront-top-strip .storefront-mini-cart summary,
.storefront-top-strip .storefront-profile-chip {
  min-height: var(--store-chip-height);
  height: var(--store-chip-height);
  border: 1px solid var(--store-chip-border);
  border-radius: var(--store-chip-radius);
  color: var(--store-chip-text);
  background: var(--store-chip-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 22px rgba(15, 23, 42, 0.12);
}

.storefront-beta-badge {
  padding: 0 13px;
}

.storefront-top-actions .storefront-appearance-toggle {
  width: var(--store-chip-height);
  min-width: var(--store-chip-height);
  min-height: 32px;
  height: 32px;
  padding: 0;
}

.storefront-appearance-toggle-option svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storefront-top-strip .storefront-mini-cart summary {
  grid-template-columns: 22px auto;
  gap: 8px;
  padding: 0 10px;
}

.storefront-top-strip .storefront-profile-menu {
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
}

.storefront-top-strip .storefront-profile-chip {
  grid-template-columns: 22px 10px;
  gap: 8px;
  width: auto;
  max-width: none;
  padding: 0 10px;
}

.storefront-top-strip .storefront-mini-cart summary:hover,
.storefront-top-strip .storefront-mini-cart[open] summary,
.storefront-top-strip .storefront-profile-chip:hover,
.storefront-top-strip .storefront-profile-menu[open] .storefront-profile-chip,
.storefront-top-actions .storefront-appearance-toggle:hover {
  border-color: rgba(255, 255, 255, 0.30);
  background: var(--store-chip-bg-hover);
}

.storefront-mini-cart-icon,
.storefront-profile-avatar {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  color: var(--store-brand-primary, #111827);
  background: rgba(255, 255, 255, 0.94);
}

.storefront-mini-cart-icon svg,
.storefront-profile-avatar svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storefront-profile-copy {
  display: none !important;
}

.storefront-profile-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0;
  transform: translateY(-2px) rotate(45deg);
}

.storefront-profile-dropdown {
  min-width: min(320px, calc(100dvw - 24px));
}

.storefront-profile-dropdown-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  padding: 2px 4px 12px;
}

.storefront-profile-dropdown-heading > span {
  margin-top: 2px;
  color: var(--store-menu-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.storefront-profile-dropdown-heading > strong {
  min-width: 0;
  color: var(--store-menu-text);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.25;
  text-align: right;
  overflow-wrap: anywhere;
}

.storefront-profile-dropdown-meta {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
}

.storefront-profile-dropdown-meta div {
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.storefront-profile-dropdown-meta dt,
.storefront-profile-dropdown-meta dd {
  min-width: 0;
  margin: 0;
}

.storefront-profile-dropdown-meta dt {
  color: var(--store-menu-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-profile-dropdown-meta dd {
  color: var(--store-menu-text);
  font-size: 0.82rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.storefront-nav-search input {
  position: relative;
  z-index: 2;
  color: #111827 !important;
  caret-color: var(--store-brand-primary, #6b5bd6);
}

.storefront-nav-search input::placeholder {
  color: #64748b;
  opacity: 1;
}

.storefront-nav-search input:not(:placeholder-shown) ~ .storefront-nav-search-rolodex {
  visibility: hidden;
  opacity: 0;
}

@media (max-width: 720px) {
  .storefront-top-strip .storefront-top-actions {
    gap: 6px;
    padding: 5px;
  }

  .storefront-top-actions .storefront-appearance-toggle {
    width: 32px;
    min-width: 32px;
  }

  .storefront-top-strip .storefront-mini-cart summary,
  .storefront-top-strip .storefront-profile-chip {
    padding-inline: 9px;
  }
}

.storefront-account-workspace {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 22px;
  width: min(1500px, calc(100% - 64px));
  margin: 42px auto 90px;
  color: var(--store-shell-text);
}

.storefront-account-rail,
.storefront-account-panel,
.storefront-account-card {
  min-width: 0;
  border: 1px solid var(--store-shell-line);
  border-radius: 16px;
  background: var(--store-surface-strong);
  box-shadow: var(--store-shadow);
}

.storefront-account-rail {
  position: sticky;
  top: 22px;
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 18px;
}

.storefront-account-rail > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.storefront-account-rail > div strong {
  min-width: 0;
  color: var(--store-shell-text);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.storefront-account-rail nav {
  display: grid;
  gap: 8px;
}

.storefront-account-rail a {
  display: grid;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--store-shell-line);
  border-radius: 10px;
  color: var(--store-muted);
  background: color-mix(in srgb, var(--store-shell-bg) 82%, var(--store-surface-strong) 18%);
  font-weight: 900;
  text-decoration: none;
}

.storefront-account-rail a:hover,
.storefront-account-rail a.is-active {
  color: var(--store-shell-text);
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 36%, var(--store-shell-line));
  background: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 12%, var(--store-surface-strong));
}

.storefront-account-panel {
  display: grid;
  padding: 22px;
}

.storefront-account-section {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.storefront-account-section.is-hidden {
  display: none;
}

.storefront-account-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.storefront-account-section-heading h1 {
  margin: 4px 0 0;
  color: var(--store-shell-text);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.storefront-account-section-heading > strong {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--store-shell-line);
  border-radius: 999px;
  color: var(--store-brand-primary, #6b5bd6);
  background: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 9%, var(--store-surface-strong));
  font-size: 0.82rem;
}

.storefront-account-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.storefront-account-card details,
.storefront-account-address-list {
  display: grid;
  gap: 12px;
}

.storefront-account-card summary {
  width: max-content;
  cursor: pointer;
}

.storefront-account-card details[open] summary {
  margin-bottom: 14px;
}

.storefront-account-address-list {
  max-height: min(780px, 72vh);
  overflow: auto;
  padding-right: 4px;
}

.storefront-account-address-list .storefront-address-edit {
  background: var(--store-surface-strong);
}

.storefront-account-workspace .storefront-orders-grid,
.storefront-account-workspace .storefront-members-tabs {
  width: 100%;
}

.storefront-account-workspace .storefront-members-list-panel {
  border-radius: 14px;
}

.storefront-account-workspace .storefront-order-tabs,
.storefront-account-workspace .storefront-members-tab-list {
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 22%, var(--store-shell-line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 9%, transparent), transparent 42%),
    var(--store-surface-strong);
  box-shadow: var(--store-shadow);
}

.storefront-account-workspace .storefront-order-tabs a,
.storefront-account-workspace .storefront-members-tab-list label {
  border-color: var(--store-shell-line);
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-bg) 86%, var(--store-surface-strong) 14%);
}

.storefront-account-workspace .storefront-order-tabs a:hover,
.storefront-account-workspace .storefront-members-tab-list label:hover {
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 42%, var(--store-shell-line));
  background: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 10%, var(--store-surface-strong));
}

.storefront-account-workspace .storefront-order-tabs a.is-active,
.storefront-account-workspace #members-tab-active:checked ~ .storefront-members-tab-list label[for="members-tab-active"],
.storefront-account-workspace #members-tab-create:checked ~ .storefront-members-tab-list label[for="members-tab-create"] {
  color: #fff;
  border-color: var(--store-brand-primary, #6b5bd6);
  background: var(--store-brand-primary, #6b5bd6);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 24%, transparent);
}

.storefront-account-workspace .storefront-order-tabs strong {
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-text) 10%, transparent);
}

.storefront-account-workspace .storefront-order-tabs a.is-active strong {
  color: var(--store-brand-primary, #6b5bd6);
  background: #fff;
}

.storefront-account-workspace .storefront-order-panel,
.storefront-account-workspace .storefront-members-list-panel,
.storefront-account-workspace .storefront-members-form {
  position: relative;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 24%, var(--store-shell-line));
  border-left: 4px solid var(--store-brand-primary, #6b5bd6);
  border-radius: 16px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 9%, transparent), transparent 44%),
    linear-gradient(180deg, color-mix(in srgb, var(--store-surface-strong) 94%, #fff 6%), var(--store-surface-strong));
  box-shadow: var(--store-shadow);
}

.storefront-account-workspace .storefront-order-panel-heading span {
  color: var(--store-brand-primary, #6b5bd6);
  background: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 10%, var(--store-surface-strong));
}

.storefront-account-workspace .storefront-order-row,
.storefront-account-workspace .storefront-account-member-row {
  border-color: var(--store-shell-line);
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-bg) 86%, var(--store-surface-strong) 14%);
}

.storefront-account-workspace .storefront-order-row:hover {
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 34%, var(--store-shell-line));
  background: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 8%, var(--store-surface-strong));
}

.storefront-account-workspace .storefront-order-row small,
.storefront-account-workspace .storefront-order-panel-heading p,
.storefront-account-workspace .storefront-account-members-header,
.storefront-account-workspace .storefront-account-member-email,
.storefront-account-workspace .storefront-account-member-invite {
  color: var(--store-shell-muted);
}

.storefront-account-workspace .storefront-members-form h2 {
  margin: 0;
  color: var(--store-shell-text);
}

.storefront-account-workspace .storefront-members-form label span {
  color: var(--store-shell-muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.storefront-account-workspace .storefront-members-form input,
.storefront-account-workspace .storefront-members-form select,
.storefront-account-workspace .storefront-account-member-update select,
.storefront-account-workspace .storefront-account-member-update input[type="password"],
.storefront-account-workspace .storefront-account-member-update input:not([type]) {
  border-color: color-mix(in srgb, var(--store-shell-line) 84%, var(--store-brand-primary, #6b5bd6));
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-bg) 86%, var(--store-surface-strong) 14%);
}

.storefront-account-workspace .storefront-members-form input:focus,
.storefront-account-workspace .storefront-members-form select:focus,
.storefront-account-workspace .storefront-account-member-update select:focus,
.storefront-account-workspace .storefront-account-member-update input:focus {
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 72%, var(--store-shell-line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 18%, transparent);
  outline: 0;
}

.storefront-account-workspace .storefront-account-member-update .storefront-address-check,
.storefront-account-workspace .storefront-account-member-invite {
  border-color: var(--store-shell-line);
  background: color-mix(in srgb, var(--store-shell-bg) 86%, var(--store-surface-strong) 14%);
}

.storefront-account-workspace .storefront-empty-state {
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 28%, var(--store-shell-line));
  color: var(--store-shell-muted);
  background: color-mix(in srgb, var(--store-shell-bg) 82%, var(--store-surface-strong) 18%);
}

@media (max-width: 1180px) {
  .storefront-account-workspace {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, calc(100% - 32px));
    margin-block: 28px 72px;
  }

  .storefront-account-rail {
    position: static;
    gap: 12px;
  }

  .storefront-account-rail nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .storefront-account-rail a {
    justify-items: center;
    text-align: center;
  }

  .storefront-account-panel {
    padding: 18px;
  }
}

@media (max-width: 720px) {
  .storefront-account-workspace {
    width: min(100%, calc(100% - 24px));
    gap: 14px;
    margin-block: 22px 64px;
  }

  .storefront-account-rail,
  .storefront-account-panel,
  .storefront-account-card {
    border-radius: 14px;
  }

  .storefront-account-rail {
    padding: 14px;
  }

  .storefront-account-rail nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .storefront-account-rail a {
    flex: 0 0 auto;
    min-width: 128px;
  }

  .storefront-account-panel {
    padding: 14px;
  }

  .storefront-account-section-heading {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-account-section-heading > strong {
    justify-self: start;
  }

  .storefront-account-card summary {
    width: 100%;
  }

  .storefront-address-create-summary {
    grid-template-columns: 40px minmax(0, 1fr) 34px;
    min-height: 70px;
    padding: 16px;
  }

  .storefront-address-create-summary span:not(.storefront-address-create-icon) {
    padding-right: 0;
  }

  .storefront-address-create-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .storefront-address-create-form {
    padding: 0 16px 16px;
  }

  .storefront-address-create-form .storefront-button {
    justify-self: stretch;
    width: 100%;
  }

  .storefront-account-address-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}

.storefront-account-workspace .storefront-account-members-header,
.storefront-account-workspace .storefront-account-member-row {
  display: grid;
  grid-template-columns:
    minmax(130px, 1fr)
    minmax(170px, 1.18fr)
    minmax(104px, 0.58fr)
    minmax(104px, 0.56fr)
    minmax(124px, 0.68fr)
    minmax(145px, 0.82fr)
    minmax(148px, auto);
  gap: 10px;
  align-items: center;
}

.storefront-account-workspace .storefront-account-members-header {
  padding: 0 12px;
  color: var(--store-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-account-workspace .storefront-account-members-header span:last-child {
  text-align: right;
}

.storefront-account-workspace .storefront-account-member-row {
  padding: 10px 12px;
  border-color: var(--store-shell-line);
  background: color-mix(in srgb, var(--store-shell-bg) 84%, var(--store-surface-strong) 16%);
}

.storefront-account-member-name,
.storefront-account-member-email {
  min-width: 0;
  overflow-wrap: anywhere;
}

.storefront-account-member-name {
  color: var(--store-shell-text);
  font-size: 0.88rem;
}

.storefront-account-member-email {
  color: var(--store-muted);
  font-size: 0.82rem;
  font-weight: 750;
}
.storefront-account-member-invite {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--store-shell-line);
  border-radius: 999px;
  color: var(--store-muted);
  background: var(--store-surface-strong);
  font-size: 0.74rem;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-account-member-update {
  display: grid;
  grid-column: 4 / 7;
  grid-template-columns: minmax(104px, 0.75fr) minmax(124px, 0.9fr) minmax(145px, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.storefront-account-member-update select,
.storefront-account-member-update input[type="password"],
.storefront-account-member-update input:not([type]) {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--store-shell-line);
  border-radius: 8px;
  color: var(--store-shell-text);
  background: var(--store-surface-strong);
  font: inherit;
  font-size: 0.82rem;
}

.storefront-account-member-update .storefront-address-check {
  display: flex;
  grid-column: auto !important;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--store-shell-line);
  border-radius: 8px;
  background: var(--store-surface-strong);
  white-space: nowrap;
}

.storefront-account-member-update .storefront-address-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  accent-color: var(--store-brand-primary, #6b5bd6);
}

.storefront-account-member-update .storefront-address-check span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.storefront-account-member-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.storefront-account-member-remove {
  display: grid;
  min-width: 0;
}

.storefront-account-member-actions button,
.storefront-account-member-remove button {
  width: 100%;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 0.8rem;
}

.storefront-account-member-actions > button {
  color: #fff;
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 82%, #000);
  background: var(--store-brand-primary, #6b5bd6);
}

.storefront-account-member-remove button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

@media (max-width: 980px) {
  .storefront-account-workspace .storefront-account-members-header {
    display: none;
  }

  .storefront-account-workspace .storefront-account-member-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 12px;
  }

  .storefront-account-member-update {
    display: grid;
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .storefront-account-member-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Final responsive header pass: keep account actions/search compact and nav links out of the burger drawer. */
@media (max-width: 1180px) {
  .storefront-top-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-height: 56px;
    padding: 8px 10px;
  }

  .storefront-top-strip-copy {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    min-width: 0;
    justify-content: flex-start;
  }

  .storefront-beta-badge {
    min-height: 30px;
    padding-inline: 10px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .storefront-top-strip .storefront-top-search {
    grid-column: 2;
    grid-row: 1;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
  }

  .storefront-top-strip .storefront-top-actions {
    position: static !important;
    inset: auto !important;
    z-index: 420;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: flex;
    gap: 4px;
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 4px;
    border-radius: 10px;
  }

  .storefront-top-actions .storefront-appearance-toggle {
    width: 32px;
    min-width: 32px;
  }

  .storefront-top-strip .storefront-mini-cart summary,
  .storefront-top-strip .storefront-profile-chip,
  .storefront-top-actions .storefront-appearance-toggle {
    min-height: 32px;
    height: 32px;
  }

  .storefront-top-strip .storefront-mini-cart summary {
    grid-template-columns: 20px auto;
    gap: 5px;
    min-width: 48px;
    padding: 0 7px;
  }

  .storefront-top-strip .storefront-profile-menu {
    flex: 0 0 auto;
    max-width: none;
  }

  .storefront-top-strip .storefront-profile-chip {
    grid-template-columns: 20px 8px;
    gap: 6px;
    width: 42px;
    padding: 0 7px;
  }

  .storefront-mini-cart-icon,
  .storefront-profile-avatar {
    width: 20px;
    height: 20px;
    border-radius: 6px;
  }

  .storefront-mini-cart-icon svg,
  .storefront-profile-avatar svg {
    width: 14px;
    height: 14px;
  }

  .storefront-profile-chevron {
    width: 7px;
    height: 7px;
  }

  .storefront-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px 12px;
  }

  .storefront-nav > .storefront-nav-left {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand {
    display: none !important;
  }

  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    display: inline-grid !important;
    grid-column: 1;
    justify-self: start;
  }

  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    display: flex !important;
    grid-column: 2;
    justify-self: start;
    justify-content: flex-start;
    gap: clamp(12px, 3vw, 28px);
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .storefront-nav > .storefront-nav-left > .storefront-nav-links::-webkit-scrollbar {
    display: none;
  }

  .storefront-nav-links > a,
  .storefront-store-dropdown > a,
  .storefront-nav-link-disabled {
    min-height: 36px;
    font-size: 0.76rem;
  }

  .storefront-mega-menu {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 720px) {
  .storefront-shell {
    padding-bottom: 0;
  }

  .storefront-top-strip {
    grid-template-columns: auto minmax(92px, 1fr) auto;
    gap: 6px;
    padding: 7px 8px;
  }

  .storefront-beta-badge {
    min-height: 28px;
    max-width: 58px;
    padding-inline: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .storefront-nav-search input {
    height: 36px;
    padding-inline: 9px;
    font-size: 0.78rem;
  }

  .storefront-nav-search button {
    min-width: 54px;
    height: 30px;
    padding-inline: 8px;
    font-size: 0.68rem;
  }

  .storefront-top-strip .storefront-top-actions {
    gap: 3px;
    padding: 3px;
  }

  .storefront-top-actions .storefront-appearance-toggle {
    width: 32px;
    min-width: 32px;
  }

  .storefront-top-strip .storefront-mini-cart summary {
    min-width: 44px;
    padding-inline: 6px;
  }

  .storefront-top-strip .storefront-profile-chip {
    width: 38px;
    padding-inline: 6px;
  }

  .storefront-top-strip .storefront-mini-cart-menu,
  .storefront-top-strip .storefront-profile-dropdown {
    position: fixed;
    top: 56px;
    right: 8px;
    bottom: auto;
    left: auto;
    width: min(300px, calc(100dvw - 16px));
    max-height: calc(100dvh - 72px);
  }

  .storefront-nav {
    padding: 9px 10px;
  }

  .storefront-nav > .storefront-nav-left {
    gap: 10px;
  }

  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    gap: 16px;
  }

  .storefront-nav-links > a,
  .storefront-store-dropdown > a,
  .storefront-nav-link-disabled {
    min-height: 34px;
    font-size: 0.72rem;
  }
}
.storefront-assistant {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 2200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  max-width: calc(100vw - 2rem);
}

.storefront-assistant-actions {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  max-width: min(28rem, calc(100vw - 2rem));
}

.storefront-assistant-launcher,
.storefront-assistant-panel,
.storefront-back-to-top {
  color: var(--store-text, #17191d);
  background: color-mix(in srgb, var(--store-surface-strong, #ffffff) 94%, transparent);
  border: 1px solid color-mix(in srgb, var(--store-text, #17191d) 12%, transparent);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(16px);
}

.storefront-assistant-launcher {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 3.35rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
}

.storefront-back-to-top {
  display: grid;
  place-items: center;
  width: 3.05rem;
  height: 3.05rem;
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--store-indigo-deep, #111827);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.storefront-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.storefront-back-to-top:hover,
.storefront-back-to-top:focus-visible {
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.24);
}

.storefront-back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storefront-assistant-launcher strong,
.storefront-assistant-head strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.1;
}

.storefront-assistant-launcher small,
.storefront-assistant-head small {
  display: block;
  color: var(--store-muted, #6b7280);
  font-size: 0.72rem;
  line-height: 1.2;
}

.storefront-assistant-avatar {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 999px;
  background: var(--store-indigo-deep, #111827);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.storefront-assistant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storefront-assistant-default-icon {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storefront-assistant-panel {
  order: 1;
  width: min(34rem, calc(100vw - 2rem));
  max-height: min(46rem, calc(100vh - 5rem));
  overflow: hidden;
  border-radius: 16px;
}

.storefront-assistant-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border-bottom: 1px solid color-mix(in srgb, var(--store-text, #17191d) 10%, transparent);
}

.storefront-assistant-head > div {
  min-width: 0;
  flex: 1;
}

.storefront-assistant-head button {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--store-text, #17191d) 8%, transparent);
  color: inherit;
  cursor: pointer;
}

.storefront-assistant-messages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: min(31rem, calc(100vh - 17rem));
  padding: 0.85rem;
  overflow: auto;
}

.storefront-assistant-message {
  max-width: 92%;
  padding: 0.7rem 0.8rem;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.storefront-assistant-message--bot {
  align-self: flex-start;
  background: color-mix(in srgb, var(--store-indigo-deep, #111827) 8%, transparent);
}

.storefront-assistant-message--user {
  align-self: flex-end;
  background: var(--store-indigo-deep, #111827);
  color: #fff;
}

.storefront-assistant-thinking {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-width: 2.4rem;
}

.storefront-assistant-thinking span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.38;
  animation: storefront-assistant-thinking 0.95s ease-in-out infinite;
}

.storefront-assistant-thinking span:nth-child(2) {
  animation-delay: 0.14s;
}

.storefront-assistant-thinking span:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes storefront-assistant-thinking {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.34;
  }

  40% {
    transform: translateY(-0.16rem);
    opacity: 0.86;
  }
}

.storefront-assistant-prompts {
  display: flex;
  gap: 0.45rem;
  padding: 0 0.85rem 0.75rem;
  overflow-x: auto;
}

.storefront-assistant-prompts button {
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--store-text, #17191d) 12%, transparent);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  padding: 0.4rem 0.65rem;
  font-size: 0.72rem;
  cursor: pointer;
}

.storefront-assistant-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--store-text, #17191d) 10%, transparent);
}

.storefront-assistant-form input[type="text"] {
  min-width: 0;
  flex: 1;
  border: 1px solid color-mix(in srgb, var(--store-text, #17191d) 16%, transparent);
  border-radius: 999px;
  padding: 0.62rem 0.8rem;
  color: inherit;
  background: color-mix(in srgb, var(--store-surface-strong, #ffffff) 88%, transparent);
}

.storefront-assistant-form button {
  border: 0;
  border-radius: 999px;
  background: var(--store-indigo-deep, #111827);
  color: #fff;
  padding: 0.62rem 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.storefront-assistant-status {
  min-height: 1.5rem;
  padding: 0 0.9rem 0.8rem;
  color: var(--store-muted, #6b7280);
  font-size: 0.74rem;
}

.storefront-assistant-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(9.5rem, 100%), 1fr));
  gap: 0.6rem;
  margin-top: 0.65rem;
}

.storefront-assistant-product {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.6rem;
  border-radius: 8px;
  background: color-mix(in srgb, var(--store-surface-strong, #ffffff) 78%, transparent);
  text-align: center;
}

.storefront-assistant-product img,
.storefront-assistant-product > span {
  box-sizing: border-box;
  width: 4.8rem;
  height: 4.1rem;
  padding: 0.35rem;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.storefront-assistant-product > span {
  display: grid;
  place-items: center;
  color: var(--store-indigo-deep, #111827);
  font-weight: 800;
}

.storefront-assistant-product div {
  display: grid;
  justify-items: center;
  min-width: 0;
}

.storefront-assistant-product strong,
.storefront-assistant-product small,
.storefront-assistant-product em {
  display: block;
}

.storefront-assistant-product strong {
  font-size: 0.76rem;
}

.storefront-assistant-product small {
  color: var(--store-muted, #6b7280);
  font-size: 0.68rem;
}

.storefront-assistant-product em {
  margin-top: 0.2rem;
  font-style: normal;
  font-weight: 800;
}

.storefront-assistant .backoffice-shopping-assistant-products,
.storefront-assistant .rectron-rbot-products {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-top: 4px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.storefront-assistant .backoffice-shopping-assistant-product {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(221, 226, 234, 0.94);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: none;
  overflow: hidden;
}

.storefront-assistant .backoffice-shopping-assistant-product-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.storefront-assistant .backoffice-shopping-assistant-product-main,
.storefront-assistant .backoffice-shopping-assistant-product-code,
.storefront-assistant .backoffice-shopping-assistant-product-main strong,
.storefront-assistant .backoffice-shopping-assistant-product-main small {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.storefront-assistant .backoffice-shopping-assistant-product-code {
  color: #667085;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.storefront-assistant .backoffice-shopping-assistant-product-main strong {
  color: #101828;
  font-size: 0.84rem;
  font-weight: 820;
  line-height: 1.24;
}

.storefront-assistant .backoffice-shopping-assistant-product-main small {
  color: #667085;
  font-size: 0.72rem;
  line-height: 1.35;
}

.storefront-assistant .backoffice-shopping-assistant-product-facts,
.storefront-assistant .backoffice-shopping-assistant-branches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
}

.storefront-assistant .backoffice-shopping-assistant-product-facts span,
.storefront-assistant .backoffice-shopping-assistant-product-facts strong,
.storefront-assistant .backoffice-shopping-assistant-branches span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.98);
  color: #475467;
  font-size: 0.7rem;
  font-weight: 760;
  white-space: normal;
  overflow-wrap: anywhere;
}

.storefront-assistant .backoffice-shopping-assistant-product-facts strong,
.storefront-assistant .backoffice-shopping-assistant-branches span.is-positive {
  background: rgba(236, 253, 245, 0.98);
  color: #047857;
}

.storefront-assistant .backoffice-shopping-assistant-branches strong {
  color: inherit;
  font-weight: 860;
}

.storefront-assistant .backoffice-shopping-assistant-price-bands {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.storefront-assistant .backoffice-shopping-assistant-price-bands span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
  padding: 5px 7px;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.98);
  color: #475467;
  font-size: 0.7rem;
  line-height: 1.2;
}

.storefront-assistant .backoffice-shopping-assistant-price-bands strong {
  min-width: 0;
  color: #667085;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.storefront-assistant .backoffice-shopping-assistant-price-bands strong::after {
  content: ":";
}

.storefront-assistant .rectron-rbot-context-card {
  display: grid;
  gap: 0.55rem;
  padding: 0.65rem;
  border: 1px solid rgba(221, 226, 234, 0.94);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
}

.storefront-assistant .rectron-rbot-answer p,
.storefront-assistant .backoffice-shopping-assistant-answer-list {
  margin: 0;
}

.storefront-assistant .backoffice-shopping-assistant-answer-list {
  padding-left: 1.1rem;
}

.storefront-assistant .rectron-rbot-followups {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.storefront-assistant .rectron-rbot-followups button {
  border: 1px solid rgba(221, 226, 234, 0.94);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #344054;
  padding: 0.34rem 0.58rem;
  font-size: 0.68rem;
  font-weight: 760;
  cursor: pointer;
}

[data-storefront-appearance="dark"] .storefront-assistant-launcher,
[data-storefront-appearance="dark"] .storefront-assistant-panel,
[data-storefront-appearance="dark"] .storefront-back-to-top {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

[data-storefront-appearance="dark"] .storefront-assistant-product {
  background: rgba(255, 255, 255, 0.08);
}

[data-storefront-appearance="dark"] .storefront-assistant .backoffice-shopping-assistant-product,
[data-storefront-appearance="dark"] .storefront-assistant .rectron-rbot-context-card,
[data-storefront-appearance="dark"] .storefront-assistant .rectron-rbot-followups button {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

[data-storefront-appearance="dark"] .storefront-assistant .backoffice-shopping-assistant-product-main strong {
  color: #f8fafc;
}

[data-storefront-appearance="dark"] .storefront-assistant .backoffice-shopping-assistant-product-main small,
[data-storefront-appearance="dark"] .storefront-assistant .backoffice-shopping-assistant-product-code {
  color: #cbd5e1;
}

@media (max-width: 640px) {
  .storefront-assistant {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    max-width: none;
  }

  .storefront-assistant-actions {
    width: 100%;
    max-width: none;
  }

  .storefront-assistant-launcher,
  .storefront-assistant-panel {
    width: 100%;
    max-width: none;
  }

  .storefront-assistant-launcher {
    flex: 1 1 auto;
    min-width: 0;
  }

  .storefront-back-to-top {
    width: 2.9rem;
    height: 2.9rem;
  }
}

/* Header chrome polish: compact burger, calmer search width, no profile caret spacing. */
.storefront-mobile-menu-trigger,
.storefront-nav .storefront-mobile-menu-trigger,
.storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
  width: 36px;
  height: 36px;
  gap: 3px;
  border-radius: 10px;
  border-color: color-mix(in srgb, var(--store-brand-primary, #111827) 18%, rgba(255, 255, 255, 0.48));
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.05)),
    color-mix(in srgb, var(--store-nav-bg, #fff) 92%, var(--store-brand-primary, #111827) 8%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 10px 24px rgba(15, 23, 42, 0.12);
}

.storefront-mobile-menu-trigger span {
  width: 15px;
  height: 1.5px;
  opacity: 0.9;
}

.storefront-mobile-menu-trigger span:nth-child(2) {
  width: 11px;
}

.storefront-mobile-menu-trigger span:nth-child(3) {
  width: 7px;
}

.storefront-mobile-menu-trigger:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 14px 30px rgba(15, 23, 42, 0.16);
}

.storefront-top-strip .storefront-top-search {
  width: min(400px, 100%);
  max-width: 400px;
}

.storefront-top-strip .storefront-profile-chip {
  grid-template-columns: 20px;
  width: 34px;
  min-width: 34px;
  padding-inline: 7px;
  justify-content: center;
}

.storefront-profile-chevron {
  display: none !important;
}

@media (max-width: 1380px) {
  .storefront-top-strip .storefront-top-search {
    width: min(380px, 100%);
    max-width: 380px;
  }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .storefront-top-strip .storefront-top-search {
    justify-self: center;
    width: min(360px, 100%);
    max-width: 360px;
  }
}

@media (max-width: 720px) {
  .storefront-mobile-menu-trigger,
  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    width: 34px;
    height: 34px;
  }

  .storefront-top-strip .storefront-top-search {
    justify-self: center;
    width: min(320px, 100%);
    max-width: 320px;
  }

  .storefront-top-strip .storefront-profile-chip {
    width: 32px;
    min-width: 32px;
    padding-inline: 6px;
  }
}

/* Tablet/mobile navigation and catalogue filter controls. */
@media (max-width: 1180px) {
  .storefront-nav > .storefront-nav-left {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    display: inline-grid !important;
  }

  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    display: none !important;
  }

  .storefront-mobile-primary-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .storefront-catalog-toolbar .storefront-sort-strip {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.72fr);
    gap: 10px;
  }

  .storefront-filter-open-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 950;
    white-space: nowrap;
  }

  .storefront-filter-panel {
    height: 100dvh;
    max-height: 100dvh;
  }
}

@media (max-width: 720px) {
  .storefront-nav {
    padding-inline: 10px;
  }

  .storefront-catalog-toolbar .storefront-sort-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-catalog-toolbar .storefront-sort-strip label {
    display: grid;
    gap: 6px;
  }

  .storefront-catalog-toolbar .storefront-sort-strip select {
    width: 100%;
    min-height: 44px;
  }

  .storefront-filter-panel {
    width: 100dvw;
    border-radius: 0;
  }
}

.storefront-mobile-subcategory-panel[hidden] {
  display: none;
}

.storefront-mobile-subcategory-panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
  padding: 18px;
  color: #111827;
  background: #fff;
}

.storefront-mobile-subcategory-panel-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.storefront-mobile-subcategory-panel-header button {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 6px;
  color: #111827;
  background: #f8fafc;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.storefront-mobile-subcategory-panel-header div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.storefront-mobile-subcategory-panel-header strong {
  overflow: hidden;
  color: #111827;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-mobile-subcategory-panel-body {
  min-height: 0;
  overflow-y: auto;
}

.storefront-mobile-subcategory-panel-body .storefront-mobile-subcategory-list {
  max-height: none;
  padding: 0;
}

.storefront-mobile-subcategory-panel-body .storefront-mobile-subcategory-list a {
  display: grid;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
}

@media (max-width: 1180px) {
  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    display: none !important;
  }

  .storefront-nav > .storefront-nav-left {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand {
    display: none !important;
  }

  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    display: flex !important;
    grid-column: 1;
    justify-self: center;
    justify-content: center;
    gap: clamp(12px, 4vw, 26px);
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .storefront-nav > .storefront-nav-left > .storefront-nav-links::-webkit-scrollbar {
    display: none;
  }

  .storefront-nav-links > a,
  .storefront-store-dropdown > a,
  .storefront-nav-link-disabled {
    min-height: 34px;
    padding-inline: 8px;
    font-size: 0.76rem;
  }

  .storefront-mega-menu {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 720px) {
  .storefront-nav {
    grid-template-columns: minmax(0, 1fr);
    padding: 9px 10px;
  }

  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    gap: 12px;
  }

  .storefront-nav-links > a,
  .storefront-store-dropdown > a,
  .storefront-nav-link-disabled {
    min-height: 32px;
    padding-inline: 6px;
    font-size: 0.7rem;
  }

  .storefront-mobile-subcategory-panel {
    padding: 14px;
  }
}

/* Final tablet/mobile nav authority: burger opens the drawer, inline nav stays desktop-only. */
@media (max-width: 1180px) {
  .storefront-nav > .storefront-nav-left {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center;
    gap: 10px;
  }

  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    display: inline-grid !important;
    grid-column: 1;
    justify-self: start;
  }

  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    display: none !important;
  }
}

/* Compact catalogue toolbar: sort icon first, slim filters action second. */
.storefront-catalog-toolbar .storefront-sort-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: nowrap;
}

.storefront-sort-control {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(126px, 1fr);
  align-items: center;
  min-width: 188px;
  min-height: 38px;
  margin: 0;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 6px;
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-surface-strong, #fff) 92%, var(--store-brand-primary, #111827) 8%);
}

.storefront-sort-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 100%;
  color: color-mix(in srgb, var(--store-brand-primary, #111827) 78%, var(--store-shell-text));
  pointer-events: none;
}

.storefront-sort-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storefront-sort-control select {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 0 28px 0 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
}

.storefront-filter-open-button {
  min-width: 86px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 0.82rem;
}

@media (max-width: 1180px) {
  .storefront-catalog-toolbar .storefront-sort-strip {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto;
    justify-content: stretch;
    width: 100%;
  }

  .storefront-sort-control {
    min-width: 0;
  }

  .storefront-filter-open-button {
    width: auto;
    min-width: 82px;
    min-height: 40px;
    padding-inline: 12px;
  }
}

@media (max-width: 520px) {
  .storefront-catalog-toolbar .storefront-sort-strip {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .storefront-sort-control {
    grid-template-columns: 32px minmax(0, 1fr);
    min-width: 0;
  }

  .storefront-sort-control select {
    font-size: 0.78rem;
  }

  .storefront-filter-open-button {
    min-width: 74px;
    padding-inline: 10px;
  }
}

/* Mobile catalogue and assistant polish. */
.storefront-product-card {
  position: relative;
}

.storefront-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 2px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.985);
}

.storefront-product-card.is-selecting {
  transform: translateY(-4px) scale(0.985);
  box-shadow: 0 18px 42px color-mix(in srgb, var(--store-brand-primary, #111827) 18%, rgba(15, 23, 42, 0.16));
}

.storefront-product-card.is-selecting::after {
  border-color: color-mix(in srgb, var(--store-brand-primary, #111827) 72%, #fff);
  background: color-mix(in srgb, var(--store-brand-primary, #111827) 8%, transparent);
  opacity: 1;
  animation: storefront-product-select-pulse 520ms ease-out both;
}

@keyframes storefront-product-select-pulse {
  0% {
    opacity: 0;
    transform: scale(0.985);
  }

  42% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0.34;
    transform: scale(1);
  }
}

.storefront-cookie-notice {
  z-index: 2300;
}

.storefront-assistant {
  z-index: 1600;
}

.storefront-assistant.is-open {
  z-index: 2400;
}

.storefront-assistant-launcher {
  display: grid;
  place-items: center;
  justify-content: center;
  align-items: center;
  flex: 0 0 3.25rem;
  width: 3.25rem;
  min-width: 3.25rem;
  max-width: 3.25rem;
  height: 3.25rem;
  min-height: 3.25rem;
  padding: 0;
  border-radius: 999px;
  gap: 0;
  line-height: 0;
}

.storefront-assistant-launcher > span:not(.storefront-assistant-avatar) {
  display: none;
}

.storefront-assistant-launcher strong,
.storefront-assistant-launcher small {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.storefront-assistant-launcher .storefront-assistant-avatar {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
}

.storefront-assistant-launcher .storefront-assistant-avatar img,
.storefront-assistant-launcher .storefront-assistant-default-icon {
  display: block;
  margin: auto;
  object-position: center;
}

.storefront-assistant-launcher .storefront-assistant-avatar img {
  object-fit: contain;
}

.storefront-mobile-subcategory-list a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 48px;
  text-align: left;
}

.storefront-mobile-subcategory-list a > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-mobile-subcategory-thumb,
.storefront-filter-link-thumb {
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid rgba(17, 24, 39, 0.10);
  color: var(--store-brand-primary, #111827);
  background: #fff;
  font-weight: 900;
}

.storefront-mobile-subcategory-thumb {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  font-size: 0.68rem;
}

.storefront-mobile-subcategory-thumb img,
.storefront-filter-link-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.storefront-mobile-category--brands summary > span,
.storefront-mobile-brand-link .storefront-mobile-subcategory-thumb {
  border-radius: 8px;
  color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 78%, var(--store-shell-text));
  background: #fff;
}

.storefront-mobile-category--brands summary > span img,
.storefront-mobile-brand-link .storefront-mobile-subcategory-thumb img {
  padding: 4px;
  background: #fff;
}

.storefront-mobile-brand-link {
  border-radius: 10px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--store-brand-primary, #0875d1) 7%, transparent), transparent 48%),
    color-mix(in srgb, var(--store-surface-strong) 92%, #fff 8%);
}

.storefront-filter-link--sub {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-left: 12px;
  padding-left: 10px;
  border-left: 0;
}

.storefront-filter-link--sub::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 12px;
  height: 1px;
  background: rgba(148, 163, 184, 0.72);
}

.storefront-filter-link-thumb {
  width: 30px;
  height: 30px;
  border-radius: 5px;
  font-size: 0.62rem;
}

.storefront-filter-link--sub > span {
  display: block;
  padding: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
}

.storefront-filter-link--sub > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.storefront-filter-link--sub > .storefront-filter-link-thumb {
  display: grid;
  place-items: center;
  border-radius: 5px;
  font-size: 0.62rem;
}

@media (min-width: 721px) and (max-width: 1180px) {
  .storefront-mobile-menu {
    width: min(500px, calc(100dvw - 28px));
    padding-bottom: calc(42px + env(safe-area-inset-bottom));
  }

  .storefront-mobile-category-list {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }

  .storefront-filter-panel {
    width: min(430px, calc(100dvw - 18px));
    border-radius: 12px 0 0 12px;
  }

  .storefront-assistant-panel {
    width: min(30rem, calc(100vw - 2rem));
    max-height: min(36rem, calc(100dvh - 6rem));
  }
}

@media (max-width: 1180px) {
  .storefront-commerce-layout--catalog {
    width: min(100%, calc(100% - 18px));
    gap: 14px;
    padding-top: 14px;
  }

  .storefront-catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .storefront-catalog-toolbar .storefront-sort-strip,
  .storefront-catalog-toolbar .storefront-sort-strip label {
    width: 100%;
  }

  .storefront-catalog-toolbar .storefront-sort-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(140px, auto);
    align-items: center;
  }

  .storefront-filter-open-button {
    min-height: 42px;
  }

  .storefront-filter-panel {
    grid-template-rows: auto auto minmax(0, 1fr);
    max-height: 100dvh;
    padding: 14px;
    overflow: hidden;
  }

  .storefront-filter-panel form {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .storefront-filter-actions {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: 0 -2px;
    padding: 12px 2px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), #fff 36%);
  }

  .storefront-filter-group {
    gap: 8px;
    padding-bottom: 14px;
  }

  .storefront-filter-link {
    min-height: 42px;
  }

  .storefront-mobile-menu {
    width: min(520px, calc(100dvw - 14px));
    max-height: 100dvh;
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
  }

  .storefront-mobile-catalog {
    min-height: 0;
  }

  .storefront-mobile-category-list {
    align-content: start;
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }

  .storefront-mobile-subcategory-list {
    max-height: none;
    padding: 0 10px 16px 54px;
  }

  .storefront-mobile-subcategory-panel {
    transform: translateX(0);
    box-shadow: -14px 0 34px rgba(15, 23, 42, 0.16);
  }

  .storefront-mobile-subcategory-panel-body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }

  .storefront-mobile-subcategory-panel-body .storefront-mobile-subcategory-list {
    padding: 0 0 calc(36px + env(safe-area-inset-bottom));
  }

  .storefront-mobile-subcategory-panel-body .storefront-mobile-subcategory-list a {
    min-height: 52px;
    padding: 10px 12px;
  }
}

@media (max-width: 720px) {
  .storefront-product-grid,
  .storefront-catalog-skeleton,
  .storefront-page-skeleton-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .storefront-product-card {
    min-height: 238px;
    border-radius: 5px;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.12);
  }

  .storefront-product-card-link {
    grid-template-rows: 142px minmax(44px, 1fr) auto;
    min-height: 238px;
  }

  .storefront-skeleton-card {
    grid-template-rows: 142px 28px minmax(26px, 1fr) 42px;
    min-height: 238px;
    border-radius: 5px;
  }

  .storefront-product-media {
    min-height: 142px;
    padding: 10px 8px 4px;
  }

  .storefront-skeleton-card span {
    width: min(100%, calc(100% - 16px));
    height: min(122px, calc(100% - 20px));
  }

  .storefront-skeleton-card strong {
    margin-right: 8px;
    margin-left: 8px;
  }

  .storefront-skeleton-card small {
    width: calc(100% - 16px);
    height: 28px;
    margin-right: 8px;
    margin-left: 8px;
  }

  .storefront-skeleton-card em {
    margin-right: 8px;
    margin-left: 8px;
  }

  .storefront-product-media img {
    max-width: 100%;
    max-height: 122px;
  }

  .storefront-product-body {
    padding: 0 8px 8px;
  }

  .storefront-product-body h3 {
    font-size: 0.72rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }

  .storefront-product-purchase {
    padding: 0 8px 10px;
  }

  .storefront-product-price {
    font-size: 0.82rem;
  }

  .storefront-product-previous-price {
    font-size: 0.66rem;
  }

  .storefront-product-firesale-badge {
    top: 7px;
    left: 7px;
    min-height: 20px;
    padding: 3px 7px;
    font-size: 0.58rem;
  }

  .storefront-catalog-toolbar .storefront-sort-strip {
    grid-template-columns: 1fr;
  }

  .storefront-filter-panel {
    width: min(94dvw, 390px);
    border-radius: 12px 0 0 12px;
  }

  .storefront-filter-panel-header {
    padding-bottom: 10px;
  }

  .storefront-filter-panel-header strong {
    font-size: 1rem;
  }

  .storefront-mobile-menu {
    width: min(96dvw, 430px);
    padding: 14px 12px calc(44px + env(safe-area-inset-bottom));
  }

  .storefront-mobile-category summary {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    min-height: 58px;
    padding: 8px;
  }

  .storefront-mobile-category summary > span {
    width: 40px;
    height: 40px;
  }

  .storefront-mobile-category img {
    max-width: 34px;
    max-height: 34px;
  }

  .storefront-mobile-subcategory-list {
    padding-left: 34px;
  }

  .storefront-mobile-subcategory-list a {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 9px;
  }

  .storefront-mobile-subcategory-thumb {
    width: 32px;
    height: 32px;
  }

  .storefront-cookie-notice {
    right: 10px;
    left: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    grid-template-columns: 1fr;
    gap: 12px;
    width: auto;
    padding: 14px;
  }

  .storefront-cookie-notice__actions,
  .storefront-cookie-notice__button {
    width: 100%;
  }

  .storefront-assistant {
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    left: auto;
    max-width: calc(100vw - 1.5rem);
  }

  .storefront-assistant-actions {
    width: auto;
  }

  .storefront-assistant-launcher,
  .storefront-back-to-top {
    width: 2.9rem;
    min-width: 2.9rem;
    max-width: 2.9rem;
    height: 2.9rem;
    min-height: 2.9rem;
  }

  .storefront-assistant-launcher {
    flex: 0 0 auto;
  }

  .storefront-assistant-launcher .storefront-assistant-avatar {
    width: 2rem;
    height: 2rem;
  }

  .storefront-assistant-panel {
    position: fixed;
    right: 0.65rem;
    bottom: calc(4.45rem + env(safe-area-inset-bottom));
    left: 0.65rem;
    width: auto;
    max-width: none;
    max-height: min(74dvh, 34rem);
    border-radius: 12px;
  }

  .storefront-assistant-messages {
    max-height: min(46dvh, 22rem);
  }
}

@media (max-width: 420px) {
  .storefront-product-grid,
  .storefront-catalog-skeleton,
  .storefront-page-skeleton-grid {
    gap: 8px;
  }

  .storefront-product-card {
    min-height: 222px;
  }

  .storefront-product-card-link {
    grid-template-rows: 128px minmax(42px, 1fr) auto;
    min-height: 222px;
  }

  .storefront-skeleton-card {
    grid-template-rows: 128px 26px minmax(24px, 1fr) 38px;
    min-height: 222px;
  }

  .storefront-product-media {
    min-height: 128px;
  }

  .storefront-skeleton-card span {
    height: min(108px, calc(100% - 20px));
  }

  .storefront-product-media img {
    max-height: 108px;
  }
}

/* Stable catalogue card counts across responsive breakpoints. */
@media (min-width: 1280px) {
  .storefront-commerce-layout--catalog .storefront-product-grid,
  .storefront-commerce-layout--catalog .storefront-catalog-skeleton,
  .storefront-commerce-layout--catalog .storefront-page-skeleton-grid,
  .storefront-route-skeleton--catalog .storefront-route-catalog-grid,
  .storefront-route-loading--catalog .storefront-page-skeleton-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 721px) and (max-width: 1279px) {
  .storefront-commerce-layout--catalog .storefront-product-grid,
  .storefront-commerce-layout--catalog .storefront-catalog-skeleton,
  .storefront-commerce-layout--catalog .storefront-page-skeleton-grid,
  .storefront-route-skeleton--catalog .storefront-route-catalog-grid,
  .storefront-route-loading--catalog .storefront-page-skeleton-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .storefront-commerce-layout--catalog .storefront-product-grid,
  .storefront-commerce-layout--catalog .storefront-catalog-skeleton,
  .storefront-commerce-layout--catalog .storefront-page-skeleton-grid,
  .storefront-route-skeleton--catalog .storefront-route-catalog-grid,
  .storefront-route-loading--catalog .storefront-page-skeleton-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Attribute filter option alignment. */
.storefront-filter-group--checks .storefront-filter-group-options {
  gap: 7px;
  padding: 9px 0 4px 10px;
}

.storefront-filter-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: color-mix(in srgb, var(--store-shell-bg) 76%, var(--store-skeleton-panel));
}

.storefront-filter-check:hover {
  border-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 22%, var(--store-shell-line));
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 7%, var(--store-shell-bg));
}

.storefront-filter-check input[type="checkbox"] {
  align-self: start;
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 4px;
}

.storefront-filter-check > span {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  color: var(--store-shell-text);
  background: transparent;
  font-size: 0.78rem;
  line-height: 1.3;
}

.storefront-filter-check .storefront-filter-check-label {
  display: block;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  overflow-wrap: anywhere;
}

.storefront-filter-check small {
  justify-self: end;
  min-width: 1.45rem;
  padding-top: 1px;
  color: var(--store-shell-muted);
  text-align: right;
  font-size: 0.72rem;
  font-weight: 800;
}

/* Account and cart drawer. */
.storefront-account-drawer-trigger {
  position: relative;
  display: inline-grid;
  place-items: center;
  grid-template-columns: 1fr;
  align-items: center;
  width: var(--store-chip-height, 36px);
  min-width: var(--store-chip-height, 36px);
  min-height: var(--store-chip-height, 36px);
  max-width: var(--store-chip-height, 36px);
  padding: 0;
  border: 1px solid var(--store-chip-border, rgba(255, 255, 255, 0.18));
  border-radius: var(--store-chip-radius, 10px);
  color: var(--store-chip-text, rgba(255, 255, 255, 0.92));
  background: var(--store-chip-bg, rgba(255, 255, 255, 0.11));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 22px rgba(15, 23, 42, 0.12);
  font: inherit;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.storefront-account-drawer-trigger:hover,
.storefront-account-drawer-trigger[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.30);
  background: var(--store-chip-bg-hover, rgba(255, 255, 255, 0.18));
}

.storefront-account-drawer-trigger:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.88);
  outline-offset: 2px;
}

.storefront-account-drawer-trigger[aria-expanded="true"] {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 26px rgba(15, 23, 42, 0.18);
}

.storefront-account-drawer-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.storefront-account-drawer-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storefront-account-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2320;
  display: block;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(6px);
  touch-action: none;
}

.storefront-account-drawer-backdrop[hidden],
.storefront-account-drawer[hidden],
.storefront-account-drawer-panel[hidden] {
  display: none !important;
}

.storefront-account-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 2330;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 16px;
  width: min(440px, 100dvw);
  max-width: 100dvw;
  min-width: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  padding: 20px;
  color: var(--store-menu-text, #111827);
  background: var(--store-menu-bg, #fff);
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.30);
  transform: translateX(calc(100% + 24px));
  visibility: hidden;
  pointer-events: none;
  transition: transform 180ms ease, visibility 180ms ease;
}

.storefront-account-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.storefront-account-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--store-menu-line, rgba(17, 24, 39, 0.12));
}

.storefront-account-drawer-header strong,
.storefront-account-drawer-header small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.storefront-account-drawer-header strong {
  color: var(--store-menu-text, #111827);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.2;
}

.storefront-account-drawer-header small {
  margin-top: 3px;
  color: var(--store-menu-muted, #667085);
  font-size: 0.82rem;
  font-weight: 750;
}

.storefront-account-drawer-header button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--store-menu-line, rgba(17, 24, 39, 0.12));
  border-radius: 5px;
  color: var(--store-menu-text, #111827);
  background: var(--store-menu-bg, #fff);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}

.storefront-account-drawer-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.storefront-account-drawer-tabs:has(.storefront-account-drawer-tab:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.storefront-account-drawer-tab {
  min-height: 40px;
  border: 1px solid var(--store-menu-line, rgba(17, 24, 39, 0.12));
  border-radius: 5px;
  color: var(--store-menu-text, #111827);
  background: var(--store-menu-hover, rgba(17, 24, 39, 0.04));
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.storefront-account-drawer-tab.is-active {
  color: var(--store-menu-primary-text, #fff);
  border-color: var(--store-menu-primary-bg, var(--store-brand-primary, #111827));
  background: var(--store-menu-primary-bg, var(--store-brand-primary, #111827));
}

.storefront-account-drawer-panel {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 2px;
}

.storefront-account-drawer-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--store-menu-muted, #667085);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-account-drawer-panel-heading strong {
  color: var(--store-menu-text, #111827);
  letter-spacing: 0;
  text-transform: none;
}

.storefront-account-drawer .storefront-mini-cart-menu,
.storefront-account-drawer .storefront-profile-dropdown {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--store-menu-text, #111827);
  background: transparent;
  box-shadow: none;
}

.storefront-account-drawer .storefront-mini-cart-menu {
  display: grid;
  gap: 0;
}

.storefront-account-drawer .storefront-account-drawer-panel-heading {
  margin-bottom: 10px;
}

.storefront-account-drawer .storefront-mini-cart-line {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 9px;
  padding-bottom: 10px;
}

.storefront-account-drawer .storefront-mini-cart-line + .storefront-mini-cart-line {
  padding-top: 10px;
}

.storefront-account-drawer .storefront-mini-cart-image {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}

.storefront-account-drawer .storefront-mini-cart-image img {
  max-width: 34px;
  max-height: 34px;
}

.storefront-account-drawer .storefront-mini-cart-line > div:nth-child(2) {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.storefront-account-drawer .storefront-mini-cart-line strong {
  font-size: 0.78rem;
  line-height: 1.15;
}

.storefront-account-drawer .storefront-mini-cart-line > strong:last-child {
  align-self: start;
  padding-top: 1px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.storefront-account-drawer .storefront-mini-cart-line-meta {
  gap: 6px;
  margin-top: 0;
}

.storefront-account-drawer .storefront-mini-cart-line-meta span {
  min-width: 28px;
  min-height: 24px;
  border-radius: 6px;
  font-size: 0.72rem;
}

.storefront-account-drawer .storefront-mini-cart-remove-form button {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 0.68rem;
}

.storefront-account-drawer .storefront-mini-cart-total {
  padding: 12px 0;
  font-size: 0.78rem;
}

.storefront-account-drawer .storefront-mini-cart-primary {
  min-height: 38px;
  border-radius: 6px;
  font-size: 0.86rem;
}

.storefront-account-drawer-panel[data-storefront-account-drawer-panel="account"] {
  display: grid;
  min-height: 0;
}

.storefront-account-drawer .storefront-profile-dropdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
}

.storefront-account-drawer .storefront-profile-dropdown > form {
  margin-top: auto;
  padding-top: 10px;
  padding-bottom: 88px;
}

.storefront-account-drawer .storefront-profile-dropdown-heading {
  align-items: center;
  grid-template-columns: 42px minmax(0, 1fr);
  padding: 12px;
  border: 1px solid var(--store-menu-line, rgba(17, 24, 39, 0.12));
  border-radius: 8px;
  background: var(--store-menu-hover, rgba(17, 24, 39, 0.04));
}

.storefront-account-drawer .storefront-profile-dropdown-heading > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 8px;
  color: var(--store-menu-primary-text, #fff);
  background: var(--store-menu-primary-bg, var(--store-brand-primary, #111827));
  font-size: 0.78rem;
  letter-spacing: 0;
}

.storefront-account-drawer .storefront-profile-dropdown-heading > strong {
  text-align: left;
}

.storefront-account-drawer .storefront-profile-dropdown-meta {
  margin: 0;
  padding: 12px;
  border: 1px solid var(--store-menu-line, rgba(17, 24, 39, 0.12));
  border-radius: 8px;
}

.storefront-account-drawer .storefront-profile-preference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--store-menu-line, rgba(17, 24, 39, 0.12));
  border-radius: 8px;
  background: var(--store-menu-hover, rgba(17, 24, 39, 0.04));
}

.storefront-profile-preference span,
.storefront-profile-preference small {
  display: block;
  min-width: 0;
}

.storefront-profile-preference span {
  color: var(--store-menu-text, #111827);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.2;
}

.storefront-profile-preference small {
  margin-top: 2px;
  color: var(--store-menu-muted, #667085);
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.3;
}

.storefront-account-drawer .storefront-appearance-toggle--drawer {
  width: 38px;
  min-width: 38px;
  height: 38px;
  border-color: var(--store-menu-line, rgba(17, 24, 39, 0.12));
  color: var(--store-menu-text, #111827);
  background: var(--store-menu-bg, #fff);
  box-shadow: none;
}

.storefront-account-drawer .storefront-appearance-toggle--drawer:hover {
  border-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 36%, var(--store-menu-line));
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 7%, var(--store-menu-bg));
}

.storefront-account-drawer .storefront-profile-dropdown a,
.storefront-account-drawer .storefront-profile-dropdown button {
  min-height: 42px;
  border-radius: 6px;
}

.storefront-account-drawer .storefront-profile-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.storefront-account-drawer .storefront-profile-action {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  min-height: 78px;
  padding: 10px 8px;
  border: 1px solid var(--store-menu-line, rgba(17, 24, 39, 0.12));
  border-radius: 8px;
  color: var(--store-menu-text, #111827);
  background: var(--store-menu-hover, rgba(17, 24, 39, 0.04));
  text-align: center;
  text-decoration: none;
}

.storefront-account-drawer .storefront-profile-action:hover {
  border-color: color-mix(in srgb, var(--store-brand-primary, #0875d1) 34%, var(--store-menu-line));
  background: color-mix(in srgb, var(--store-brand-primary, #0875d1) 7%, var(--store-menu-bg, #fff));
}

.storefront-account-drawer .storefront-profile-action > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: var(--store-menu-primary-text, #fff);
  background: var(--store-menu-primary-bg, var(--store-brand-primary, #111827));
}

.storefront-account-drawer .storefront-profile-action svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storefront-account-drawer .storefront-profile-action strong {
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.storefront-account-drawer-open {
  overflow: hidden;
}

html[data-storefront-appearance="dark"] .storefront-account-drawer,
html[data-storefront-appearance="dark"] .storefront-account-drawer-header button {
  color: var(--store-shell-text);
  border-color: var(--store-shell-line);
  background: var(--store-surface-strong);
}

html[data-storefront-appearance="dark"] .storefront-account-drawer .storefront-profile-dropdown-heading,
html[data-storefront-appearance="dark"] .storefront-account-drawer .storefront-profile-dropdown-meta,
html[data-storefront-appearance="dark"] .storefront-account-drawer .storefront-profile-preference,
html[data-storefront-appearance="dark"] .storefront-account-drawer .storefront-profile-dropdown a {
  border-color: var(--store-shell-line);
  background: color-mix(in srgb, var(--store-shell-bg) 72%, var(--store-surface-strong) 28%);
}

html[data-storefront-appearance="dark"] .storefront-account-drawer .storefront-appearance-toggle--drawer {
  color: var(--store-shell-text);
  border-color: var(--store-shell-line);
  background: var(--store-shell-bg);
}

@media (max-width: 1180px) {
  .storefront-account-drawer-trigger {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .storefront-account-drawer {
    width: 100dvw;
    padding: 16px;
  }

  .storefront-account-drawer .storefront-profile-dropdown > form {
    padding-bottom: 104px;
  }

  .storefront-account-drawer-header {
    align-items: flex-start;
  }
}

.storefront-top-search {
  cursor: pointer;
  font-family: var(--store-font-family);
}

.storefront-top-strip {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
}

.storefront-top-strip .storefront-top-actions {
  display: flex;
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  gap: 0;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.storefront-top-strip .storefront-account-drawer-trigger {
  width: var(--store-chip-height, 36px);
  min-width: var(--store-chip-height, 36px);
  max-width: var(--store-chip-height, 36px);
  height: var(--store-chip-height, 36px);
  min-height: var(--store-chip-height, 36px);
}

.storefront-top-strip .storefront-top-search {
  display: inline-grid;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  grid-template-columns: 1fr;
  place-items: center;
  flex: 0 0 auto;
  width: var(--store-chip-height, 36px);
  min-width: var(--store-chip-height, 36px);
  max-width: var(--store-chip-height, 36px);
  height: var(--store-chip-height, 36px);
  min-height: var(--store-chip-height, 36px);
  margin: 0;
  padding: 0;
  border: 1px solid var(--store-chip-border, rgba(255, 255, 255, 0.18));
  border-radius: var(--store-chip-radius, 10px);
  color: var(--store-chip-text, rgba(255, 255, 255, 0.92));
  background: var(--store-chip-bg, rgba(255, 255, 255, 0.11));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 22px rgba(15, 23, 42, 0.12);
}

.storefront-top-strip .storefront-top-search:hover,
.storefront-top-strip .storefront-top-search:focus-within {
  border-color: rgba(255, 255, 255, 0.30);
  background: var(--store-chip-bg-hover, rgba(255, 255, 255, 0.18));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 26px rgba(15, 23, 42, 0.16);
}

.storefront-top-strip .storefront-top-search input,
.storefront-top-strip .storefront-top-search .storefront-nav-search-rolodex {
  display: none;
}

.storefront-top-strip .storefront-top-search button {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  color: currentColor;
  background: transparent;
}

.storefront-top-search input[readonly] {
  cursor: pointer;
}

.storefront-top-search button {
  min-width: 42px;
  width: 42px;
  padding: 0;
}

.storefront-top-search button,
.storefront-mobile-search-field button {
  position: relative;
}

.storefront-top-search button::before,
.storefront-mobile-search-field button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 999px;
  transform: translate(-58%, -58%);
}

.storefront-top-search button::after,
.storefront-mobile-search-field button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(2px, 5px) rotate(45deg);
  transform-origin: center;
}

.storefront-search-workspace-backdrop {
  position: fixed;
  inset: var(--store-search-workspace-top) 0 0;
  z-index: 700;
  background: rgba(15, 23, 42, 0.36);
  backdrop-filter: blur(4px);
  touch-action: none;
}

.storefront-search-workspace-backdrop[hidden],
.storefront-search-workspace[hidden] {
  display: none;
}

.storefront-search-workspace {
  position: fixed;
  inset: var(--store-search-workspace-top) 0 0;
  z-index: 710;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-top: 1px solid var(--store-search-overlay-line);
  border-radius: 18px 18px 0 0;
  color: var(--store-search-overlay-text);
  background: var(--store-search-overlay-bg);
  box-shadow: 0 -28px 70px rgba(15, 23, 42, 0.26);
  font-family: var(--store-font-family);
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 240ms ease, visibility 240ms ease;
}

.storefront-search-workspace.is-open {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

body.storefront-search-workspace-open {
  overflow: hidden;
}

.storefront-search-workspace-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  padding: clamp(18px, 3vw, 30px) clamp(18px, 5vw, 76px) 18px;
  border-bottom: 1px solid var(--store-search-overlay-line);
  background: color-mix(in srgb, var(--store-search-overlay-bg) 96%, transparent);
  backdrop-filter: blur(12px);
}

.storefront-search-workspace-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.storefront-search-workspace-form > input {
  grid-column: 1;
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--store-search-overlay-line);
  border-radius: 8px;
  color: var(--store-search-overlay-text);
  background: var(--store-search-overlay-card);
  font: inherit;
  font-size: clamp(1.12rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0;
  text-align: left;
  outline: 0;
}

.storefront-search-workspace-form > input::placeholder {
  color: color-mix(in srgb, var(--store-search-overlay-muted) 78%, transparent);
}

.storefront-search-workspace-form > button {
  justify-self: stretch;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--store-search-overlay-line);
  border-radius: 8px;
  color: var(--store-search-overlay-text);
  background: color-mix(in srgb, var(--store-search-overlay-card) 52%, transparent);
  font-family: var(--store-font-family);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.storefront-search-workspace-close {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--store-search-overlay-line);
  border-radius: 8px;
  color: var(--store-search-overlay-text);
  background: var(--store-search-overlay-card);
  cursor: pointer;
}

.storefront-search-workspace-close::before,
.storefront-search-workspace-close::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.storefront-search-workspace-close::before {
  transform: rotate(45deg);
}

.storefront-search-workspace-close::after {
  transform: rotate(-45deg);
}

.storefront-search-workspace-results {
  position: static;
  grid-column: 1 / -1;
  width: min(calc(100% - 48px), 1480px);
  max-height: none;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.storefront-search-workspace-results .storefront-nav-search-list {
  display: grid;
  gap: clamp(22px, 2.6vw, 36px);
  max-height: none;
  padding: 28px 0 36px;
  overflow: visible;
}

.storefront-search-workspace-results .storefront-nav-search-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(18px, 2vw, 26px);
  border: 0;
}

.storefront-search-workspace-results .storefront-nav-search-group-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 0 2px;
  border: 0;
  background: transparent;
}

.storefront-search-workspace-results .storefront-nav-search-group-head span {
  color: var(--store-search-overlay-muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
}

.storefront-search-workspace-results .storefront-nav-search-group-head a {
  display: inline-grid;
  place-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--store-search-overlay-line);
  border-radius: 999px;
  color: var(--store-search-overlay-text);
  background: color-mix(in srgb, var(--store-search-overlay-card) 70%, transparent);
  font-size: 0.76rem;
  text-transform: none;
}

.storefront-search-workspace-results .storefront-nav-search-item {
  display: grid;
  grid-template-rows: auto minmax(76px, 1fr) auto;
  grid-template-columns: 1fr;
  align-content: start;
  justify-items: center;
  gap: 12px;
  min-height: 350px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--store-search-overlay-line);
  border-radius: 12px;
  color: var(--store-search-overlay-text);
  background: color-mix(in srgb, var(--store-search-overlay-card) 88%, var(--store-search-overlay-bg));
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.10);
  text-align: center;
}

.storefront-search-workspace-results .storefront-nav-search-item:hover,
.storefront-search-workspace-results .storefront-nav-search-item:focus {
  background: color-mix(in srgb, var(--store-search-overlay-card) 74%, var(--store-search-overlay-thumb));
}

.storefront-search-workspace-results .storefront-nav-search-thumb {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 210px;
  min-height: 0;
  padding: 22px 18px 8px;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

.storefront-search-workspace-results .storefront-nav-search-thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 220px;
  max-height: 176px;
  object-fit: contain;
}

.storefront-search-workspace-results .storefront-nav-search-copy {
  align-content: start;
  justify-items: center;
  width: 100%;
  text-align: center;
}

.storefront-search-workspace-results .storefront-nav-search-copy strong {
  display: -webkit-box;
  min-height: 2.6em;
  overflow: hidden;
  color: var(--store-search-overlay-text);
  font-size: 0.92rem;
  line-height: 1.3;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.storefront-search-workspace-results .storefront-nav-search-copy span {
  display: -webkit-box;
  width: 100%;
  min-height: 2.7em;
  overflow: hidden;
  color: var(--store-search-overlay-muted);
  font-size: 0.82rem;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.storefront-search-workspace-results .storefront-nav-search-price {
  align-self: end;
  justify-self: center;
  color: var(--store-search-overlay-price);
  font-size: 0.98rem;
  text-align: center;
}

.storefront-nav-search-view-all {
  display: grid;
  place-items: center;
  min-height: 58px;
  border-top: 1px solid var(--store-search-overlay-line);
  border-bottom: 1px solid var(--store-search-overlay-line);
  color: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.storefront-search-workspace-results .storefront-nav-search-empty {
  color: var(--store-search-overlay-muted);
}

.storefront-nav-search input,
.storefront-nav-search button,
.storefront-nav-search-results,
.storefront-mobile-search,
.storefront-mobile-search input,
.storefront-mobile-search button {
  font-family: var(--store-font-family);
}

.storefront-search-workspace-results .storefront-nav-search-skeleton {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(18px, 2vw, 26px);
  padding: 28px 0 36px;
}

.storefront-search-workspace-results .storefront-nav-search-skeleton::before {
  content: "";
  grid-column: 1 / -1;
  width: 150px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--store-skeleton-a), var(--store-skeleton-b), var(--store-skeleton-a));
  background-size: 220% 100%;
  animation: storefront-skeleton-shimmer 1.2s ease-in-out infinite;
}

.storefront-search-workspace-results .storefront-nav-search-skeleton span {
  position: relative;
  display: grid;
  height: auto;
  min-height: 228px;
  margin: 0;
  border-radius: 0;
  background: transparent;
  animation: none;
}

.storefront-search-workspace-results .storefront-nav-search-skeleton span::before,
.storefront-search-workspace-results .storefront-nav-search-skeleton span::after {
  content: "";
  display: block;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--store-skeleton-a), var(--store-skeleton-b), var(--store-skeleton-a));
  background-size: 220% 100%;
  animation: storefront-skeleton-shimmer 1.2s ease-in-out infinite;
}

.storefront-search-workspace-results .storefront-nav-search-skeleton span::before {
  aspect-ratio: 4 / 3;
  width: 100%;
}

.storefront-search-workspace-results .storefront-nav-search-skeleton span::after {
  width: 82%;
  height: 58px;
  margin-top: 12px;
}

.storefront-mobile-search-results .storefront-nav-search-skeleton,
.storefront-nav-search-results:not(.storefront-search-workspace-results) .storefront-nav-search-skeleton {
  padding: 6px 0;
}

.storefront-mobile-search-results .storefront-nav-search-skeleton span,
.storefront-nav-search-results:not(.storefront-search-workspace-results) .storefront-nav-search-skeleton span {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  height: 76px;
  margin: 8px 12px;
  border-radius: 8px;
  background: transparent;
  animation: none;
}

.storefront-mobile-search-results .storefront-nav-search-skeleton span::before,
.storefront-mobile-search-results .storefront-nav-search-skeleton span::after,
.storefront-nav-search-results:not(.storefront-search-workspace-results) .storefront-nav-search-skeleton span::before,
.storefront-nav-search-results:not(.storefront-search-workspace-results) .storefront-nav-search-skeleton span::after {
  content: "";
  align-self: center;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--store-skeleton-a), var(--store-skeleton-b), var(--store-skeleton-a));
  background-size: 220% 100%;
  animation: storefront-skeleton-shimmer 1.2s ease-in-out infinite;
}

.storefront-mobile-search-results .storefront-nav-search-skeleton span::before,
.storefront-nav-search-results:not(.storefront-search-workspace-results) .storefront-nav-search-skeleton span::before {
  width: 52px;
  height: 52px;
}

.storefront-mobile-search-results .storefront-nav-search-skeleton span::after,
.storefront-nav-search-results:not(.storefront-search-workspace-results) .storefront-nav-search-skeleton span::after {
  width: min(100%, 260px);
  height: 42px;
}

.storefront-mobile-search {
  display: grid;
  gap: 12px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--store-menu-line);
}

.storefront-mobile-search-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  border: 1px solid var(--store-menu-line);
  border-radius: 8px;
  background: var(--store-menu-hover);
}

.storefront-mobile-search-field input {
  min-width: 0;
  height: 42px;
  border: 0;
  color: var(--store-menu-text);
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  outline: 0;
  padding: 0 12px;
}

.storefront-mobile-search-field input::placeholder {
  color: var(--store-menu-muted);
}

.storefront-mobile-search-field button {
  display: grid;
  place-items: center;
  height: 34px;
  margin-right: 4px;
  border: 0;
  border-radius: 7px;
  color: var(--store-menu-primary-text);
  background: var(--store-menu-primary-bg);
}

.storefront-mobile-search-results {
  position: static;
  width: 100%;
  max-height: min(54vh, 520px);
  border-color: var(--store-menu-line);
  background: var(--store-menu-bg);
  box-shadow: none;
  transform: none;
}

.storefront-mobile-search-results .storefront-nav-search-list {
  max-height: min(54vh, 520px);
}

.storefront-mobile-search-results .storefront-nav-search-group-head {
  background: var(--store-menu-hover);
}

.storefront-mobile-search-results .storefront-nav-search-item {
  color: var(--store-menu-text);
  background: transparent;
}

.storefront-mobile-search-results .storefront-nav-search-copy strong,
.storefront-mobile-search-results .storefront-nav-search-price {
  color: var(--store-menu-text);
}

.storefront-mobile-search-results .storefront-nav-search-copy span,
.storefront-mobile-search-results .storefront-nav-search-empty {
  color: var(--store-menu-muted);
}

.storefront-search-workspace-results .storefront-nav-search-skeleton[hidden],
.storefront-mobile-search-results .storefront-nav-search-skeleton[hidden],
.storefront-nav-search-results:not(.storefront-search-workspace-results) .storefront-nav-search-skeleton[hidden] {
  display: none;
}

@media (max-width: 760px) {
  :root {
    --store-nav-height: 78px;
  }

  .storefront-search-workspace-bar {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 16px;
  }

  .storefront-search-workspace {
    border-radius: 14px 14px 0 0;
  }

  .storefront-search-workspace-results .storefront-nav-search-group,
  .storefront-search-workspace-results .storefront-nav-search-skeleton {
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
    gap: 14px;
  }

  .storefront-search-workspace-results {
    width: min(calc(100% - 24px), 1480px);
  }

  .storefront-search-workspace-results .storefront-nav-search-item {
    min-height: 292px;
    padding: 10px;
  }

  .storefront-search-workspace-results .storefront-nav-search-thumb {
    height: 142px;
    padding: 10px 8px 4px;
  }

  .storefront-search-workspace-results .storefront-nav-search-thumb img {
    max-width: 100%;
    max-height: 122px;
  }

  .storefront-search-workspace-results .storefront-nav-search-copy strong {
    font-size: 0.82rem;
  }

  .storefront-search-workspace-results .storefront-nav-search-copy span {
    font-size: 0.74rem;
  }

  .storefront-search-workspace-close {
    justify-self: end;
    order: -1;
  }
}

/* Home product rail standard: viewed products and firesale picks share sizing, spacing and scroll behavior. */
.storefront-discovery-strip,
.storefront-firesale-random {
  --storefront-product-rail-gap: clamp(14px, 1.5vw, 18px);
  --storefront-product-rail-card-width: clamp(160px, 14vw, 188px);
  --storefront-product-rail-media-height: clamp(126px, 10vw, 144px);
}

.storefront-discovery-strip {
  width: min(100%, 1776px);
  padding-inline: clamp(20px, 3vw, 40px);
}

.storefront-firesale-random {
  width: min(100%, 1776px);
  max-width: 1776px;
  padding-inline: clamp(20px, 3vw, 40px);
}

.storefront-discovery-panel-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

.storefront-discovery-panel-heading > strong {
  min-width: 0;
  color: #111827;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-home-rail-skeleton[hidden] {
  display: none !important;
}

.storefront-home-rail-skeleton {
  display: flex;
  align-items: stretch;
  gap: var(--storefront-product-rail-gap);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 4px 4px 12px;
}

.storefront-home-rail-skeleton-card {
  flex: 0 0 min(var(--storefront-product-rail-card-width), calc(100vw - 56px));
  width: min(var(--storefront-product-rail-card-width), calc(100vw - 56px));
  min-height: 252px;
  display: grid;
  grid-template-rows: var(--storefront-product-rail-media-height) 18px 14px;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--store-skeleton-line);
  border-radius: 5px;
  background: var(--store-skeleton-surface);
  box-sizing: border-box;
}

.storefront-home-rail-skeleton-card span,
.storefront-home-rail-skeleton-card strong,
.storefront-home-rail-skeleton-card small {
  display: block;
  min-width: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--store-skeleton-a), var(--store-skeleton-b), var(--store-skeleton-a));
  background-size: 220% 100%;
  animation: storefront-skeleton-shimmer 1.2s ease-in-out infinite;
}

.storefront-home-rail-skeleton-card span {
  width: 100%;
  height: 100%;
}

.storefront-home-rail-skeleton-card strong {
  width: 72%;
}

.storefront-home-rail-skeleton-card small {
  width: 48%;
}

.storefront-firesale-random[data-storefront-section-loading] .storefront-card-carousel {
  min-height: 278px;
}

.storefront-firesale-random[data-storefront-section-loading] .storefront-home-rail-skeleton[data-storefront-section-skeleton] {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--store-shell-bg);
}

.storefront-firesale-random[data-storefront-section-loading] [data-card-carousel-track] {
  opacity: 0.01;
}
.storefront-product-rail,
.storefront-firesale-product-grid {
  display: flex;
  align-items: stretch;
  gap: var(--storefront-product-rail-gap);
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 12px;
  scroll-padding-inline: 4px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-x pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.storefront-product-rail::-webkit-scrollbar,
.storefront-firesale-product-grid::-webkit-scrollbar {
  display: none;
}

.storefront-product-rail.is-drag-ready,
.storefront-firesale-product-grid.is-drag-ready {
  scroll-behavior: auto;
}

.storefront-product-rail.is-dragging,
.storefront-firesale-product-grid.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.storefront-product-rail .storefront-discovery-product,
.storefront-firesale-product-grid .storefront-discovery-product {
  flex: 0 0 min(var(--storefront-product-rail-card-width), calc(100vw - 56px));
  width: min(var(--storefront-product-rail-card-width), calc(100vw - 56px));
  min-width: 0;
  min-height: 210px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: var(--storefront-product-rail-media-height) minmax(34px, auto);
  align-content: start;
  justify-items: center;
  gap: 10px;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 7px;
  background: rgba(248, 250, 252, 0.86);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  -webkit-user-drag: none;
}

.storefront-firesale-product-grid .storefront-discovery-product {
  grid-template-rows: var(--storefront-product-rail-media-height) minmax(34px, auto) minmax(42px, auto);
  min-height: 252px;
}

.storefront-product-rail .storefront-discovery-product--priced {
  grid-template-rows: var(--storefront-product-rail-media-height) minmax(34px, auto) minmax(38px, auto);
  min-height: 252px;
}

.storefront-product-rail .storefront-discovery-product-media,
.storefront-firesale-product-grid .storefront-discovery-product-media {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: var(--storefront-product-rail-media-height);
  min-height: 0;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 7px;
  background: #fff;
  box-sizing: border-box;
}

.storefront-product-rail .storefront-discovery-product-media img,
.storefront-firesale-product-grid .storefront-discovery-product-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.storefront-product-rail .storefront-product-sku,
.storefront-firesale-product-grid .storefront-product-sku {
  grid-row: 2;
  align-self: start;
  max-width: calc(100% - 8px);
}

.storefront-firesale-product-grid .storefront-firesale-price-stack {
  grid-row: 3;
  align-self: end;
}

.storefront-product-rail .storefront-discovery-price-stack {
  grid-row: 3;
  align-self: end;
}

.storefront-product-rail .storefront-product-price,
.storefront-firesale-product-grid .storefront-product-price {
  font-size: 0.9rem;
}

.storefront-product-rail .storefront-product-previous-price,
.storefront-firesale-product-grid .storefront-product-previous-price {
  font-size: 0.7rem;
}

.storefront-firesale-product-grid .storefront-product-firesale-badge {
  top: 9px;
  left: 9px;
}

html[data-storefront-appearance="dark"] .storefront-discovery-panel-heading > strong {
  color: #f8fafc;
}

html[data-storefront-appearance="dark"] .storefront-product-rail .storefront-discovery-product,
html[data-storefront-appearance="dark"] .storefront-firesale-product-grid .storefront-discovery-product {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
}

html[data-storefront-appearance="dark"] .storefront-product-rail .storefront-discovery-product-media,
html[data-storefront-appearance="dark"] .storefront-firesale-product-grid .storefront-discovery-product-media {
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.96);
}

.storefront-firesale-random {
  margin-top: clamp(20px, 3vw, 34px);
  border: 0;
  background: transparent;
  box-shadow: none;
}

.storefront-firesale-random::before,
.storefront-firesale-random::after {
  display: none;
}

.storefront-firesale-random .storefront-section-heading {
  min-height: 0;
  margin-bottom: 12px;
  padding: 0;
}

.storefront-firesale-random .storefront-kicker {
  color: var(--store-shell-muted);
}

.storefront-firesale-random .storefront-card-carousel {
  position: relative;
  z-index: 1;
}

.storefront-product-rail .storefront-discovery-product,
.storefront-firesale-product-grid .storefront-discovery-product {
  border-radius: 5px;
}

.storefront-product-rail .storefront-discovery-product-media,
.storefront-firesale-product-grid .storefront-discovery-product-media {
  border-radius: 4px;
}

.storefront-search-workspace-backdrop {
  background: rgba(15, 23, 42, 0.18);
  backdrop-filter: none;
}

html[data-storefront-appearance="light"] .storefront-search-workspace-backdrop {
  background: transparent;
}

.storefront-search-workspace {
  border-radius: 4px 4px 0 0;
}

.storefront-search-workspace-form > input,
.storefront-search-workspace-form > button,
.storefront-search-workspace-close,
.storefront-search-workspace-results .storefront-nav-search-item,
.storefront-search-workspace-results .storefront-nav-search-thumb {
  border-radius: 4px;
}

.storefront-search-workspace-close {
  grid-template-columns: auto auto;
  gap: 8px;
  width: auto;
  min-width: 92px;
  padding: 0 14px;
  color: #fff;
  border-color: #111827;
  background: #111827;
  font-family: var(--store-font-family);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.storefront-search-workspace-close span {
  display: block;
  line-height: 1;
}

.storefront-search-workspace-close::before,
.storefront-search-workspace-close::after {
  position: static;
  grid-column: 1;
  grid-row: 1;
  width: 16px;
  height: 2px;
}

.storefront-search-workspace-close::before {
  transform: rotate(45deg);
}

.storefront-search-workspace-close::after {
  transform: rotate(-45deg);
}

.storefront-search-workspace-close:hover,
.storefront-search-workspace-close:focus-visible {
  background: color-mix(in srgb, #111827 88%, #fff);
}

html[data-storefront-appearance="dark"] .storefront-search-workspace-close {
  color: #111827;
  border-color: #fff;
  background: #fff;
}

html[data-storefront-appearance="dark"] .storefront-search-workspace-close:hover,
html[data-storefront-appearance="dark"] .storefront-search-workspace-close:focus-visible {
  background: rgba(255, 255, 255, 0.86);
}

html[data-storefront-appearance="dark"] .storefront-firesale-random {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 760px) {
  .storefront-discovery-strip,
  .storefront-firesale-random {
    --storefront-product-rail-card-width: clamp(164px, 54vw, 188px);
    --storefront-product-rail-media-height: 124px;
    padding-inline: clamp(14px, 4vw, 20px);
  }

  .storefront-discovery-panel {
    padding: 12px;
  }

  .storefront-card-carousel-actions button {
    width: 34px;
    height: 34px;
  }

  .storefront-search-workspace {
    border-radius: 4px 4px 0 0;
  }

  .storefront-search-workspace-close {
    min-width: 88px;
    min-height: 42px;
  }
}

/* Storefront sign-in refresh. Mobile-style shell with a simpler two-step reset workflow. */
.storefront-login-screen {
  display: grid;
  justify-items: center;
  min-height: calc(100dvh - var(--store-nav-height, 104px));
  padding: clamp(22px, 4vw, 46px) clamp(14px, 4vw, 28px) clamp(42px, 7vw, 72px);
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 14%, transparent), transparent 34%),
    linear-gradient(180deg, #f8fafc 0%, #fff 52%, #f8fafc 100%);
}

.storefront-login-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 520px);
  align-items: stretch;
  gap: clamp(18px, 3vw, 38px);
  width: min(100%, 1120px);
}

.storefront-login-copy {
  display: grid;
  align-content: end;
  min-height: 580px;
  padding: clamp(24px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.92), color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 56%, #111827)),
    #111827;
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.18);
  text-align: left;
}

.storefront-login-copy > span {
  width: max-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storefront-login-copy h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.storefront-login-copy p {
  max-width: 520px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.98rem, 1.6vw, 1.12rem);
  line-height: 1.65;
}

.storefront-login-card {
  align-self: stretch;
  gap: 18px;
  width: 100%;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 8px;
}

.storefront-login-card-heading,
.storefront-login-recovery-heading {
  display: grid;
  justify-content: stretch;
  gap: 4px;
}

.storefront-login-card-heading h2,
.storefront-login-recovery-heading strong {
  font-size: 1.42rem;
}

.storefront-login-form {
  grid-template-columns: 1fr;
  gap: 14px;
}

.storefront-login-card label {
  min-width: 0;
}

.storefront-login-card input {
  min-height: 52px;
  border-radius: 8px;
}

.storefront-password-field button {
  right: 9px;
  min-height: 34px;
  border-radius: 8px;
}

.storefront-login-card .storefront-button {
  min-height: 52px;
  border-radius: 8px;
}

.storefront-login-recovery {
  gap: 14px;
  margin-top: 4px;
  padding-top: 18px;
}

.storefront-password-reset-flow {
  display: grid;
  gap: 12px;
}

.storefront-password-reset-card {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.82);
}

.storefront-password-reset-card--confirm {
  grid-template-columns: 34px minmax(0, 1fr) minmax(92px, 0.55fr);
}

.storefront-reset-step {
  display: grid;
  place-items: center;
  align-self: start;
  width: 30px;
  height: 30px;
  margin-top: 22px;
  border: 1px solid color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 24%, rgba(148, 163, 184, 0.34));
  border-radius: 999px;
  color: var(--store-brand-primary, #6b5bd6);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 950;
}

.storefront-password-reset-card label {
  gap: 7px;
}

.storefront-password-reset-card label > span:not(.storefront-password-field) {
  color: #475569;
  font-size: 0.78rem;
}

.storefront-password-reset-card .storefront-button {
  grid-column: 2 / -1;
}

.storefront-password-reset-card--confirm label:nth-of-type(1) {
  grid-column: 2 / -1;
}

.storefront-password-reset-card--confirm label:nth-of-type(2),
.storefront-password-reset-card--confirm label:nth-of-type(3),
.storefront-password-reset-card--confirm label:nth-of-type(4) {
  grid-column: span 1;
}

html[data-storefront-appearance="dark"] .storefront-login-screen {
  background:
    radial-gradient(circle at 18% 0%, color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 18%, transparent), transparent 34%),
    linear-gradient(180deg, #070b13 0%, #0f172a 100%);
}

html[data-storefront-appearance="dark"] .storefront-login-card {
  border-color: rgba(148, 163, 184, 0.24);
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9)),
    #0f172a;
}

html[data-storefront-appearance="dark"] .storefront-login-card-heading h2,
html[data-storefront-appearance="dark"] .storefront-login-recovery-heading strong {
  color: #f8fafc;
}

html[data-storefront-appearance="dark"] .storefront-login-card input {
  border-color: rgba(148, 163, 184, 0.24);
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.86);
}

html[data-storefront-appearance="dark"] .storefront-password-reset-card {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(30, 41, 59, 0.58);
}

html[data-storefront-appearance="dark"] .storefront-password-reset-card label > span:not(.storefront-password-field) {
  color: #cbd5e1;
}

@media (max-width: 980px) {
  .storefront-login-shell {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }

  .storefront-login-copy {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .storefront-login-screen {
    padding: 14px 12px 34px;
  }

  .storefront-login-shell {
    gap: 12px;
  }

  .storefront-login-copy {
    min-height: 210px;
    padding: 22px;
  }

  .storefront-login-card {
    padding: 16px;
  }

  .storefront-password-reset-card,
  .storefront-password-reset-card--confirm {
    grid-template-columns: 28px minmax(0, 1fr);
    padding: 12px;
  }

  .storefront-reset-step {
    width: 26px;
    height: 26px;
  }

  .storefront-password-reset-card--confirm label,
  .storefront-password-reset-card--confirm label:nth-of-type(1),
  .storefront-password-reset-card--confirm label:nth-of-type(2),
  .storefront-password-reset-card--confirm label:nth-of-type(3),
  .storefront-password-reset-card--confirm label:nth-of-type(4) {
    grid-column: 2;
  }
}

/* Storefront sign-in tabs. Final override for the single-card login/recovery layout. */
.storefront-login-screen {
  align-content: start;
  padding-top: clamp(18px, 4vw, 42px);
}

.storefront-login-shell {
  display: block;
  width: min(100%, 620px);
}

.storefront-login-card {
  display: grid;
  gap: 18px;
  width: 100%;
  padding: clamp(18px, 3vw, 28px);
}

.storefront-login-intro {
  display: grid;
  gap: 8px;
  padding: 4px 2px 6px;
  text-align: center;
}

.storefront-login-intro > span {
  justify-self: center;
  color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 76%, #64748b);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storefront-login-intro h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}

.storefront-login-intro p {
  max-width: 460px;
  margin: 0 auto;
  color: #64748b;
  font-size: 0.94rem;
  line-height: 1.55;
}

.storefront-login-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 8px;
  background: rgba(241, 245, 249, 0.84);
}

.storefront-login-tabs button {
  min-width: 0;
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: #64748b;
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
}

.storefront-login-tabs button.is-active {
  color: #111827;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
}

.storefront-login-panel {
  display: grid;
  gap: 16px;
}

.storefront-login-panel[hidden] {
  display: none;
}

.storefront-login-card-heading,
.storefront-login-recovery-heading {
  gap: 3px;
  text-align: left;
}

.storefront-login-card-heading h2,
.storefront-login-recovery-heading strong {
  font-size: 1.18rem;
}

.storefront-login-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.storefront-password-reset-flow {
  display: grid;
  gap: 14px;
}

.storefront-password-reset-card,
.storefront-password-reset-card--confirm {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 16px;
  border-radius: 8px;
}

.storefront-password-reset-card--confirm {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.storefront-reset-card-heading {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 10px;
}

.storefront-reset-card-heading strong {
  color: #111827;
  font-size: 0.92rem;
  font-weight: 950;
}

.storefront-reset-step {
  width: 28px;
  height: 28px;
  margin-top: 0;
}

.storefront-password-reset-card .storefront-button {
  grid-column: 1 / -1;
}

.storefront-password-reset-card--confirm label,
.storefront-password-reset-card--confirm label:nth-of-type(1),
.storefront-password-reset-card--confirm label:nth-of-type(2),
.storefront-password-reset-card--confirm label:nth-of-type(3),
.storefront-password-reset-card--confirm label:nth-of-type(4) {
  grid-column: auto;
}

.storefront-password-reset-card--confirm .storefront-reset-field--wide {
  grid-column: 1 / -1;
}

.storefront-password-reset-card--confirm label:nth-of-type(2) {
  max-width: 180px;
}

.storefront-password-reset-card input {
  min-height: 50px;
}

.storefront-password-reset-card input[name="otp"] {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

html[data-storefront-appearance="dark"] .storefront-login-intro h1,
html[data-storefront-appearance="dark"] .storefront-reset-card-heading strong {
  color: #f8fafc;
}

html[data-storefront-appearance="dark"] .storefront-login-intro p {
  color: #94a3b8;
}

html[data-storefront-appearance="dark"] .storefront-login-tabs {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.72);
}

html[data-storefront-appearance="dark"] .storefront-login-tabs button {
  color: #94a3b8;
}

html[data-storefront-appearance="dark"] .storefront-login-tabs button.is-active {
  color: #f8fafc;
  background: rgba(51, 65, 85, 0.92);
}

@media (max-width: 640px) {
  .storefront-login-shell {
    width: 100%;
  }

  .storefront-login-card {
    padding: 16px;
  }

  .storefront-login-tabs button {
    min-height: 40px;
    font-size: 0.8rem;
  }

  .storefront-password-reset-card,
  .storefront-password-reset-card--confirm {
    grid-template-columns: minmax(0, 1fr);
    padding: 13px;
  }

  .storefront-password-reset-card--confirm label,
  .storefront-password-reset-card--confirm .storefront-reset-field--wide,
  .storefront-password-reset-card--confirm label:nth-of-type(2) {
    grid-column: 1;
    max-width: none;
  }
}

/* Cleaner account recovery tab. Keep it after the prior login overrides. */
.storefront-login-shell {
  width: min(100%, 580px);
}

.storefront-login-card {
  gap: 16px;
}

.storefront-login-intro {
  gap: 6px;
}

.storefront-login-intro > span {
  font-size: 0.68rem;
}

.storefront-login-intro h1 {
  font-size: clamp(1.85rem, 4.8vw, 2.65rem);
}

.storefront-login-intro p {
  max-width: 420px;
  font-size: 0.9rem;
}

.storefront-login-tabs {
  padding: 3px;
  background: rgba(241, 245, 249, 0.74);
}

.storefront-login-tabs button {
  min-height: 38px;
  font-size: 0.82rem;
}

.storefront-login-recovery-heading {
  gap: 2px;
}

.storefront-login-recovery-heading strong {
  font-size: 1.08rem;
}

.storefront-login-recovery-heading p {
  margin: 4px 0 0;
  max-width: 460px;
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.45;
}

.storefront-password-reset-flow {
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.88), rgba(255, 255, 255, 0.96)),
    #fff;
}

.storefront-password-reset-card,
.storefront-password-reset-card--confirm {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.storefront-password-reset-card--request {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.storefront-reset-inline-title {
  grid-column: 1 / -1;
  color: #111827;
  font-size: 0.92rem;
  font-weight: 950;
}

.storefront-password-reset-card label > span:not(.storefront-password-field) {
  color: #475569;
  font-size: 0.76rem;
}

.storefront-password-reset-card input {
  min-height: 46px;
  border-radius: 7px;
}

.storefront-password-reset-card--request .storefront-button {
  grid-column: auto;
  min-width: 136px;
  min-height: 46px;
}

.storefront-password-reset-card--confirm {
  grid-template-columns: minmax(0, 1.2fr) minmax(118px, 0.55fr);
  gap: 12px;
}

.storefront-password-reset-card--confirm .storefront-reset-inline-title,
.storefront-password-reset-card--confirm .storefront-reset-field--wide,
.storefront-password-reset-card--confirm .storefront-button {
  grid-column: 1 / -1;
}

.storefront-password-reset-card--confirm label:nth-of-type(3),
.storefront-password-reset-card--confirm label:nth-of-type(4) {
  grid-column: span 1;
}

.storefront-password-reset-card--confirm label:nth-of-type(2) {
  max-width: none;
}

.storefront-password-reset-card input[name="otp"] {
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.storefront-login-card .storefront-button--secondary {
  color: #fff;
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 80%, #111827);
  background: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 82%, #111827);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 16%, transparent);
}

html[data-storefront-appearance="dark"] .storefront-login-recovery-heading p {
  color: #94a3b8;
}

html[data-storefront-appearance="dark"] .storefront-password-reset-flow {
  border-color: rgba(148, 163, 184, 0.22);
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.58), rgba(15, 23, 42, 0.72)),
    #0f172a;
}

html[data-storefront-appearance="dark"] .storefront-reset-inline-title {
  color: #f8fafc;
}

@media (max-width: 640px) {
  .storefront-password-reset-flow {
    padding: 13px;
  }

  .storefront-password-reset-card--request,
  .storefront-password-reset-card--confirm {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-password-reset-card--request .storefront-button,
  .storefront-password-reset-card--confirm label:nth-of-type(3),
  .storefront-password-reset-card--confirm label:nth-of-type(4) {
    grid-column: 1;
  }
}

/* Center the sign-in card and keep the intro intentionally quiet. */
.storefront-login-screen {
  align-content: center;
  justify-items: center;
  min-height: min(760px, calc(100dvh - 190px));
  padding-block: clamp(28px, 7vh, 72px);
}

.storefront-login-shell {
  margin-inline: auto;
}

.storefront-login-intro {
  padding-bottom: 0;
}

.storefront-login-intro > span,
.storefront-login-intro p {
  display: none;
}

/* Final dark-theme login colour pass. Keep after the login overrides above. */
html[data-storefront-appearance="dark"] .storefront-login-screen {
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 18%, transparent), transparent 38%),
    linear-gradient(180deg, var(--store-shell-bg) 0%, color-mix(in srgb, var(--store-shell-bg) 88%, #000 12%) 100%);
}

html[data-storefront-appearance="dark"] .storefront-login-card {
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 24%, var(--store-shell-line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 10%, transparent), transparent 42%),
    linear-gradient(180deg, color-mix(in srgb, var(--store-surface-strong) 94%, #fff 6%), var(--store-surface-strong));
  box-shadow: var(--store-shadow);
}

html[data-storefront-appearance="dark"] .storefront-login-card-heading span,
html[data-storefront-appearance="dark"] .storefront-login-recovery-heading span {
  color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 78%, var(--store-shell-muted));
}

html[data-storefront-appearance="dark"] .storefront-login-card-heading h2,
html[data-storefront-appearance="dark"] .storefront-login-recovery-heading strong,
html[data-storefront-appearance="dark"] .storefront-reset-inline-title {
  color: var(--store-shell-text);
}

html[data-storefront-appearance="dark"] .storefront-login-card label > span:not(.storefront-password-field),
html[data-storefront-appearance="dark"] .storefront-password-reset-card label > span:not(.storefront-password-field),
html[data-storefront-appearance="dark"] .storefront-login-recovery-heading p {
  color: var(--store-shell-muted);
}

html[data-storefront-appearance="dark"] .storefront-login-card input {
  border-color: color-mix(in srgb, var(--store-shell-line) 84%, var(--store-brand-primary, #6b5bd6));
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-shell-bg) 86%, var(--store-surface-strong) 14%);
  box-shadow: none;
}

html[data-storefront-appearance="dark"] .storefront-login-card input::placeholder {
  color: color-mix(in srgb, var(--store-shell-muted) 82%, transparent);
}

html[data-storefront-appearance="dark"] .storefront-login-card input:focus {
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 72%, var(--store-shell-line));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 18%, transparent);
  outline: 0;
}

html[data-storefront-appearance="dark"] .storefront-password-field button {
  color: #fff;
  background: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 76%, #111827);
}

html[data-storefront-appearance="dark"] .storefront-login-tabs {
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 22%, var(--store-shell-line));
  background: color-mix(in srgb, var(--store-shell-bg) 84%, var(--store-surface-strong) 16%);
}

html[data-storefront-appearance="dark"] .storefront-login-tabs button {
  color: var(--store-shell-muted);
}

html[data-storefront-appearance="dark"] .storefront-login-tabs button.is-active {
  color: #fff;
  background: var(--store-brand-primary, #6b5bd6);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 24%, transparent);
}

html[data-storefront-appearance="dark"] .storefront-password-reset-flow {
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 20%, var(--store-shell-line));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 8%, transparent), transparent 46%),
    color-mix(in srgb, var(--store-shell-bg) 84%, var(--store-surface-strong) 16%);
}

html[data-storefront-appearance="dark"] .storefront-password-reset-card--request {
  border-bottom-color: var(--store-shell-line);
}

html[data-storefront-appearance="dark"] .storefront-login-card .storefront-button--secondary {
  color: #fff;
  border-color: var(--store-brand-primary, #6b5bd6);
  background: var(--store-brand-primary, #6b5bd6);
}

/* Icon-only catalogue sort trigger. The native select remains clickable and accessible. */
.storefront-catalog-toolbar .storefront-sort-strip {
  width: auto;
  justify-content: flex-end;
}

.storefront-catalog-toolbar .storefront-sort-strip label.storefront-sort-control,
.storefront-sort-control {
  position: relative;
  display: grid;
  grid-template-columns: 40px;
  place-items: center;
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  min-height: 38px;
  overflow: hidden;
}

.storefront-sort-control:focus-within {
  outline: 2px solid color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 62%, #fff);
  outline-offset: 2px;
}

.storefront-sort-icon {
  width: 40px;
  height: 38px;
  z-index: 1;
}

.storefront-sort-control select {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .storefront-catalog-toolbar .storefront-sort-strip {
    display: flex;
    width: auto;
    justify-content: flex-end;
  }
}

@media (max-width: 720px) {
  .storefront-catalog-toolbar .storefront-sort-strip {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
}

/* Theme-aware mobile/tablet drawers and catalogue filters. */
.storefront-mobile-menu,
.storefront-filter-panel {
  color: var(--store-shell-text);
  border-color: var(--store-shell-line);
  background: var(--store-surface-strong);
}

.storefront-mobile-menu-header,
.storefront-filter-panel-header {
  border-bottom-color: var(--store-shell-line);
}

.storefront-mobile-menu-header button,
.storefront-filter-panel-header button,
.storefront-mobile-account-links a,
.storefront-mobile-account-links button,
.storefront-mobile-primary-links a,
.storefront-mobile-primary-links button,
.storefront-mobile-view-all,
.storefront-filter-open-button,
.storefront-filter-tab,
.storefront-filter-actions .storefront-button--secondary {
  color: var(--store-shell-text);
  border-color: var(--store-shell-line);
  background: color-mix(in srgb, var(--store-surface-strong) 86%, var(--store-brand-primary, #111827) 14%);
  box-shadow: none;
}

.storefront-mobile-menu-header button:hover,
.storefront-filter-panel-header button:hover,
.storefront-mobile-account-links a:hover,
.storefront-mobile-account-links button:hover,
.storefront-mobile-primary-links a:hover,
.storefront-mobile-primary-links button:hover,
.storefront-mobile-view-all:hover,
.storefront-filter-open-button:hover,
.storefront-filter-actions .storefront-button--secondary:hover {
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-brand-primary, #111827) 18%, var(--store-surface-strong) 82%);
}

.storefront-filter-tab.is-active,
.storefront-filter-actions .storefront-button:not(.storefront-button--secondary) {
  color: #fff;
  border-color: var(--store-brand-primary, #111827);
  background: var(--store-brand-primary, #111827);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--store-brand-primary, #111827) 24%, transparent);
}

.storefront-mobile-account,
.storefront-mobile-category,
.storefront-mobile-catalog-heading input,
.storefront-mobile-subcategory-list a,
.storefront-filter-group input,
.storefront-filter-link,
.storefront-filter-link--category,
.storefront-filter-link--sub,
.storefront-filter-empty {
  color: var(--store-shell-text);
  border-color: var(--store-shell-line);
  background: color-mix(in srgb, var(--store-shell-bg) 76%, var(--store-surface-strong) 24%);
}

.storefront-mobile-account-heading span,
.storefront-mobile-category small,
.storefront-filter-empty,
.storefront-filter-group h3,
.storefront-filter-group legend,
.storefront-filter-group--collapsible summary small,
.storefront-filter-check small {
  color: var(--store-shell-muted);
}

.storefront-mobile-category summary > span,
.storefront-mobile-subcategory-thumb,
.storefront-filter-link-thumb {
  color: var(--store-brand-primary, #111827);
  border-color: var(--store-shell-line);
  background: var(--store-surface-strong);
}

.storefront-mobile-subcategory-panel {
  color: var(--store-shell-text);
  background: var(--store-surface-strong);
}

.storefront-mobile-subcategory-panel-header {
  border-bottom: 1px solid var(--store-shell-line);
  padding-bottom: 10px;
}

.storefront-mobile-subcategory-panel-header button {
  color: var(--store-shell-text);
  border-color: var(--store-shell-line);
  background: color-mix(in srgb, var(--store-surface-strong) 86%, var(--store-brand-primary, #111827) 14%);
}

.storefront-mobile-subcategory-panel-header strong {
  color: var(--store-shell-text);
}

.storefront-mobile-subcategory-panel-body .storefront-mobile-subcategory-list a {
  color: var(--store-shell-text);
  border: 1px solid var(--store-shell-line);
  background: color-mix(in srgb, var(--store-shell-bg) 76%, var(--store-surface-strong) 24%);
}

.storefront-filter-panel form {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
}

.storefront-filter-tab-panel {
  align-content: start;
}

.storefront-filter-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--store-shell-line);
  border-radius: 6px;
}

.storefront-filter-link:hover,
.storefront-filter-link.is-active {
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-brand-primary, #111827) 18%, var(--store-surface-strong) 82%);
  transform: none;
}

.storefront-filter-link--category,
.storefront-filter-link--sub {
  margin-left: 0;
  padding-left: 10px;
}

.storefront-filter-link--sub {
  grid-template-columns: 30px minmax(0, 1fr);
  border-left: 1px solid var(--store-shell-line);
}

.storefront-filter-link--sub::before {
  display: none;
}

.storefront-filter-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 -20px -20px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--store-shell-line);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--store-surface-strong) 70%, transparent), var(--store-surface-strong) 38%),
    var(--store-surface-strong);
  box-shadow: 0 -14px 28px color-mix(in srgb, var(--store-shell-bg) 18%, transparent);
}

.storefront-filter-actions .storefront-button {
  width: 100%;
  min-height: 44px;
  border-radius: 6px;
}

@media (min-width: 721px) and (max-width: 1180px) {
  .storefront-mobile-menu,
  .storefront-filter-panel {
    color: var(--store-shell-text);
    background: var(--store-surface-strong);
  }
}

@media (max-width: 1180px) {
  .storefront-filter-panel form {
    padding-bottom: 0;
  }

  .storefront-filter-actions {
    margin-right: -14px;
    margin-bottom: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }
}

html[data-storefront-appearance="dark"] .storefront-mobile-menu,
html[data-storefront-appearance="dark"] .storefront-filter-panel,
html[data-storefront-appearance="dark"] .storefront-filter-actions {
  color: var(--store-shell-text);
  border-color: var(--store-shell-line);
  background: var(--store-surface-strong);
}

html[data-storefront-appearance="dark"] .storefront-mobile-menu-header button,
html[data-storefront-appearance="dark"] .storefront-filter-panel-header button,
html[data-storefront-appearance="dark"] .storefront-mobile-account-links a,
html[data-storefront-appearance="dark"] .storefront-mobile-account-links button,
html[data-storefront-appearance="dark"] .storefront-mobile-primary-links a,
html[data-storefront-appearance="dark"] .storefront-mobile-primary-links button,
html[data-storefront-appearance="dark"] .storefront-mobile-view-all,
html[data-storefront-appearance="dark"] .storefront-filter-open-button,
html[data-storefront-appearance="dark"] .storefront-filter-tab,
html[data-storefront-appearance="dark"] .storefront-filter-actions .storefront-button--secondary {
  color: var(--store-shell-text);
  border-color: var(--store-shell-line);
  background: color-mix(in srgb, var(--store-shell-bg) 54%, var(--store-surface-strong) 46%);
}

html[data-storefront-appearance="dark"] .storefront-mobile-account,
html[data-storefront-appearance="dark"] .storefront-mobile-category,
html[data-storefront-appearance="dark"] .storefront-mobile-subcategory-panel,
html[data-storefront-appearance="dark"] .storefront-mobile-catalog-heading input,
html[data-storefront-appearance="dark"] .storefront-mobile-subcategory-list a,
html[data-storefront-appearance="dark"] .storefront-filter-group input,
html[data-storefront-appearance="dark"] .storefront-filter-link,
html[data-storefront-appearance="dark"] .storefront-filter-link--category,
html[data-storefront-appearance="dark"] .storefront-filter-link--sub,
html[data-storefront-appearance="dark"] .storefront-filter-empty {
  color: var(--store-shell-text);
  border-color: var(--store-shell-line);
  background: color-mix(in srgb, var(--store-shell-bg) 68%, var(--store-surface-strong) 32%);
}

html[data-storefront-appearance="dark"] .storefront-mobile-subcategory-panel-header button,
html[data-storefront-appearance="dark"] .storefront-mobile-subcategory-panel-body .storefront-mobile-subcategory-list a {
  color: var(--store-shell-text);
  border-color: var(--store-shell-line);
  background: color-mix(in srgb, var(--store-shell-bg) 62%, var(--store-surface-strong) 38%);
}

html[data-storefront-appearance="dark"] .storefront-mobile-subcategory-panel-header strong {
  color: var(--store-shell-text);
}

html[data-storefront-appearance="dark"] .storefront-filter-link:hover,
html[data-storefront-appearance="dark"] .storefront-filter-link.is-active,
html[data-storefront-appearance="dark"] .storefront-mobile-subcategory-list a:hover {
  color: var(--store-shell-text);
  background: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 26%, var(--store-surface-strong) 74%);
}

/* Keep filter actions below the active Browse/Specifications list. */
.storefront-filter-panel form {
  grid-template-rows: none;
  align-content: start;
}

.storefront-filter-actions {
  position: static;
  bottom: auto;
  z-index: auto;
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--store-shell-line);
  background: transparent;
  box-shadow: none;
}

@media (max-width: 1180px) {
  .storefront-filter-panel form {
    padding-bottom: 0;
  }

  .storefront-filter-actions {
    position: static;
    margin: 4px 0 0;
    padding: 14px 0 0;
    background: transparent;
  }
}

.storefront-route-skeleton--cart .storefront-route-skeleton-heading {
  width: min(220px, 60%);
  height: 34px;
}

.storefront-route-cart-table-head {
  height: 48px;
  border-radius: 12px;
}

.storefront-route-cart-line {
  border-bottom-color: var(--store-shell-line);
}

.storefront-route-cart-image {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}

.storefront-route-cart-summary .storefront-route-skeleton-tab {
  width: 100%;
}

@media (max-width: 1180px) {
  .storefront-checkout-page {
    width: min(100% - 32px, 900px);
  }

  .storefront-checkout-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-checkout-choice-grid--fulfillment {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .storefront-checkout-page {
    width: min(100% - 24px, 560px);
    margin-top: 24px;
  }

  .storefront-checkout-tabs {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(132px, 1fr);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  .storefront-checkout-tabs button {
    white-space: nowrap;
  }

  .storefront-checkout-steps {
    padding: 16px;
    border-radius: 14px;
  }

  .storefront-checkout-step {
    position: static;
    margin-bottom: 2px;
  }

  .storefront-checkout-choice-grid,
  .storefront-checkout-choice-grid--fulfillment,
  .storefront-checkout-choice-grid--address-source,
  .storefront-checkout-address-entry,
  .storefront-checkout-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-checkout-panel {
    padding: 12px;
  }

  .storefront-checkout-actions,
  .storefront-checkout-panel-actions {
    justify-content: stretch;
  }

  .storefront-checkout-actions .storefront-button,
  .storefront-checkout-panel-actions .storefront-button {
    flex: 1 1 100%;
  }

  .storefront-route-skeleton--cart .storefront-cart-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .storefront-route-skeleton--cart .storefront-cart-table-line {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .storefront-route-skeleton--cart .storefront-route-skeleton-filter,
  .storefront-route-skeleton--cart .storefront-route-skeleton-total,
  .storefront-route-skeleton--cart .storefront-route-skeleton-tab {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Storefront control standard: shared selector/button treatment above and below the nav. */
:root {
  --store-control-height: 42px;
  --store-control-radius: 8px;
  --store-control-padding-x: 14px;
  --store-control-border: var(--store-shell-line, rgba(148, 163, 184, 0.30));
  --store-control-bg: color-mix(in srgb, var(--store-surface-strong, #fff) 88%, var(--store-brand-primary, #111827) 12%);
  --store-control-bg-hover: color-mix(in srgb, var(--store-surface-strong, #fff) 78%, var(--store-brand-primary, #111827) 22%);
  --store-control-text: var(--store-shell-text, #111827);
  --store-control-muted: var(--store-shell-muted, #64748b);
  --store-control-shadow: 0 10px 22px color-mix(in srgb, var(--store-shell-bg, #0f172a) 12%, transparent);
}

.storefront-top-strip .storefront-top-search,
.storefront-top-actions .storefront-appearance-toggle,
.storefront-top-strip .storefront-mini-cart summary,
.storefront-top-strip .storefront-profile-chip,
.storefront-top-strip .storefront-account-drawer-trigger,
.storefront-catalog-toolbar .storefront-sort-control,
.storefront-catalog-toolbar .storefront-filter-open-button,
.storefront-filter-panel-header button,
.storefront-mobile-menu-header button {
  min-height: var(--store-control-height);
  border: 1px solid var(--store-control-border);
  border-radius: var(--store-control-radius);
  color: var(--store-control-text);
  background: var(--store-control-bg);
  box-shadow: var(--store-control-shadow);
  font-family: var(--store-font-family);
  letter-spacing: 0;
}

.storefront-top-strip .storefront-top-search:hover,
.storefront-top-strip .storefront-top-search:focus-within,
.storefront-top-actions .storefront-appearance-toggle:hover,
.storefront-top-strip .storefront-mini-cart summary:hover,
.storefront-top-strip .storefront-mini-cart[open] summary,
.storefront-top-strip .storefront-profile-chip:hover,
.storefront-top-strip .storefront-profile-menu[open] .storefront-profile-chip,
.storefront-top-strip .storefront-account-drawer-trigger:hover,
.storefront-top-strip .storefront-account-drawer-trigger[aria-expanded="true"],
.storefront-catalog-toolbar .storefront-sort-control:focus-within,
.storefront-catalog-toolbar .storefront-filter-open-button:hover,
.storefront-catalog-toolbar .storefront-filter-open-button:focus-visible,
.storefront-filter-panel-header button:hover,
.storefront-mobile-menu-header button:hover {
  color: var(--store-control-text);
  border-color: color-mix(in srgb, var(--store-brand-primary, #111827) 42%, var(--store-control-border));
  background: var(--store-control-bg-hover);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--store-brand-primary, #111827) 14%, transparent);
}

.storefront-catalog-toolbar {
  align-items: start;
}

.storefront-catalog-toolbar-summary,
.storefront-top-strip-copy {
  justify-self: start;
  align-items: start;
  text-align: left;
}

.storefront-catalog-toolbar-summary strong,
.storefront-catalog-toolbar-summary span,
.storefront-catalog-toolbar-summary small,
.storefront-top-strip-copy > * {
  text-align: left;
}

.storefront-catalog-toolbar .storefront-sort-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: auto;
  min-width: 0;
}

.storefront-catalog-toolbar .storefront-sort-strip label.storefront-sort-control,
.storefront-catalog-toolbar .storefront-sort-control {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(128px, 1fr) 22px;
  align-items: center;
  justify-items: stretch;
  width: auto;
  min-width: min(230px, 48vw);
  max-width: 280px;
  min-height: var(--store-control-height);
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.storefront-catalog-toolbar .storefront-sort-control:focus-within {
  outline: 2px solid color-mix(in srgb, var(--store-brand-primary, #111827) 50%, transparent);
  outline-offset: 2px;
}

.storefront-sort-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 100%;
  color: color-mix(in srgb, var(--store-brand-primary, #111827) 72%, var(--store-control-text));
  pointer-events: none;
}

.storefront-sort-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storefront-catalog-toolbar .storefront-sort-control::after {
  content: "";
  justify-self: center;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.68;
  pointer-events: none;
  transform: translateY(-2px) rotate(45deg);
}

.storefront-catalog-toolbar .storefront-sort-control select {
  position: static;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: calc(var(--store-control-height) - 2px);
  padding: 0;
  opacity: 1;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  color: var(--store-control-text);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
}

.storefront-catalog-toolbar .storefront-filter-open-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: center;
  min-width: 112px;
  min-height: var(--store-control-height);
  padding: 0 var(--store-control-padding-x);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.storefront-catalog-toolbar .storefront-filter-open-button::before {
  content: "";
  width: 16px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) 0 2px / 16px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 7px / 16px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 12px / 16px 2px no-repeat;
  opacity: 0.78;
}

.storefront-mobile-menu-trigger,
.storefront-nav .storefront-mobile-menu-trigger,
.storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
  width: 48px;
  min-width: 48px;
  height: 42px;
  min-height: 42px;
  gap: 4px;
  border: 1px solid var(--store-control-border);
  border-radius: var(--store-control-radius);
  color: var(--store-control-text);
  background: var(--store-control-bg);
  box-shadow: var(--store-control-shadow);
}

.storefront-mobile-menu-trigger span,
.storefront-mobile-menu-trigger span:nth-child(2),
.storefront-mobile-menu-trigger span:nth-child(3) {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  opacity: 1;
  background: currentColor;
}

.storefront-mobile-menu-trigger:hover,
.storefront-mobile-menu-trigger:focus-visible {
  border-color: color-mix(in srgb, var(--store-brand-primary, #111827) 42%, var(--store-control-border));
  background: var(--store-control-bg-hover);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--store-brand-primary, #111827) 14%, transparent);
}

@media (max-width: 1180px) {
  .storefront-nav > .storefront-nav-left {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    gap: 12px;
  }

  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    grid-column: 1;
    justify-self: start;
  }

  .storefront-catalog-toolbar {
    align-items: stretch;
  }

  .storefront-catalog-toolbar-summary {
    width: 100%;
    min-width: 0;
  }

  .storefront-catalog-toolbar .storefront-sort-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    justify-content: stretch;
    width: 100%;
  }

  .storefront-catalog-toolbar .storefront-sort-strip label.storefront-sort-control,
  .storefront-catalog-toolbar .storefront-sort-control {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --store-control-height: 40px;
    --store-control-radius: 8px;
    --store-control-padding-x: 12px;
  }

  .storefront-top-strip-copy {
    width: 100%;
    min-width: 0;
  }

  .storefront-beta-badge {
    max-width: 100%;
  }

  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    width: 46px;
    min-width: 46px;
    height: 40px;
    min-height: 40px;
  }

  .storefront-catalog-toolbar .storefront-sort-strip {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .storefront-catalog-toolbar .storefront-sort-control {
    grid-template-columns: 34px minmax(0, 1fr) 18px;
  }

  .storefront-catalog-toolbar .storefront-sort-control select,
  .storefront-catalog-toolbar .storefront-filter-open-button {
    font-size: 0.78rem;
  }

  .storefront-catalog-toolbar .storefront-filter-open-button {
    min-width: 96px;
    padding-inline: 11px;
  }
}

@media (max-width: 420px) {
  .storefront-catalog-toolbar .storefront-filter-open-button {
    min-width: 44px;
    width: 44px;
    padding: 0;
    font-size: 0;
  }

  .storefront-catalog-toolbar .storefront-filter-open-button::before {
    margin: 0;
  }
}

/* Sort stays icon-only while preserving the native select hit target. */
.storefront-catalog-toolbar .storefront-sort-strip label.storefront-sort-control,
.storefront-catalog-toolbar .storefront-sort-control {
  grid-template-columns: 42px;
  place-items: center;
  width: 42px;
  min-width: 42px;
  max-width: 42px;
}

.storefront-catalog-toolbar .storefront-sort-control .storefront-sort-icon {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  z-index: 1;
}

.storefront-catalog-toolbar .storefront-sort-control::after {
  content: none;
}

.storefront-catalog-toolbar .storefront-sort-control select {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  opacity: 0;
}

@media (max-width: 1180px) {
  .storefront-catalog-toolbar .storefront-sort-strip {
    grid-template-columns: 42px auto;
    justify-content: end;
  }

  .storefront-catalog-toolbar .storefront-sort-strip label.storefront-sort-control,
  .storefront-catalog-toolbar .storefront-sort-control {
    width: 42px;
    min-width: 42px;
    max-width: 42px;
  }
}

@media (max-width: 720px) {
  .storefront-catalog-toolbar .storefront-sort-strip {
    grid-template-columns: 40px auto;
  }

  .storefront-catalog-toolbar .storefront-sort-strip label.storefront-sort-control,
  .storefront-catalog-toolbar .storefront-sort-control {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
  }
}

/* Final header/sort correction: compact top strip controls and keep icon-only sort clickable. */
.storefront-top-strip .storefront-top-search,
.storefront-top-actions .storefront-appearance-toggle,
.storefront-top-strip .storefront-mini-cart summary,
.storefront-top-strip .storefront-profile-chip,
.storefront-top-strip .storefront-account-drawer-trigger {
  --store-control-height: 36px;
  width: 36px;
  min-width: 36px;
  max-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 9px;
}

.storefront-top-strip .storefront-top-actions {
  align-items: center;
  gap: 6px;
}

.storefront-top-strip .storefront-top-search button {
  width: 100%;
  min-width: 0;
  height: 100%;
}

.storefront-catalog-toolbar .storefront-sort-control {
  cursor: pointer;
}

.storefront-catalog-toolbar .storefront-sort-control select {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0.01;
  color: transparent;
  background: transparent;
  appearance: auto;
  -webkit-appearance: menulist-button;
  cursor: pointer;
}

.storefront-catalog-toolbar .storefront-sort-control .storefront-sort-icon {
  pointer-events: none;
}

@media (max-width: 720px) {
  .storefront-top-strip .storefront-top-search,
  .storefront-top-actions .storefront-appearance-toggle,
  .storefront-top-strip .storefront-mini-cart summary,
  .storefront-top-strip .storefront-profile-chip,
  .storefront-top-strip .storefront-account-drawer-trigger {
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    height: 34px;
    min-height: 34px;
  }
}

/* Home configurable sections, top actions, and carousel controls. */
.storefront-top-action-label {
  display: none;
}

.storefront-main > .storefront-home-config-section {
  margin-top: 0;
  margin-bottom: 0;
}

.storefront-main > .storefront-home-config-section + .storefront-home-config-section {
  margin-top: clamp(24px, 3vw, 48px);
}

.storefront-main > .storefront-home-config-section:last-of-type {
  margin-bottom: clamp(30px, 4vw, 64px);
}

.storefront-home-config-section.storefront-home-slider {
  width: min(100%, 1776px);
  max-width: 1776px;
}

.storefront-home-config-section:not(.storefront-home-slider) {
  padding-right: clamp(20px, 3vw, 40px);
  padding-left: clamp(20px, 3vw, 40px);
}

.storefront-product-carousel-section,
.storefront-firesale-random,
.storefront-discovery-strip {
  padding-top: clamp(18px, 2vw, 28px);
  padding-bottom: clamp(20px, 2.4vw, 34px);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--store-surface-strong, #fff) 96%, var(--store-brand-primary, #111827) 4%), var(--store-surface-strong, #fff));
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.storefront-discovery-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.storefront-discovery-strip .storefront-section-heading,
.storefront-discovery-panel-heading {
  min-height: 0;
  margin-bottom: 12px;
  padding: 0;
}

.storefront-discovery-strip .storefront-kicker,
.storefront-discovery-panel-heading > strong {
  color: var(--store-shell-muted);
}

.storefront-discovery-strip .storefront-section-heading .storefront-card-carousel-actions {
  align-self: center;
  margin-left: auto;
}

html[data-storefront-appearance="dark"] .storefront-product-carousel-section,
html[data-storefront-appearance="dark"] .storefront-firesale-random,
html[data-storefront-appearance="dark"] .storefront-discovery-strip {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--store-surface-strong, #18191b) 88%, #fff 12%), var(--store-surface-strong, #18191b));
  box-shadow: none;
}

html[data-storefront-appearance="dark"] .storefront-discovery-panel {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.storefront-discovery-panel::before {
  display: none;
}

.storefront-carousel-control,
.storefront-card-carousel-actions button,
.storefront-product-gallery-nav,
.storefront-gallery-viewer-nav {
  overflow: hidden;
  border-color: color-mix(in srgb, var(--store-brand-primary, #111827) 18%, rgba(255, 255, 255, 0.42));
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.82)),
    color-mix(in srgb, var(--store-brand-primary, #111827) 7%, #fff);
  color: #111827;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 14px 32px rgba(15, 23, 42, 0.16);
  font-size: 0;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease,
    opacity 160ms ease,
    transform 160ms ease;
}

.storefront-card-carousel-actions button {
  position: relative;
}

.storefront-carousel-control {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(17, 24, 39, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 16px 38px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.storefront-card-carousel-actions button,
.storefront-product-gallery-nav,
.storefront-gallery-viewer-nav {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
}

.storefront-carousel-control::before,
.storefront-card-carousel-actions button::before,
.storefront-product-gallery-nav::before,
.storefront-gallery-viewer-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  font-size: 0;
}

.storefront-carousel-control--prev::before,
.storefront-card-carousel-actions button:first-child::before,
.storefront-product-gallery-nav--prev::before,
.storefront-gallery-viewer-nav--prev::before {
  transform: translate(-40%, -50%) rotate(-135deg);
}

.storefront-carousel-control--next::before,
.storefront-card-carousel-actions button:last-child::before,
.storefront-product-gallery-nav--next::before,
.storefront-gallery-viewer-nav--next::before {
  transform: translate(-60%, -50%) rotate(45deg);
}

.storefront-carousel-control:hover,
.storefront-carousel-control:focus-visible,
.storefront-card-carousel-actions button:hover:not(:disabled),
.storefront-card-carousel-actions button:focus-visible:not(:disabled),
.storefront-product-gallery-nav:hover,
.storefront-product-gallery-nav:focus-visible,
.storefront-gallery-viewer-nav:hover,
.storefront-gallery-viewer-nav:focus-visible {
  border-color: color-mix(in srgb, var(--store-brand-primary, #111827) 42%, rgba(148, 163, 184, 0.34));
  background:
    linear-gradient(145deg, #fff, color-mix(in srgb, var(--store-brand-primary, #111827) 10%, #fff));
  color: var(--store-brand-primary, #111827);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 18px 38px rgba(15, 23, 42, 0.18);
}

.storefront-card-carousel-actions button:hover:not(:disabled),
.storefront-card-carousel-actions button:focus-visible:not(:disabled) {
  transform: translateY(-1px);
}

.storefront-product-gallery-nav:hover,
.storefront-product-gallery-nav:focus-visible,
.storefront-gallery-viewer-nav:hover,
.storefront-gallery-viewer-nav:focus-visible {
  transform: translateY(-50%) scale(1.03);
}

.storefront-carousel-control:hover,
.storefront-carousel-control:focus-visible {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.10)),
    color-mix(in srgb, var(--store-brand-primary, #111827) 56%, rgba(17, 24, 39, 0.74));
  transform: translateY(-50%) scale(1.03);
}

.storefront-card-carousel-actions button:disabled {
  transform: none;
}

html[data-storefront-appearance="dark"] .storefront-card-carousel-actions button,
html[data-storefront-appearance="dark"] .storefront-product-gallery-nav,
html[data-storefront-appearance="dark"] .storefront-gallery-viewer-nav {
  border-color: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04)),
    rgba(17, 24, 39, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 14px 30px rgba(0, 0, 0, 0.28);
}

@media (min-width: 1181px) {
  .storefront-beta-badge {
    min-height: 38px;
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
  }

  .storefront-top-strip .storefront-top-search,
  .storefront-top-strip .storefront-account-drawer-trigger {
    width: auto;
    min-width: 108px;
    max-width: none;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 10px;
  }

  .storefront-top-strip .storefront-top-search button,
  .storefront-top-strip .storefront-account-drawer-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
  }

  .storefront-top-strip .storefront-top-search button {
    min-width: 108px;
    padding-left: 38px;
  }

  .storefront-top-strip .storefront-top-search button::before {
    left: 20px;
    transform: translate(-58%, -58%);
  }

  .storefront-top-strip .storefront-top-search button::after {
    left: 20px;
    transform: translate(2px, 5px) rotate(45deg);
  }

  .storefront-top-action-label {
    display: inline-block;
    color: currentColor;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
  }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .storefront-beta-badge {
    min-height: 38px;
    height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.04em;
  }

  .storefront-top-strip .storefront-top-search,
  .storefront-top-strip .storefront-account-drawer-trigger {
    width: auto;
    min-width: 108px;
    max-width: none;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 10px;
  }

  .storefront-top-strip .storefront-top-search button,
  .storefront-top-strip .storefront-account-drawer-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
  }

  .storefront-top-strip .storefront-top-search button {
    min-width: 108px;
    padding-left: 38px;
  }

  .storefront-top-strip .storefront-top-search button::before {
    left: 20px;
    transform: translate(-58%, -58%);
  }

  .storefront-top-strip .storefront-top-search button::after {
    left: 20px;
    transform: translate(2px, 5px) rotate(45deg);
  }

  .storefront-top-action-label {
    display: inline-block;
    color: currentColor;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
  }
}

@media (max-width: 1180px) {
  .storefront-mobile-primary-links a,
  .storefront-mobile-primary-links button,
  .storefront-mobile-primary-link-disabled {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 54px;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .storefront-mobile-primary-links .storefront-nav-home-icon,
  .storefront-mobile-primary-links .storefront-nav-fire-icon,
  .storefront-mobile-primary-links .storefront-nav-new-icon,
  .storefront-mobile-primary-link-disabled .storefront-nav-home-icon,
  .storefront-mobile-primary-link-disabled .storefront-nav-fire-icon,
  .storefront-mobile-primary-link-disabled .storefront-nav-new-icon {
    position: relative;
    display: block;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: #fff;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 10px 20px color-mix(in srgb, var(--store-brand-primary, #111827) 22%, transparent);
  }

  .storefront-mobile-primary-links .storefront-nav-home-icon,
  .storefront-mobile-primary-link-disabled .storefront-nav-home-icon {
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 42%),
      var(--store-brand-primary, #111827);
  }

  .storefront-mobile-primary-links .storefront-nav-home-icon::before,
  .storefront-mobile-primary-link-disabled .storefront-nav-home-icon::before {
    left: 11px;
    top: 10px;
    width: 14px;
    height: 14px;
    border-width: 2px;
    border-radius: 3px 0 0;
  }

  .storefront-mobile-primary-links .storefront-nav-home-icon::after,
  .storefront-mobile-primary-link-disabled .storefront-nav-home-icon::after {
    left: 12px;
    right: 12px;
    bottom: 9px;
    height: 13px;
    border-width: 2px;
    border-top: 0;
    border-radius: 0 0 4px 4px;
  }

  .storefront-mobile-primary-links .storefront-nav-new-icon,
  .storefront-mobile-primary-link-disabled .storefront-nav-new-icon {
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 42%),
      linear-gradient(135deg, #22c55e, #16a34a);
  }

  .storefront-mobile-primary-links .storefront-nav-fire-icon,
  .storefront-mobile-primary-link-disabled .storefront-nav-fire-icon {
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 42%),
      color-mix(in srgb, var(--store-firesale-nav, #dc2626) 88%, #111827);
  }

  .storefront-mobile-primary-links .storefront-nav-new-icon::before,
  .storefront-mobile-primary-link-disabled .storefront-nav-new-icon::before {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    top: 18px;
    height: 2px;
    border-radius: 999px;
    background: #fff;
  }

  .storefront-mobile-primary-links .storefront-nav-new-icon::after,
  .storefront-mobile-primary-link-disabled .storefront-nav-new-icon::after {
    content: "";
    position: absolute;
    inset: auto;
    left: 18px;
    top: 11px;
    width: 2px;
    height: 16px;
    border-radius: 999px;
    background: #fff;
  }
}

@media (max-width: 760px) {
  .storefront-main > .storefront-home-config-section + .storefront-home-config-section {
    margin-top: clamp(18px, 5vw, 30px);
  }

  .storefront-home-config-section:not(.storefront-home-slider) {
    padding-right: clamp(14px, 4vw, 20px);
    padding-left: clamp(14px, 4vw, 20px);
  }

  .storefront-product-carousel-section {
    border-radius: 8px;
  }

  .storefront-discovery-panel {
    padding: 0;
  }
}

/* Custom menu for icon-only sort control. */
.storefront-catalog-toolbar .storefront-sort-control {
  overflow: visible;
}

.storefront-sort-menu[hidden] {
  display: none !important;
}

.storefront-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  display: grid;
  gap: 4px;
  width: max-content;
  min-width: 190px;
  max-width: min(280px, calc(100vw - 28px));
  padding: 6px;
  border: 1px solid var(--store-control-border);
  border-radius: 8px;
  color: var(--store-control-text);
  background: var(--store-surface-strong, #fff);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.storefront-sort-menu-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.storefront-sort-menu-item:hover,
.storefront-sort-menu-item:focus-visible,
.storefront-sort-menu-item.is-selected {
  color: var(--store-control-text);
  background: color-mix(in srgb, var(--store-brand-primary, #111827) 14%, var(--store-surface-strong, #fff) 86%);
  outline: 0;
}

.storefront-sort-menu-item.is-selected::after {
  content: "";
  width: 7px;
  height: 11px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

html[data-storefront-appearance="dark"] .storefront-sort-menu {
  background: var(--store-surface-strong, #111827);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.storefront-catalog-toolbar .storefront-sort-trigger {
  display: grid;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 38px;
  place-items: center;
  border: 0;
  border-radius: inherit;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.storefront-catalog-toolbar .storefront-sort-control select {
  width: 1px;
  height: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Storefront assistant: align with the backoffice rbot surface. */
.storefront-assistant {
  z-index: 2400;
  pointer-events: none;
}

.storefront-assistant-actions,
.storefront-assistant-panel {
  pointer-events: auto;
}

.storefront-assistant-launcher {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: auto;
  min-width: 0;
  max-width: min(22rem, calc(100vw - 2rem));
  min-height: 46px;
  height: auto;
  padding: 0 16px 0 10px;
  border: 1px solid rgba(87, 75, 210, 0.48);
  border-radius: 999px;
  background: linear-gradient(135deg, #6f5bd9, #4f46c8);
  color: #fff;
  box-shadow: 0 18px 42px rgba(79, 70, 200, 0.24);
  line-height: 1;
}

.storefront-assistant-launcher:hover,
.storefront-assistant-launcher:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(79, 70, 200, 0.28);
}

.storefront-assistant-launcher > span:not(.storefront-assistant-avatar) {
  display: none;
}

.storefront-assistant-launcher,
.storefront-back-to-top {
  display: grid;
  place-items: center;
  justify-content: center;
  width: 3.05rem;
  min-width: 3.05rem;
  max-width: 3.05rem;
  height: 3.05rem;
  min-height: 3.05rem;
  padding: 0;
  border-radius: 999px;
}

.storefront-assistant-launcher small {
  color: rgba(255, 255, 255, 0.78);
}

.storefront-assistant-avatar,
.storefront-assistant-launcher .storefront-assistant-avatar {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.storefront-assistant-panel[hidden] {
  display: none !important;
}

.storefront-assistant-panel {
  position: absolute;
  right: 0;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  width: min(560px, calc(100vw - 40px));
  height: min(760px, calc(100vh - 112px));
  max-height: none;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(207, 214, 228, 0.96);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.99);
  color: #1f2937;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  backdrop-filter: none;
}

.storefront-assistant-head {
  position: relative;
  flex: 0 0 auto;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.94);
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.storefront-assistant-head::before {
  content: "Assistant";
  position: absolute;
  margin-left: 42px;
  color: #6f5bd9;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-assistant-head > div {
  padding-top: 16px;
}

.storefront-assistant-head strong {
  color: #111827;
  font-size: 1.1rem;
  font-weight: 880;
}

.storefront-assistant-head small {
  color: #667085;
}

.storefront-assistant-head button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(207, 214, 228, 0.95);
  background: #fff;
  color: #475467;
  font-size: 1.2rem;
}

.storefront-assistant-messages {
  display: grid;
  flex: 1 1 auto;
  gap: 12px;
  max-height: none;
  min-height: 0;
  padding: 16px;
  align-content: start;
  background: rgba(248, 250, 252, 0.72);
  overscroll-behavior: contain;
}

.storefront-assistant-message {
  display: grid;
  gap: 7px;
  max-width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(221, 226, 234, 0.94);
  border-radius: 14px;
  background: #fff;
  color: #1f2937;
  font-size: 0.9rem;
  line-height: 1.48;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  overflow-wrap: anywhere;
}

.storefront-assistant-message--user {
  justify-self: end;
  max-width: 92%;
  border-color: rgba(111, 91, 217, 0.3);
  background: rgba(111, 91, 217, 0.08);
  color: #1f2937;
}

.storefront-assistant-prompts {
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px 10px;
  overflow: visible;
  background: rgba(248, 250, 252, 0.72);
}

.storefront-assistant-prompts button,
.storefront-assistant .rectron-rbot-followups button {
  border: 1px solid rgba(221, 226, 234, 0.94);
  background: #fff;
  color: #344054;
  font-size: 0.72rem;
  font-weight: 760;
}

.storefront-assistant-prompts button:hover,
.storefront-assistant-prompts button:focus-visible,
.storefront-assistant .rectron-rbot-followups button:hover,
.storefront-assistant .rectron-rbot-followups button:focus-visible {
  border-color: rgba(111, 91, 217, 0.38);
  color: #574bd2;
}

.storefront-assistant-form {
  flex: 0 0 auto;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.94);
  background: #fff;
}

.storefront-assistant-form input[type="text"] {
  border-color: rgba(207, 214, 228, 0.95);
  background: #fff;
}

.storefront-assistant-form button {
  background: #574bd2;
  font-weight: 850;
}

.storefront-assistant-status {
  flex: 0 0 auto;
  min-height: 0;
  padding: 0 16px 12px;
  background: #fff;
}

.storefront-assistant-confidence {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(111, 91, 217, 0.1);
  color: #574bd2;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 640px) {
  .storefront-assistant-launcher,
  .storefront-back-to-top {
    display: grid;
    width: 2.9rem;
    min-width: 2.9rem;
    max-width: 2.9rem;
    height: 2.9rem;
    min-height: 2.9rem;
    padding: 0;
    place-items: center;
  }

  .storefront-assistant-launcher > span:not(.storefront-assistant-avatar) {
    display: none;
  }

  .storefront-assistant-panel {
    position: fixed;
    right: 0.65rem;
    bottom: calc(4.45rem + env(safe-area-inset-bottom));
    left: 0.65rem;
    width: auto;
    height: min(74dvh, 34rem);
    border-radius: 12px;
  }
}

html[data-storefront-appearance="dark"] .storefront-assistant-panel {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.98);
  color: #f8fafc;
}

html[data-storefront-appearance="dark"] .storefront-assistant-head,
html[data-storefront-appearance="dark"] .storefront-assistant-form,
html[data-storefront-appearance="dark"] .storefront-assistant-status {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.98);
}

html[data-storefront-appearance="dark"] .storefront-assistant-head strong,
html[data-storefront-appearance="dark"] .storefront-assistant-message {
  color: #f8fafc;
}

html[data-storefront-appearance="dark"] .storefront-assistant-messages,
html[data-storefront-appearance="dark"] .storefront-assistant-prompts {
  background: rgba(2, 6, 23, 0.58);
}

html[data-storefront-appearance="dark"] .storefront-assistant-message,
html[data-storefront-appearance="dark"] .storefront-assistant-prompts button,
html[data-storefront-appearance="dark"] .storefront-assistant .rectron-rbot-followups button,
html[data-storefront-appearance="dark"] .storefront-assistant-form input[type="text"] {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
}

/* Final storefront nav polish: premium mobile store button and centered brand. */
.storefront-mobile-menu-trigger-icon {
  display: block;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: currentColor;
  opacity: 1;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.storefront-mobile-menu-trigger-label,
.storefront-mobile-menu-trigger .storefront-mobile-menu-trigger-label,
.storefront-mobile-menu-trigger span.storefront-mobile-menu-trigger-label {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  color: currentColor;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .storefront-shell {
    --store-mobile-header-gutter: 14px;
  }

  .storefront-shell .storefront-top-strip {
    padding-inline: var(--store-mobile-header-gutter);
  }

  .storefront-shell .storefront-top-strip-copy {
    justify-self: start;
    justify-content: flex-start;
    width: 100%;
  }

  .storefront-shell .storefront-nav {
    grid-template-columns: minmax(96px, 1fr) auto minmax(96px, 1fr);
    gap: 10px;
    min-height: 64px;
    padding: 12px var(--store-mobile-header-gutter);
  }

  .storefront-nav > .storefront-nav-left {
    display: contents !important;
  }

  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    grid-column: 1;
    display: inline-flex !important;
    justify-self: start;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    min-width: 106px;
    height: 42px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid var(--store-control-border);
    border-radius: var(--store-control-radius);
    color: var(--store-control-text);
    background: var(--store-control-bg);
    box-shadow: var(--store-control-shadow);
    font-family: var(--store-font-family);
  }

  .storefront-nav .storefront-mobile-menu-trigger:hover,
  .storefront-nav .storefront-mobile-menu-trigger:focus-visible,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger:hover,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger:focus-visible {
    color: var(--store-control-text);
    border-color: color-mix(in srgb, var(--store-brand-primary, #111827) 42%, var(--store-control-border));
    background: var(--store-control-bg-hover);
    box-shadow: var(--store-control-shadow);
  }

  .storefront-nav .storefront-mobile-menu-trigger .storefront-mobile-menu-trigger-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    stroke-width: 3;
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand {
    grid-column: 2;
    display: inline-flex !important;
    justify-self: center;
    max-width: min(42vw, 230px);
    min-width: 0;
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand .storefront-brand-logo {
    max-width: min(42vw, 180px);
    max-height: 46px;
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand .storefront-brand-copy {
    min-width: 0;
  }

  .storefront-nav > .storefront-nav-left > .storefront-nav-links {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .storefront-shell .storefront-nav {
    grid-template-columns: minmax(88px, 1fr) auto minmax(88px, 1fr);
    min-height: 58px;
    padding: 9px var(--store-mobile-header-gutter);
  }

  .storefront-nav .storefront-mobile-menu-trigger,
  .storefront-shell:has(.storefront-top-actions) .storefront-nav .storefront-mobile-menu-trigger {
    min-width: 106px;
    height: 40px;
    min-height: 40px;
    gap: 8px;
    padding-inline: 13px;
  }

  .storefront-mobile-menu-trigger-label,
  .storefront-mobile-menu-trigger .storefront-mobile-menu-trigger-label,
  .storefront-mobile-menu-trigger span.storefront-mobile-menu-trigger-label {
    font-size: 0.68rem;
  }

  .storefront-nav .storefront-mobile-menu-trigger .storefront-mobile-menu-trigger-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    stroke-width: 3;
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand {
    max-width: min(36vw, 150px);
  }

  .storefront-nav > .storefront-nav-left > .storefront-brand .storefront-brand-logo {
    max-width: min(36vw, 150px);
    max-height: 40px;
  }

  .storefront-brand-copy small {
    display: none;
  }
}


/* Account recovery two-step flow. Keep this after prior sign-in overrides. */
.storefront-password-reset-flow {
  gap: 14px;
}

.storefront-password-reset-flow[data-reset-step="request"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.92)),
    #fff;
}

.storefront-password-reset-flow[data-reset-step="confirm"] {
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 26%, rgba(148, 163, 184, 0.34));
}

.storefront-reset-card-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.storefront-reset-step {
  display: inline-grid;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 28%, rgba(148, 163, 184, 0.55));
  border-radius: 999px;
  color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 68%, #334155);
  background: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 8%, #fff);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
}

.storefront-reset-step--active {
  color: #fff;
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 80%, #111827);
  background: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 86%, #111827);
}

.storefront-password-reset-card--locked {
  padding: 14px;
  border: 1px dashed rgba(100, 116, 139, 0.38);
  border-radius: 8px;
  background: rgba(241, 245, 249, 0.62);
}

.storefront-password-reset-card--locked p {
  grid-column: 1 / -1;
  margin: 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.45;
}

.storefront-password-reset-card input[readonly] {
  color: #475569;
  background: rgba(241, 245, 249, 0.88);
  cursor: default;
}

html[data-storefront-appearance="dark"] .storefront-login-screen {
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 16%, transparent), transparent 34%),
    linear-gradient(180deg, #0c1017, #070a0f 72%);
}

html[data-storefront-appearance="dark"] .storefront-login-card {
  border-color: rgba(148, 163, 184, 0.24);
  background:
    linear-gradient(145deg, rgba(30, 34, 44, 0.96), rgba(18, 22, 30, 0.98)),
    #12161e;
}

html[data-storefront-appearance="dark"] .storefront-password-reset-flow[data-reset-step] {
  border-color: rgba(148, 163, 184, 0.24);
  background:
    linear-gradient(180deg, rgba(22, 28, 38, 0.92), rgba(13, 17, 24, 0.96)),
    #0d1118;
}

html[data-storefront-appearance="dark"] .storefront-password-reset-flow[data-reset-step="confirm"] {
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 36%, rgba(148, 163, 184, 0.28));
}

html[data-storefront-appearance="dark"] .storefront-password-reset-card input,
html[data-storefront-appearance="dark"] .storefront-login-card input {
  border-color: rgba(148, 163, 184, 0.3);
  color: #f8fafc;
  background: #080b10;
}

html[data-storefront-appearance="dark"] .storefront-password-reset-card input::placeholder,
html[data-storefront-appearance="dark"] .storefront-login-card input::placeholder {
  color: rgba(203, 213, 225, 0.78);
}

html[data-storefront-appearance="dark"] .storefront-password-reset-card input[readonly] {
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.82);
}

html[data-storefront-appearance="dark"] .storefront-password-reset-card--locked {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.54);
}

html[data-storefront-appearance="dark"] .storefront-password-reset-card--locked p {
  color: #cbd5e1;
}

html[data-storefront-appearance="dark"] .storefront-reset-step {
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.34);
  background: rgba(30, 41, 59, 0.88);
}

html[data-storefront-appearance="dark"] .storefront-reset-step--active {
  color: #fff;
  border-color: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 78%, #fff 8%);
  background: color-mix(in srgb, var(--store-brand-primary, #6b5bd6) 82%, #111827);
}
.storefront-product-media-placeholder {
  --storefront-no-image-size: 68px;
  --storefront-no-image-stroke: color-mix(in srgb, var(--store-shell-muted, #64748b) 54%, var(--store-brand-primary, #0875d1));
  --storefront-no-image-fill: color-mix(in srgb, var(--store-brand-primary, #0875d1) 14%, #fff 86%);
  --storefront-no-image-accent: color-mix(in srgb, var(--store-brand-accent, #ff8a18) 58%, #fff 42%);
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--storefront-no-image-stroke);
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 22%, color-mix(in srgb, var(--storefront-no-image-accent) 18%, transparent), transparent 30%),
    radial-gradient(circle at 72% 74%, color-mix(in srgb, var(--store-brand-primary, #0875d1) 12%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, #fff 92%, var(--store-brand-primary, #0875d1) 8%), color-mix(in srgb, var(--store-shell-bg, #f8fafc) 92%, var(--store-brand-accent, #ff8a18) 8%));
}

.storefront-product-media-placeholder::before,
.storefront-product-no-image-icon i::before {
  content: "";
  display: block;
  width: var(--storefront-no-image-size);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  border-radius: 20px;
  background:
    radial-gradient(circle at 72% 24%, var(--storefront-no-image-accent) 0 5px, transparent 5.8px),
    linear-gradient(135deg, color-mix(in srgb, #fff 84%, var(--store-brand-primary, #0875d1) 16%), var(--storefront-no-image-fill));
  background-repeat: no-repeat;
  box-shadow: 0 16px 34px color-mix(in srgb, var(--store-brand-primary, #0875d1) 14%, transparent);
}

.storefront-product-media-placeholder::after,
.storefront-product-no-image-icon i::after {
  content: "";
  position: absolute;
  width: calc(var(--storefront-no-image-size) * 0.46);
  height: calc(var(--storefront-no-image-size) * 0.36);
  border: 2px solid currentColor;
  border-radius: 7px 7px 10px 10px;
  opacity: 0.72;
  transform: translateY(4px);
  background:
    linear-gradient(currentColor, currentColor) 50% 34% / 100% 2px no-repeat,
    linear-gradient(90deg, transparent 48%, currentColor 48% 52%, transparent 52%) 50% 0 / 100% 46% no-repeat;
}
.storefront-nav-search-thumb .storefront-product-media-placeholder {
  --storefront-no-image-size: 30px;
  border-radius: inherit;
  background: color-mix(in srgb, var(--store-shell-bg, #f8fafc) 76%, var(--store-brand-primary, #0875d1) 8%);
}

.storefront-nav-search-thumb .storefront-product-media-placeholder::before {
  border-radius: 9px;
  box-shadow: none;
}

.storefront-nav-search-thumb .storefront-product-media-placeholder::after {
  border-width: 1.4px;
  border-radius: 4px 4px 5px 5px;
}
.storefront-product-no-image-icon {
  --storefront-no-image-size: 92px;
  --storefront-no-image-stroke: color-mix(in srgb, var(--store-shell-muted, #64748b) 62%, var(--store-brand-primary, #0875d1));
  --storefront-no-image-fill: color-mix(in srgb, var(--store-brand-primary, #0875d1) 10%, #fff 90%);
  --storefront-no-image-accent: color-mix(in srgb, var(--store-brand-accent, #ff8a18) 56%, #fff 44%);
  display: grid;
  place-items: center;
  width: min(220px, 48%);
  aspect-ratio: 1;
  margin: auto;
  border: 1px solid color-mix(in srgb, var(--store-shell-line, #dbe3ef) 82%, transparent);
  border-radius: 22px;
  color: var(--storefront-no-image-stroke);
  background:
    radial-gradient(circle at 28% 22%, color-mix(in srgb, var(--store-brand-accent, #ff8a18) 10%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, #fff 90%, var(--store-brand-primary, #0875d1) 10%), color-mix(in srgb, var(--store-shell-bg, #f8fafc) 94%, var(--store-brand-accent, #ff8a18) 6%));
}

.storefront-product-no-image-icon i {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--storefront-no-image-size);
  aspect-ratio: 1.18;
}

html[data-storefront-appearance="dark"] .storefront-product-media-placeholder {
  --storefront-no-image-stroke: color-mix(in srgb, var(--store-shell-muted, #94a3b8) 74%, #fff 12%);
  --storefront-no-image-fill: color-mix(in srgb, var(--store-surface-strong, #1f2937) 78%, #fff 22%);
  --storefront-no-image-accent: color-mix(in srgb, var(--store-brand-accent, #ff8a18) 48%, #fff 18%);
  background:
    radial-gradient(circle at 32% 22%, color-mix(in srgb, var(--storefront-no-image-accent) 16%, transparent), transparent 30%),
    radial-gradient(circle at 72% 74%, color-mix(in srgb, var(--store-brand-primary, #0875d1) 16%, transparent), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
}

html[data-storefront-appearance="dark"] .storefront-product-no-image-icon {
  --storefront-no-image-stroke: color-mix(in srgb, var(--store-shell-muted, #94a3b8) 72%, #fff 14%);
  --storefront-no-image-fill: rgba(255, 255, 255, 0.06);
  border-color: color-mix(in srgb, var(--store-shell-line, rgba(255, 255, 255, 0.16)) 84%, transparent);
  background:
    radial-gradient(circle at 28% 22%, color-mix(in srgb, var(--store-brand-accent, #ff8a18) 12%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--store-surface-strong, #1f2937) 88%, #fff 12%), color-mix(in srgb, var(--store-shell-bg, #111827) 88%, var(--store-brand-primary, #0875d1) 12%));
}
