@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f2f4f7;
  --surface-3: #e9edf2;
  --content: #111820;
  --muted: #5c6b7a;
  --subtle: #65717e;
  --line: #e3e7ec;
  --line-strong: #c9d1da;
  --primary: #3665f3;
  --primary-hover: #2c53cc;
  --primary-soft: #eef2ff;
  --primary-ring: rgba(54, 101, 243, 0.18);
  --accent: #f5af02;
  --danger: #d92d20;
  --danger-soft: #fef3f2;
  --success: #067647;
  --success-soft: #ecfdf3;
  --inverse: #111820;
  --header: rgba(255, 255, 255, 0.96);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 10px 28px -12px rgba(16, 24, 40, 0.2);
  --shadow-lg: 0 30px 80px -30px rgba(16, 24, 40, 0.32);
  --radius: 10px;
  --container: 1400px;
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.dark {
  color-scheme: dark;
  --page: #0b0f14;
  --surface: #11161d;
  --surface-2: #171e27;
  --surface-3: #202934;
  --content: #f2f4f7;
  --muted: #a4b0bd;
  --subtle: #7c8896;
  --line: #26303b;
  --line-strong: #3a4653;
  --primary: #6b8cff;
  --primary-hover: #88a2ff;
  --primary-soft: #182241;
  --primary-ring: rgba(107, 140, 255, 0.22);
  --accent: #ffc94d;
  --danger: #ff7068;
  --danger-soft: #2f1717;
  --success: #4ade80;
  --success-soft: #10271a;
  --inverse: #f2f4f7;
  --header: rgba(17, 22, 29, 0.96);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 30px -12px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 32px 80px -30px rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  background: var(--page);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--content);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 220ms ease, color 220ms ease;
}

body.no-scroll {
  overflow: hidden;
}

html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease !important;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(54, 101, 243, 0.22);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-fill {
  fill: currentColor;
  stroke: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--content);
  color: var(--surface);
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 800;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 3.2vw, 40px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow .icon {
  width: 13px;
  height: 13px;
}

.eyebrow-primary {
  color: var(--primary);
}

.eyebrow-danger {
  color: var(--danger);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 41px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 120ms ease;
}

.button:active {
  transform: translateY(1px);
}

.button .icon {
  width: 15px;
  height: 15px;
}

.button-primary {
  background: var(--primary);
  color: #fff;
}

.button-primary:hover {
  background: var(--primary-hover);
}

.dark .button-primary,
.dark .search-submit {
  color: #08101f;
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--content);
}

.button-secondary:hover {
  border-color: var(--content);
  background: var(--surface-2);
}

.button-sm {
  min-height: 32px;
  border-radius: 6px;
  padding: 7px 11px;
  font-size: 11.5px;
}

.button-sm .icon {
  width: 13px;
  height: 13px;
}

.button-white {
  background: #fff;
  color: #1e3fb5;
}

.button-white:hover {
  background: #eef2ff;
}

.button-ghost-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.button-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--content);
  transition:
    background-color 150ms ease,
    border-color 150ms ease;
}

.icon-button:hover {
  border-color: var(--line);
  background: var(--surface-2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link .icon {
  width: 13px;
  height: 13px;
}

.text-link-primary {
  color: var(--primary);
}

.text-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--primary);
  font-weight: 700;
}

.text-button:hover {
  text-decoration: underline;
}

.pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.pill-primary {
  border: 1px solid rgba(54, 101, 243, 0.16);
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary);
  backdrop-filter: blur(10px);
}

.pill .icon {
  width: 13px;
  height: 13px;
}

/* Top bar */
.topbar {
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11.5px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 32px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar a:hover {
  color: var(--content);
}

.topbar-divider {
  width: 1px;
  height: 12px;
  background: var(--line-strong);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: var(--header);
  backdrop-filter: blur(12px);
  transition: box-shadow 220ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px -14px rgba(16, 24, 40, 0.4);
}

.header-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 70px;
}

.header-menu {
  display: none;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 9px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  color: var(--content);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.brand-name span {
  color: var(--primary);
}

.brand-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 6.7px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.header-search {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}

.search-form {
  display: flex;
  height: 44px;
  width: 100%;
  align-items: center;
  gap: 4px;
  border: 2px solid var(--primary);
  border-radius: 9px;
  background: var(--surface);
  padding: 2px;
  transition: box-shadow 160ms ease;
}

.search-form:focus-within {
  box-shadow: 0 0 0 3px var(--primary-ring);
}

.search-icon {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  color: var(--muted);
}

.search-form input {
  height: 100%;
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 6px;
  color: var(--content);
  font-size: 13px;
}

.search-form input::placeholder {
  color: var(--subtle);
}

.search-submit {
  height: 100%;
  flex-shrink: 0;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  padding: 0 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  transition: background-color 160ms ease;
}

.search-submit:hover {
  background: var(--primary-hover);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 0 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  transition:
    border-color 150ms ease,
    color 150ms ease,
    background-color 150ms ease;
}

.theme-toggle:hover {
  border-color: var(--line-strong);
  color: var(--content);
}

.theme-toggle .theme-icon {
  width: 15px;
  height: 15px;
  color: var(--primary);
}

.dark .theme-toggle .theme-icon {
  color: var(--accent);
}

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  padding: 0 8px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.header-action:hover {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--content);
}

