/* ItemPromoters — dark theme mockup
   Tokens adapted from assets/DESIGN.md + attached product card palette */

:root {
  /* Dark surfaces (card-matched) */
  --canvas: #07070b;
  --canvas-elevated: #0d0d12;
  --canvas-soft: #12121a;
  --card-bg: #0a0a10;
  --hairline: rgba(124, 58, 237, 0.28);
  --hairline-mute: rgba(165, 180, 252, 0.12);

  /* Brand / accents from logo + card */
  --primary: #7c3aed;
  --primary-deep: #6d28d9;
  --primary-soft: #a78bfa;
  --primary-glow: rgba(124, 58, 237, 0.45);
  --amazon-top: #ffd700;
  --amazon-bottom: #ff8c00;
  --star: #fbbf24;
  --on-primary: #ffffff;

  /* Text */
  --ink: #ffffff;
  --ink-secondary: #c4c4d4;
  --ink-mute: #9ca3af;
  --ink-lavender: #b8b4d8;

  /* Radius / spacing from DESIGN.md */
  --rounded-xs: 4px;
  --rounded-sm: 6px;
  --rounded-md: 8px;
  --rounded-lg: 12px;
  --rounded-xl: 16px;
  --rounded-2xl: 28px;
  --rounded-pill: 9999px;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-xxl: 32px;
  --space-huge: 64px;

  --container: 1200px;
  --header-h: 76px;

  --font: Inter, "SF Pro Display", system-ui, -apple-system, sans-serif;
  --shadow-card: 0 0 0 1px var(--hairline), 0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(124, 58, 237, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-secondary);
  background: var(--canvas);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary-soft);
  text-decoration: none;
}

a:hover {
  color: var(--on-primary);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

/* Atmospheric mesh (dark adaptation of DESIGN.md gradient mesh) */
.mesh-glow {
  position: fixed;
  inset: 0 0 auto 0;
  height: 42vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 0%, rgba(124, 58, 237, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 70% at 85% 10%, rgba(234, 34, 97, 0.18), transparent 50%),
    radial-gradient(ellipse 40% 50% at 55% 0%, rgba(255, 140, 0, 0.1), transparent 45%);
  filter: blur(8px);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Typography */
.display-xxl {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -1.4px;
  color: var(--ink);
  font-feature-settings: "ss01";
}

.display-lg {
  margin: 0;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.64px;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 var(--space-md);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-soft);
}

.section-sub,
.hero-lead {
  margin: var(--space-md) 0 0;
  max-width: 52ch;
  font-size: 16px;
  font-weight: 300;
  color: var(--ink-mute);
}

.section-head {
  margin-bottom: var(--space-xxl);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--rounded-pill);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary-pill {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-primary-pill:hover {
  background: var(--primary-deep);
  color: var(--on-primary);
}

.btn-ghost {
  border: 1px solid var(--hairline);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: var(--primary-soft);
  color: var(--on-primary);
}

.btn-amazon {
  background: linear-gradient(to top, #ff8c00, #ffd700);
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
  box-shadow: 0 8px 24px rgba(255, 140, 0, 0.28);
}

.btn-amazon:hover {
  color: #fff;
  filter: brightness(1.05);
}

.btn-view-deal {
  border: 1.5px solid var(--primary);
  color: var(--ink);
  background: transparent;
  border-radius: var(--rounded-lg);
}

.btn-view-deal:hover {
  background: rgba(124, 58, 237, 0.12);
  color: var(--ink);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 7, 11, 0.78);
  border-bottom: 1px solid var(--hairline-mute);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font);
  font-style: italic;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.brand-name-main {
  background: linear-gradient(90deg, #c4b5fd 0%, #a78bfa 35%, #e9e4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.brand-name-tld {
  color: #ff8a3d;
  -webkit-text-fill-color: #ff8a3d;
  font-size: 0.92em;
}

.brand-footer .brand-mark {
  width: 40px;
  height: 40px;
}

.brand-footer .brand-name {
  font-size: 1.2rem;
}

.brand-footer {
  margin-bottom: var(--space-md);
}

.primary-nav {
  flex: 1;
  align-self: stretch;
  display: flex;
}

.nav-list {
  display: flex;
  align-items: stretch;
  gap: 4px;
  height: 100%;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--rounded-pill);
  color: var(--ink-secondary);
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-item.has-mega:hover > .nav-link,
.nav-item.has-mega.is-open > .nav-link {
  color: var(--ink);
  background: rgba(124, 58, 237, 0.12);
}

.chevron {
  font-size: 11px;
  transition: transform 0.2s ease;
}

.nav-item.has-mega.is-open .chevron,
.nav-item.has-mega:hover .chevron {
  transform: rotate(180deg);
}

.header-actions {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  border-radius: var(--rounded-md);
  border: 1px solid var(--hairline-mute);
  color: var(--ink);
  font-size: 18px;
}

/* Mega menu */
.has-mega {
  position: static;
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 0 24px 24px;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transform: none;
  transition: opacity 0.15s ease, visibility 0.15s;
  pointer-events: none;
}

/* Full-width hover bridge so the pointer never “falls through” between nav and panel */
.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: calc(var(--header-h) + 4px);
}

.nav-item.has-mega:hover .mega-menu,
.nav-item.has-mega:focus-within .mega-menu,
.nav-item.has-mega.is-open .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr) minmax(200px, 0.9fr);
  gap: var(--space-xl);
  width: min(100%, var(--container));
  margin-inline: auto;
  padding: var(--space-xxl);
  border-radius: 0 0 var(--rounded-2xl) var(--rounded-2xl);
  background: linear-gradient(180deg, #12121c 0%, #0c0c14 100%);
  border: 1px solid var(--hairline);
  border-top: none;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(124, 58, 237, 0.08),
    0 0 60px rgba(124, 58, 237, 0.15);
}

.mega-heading {
  margin: 0 0 var(--space-md);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-soft);
}