.header-action .icon {
  width: 17px;
  height: 17px;
}

.cart-action {
  border-color: var(--line);
  background: var(--surface);
  color: var(--content);
  padding-inline: 9px;
}

.cart-count {
  display: inline-flex;
  min-width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  padding: 0 4px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.dark .cart-count {
  color: #08101f;
}

.cart-action.bump {
  animation: cartBump 360ms ease;
}

.mobile-search {
  display: none;
  padding-bottom: 10px;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.mega-wrap {
  position: relative;
}

.mega-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  margin-block: 3px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 0 10px;
  color: var(--content);
  font-size: 12px;
  font-weight: 800;
  transition: background-color 150ms ease;
}

.mega-toggle:hover,
.mega-toggle[aria-expanded="true"] {
  background: var(--primary-soft);
  color: var(--primary);
}

.mega-toggle .icon {
  width: 15px;
  height: 15px;
}

.mega-toggle .chevron {
  width: 13px;
  height: 13px;
  transition: transform 180ms ease;
}

.mega-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.primary-nav a {
  position: relative;
  display: inline-flex;
  height: 40px;
  align-items: center;
  padding: 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 150ms ease;
}

.primary-nav a:hover {
  color: var(--content);
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.nav-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.nav-meta span,
.nav-meta a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-meta .icon {
  width: 14px;
  height: 14px;
  color: var(--success);
}

.nav-meta a {
  border-left: 1px solid var(--line);
  padding-left: 16px;
  transition: color 150ms ease;
}

.nav-meta a .icon {
  color: var(--primary);
}

.nav-meta a:hover {
  color: var(--content);
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 55;
  width: 710px;
  max-width: calc(100vw - 80px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: megaIn 180ms ease both;
}

.mega-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
}

.mega-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 14px;
}

.mega-links a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 8px;
  padding: 11px;
  transition: background-color 150ms ease;
}

.mega-links a:hover {
  background: var(--surface-2);
}

.mega-links .category-icon {
  width: 34px;
  height: 34px;
  margin-top: 1px;
  border-radius: 8px;
}

.mega-links .category-icon .icon {
  width: 16px;
  height: 16px;
}

.mega-links strong {
  display: block;
  color: var(--content);
  font-size: 12px;
  font-weight: 700;
}

.mega-links small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.mega-promo {
  border-left: 1px solid var(--line);
  background: var(--surface-2);
  padding: 20px;
}

.mega-promo-title {
  margin-top: 7px;
  color: var(--content);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.mega-promo > p:not(.eyebrow):not(.mega-promo-title) {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.mega-promo .button {
  margin-top: 14px;
}

.mega-promo-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.mega-promo-note .icon {
  width: 14px;
  height: 14px;
  color: var(--success);
}

.mega-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 11px 20px;
  color: var(--muted);
  font-size: 10.5px;
}

.mega-foot a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 700;
}

.mega-foot .icon {
  width: 12px;
  height: 12px;
}

/* Hero */
.hero {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding-block: 18px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 12px;
}

.hero-main {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 12px;
  background: #eef3ff;
}

.dark .hero-main {
  background: var(--primary-soft);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 53%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #eef3ff 0%, rgba(238, 243, 255, 0.5) 34%, rgba(238, 243, 255, 0) 70%);
}

.dark .hero-media::after {
  background: linear-gradient(90deg, var(--primary-soft) 0%, rgba(24, 34, 65, 0.55) 34%, rgba(24, 34, 65, 0) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 530px;
  min-height: 420px;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
}

.hero-content h1 {
  margin-top: 14px;
  color: var(--content);
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.01;
}

.hero-content h1 span {
  display: block;
  color: var(--primary);
}

.hero-content > p {
  max-width: 420px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.hero-usps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
}

.hero-usps li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-usps .icon {
  width: 13px;
  height: 13px;
  color: var(--success);
}

.hero-float {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  padding: 9px 12px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.hero-float span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-float strong {
  display: block;
  margin-top: 2px;
  color: var(--content);
  font-size: 11.5px;
}

.hero-side {
  display: grid;
  gap: 12px;
}

.promo {
  position: relative;
  display: flex;
  min-height: 204px;
  overflow: hidden;
  border-radius: 12px;
  padding: 21px;
}

.promo > img {
  position: absolute;
  inset: 0 0 0 auto;
  width: 60%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.promo:hover > img {
  transform: scale(1.04);
}

.promo-dark {
  background: #15212e;
  color: #fff;
}

.promo-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #15212e 0%, rgba(21, 33, 46, 0.91) 45%, rgba(21, 33, 46, 0.12) 100%);
}

.promo-light {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--content);
}

.promo-light::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--surface-2) 0%, color-mix(in srgb, var(--surface-2) 90%, transparent) 45%, transparent 100%);
}

.promo-content {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 190px;
  flex-direction: column;
  align-items: flex-start;
}

.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  background: var(--danger);
  padding: 4px 7px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promo-tag .icon {
  width: 11px;
  height: 11px;
}

.promo-kicker {
  color: var(--primary);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-content strong {
  margin-top: 9px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.promo-content small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10.5px;
}

.promo-light .promo-content small {
  color: var(--muted);
}

.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 13px;
  color: #9db6ff;
  font-size: 10.5px;
  font-weight: 700;
}

.promo-light .promo-link {
  color: var(--primary);
}

.promo-link .icon {
  width: 12px;
  height: 12px;
}

/* Category rail */
.category-section {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.category-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  background: linear-gradient(to left, var(--surface), transparent);
  pointer-events: none;
}

.category-row {
  display: flex;
  align-items: stretch;
  gap: 2px;
  overflow-x: auto;
  padding-block: 12px;
  scrollbar-width: none;
}

.category-row::-webkit-scrollbar {
  display: none;
}

.category-intro {
  display: none;
  flex-direction: column;
  justify-content: center;
  min-width: 90px;
  padding-right: 12px;
}

.category-intro span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-intro strong {
  margin-top: 2px;
  color: var(--content);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.category-item {
  display: flex;
  min-width: 96px;
  flex: 1;
  flex-direction: column;
  align-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 7px 6px;
  text-align: center;
  transition: background-color 150ms ease;
}

.category-item:hover {
  background: var(--surface-2);
}

.category-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
}

.category-icon .icon {
  width: 17px;
  height: 17px;
}

.category-deals .category-icon {
  background: var(--danger-soft);
  color: var(--danger);
}

.category-trade .category-icon {
  background: var(--success-soft);
  color: var(--success);
}

.category-name {
  margin-top: 6px;
  color: var(--content);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.25;
}

.category-count {
  margin-top: 1px;
  color: var(--muted);
  font-size: 9px;
}

/* Shared section bits */
.deals-section {
  border-bottom: 1px solid var(--line);
  background: var(--page);
  padding-block: 28px;
}

.section-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.section-heading-row h2,
.shop-heading h2 {
  margin-top: 7px;
  color: var(--content);
  font-size: clamp(21px, 2.5vw, 27px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.deals-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}

.countdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  background: var(--content);
  padding: 6px 9px;
  color: var(--surface);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.countdown-pill .icon {
  width: 12px;
  height: 12px;
}

.countdown-pill strong {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Product cards */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  animation: cardIn 360ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 28ms);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-media {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}

.product-image-button {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
}

.product-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 450ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-card:hover .product-image {
  transform: scale(1.035);
}

.product-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  pointer-events: none;
}