.mega-col ul {
  display: grid;
  gap: 2px;
}

.mega-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--rounded-md);
  color: var(--ink-secondary);
  font-size: 14px;
  font-weight: 400;
  transition: background 0.15s ease, color 0.15s ease;
}

.mega-col a:hover {
  background: rgba(124, 58, 237, 0.16);
  color: var(--ink);
}

.mega-icon {
  width: 1em;
  color: var(--primary-soft);
  font-size: 11px;
  flex-shrink: 0;
}

.mega-promo {
  padding: var(--space-xl);
  border-radius: var(--rounded-xl);
  background:
    radial-gradient(circle at 20% 0%, rgba(124, 58, 237, 0.35), transparent 55%),
    linear-gradient(160deg, #1a1030, #0e0e16);
  border: 1px solid var(--hairline);
}

.mega-promo-eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amazon-bottom);
  font-weight: 500;
}

.mega-promo-title {
  margin: 8px 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--ink);
  line-height: 1.2;
}

.mega-promo-text {
  margin: 0 0 var(--space-lg);
  font-size: 13px;
  color: var(--ink-mute);
}

.mega-promo-cta {
  width: 100%;
  border-radius: var(--rounded-lg);
}

/* Hero */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 var(--space-huge);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-huge);
  align-items: center;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.hero-ad {
  position: relative;
  width: 100%;
}

.ad-card {
  position: relative;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--rounded-2xl);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(255, 140, 0, 0.14), transparent 50%),
    radial-gradient(ellipse 70% 55% at 0% 100%, rgba(124, 58, 237, 0.28), transparent 55%),
    linear-gradient(160deg, #161622 0%, #0c0c14 100%);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.ad-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 40%);
}

.ad-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-lg);
}

.ad-label {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: var(--rounded-xs);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--ink-mute);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-sponsor {
  color: var(--ink-mute);
  font-size: 12px;
  font-weight: 400;
}

.ad-product {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-soft);
}

.ad-headline {
  margin: 0 0 var(--space-md);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.2;
  color: var(--ink);
}