.badge-discount {
  border-radius: 4px;
  background: var(--danger);
  padding: 3px 5px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.badge-label {
  border-radius: 4px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  padding: 4px 6px;
  color: var(--content);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.wish-button {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.wish-button:hover {
  color: var(--danger);
}

.wish-button.is-saved {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.dark .wish-button.is-saved {
  color: #08101f;
}

.wish-button .icon {
  width: 14px;
  height: 14px;
}

.wish-button.is-saved .icon,
.qv-wish.is-saved .icon {
  fill: currentColor;
}

.quickview-button {
  position: absolute;
  bottom: 8px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transform: translate(-50%, 5px);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  padding: 6px 10px;
  color: var(--content);
  font-size: 9.5px;
  font-weight: 700;
  opacity: 0;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.quickview-button .icon {
  width: 11px;
  height: 11px;
}

.product-card:hover .quickview-button,
.product-card:focus-within .quickview-button {
  opacity: 1;
  transform: translate(-50%, 0);
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 11px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.condition-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 4px;
  background: var(--success-soft);
  padding: 2px 5px;
  color: var(--success);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.condition-badge::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.product-title {
  display: -webkit-box;
  min-height: 40px;
  margin-top: 6px;
  overflow: hidden;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--content);
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.5;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-title:hover {
  color: var(--primary);
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 9.5px;
}

.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--line-strong);
}

.stars .icon {
  width: 10px;
  height: 10px;
  stroke-width: 1.5;
}

.stars .is-filled {
  color: var(--accent);
  fill: currentColor;
  stroke: currentColor;
}

.rating strong {
  color: var(--content);
  font-weight: 700;
}

.rating > span {
  color: var(--subtle);
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin-top: 8px;
}

.price {
  color: var(--content);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-was {
  color: var(--subtle);
  font-size: 10.5px;
  text-decoration: line-through;
}

.product-shipping {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  color: var(--success);
  font-size: 9.5px;
  font-weight: 650;
}

.product-shipping .icon {
  width: 12px;
  height: 12px;
}

.product-proof {
  margin-top: 2px;
  color: var(--subtle);
  font-size: 9px;
}

.product-proof .low {
  color: var(--danger);
}

.add-to-cart {
  display: flex;
  height: 34px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: auto;
  border: 1px solid color-mix(in srgb, var(--primary) 24%, transparent);
  border-radius: 6px;
  background: var(--primary-soft);
  padding: 0 8px;
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 800;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.card-cart-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: auto;
  padding-top: 12px;
}

.card-cart-row .add-to-cart {
  margin-top: 0;
}

.buy-now-card {
  display: inline-flex;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: var(--primary);
  padding: 0 6px;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.buy-now-card:hover {
  border-color: var(--primary-hover);
  background: var(--primary-hover);
}

.dark .buy-now-card {
  color: #08101f;
}

.qv-details-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
}

.qv-details-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.qv-details-link .icon {
  width: 11px;
  height: 11px;
}

.add-to-cart:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.dark .add-to-cart:hover {
  color: #08101f;
}

.add-to-cart .icon {
  width: 12px;
  height: 12px;
}

/* Shop */
.shop-section {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding-block: 30px;
}

.shop-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.shop-heading > div > p:last-child {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.stock-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10.5px;
}

.stock-note span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 14%, transparent);
}

.shop-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  margin-top: 20px;
}

.filter-sidebar {
  position: sticky;
  top: 138px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  padding: 15px;
}

.filter-group {
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

.filter-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.filter-group h3,
.mobile-filter-panel h3 {
  color: var(--content);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.filter-option {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  border-radius: 5px;
  padding: 5px 4px;
  color: var(--muted);
  font-size: 11.5px;
  cursor: pointer;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.filter-option:hover {
  background: var(--surface-2);
  color: var(--content);
}

.filter-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.filter-option em {
  color: var(--subtle);
  font-size: 10px;
  font-style: normal;
}

.filter-option:has(input:checked) {
  color: var(--primary);
  font-weight: 700;
}

.radio-control {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  transition: border-color 150ms ease;
}

.filter-option input:checked + .radio-control {
  border-color: var(--primary);
  background: var(--primary);
}

.filter-option input:checked + .radio-control::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.dark .filter-option input:checked + .radio-control::after {
  background: #08101f;
}

.check-control {
  display: inline-flex;
  width: 14px;
  height: 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--surface);
  color: transparent;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.check-control .icon {
  width: 9px;
  height: 9px;
  stroke-width: 3;
}

.filter-option input:checked + .check-control,
.mobile-check input:checked + .check-control {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.dark .filter-option input:checked + .check-control,
.dark .mobile-check input:checked + .check-control {
  color: #08101f;
}

.clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  padding: 2px 4px;
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 700;
}

.clear-filters:hover {
  text-decoration: underline;
}

.clear-filters .icon {
  width: 11px;
  height: 11px;
}

.sidebar-promo {
  margin-top: 18px;
  border-radius: 8px;
  background: var(--surface-2);
  padding: 13px;
}

.sidebar-promo strong {
  display: block;
  color: var(--content);
  font-size: 11.5px;
}

.sidebar-promo p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.sidebar-promo a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 8px;
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 700;
}

.sidebar-promo a .icon {
  width: 11px;
  height: 11px;
}

.shop-main {
  min-width: 0;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-block: 1px solid var(--line);
  padding-block: 9px;
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-count {
  color: var(--muted);
  font-size: 11px;
}

.result-count strong {
  color: var(--content);
  font-weight: 800;
}

.mobile-filter-button {
  display: none;
}

.filter-badge {
  display: inline-flex;
  min-width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  padding: 0 4px;
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
}

.dark .filter-badge {
  color: #08101f;
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10.5px;
}

.select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.select-wrap select {
  height: 31px;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 5px;
  outline: 0;
  background: var(--surface);
  padding: 0 26px 0 8px;
  color: var(--content);
  font-size: 10.5px;
  font-weight: 600;
}

.select-wrap select:focus {
  border-color: var(--primary);
}

.select-wrap > .icon {
  position: absolute;
  right: 7px;
  width: 12px;
  height: 12px;
  pointer-events: none;
  color: var(--muted);
}

.mobile-filter-panel {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
}

.mobile-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 5px 10px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
}

.chip.is-active {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
}

.mobile-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 12px;
  margin-top: 14px;
}

.mobile-filter-grid label > span:first-child {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
}

.mobile-filter-grid .select-wrap,
.mobile-filter-grid select {
  width: 100%;
}

.mobile-filter-panel .clear-filters {
  margin-top: 10px;
}

.mobile-check {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--content);
  font-size: 11px;
  cursor: pointer;
}

.mobile-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.active-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
  border-radius: 999px;
  background: var(--primary-soft);
  padding: 4px 8px;
  color: var(--primary);
  font-size: 9.5px;
  font-weight: 700;
}

.active-chip .icon {
  width: 9px;
  height: 9px;
}

.chip-clear {
  border: 0;
  background: transparent;
  padding: 0 2px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  padding: 52px 20px;
  text-align: center;
}

.empty-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--muted);
}

.empty-icon .icon {
  width: 21px;
  height: 21px;
}

.empty-state strong {
  margin-top: 10px;
  color: var(--content);
  font-size: 14px;
}

.empty-state p {
  max-width: 330px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.empty-state .button {
  margin-top: 14px;
}

.shop-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 11px 14px;
}

.shop-help p {
  color: var(--muted);
  font-size: 10.5px;
}

.shop-help a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-size: 10.5px;
  font-weight: 700;
}

.shop-help .icon {
  width: 12px;
  height: 12px;
}

/* Trust */
.trust-bar {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 16px;
  border-left: 1px solid var(--line);
}

.trust-item:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust-item:last-child {
  padding-right: 0;
}

.trust-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}

.trust-icon .icon {
  width: 16px;
  height: 16px;
}

.trust-item strong {
  display: block;
  color: var(--content);
  font-size: 11.5px;
}

.trust-item p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

/* Story */
.story-section {
  border-bottom: 1px solid var(--line);
  background: var(--page);
  padding-block: 30px;
}

.story-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.story-copy {
  padding: 34px;
}

.story-copy h2 {
  margin-top: 10px;
  color: var(--content);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.story-lede {
  max-width: 520px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--content);
  font-size: 10.5px;
}

.check-list .icon {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  padding: 2px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  stroke-width: 3;
}

.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.story-stats > div + div {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.story-stats strong {
  display: block;
  color: var(--content);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.story-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.story-copy .text-link {
  margin-top: 20px;
}

.story-media {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: var(--surface-2);
}

.story-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 23, 34, 0.72), rgba(13, 23, 34, 0.04) 60%);
}

.story-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(13, 23, 34, 0.55);
  padding: 6px 9px;
  color: #fff;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.story-badge span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #7af0a5;
}

.story-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(13, 23, 34, 0.68);
  padding: 13px;
  color: #fff;
  backdrop-filter: blur(10px);
}

.story-caption span {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-caption strong {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.35;
}

/* Trade */
.trade-section {
  background: var(--surface);
  padding-block: 30px;
}

.trade-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  overflow: hidden;
  border-radius: 12px;
  background: #1e3fb5;
  padding: 34px;
  color: #fff;
}

.trade-card::before,
.trade-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.trade-card::before {
  top: -120px;
  right: -70px;
  width: 290px;
  height: 290px;
}

.trade-card::after {
  right: 34%;
  bottom: -150px;
  width: 260px;
  height: 260px;
  border-color: rgba(255, 255, 255, 0.07);
}

.trade-copy,
.trade-benefits {
  position: relative;
  z-index: 2;
}

.trade-kicker {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trade-copy h2 {
  max-width: 480px;
  margin-top: 7px;
  font-size: clamp(27px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.trade-copy > p:not(.trade-kicker):not(.trade-note) {
  max-width: 540px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  line-height: 1.65;
}

.trade-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.trade-note {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 9.5px;
}

.trade-benefits {
  display: grid;
  align-content: center;
  gap: 8px;
}

.trade-benefits > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 11px;
}

.trade-benefit-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #9db6ff;
}

.trade-benefit-icon .icon {
  width: 15px;
  height: 15px;
}

.trade-benefits strong {
  display: block;
  font-size: 11.5px;
}

.trade-benefits p {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 9.5px;
  line-height: 1.45;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}

.back-to-top {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-3);
  color: var(--content);
  font-size: 10.5px;
  font-weight: 700;
  transition: background-color 150ms ease;
}

.back-to-top:hover {
  background: var(--line);
}

.back-to-top .icon {
  width: 12px;
  height: 12px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 34px;
  padding-block: 34px;
}

.footer-brand > p {
  max-width: 300px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 10px;
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-contact a:hover {
  color: var(--content);
}

.footer-contact .icon {
  width: 12px;
  height: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
}

.footer-links h3 {
  margin-bottom: 3px;
  color: var(--content);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);
  font-size: 10.5px;
  transition: color 150ms ease;
}

.footer-links a:hover {
  color: var(--content);
}

.footer-newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-block: 20px;
}

.footer-newsletter strong {
  display: block;
  color: var(--content);
  font-size: 12px;
}

.footer-newsletter span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 380px;
  gap: 6px;
}

.newsletter-form input {
  min-width: 0;
  flex: 1;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: var(--surface);
  padding: 0 9px;
  color: var(--content);
  font-size: 11px;
  outline: 0;
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

.footer-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 30px;
  border-top: 1px solid var(--line);
  padding-block: 17px;
}

.partner-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.partner-label {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.partner-logo {
  display: inline-flex;
  height: 31px;
  min-width: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  padding: 5px 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.partner-logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px -5px rgba(16, 24, 40, 0.3);
}

.partner-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 21px;
  object-fit: contain;
}

.partner-logo.visa img {
  width: 44px;
}

.partner-logo.mastercard img {
  width: 33px;
}

.partner-logo.amex img {
  width: 20px;
}

.partner-logo.google-pay img {
  width: 42px;
}

.partner-logo.apple-pay img {
  width: 31px;
}

.partner-logo.dhl {
  border-color: #e3b900;
  background: #ffcc00;
}

.partner-logo.dhl img {
  width: 46px;
}

.partner-logo.fedex img {
  width: 38px;
}

.partner-logo.ups img {
  width: 17px;
}

.partner-logo.dpd img {
  width: 17px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-block: 15px;
  color: var(--muted);
  font-size: 9.5px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.footer-legal a:hover {
  color: var(--content);
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 2px;
}

.footer-payments em {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  padding: 2px 5px;
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

/* Mobile tab bar */
.mobile-tabbar {
  display: none;
}

/* Overlays */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0;
  transition: opacity 190ms ease;
}

.overlay.is-open {
  opacity: 1;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 20, 0.55);
  backdrop-filter: blur(3px);
}

.drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(100%, 430px);
  flex-direction: column;
  background: var(--surface);
  box-shadow: -20px 0 70px -35px rgba(0, 0, 0, 0.55);
  transform: translateX(100%);
  transition: transform 270ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.overlay.is-open .drawer {
  transform: translateX(0);
}

.overlay.is-closing .drawer {
  transform: translateX(100%);
}

.overlay.is-closing {
  opacity: 0;
}

.mobile-drawer {
  width: min(100%, 370px);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
}

.drawer-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.drawer-label {
  margin: 18px 0 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.drawer-label:first-child {
  margin-top: 0;
}

.drawer-department {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}

.drawer-department .category-icon {
  width: 32px;
  height: 32px;
}

.drawer-department strong {
  display: block;
  color: var(--content);
  font-size: 12px;
}

.drawer-department small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 9.5px;
}