.ad-body {
  margin: 0 0 var(--space-xl);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.btn-ad {
  width: 100%;
  border-radius: var(--rounded-lg);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--on-primary);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.btn-ad:hover {
  color: var(--on-primary);
  filter: brightness(1.08);
}

/* Sections */
.section {
  padding: var(--space-huge) 0;
}

.deals {
  padding-top: 0;
}

/* 3 cards / row on desktop — portrait card unit (not full-bleed) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  padding: 18px;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 55% 45% at 22% 22%, rgba(124, 58, 237, 0.32), transparent 55%),
    linear-gradient(165deg, #14141c 0%, #0c0c12 55%, #0a0a10 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.5),
    0 0 36px rgba(124, 58, 237, 0.12);
  animation: card-in 0.7s ease both;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.15),
    0 20px 48px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(124, 58, 237, 0.18);
  transform: translateY(-3px);
}

.product-card:nth-child(2) {
  animation-delay: 0.08s;
}

.product-card:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wish-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  color: var(--primary-soft);
  padding: 4px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.wish-btn:hover,
.wish-btn.is-active {
  color: #f472b6;
  transform: scale(1.08);
}

.badge-deal i {
  font-size: 10px;
}

.flame {
  color: #ff8c00;
  font-size: 14px;
}

.card-top {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.card-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 2px;
  min-width: 0;
  width: 100%;
}

.badge-deal {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 7px;
  background: #cc0c39;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge-deal i {
  font-size: 10px;
}

.media-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 85%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.7) 0%, rgba(124, 58, 237, 0.18) 42%, transparent 70%);
  filter: blur(14px);
  pointer-events: none;
}

.product-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 168px;
  object-fit: contain;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 65%);
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.45));
}

.trending-pill {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  background: linear-gradient(90deg, #3b1d6e, #241445 55%, #16122a);
  border: 1px solid rgba(124, 58, 237, 0.4);
}

.trending-pill strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.trending-pill span:last-child {
  display: block;
  font-size: 10px;
  color: #b8b4d8;
}

.card-info {
  padding-right: 0;
  padding-top: 0;
  min-width: 0;
  width: 100%;
}

.product-title {
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--ink);
  line-height: 1.25;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-feature-settings: "tnum";
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--star);
  font-size: 12px;
}

.review-count {
  color: var(--ink-mute);
  font-size: 12px;
}

.badge-choice {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 9999px;
  border: 1px solid #7c3aed;
  background: rgba(124, 58, 237, 0.08);
  color: var(--ink);
  font-size: 10px;
  font-weight: 500;
}

.badge-choice i {
  font-size: 11px;
}

.price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
  font-feature-settings: "tnum";
}

.price {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--ink);
  line-height: 1;
}

.discount {
  padding: 3px 7px;
  border-radius: 5px;
  background: #7c3aed;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.price-was {
  width: 100%;
  margin-top: -2px;
  color: var(--ink-mute);
  font-size: 12px;
  text-decoration: line-through;
}

.feature-list {
  display: grid;
  gap: 8px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c8c4e0;
  font-size: 12px;
}

.feature-list i {
  flex-shrink: 0;
  width: 1.1em;
  color: #a78bfa;
  font-size: 13px;
  text-align: center;
}

.product-desc {
  margin: 0;
  color: #c8c4e0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.card-actions .btn {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 12px;
  padding: 8px 10px;
  gap: 5px;
}

.card-actions .fa-amazon {
  font-size: 16px;
}

.card-actions .fa-fire {
  color: #ff8c00;
  font-size: 12px;
}

.affiliate-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 12px 0 0;
  color: var(--ink-mute);
  font-size: 9px;
  text-align: center;
  line-height: 1.3;
}

.affiliate-note i {
  flex-shrink: 0;
  opacity: 0.7;
  font-size: 10px;
}

/* Footer */
.site-footer {
  margin-top: var(--space-huge);
  padding: var(--space-huge) 0 var(--space-xl);
  border-top: 1px solid var(--hairline-mute);
  background: #06060a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--space-xxl);
}

.footer-brand p {
  margin: 0;
  max-width: 36ch;
  color: var(--ink-mute);
  font-size: 13px;
}

.site-footer h4 {
  margin: 0 0 var(--space-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer a {
  color: var(--ink-mute);
  font-size: 13px;
}

.site-footer a:hover {
  color: var(--primary-soft);
}

.footer-bottom {
  margin-top: var(--space-xxl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--hairline-mute);
}

.footer-bottom p {
  margin: 0;
  color: var(--ink-mute);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 1100px) {
  .mega-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .mega-promo {
    grid-column: 1 / -1;
  }

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

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

@media (max-width: 900px) {
  .hero {
    padding: 32px 0 40px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-cta-row .btn {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .product-card {
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .display-xxl {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .section {
    padding: 40px 0;
  }

  .section-head {
    margin-bottom: var(--space-xl);
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions {
    display: none;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 12px 16px 20px;
    background: rgba(10, 10, 16, 0.98);
    border-bottom: 1px solid var(--hairline);
    max-height: min(80vh, 640px);
    overflow-y: auto;
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    border-radius: var(--rounded-md);
  }

  .mega-menu {
    position: static;
    padding: 0 0 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .mega-menu::before {
    display: none;
  }

  .nav-item.has-mega.is-open .mega-menu {
    display: block;
  }

  .mega-inner {
    grid-template-columns: 1fr;
    padding: var(--space-lg);
    border-radius: var(--rounded-xl);
    border-top: 1px solid var(--hairline);
  }

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

  .product-card {
    max-width: 100%;
    padding: 16px;
    animation: none;
  }

  .product-card:hover {
    transform: none;
  }

  .product-img {
    height: 150px;
  }

  .product-title {
    font-size: 16px;
  }

  .price {
    font-size: 22px;
  }

  .card-actions .btn {
    min-height: 40px;
    font-size: 11px;
  }

  .ad-card {
    padding: 20px;
  }

  .ad-headline {
    font-size: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .site-footer {
    margin-top: 40px;
    padding: 40px 0 var(--space-xl);
  }

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

  .brand-name {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .product-title {
    font-size: 18px;
  }

  .product-img {
    height: 160px;
  }

  .trending-pill {
    max-width: 100%;
  }

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

  .card-actions .btn {
    font-size: 14px;
    min-height: 46px;
  }
}

@media (max-width: 400px) {
  .brand-name {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