.quick-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.quick-link-grid a {
  border-radius: 6px;
  background: var(--surface-2);
  padding: 9px 10px;
  color: var(--content);
  font-size: 10.5px;
  font-weight: 600;
}

.drawer-promo {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 14px;
}

.drawer-promo strong {
  color: var(--content);
  font-size: 11.5px;
}

.drawer-promo p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.drawer-promo .button {
  margin-top: 10px;
  width: 100%;
}

.drawer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.drawer-meta > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
}

.drawer-meta .icon {
  width: 13px;
  height: 13px;
}

/* Cart */
.cart-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
}

.cart-heading h2 {
  color: var(--content);
  font-size: 13px;
  font-weight: 800;
}

.cart-heading h2 span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.cart-shipping {
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  padding: 11px 16px;
}

.cart-shipping p {
  color: var(--muted);
  font-size: 10.5px;
}

.cart-shipping p strong {
  color: var(--content);
}

.progress-track {
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width 350ms ease;
}

.cart-scroll {
  flex: 1;
  overflow-y: auto;
  padding-inline: 16px;
}

.cart-line {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-block: 14px;
}

.cart-line-image {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
}

.cart-line-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.cart-line-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cart-line-category {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cart-line-title {
  display: -webkit-box;
  margin-top: 2px;
  overflow: hidden;
  color: var(--content);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-line-sku {
  margin-top: 1px;
  color: var(--subtle);
  font-size: 8.5px;
}

.cart-line-price {
  flex-shrink: 0;
  color: var(--content);
  font-size: 12px;
  font-weight: 800;
}

.cart-line-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.qty-stepper {
  display: inline-flex;
  height: 28px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.qty-stepper button {
  display: inline-flex;
  width: 24px;
  height: 100%;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.qty-stepper button:hover {
  color: var(--content);
}

.qty-stepper button .icon {
  width: 11px;
  height: 11px;
}

.qty-stepper span {
  min-width: 20px;
  text-align: center;
  color: var(--content);
  font-size: 10px;
  font-weight: 700;
}

.remove-line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
}

.remove-line:hover {
  color: var(--danger);
}

.remove-line .icon {
  width: 11px;
  height: 11px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 12px 30px;
  text-align: center;
}

.cart-empty strong {
  margin-top: 12px;
  color: var(--content);
  font-size: 16px;
  font-weight: 800;
}

.cart-empty p {
  max-width: 260px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.cart-empty .button {
  margin-top: 16px;
}

.cart-empty > a {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
}

.cart-empty > a:hover {
  color: var(--content);
}

.cart-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-block: 12px;
}

.cart-trust span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 600;
  text-align: center;
}

.cart-trust .icon {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.cart-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 13px 16px 16px;
}

.cart-subtotal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.cart-subtotal strong {
  color: var(--content);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cart-footer > p {
  margin-top: 2px;
  color: var(--subtle);
  font-size: 9.5px;
}

.cart-checkout {
  width: 100%;
  margin-top: 12px;
}

.cart-continue {
  width: 100%;
  margin-top: 7px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.cart-continue:hover {
  color: var(--content);
}

/* Search overlay */
.search-panel {
  position: absolute;
  inset: 0 0 auto;
  max-height: 92dvh;
  overflow-y: auto;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
  opacity: 0;
  transition:
    transform 230ms cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 180ms ease;
}

.overlay.is-open .search-panel {
  transform: translateY(0);
  opacity: 1;
}

.overlay.is-closing .search-panel {
  transform: translateY(-10px);
  opacity: 0;
}

.search-panel-inner {
  padding-block: 18px 22px;
}

.search-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.search-form-large {
  height: 54px;
  margin-top: 24px;
  border-width: 2px;
}

.search-form-large .search-icon {
  width: 21px;
  height: 21px;
  margin-left: 12px;
}

.search-form-large input {
  font-size: 17px;
  padding-inline: 9px;
}

.search-form-large .search-submit {
  padding-inline: 24px;
  font-size: 12px;
}

.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.search-suggestions > span {
  margin-right: 2px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.search-suggestions button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 4px 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
}

.search-suggestions button:hover {
  border-color: var(--content);
  background: var(--content);
  color: var(--surface);
}

.search-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
}

.search-results-head p {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.search-results-head span {
  color: var(--subtle);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
}

.search-result {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 11px 0;
  text-align: left;
}

.search-result-image {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
}

.search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.search-result:hover .search-result-image img {
  transform: scale(1.04);
}

.search-result-body {
  min-width: 0;
  flex: 1;
}

.search-result-category {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-result-title {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--content);
  font-size: 11.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-sku {
  display: block;
  margin-top: 1px;
  color: var(--subtle);
  font-size: 8.5px;
}

.search-result-price {
  flex-shrink: 0;
  color: var(--content);
  font-size: 12px;
  font-weight: 800;
}

.search-result > .icon {
  width: 13px;
  height: 13px;
  color: var(--subtle);
}

.search-empty {
  grid-column: 1 / -1;
  padding: 36px 0;
}

.search-empty strong {
  display: block;
  color: var(--content);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.search-empty p {
  max-width: 430px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.search-empty .button {
  margin-top: 12px;
}

.search-panel-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  color: var(--muted);
  font-size: 10.5px;
}

.search-panel-foot a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 700;
}

.search-panel-foot .icon {
  width: 12px;
  height: 12px;
}

/* Quick view */
#quickview-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.quickview-modal {
  position: relative;
  width: min(100%, 940px);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px) scale(0.988);
  transition:
    opacity 200ms ease,
    transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.overlay.is-open .quickview-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.overlay.is-closing .quickview-modal {
  opacity: 0;
  transform: translateY(8px) scale(0.988);
}

.qv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.qv-media {
  position: relative;
  min-height: 430px;
  background: var(--surface-2);
}

.qv-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qv-media .product-badges {
  top: 14px;
  left: 14px;
}

.qv-media .wish-button {
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
}

.qv-body {
  padding: 28px;
}

.qv-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
}

.qv-category {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qv-title {
  margin-top: 6px;
  padding-right: 34px;
  color: var(--content);
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.qv-rating {
  margin-top: 9px;
}

.qv-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
}

.qv-price {
  color: var(--content);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.qv-was {
  color: var(--subtle);
  font-size: 12px;
  text-decoration: line-through;
}

.qv-tax {
  color: var(--muted);
  font-size: 9px;
}

.qv-desc {
  margin-top: 13px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.65;
}

.qv-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.qv-details li {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  color: var(--content);
  font-size: 10px;
  line-height: 1.45;
}

.qv-details .icon {
  width: 11px;
  height: 11px;
  margin-top: 2px;
  color: var(--success);
  stroke-width: 3;
}

.qv-buy-row {
  display: flex;
  align-items: stretch;
  gap: 7px;
  margin-top: 18px;
}

.qv-qty {
  display: inline-flex;
  height: 41px;
  flex-shrink: 0;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.qv-qty button {
  display: inline-flex;
  width: 30px;
  height: 100%;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.qv-qty button:hover {
  color: var(--content);
}

.qv-qty .icon {
  width: 12px;
  height: 12px;
}

.qv-qty span {
  min-width: 22px;
  text-align: center;
  color: var(--content);
  font-size: 11px;
  font-weight: 700;
}

.qv-add {
  flex: 1;
}

.qv-wish {
  display: inline-flex;
  width: 41px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}

.qv-wish:hover {
  color: var(--danger);
}

.qv-wish.is-saved {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.qv-buy-now {
  width: 100%;
  margin-top: 7px;
}

.qv-trust {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.qv-trust p {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 10px;
}

.qv-trust .icon {
  width: 13px;
  height: 13px;
  color: var(--primary);
}

.qv-trade {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
}

.qv-trade:hover {
  color: var(--content);
}

.qv-trade .icon {
  width: 11px;
  height: 11px;
}

/* Toast */
.toast-region {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 120;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: #111820;
  padding: 11px 12px;
  color: #fff;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.65);
  animation: toastIn 240ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  pointer-events: auto;
}

.toast-icon {
  display: inline-flex;
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #d9f27e;
  color: #111820;
}

.toast-icon .icon {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

.toast-copy {
  min-width: 0;
  flex: 1;
}

.toast-copy strong {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.toast-copy span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
}

.toast-close {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.toast-close .icon {
  width: 11px;
  height: 11px;
}

.toast.is-leaving {
  animation: toastOut 180ms ease both;
}

/* Scroll reveals */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 520ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes megaIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(9px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(6px);
  }
}

@keyframes cartBump {
  0%,
  100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.06);
  }
}

/* Responsive */
@media (min-width: 1280px) {
  html {
    scroll-padding-top: 145px;
  }

  .category-intro {
    display: flex;
  }

  .category-section::after {
    display: none;
  }

  .hero-content {
    padding: 42px;
  }
}

@media (max-width: 1180px) {
  .header-search {
    max-width: 560px;
  }

  .nav-meta span {
    display: none;
  }

  .primary-nav a {
    padding-inline: 8px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  html {
    scroll-padding-top: 120px;
  }

  body {
    padding-bottom: calc(58px + env(safe-area-inset-bottom));
  }

  .topbar {
    display: none;
  }

  .header-menu {
    display: inline-flex;
    margin-left: -6px;
  }

  .header-main {
    min-height: 62px;
    gap: 10px;
  }

  .header-search,
  .nav-row {
    display: none;
  }

  .mobile-search {
    display: block;
  }

  .search-form {
    height: 40px;
  }

  .header-action.account-action {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    grid-template-columns: 1fr 1fr;
  }

  .hero-main,
  .hero-content {
    min-height: 390px;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    display: none;
  }

  .mobile-filter-button {
    display: inline-flex;
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .story-media {
    min-height: 280px;
  }

  .trade-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .trade-benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 24px;
  }

  .footer-links:last-child {
    grid-column: 2;
  }

  .mobile-tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 96%, transparent);
    padding-bottom: env(safe-area-inset-bottom);
    backdrop-filter: blur(12px);
  }

  .mobile-tabbar a,
  .mobile-tabbar button {
    display: flex;
    min-height: 55px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 9px;
    font-weight: 600;
  }

  .mobile-tabbar .icon {
    width: 17px;
    height: 17px;
  }

  .tab-cart-icon {
    position: relative;
    display: inline-flex;
  }

  .tab-cart-count {
    position: absolute;
    top: -6px;
    right: -11px;
    min-width: 14px;
    height: 14px;
    font-size: 8px;
  }

  .toast-region {
    right: 16px;
    bottom: calc(70px + env(safe-area-inset-bottom));
    left: 16px;
    width: auto;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-block: 12px;
  }

  .hero-main {
    min-height: 420px;
  }

  .hero-media {
    inset: 0;
    width: 100%;
    opacity: 0.24;
  }

  .hero-media::after {
    background: linear-gradient(0deg, #eef3ff 5%, rgba(238, 243, 255, 0.82) 52%, rgba(238, 243, 255, 0.48) 100%);
  }

  .dark .hero-media::after {
    background: linear-gradient(0deg, var(--primary-soft) 5%, rgba(24, 34, 65, 0.86) 55%, rgba(24, 34, 65, 0.45) 100%);
  }

  .hero-content {
    max-width: none;
    min-height: 420px;
    padding: 26px 22px;
  }

  .hero-content h1 {
    font-size: clamp(31px, 8.8vw, 42px);
  }

  .hero-content > p {
    font-size: 12.5px;
  }

  .hero-float {
    display: none;
  }

  .hero-side {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .promo {
    min-height: 178px;
    padding: 16px;
  }

  .promo-content {
    max-width: 140px;
  }

  .promo-content strong {
    font-size: 15px;
  }

  .promo-content small {
    display: none;
  }

  .promo-link {
    font-size: 9.5px;
  }

  .promo > img {
    width: 68%;
  }

  .category-row {
    margin-inline: -16px;
    padding-inline: 16px;
  }

  .category-item {
    min-width: 86px;
  }

  .category-icon {
    width: 36px;
    height: 36px;
  }

  .deals-section,
  .shop-section,
  .story-section,
  .trade-section {
    padding-block: 22px;
  }

  .deal-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-inline: -16px;
    padding: 0 16px 3px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
  }

  .deal-grid::-webkit-scrollbar {
    display: none;
  }

  .deal-grid .product-card {
    width: 220px;
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-info {
    padding: 9px;
  }

  .product-title {
    font-size: 11.5px;
    min-height: 38px;
  }

  .price {
    font-size: 15.5px;
  }

  .product-shipping {
    font-size: 8.5px;
  }

  .product-proof {
    font-size: 8.5px;
  }

  .add-to-cart,
  .buy-now-card {
    height: 32px;
    font-size: 9.5px;
  }

  .card-cart-row {
    gap: 4px;
    padding-top: 9px;
  }

  .card-cart-row .icon {
    display: none;
  }

  .quickview-button {
    display: none;
  }

  .shop-heading > div > p:last-child {
    font-size: 11px;
  }

  .stock-note {
    display: none;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-left: 0 !important;
    border-bottom: 1px solid var(--line);
    padding: 13px 0 !important;
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .story-copy {
    padding: 22px 18px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .story-media {
    min-height: 230px;
  }

  .story-caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .trade-card {
    padding: 23px 18px;
  }

  .trade-benefits {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
    padding-block: 26px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-links:last-child {
    grid-column: auto;
  }

  .footer-newsletter {
    align-items: flex-start;
  }

  .footer-partners {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .partner-logo {
    height: 29px;
    padding: 4px 7px;
  }

  .footer-bottom {
    align-items: flex-start;
  }

  .search-results {
    grid-template-columns: 1fr;
  }

  .search-form-large {
    height: 48px;
    margin-top: 18px;
  }

  .search-form-large input {
    font-size: 15px;
  }

  .search-panel-inner {
    padding-block: 13px 18px;
  }

  .qv-grid {
    grid-template-columns: 1fr;
  }

  .qv-media {
    min-height: 260px;
    max-height: 300px;
  }

  .qv-body {
    padding: 20px 18px;
  }

  .qv-title {
    font-size: 21px;
  }

  .qv-price {
    font-size: 24px;
  }

  .qv-details {
    grid-template-columns: 1fr;
  }

  .qv-buy-row {
    flex-wrap: wrap;
  }

  .qv-add {
    min-width: calc(100% - 90px);
  }

  .qv-wish {
    width: 41px;
  }

  .quickview-modal {
    border-radius: 10px;
  }

  #quickview-overlay {
    align-items: flex-start;
    padding-top: 18px;
  }

  .topbar-inner {
    min-height: 30px;
  }

  .topbar-left a:nth-of-type(2) {
    display: none;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 22px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-sub {
    font-size: 6px;
  }

  .theme-label,
  .header-action > span:not(.cart-count) {
    display: none;
  }

  .theme-toggle {
    padding-inline: 9px;
  }

  .header-actions {
    gap: 2px;
  }

  .header-action {
    padding-inline: 7px;
  }

  .hero-content {
    padding: 22px 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-usps {
    gap: 6px 10px;
    font-size: 9.5px;
  }

  .promo {
    min-height: 156px;
    padding: 13px;
  }

  .promo-content strong {
    font-size: 13.5px;
  }

  .promo-tag {
    font-size: 8px;
  }

  .promo-link {
    font-size: 8.5px;
  }

  .deals-title-row {
    gap: 7px;
  }

  .countdown-pill {
    font-size: 9px;
  }

  .mobile-filter-grid {
    grid-template-columns: 1fr;
  }

  .qty-stepper {
    height: 26px;
  }

  .cart-line-image {
    width: 62px;
    height: 62px;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .button {
    width: 100%;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
