/* Classic — current Purvamart: purple/orange, serif headings */
html[data-theme="classic"] {
  --purple: #5b4fe8;
  --purple-dark: #4a3fd4;
  --purple-light: #eeecfd;
  --purple-muted: #7b72ef;
  --orange: #f97316;
  --accent-secondary: #f97316;

  --bg: #f8f9fa;
  --bg-card: #ffffff;
  --bg-dark: #111827;
  --bg-hero: linear-gradient(135deg, #fafafe 0%, #f0effe 50%, #ffe8d6 100%);

  --ink: #111827;
  --text: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --line: #e5e7eb;
  --border: #e5e7eb;

  --shadow: 0 4px 24px rgba(17, 24, 39, 0.06);
  --shadow-lg: 0 12px 40px rgba(91, 79, 232, 0.12);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  /* Match pre-theme-switcher production: Inter throughout, no serif bump */
  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --heading-weight: 600;
  --logo-weight: 600;

  --grid-gap: 16px;
  --card-pad: 12px 14px 14px;
  --product-min: 190px;
  --product-shadow: var(--shadow);
  --product-shadow-hover: var(--shadow-lg);

  --header-shadow: 0 1px 0 var(--line);
  --trust-shadow: none;
  --gift-border: 2px solid var(--purple);
  --gift-accent: linear-gradient(180deg, var(--purple) 0%, var(--orange) 100%);

  --announcement-bg: var(--purple-dark);
  --footer-bg: var(--bg-dark);

  --banner-radius: var(--radius);
  --banner-border: 1px solid var(--line);
  --banner-shadow: none;
  --banner-fit: contain;
  --hero-aspect: 12 / 5;
  --vendor-aspect: 21 / 6;
  --banner-dot-active: var(--purple);
}
/* Kirana Fresh — green market feel, tighter cards */
html[data-theme="kirana-fresh"] {
  --purple: #059669;
  --purple-dark: #047857;
  --purple-light: #d1fae5;
  --purple-muted: #34d399;
  --orange: #ca8a04;
  --accent-secondary: #ca8a04;

  --bg: #f0fdf4;
  --bg-card: #ffffff;
  --bg-dark: #064e3b;
  --bg-hero: linear-gradient(120deg, #ecfdf5 0%, #d1fae5 55%, #fef9c3 100%);

  --ink: #052e16;
  --text: #14532d;
  --text-muted: #4d7c59;
  --text-light: #86a88f;
  --line: #bbf7d0;
  --border: #a7f3d0;

  --shadow: 0 2px 8px rgba(5, 46, 22, 0.06);
  --shadow-lg: 0 6px 20px rgba(5, 150, 105, 0.14);

  --radius: 8px;
  --radius-sm: 6px;
  --radius-pill: 6px;

  --font-display: 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --heading-weight: 700;
  --logo-weight: 700;
  --logo-track: 0;

  --grid-gap: 10px;
  --card-pad: 8px 10px 10px;
  --product-min: 160px;
  --product-title-size: 0.78rem;
  --price-size: 0.88rem;
  --product-shadow: 0 1px 3px rgba(5, 46, 22, 0.08);
  --product-shadow-hover: 0 4px 12px rgba(5, 150, 105, 0.18);
  --product-hover-transform: none;

  --header-pad: 10px 16px;
  --header-gap: 14px;
  --section-gap: 12px;
  --trust-pad: 10px 14px;
  --trust-gap: 8px;
  --trust-icon-size: 30px;
  --trust-icon-radius: 6px;
  --trust-icon-bg: #ecfdf5;
  --trust-icon-color: #059669;

  --hero-border: 2px solid #a7f3d0;
  --hero-min-h: 200px;
  --gift-pad: 12px 16px;
  --gift-border: 2px solid #059669;
  --gift-accent: #059669;
  --gift-title-size: 0.95rem;

  --announcement-bg: #047857;
  --announcement-link: #bbf7d0;
  --search-bg: #fff;
  --search-border: 2px solid #a7f3d0;

  --banner-radius: 8px;
  --banner-border: 2px solid #a7f3d0;
  --banner-shadow: 0 2px 8px rgba(5, 46, 22, 0.08);
  --banner-dot-active: #059669;
  --vendor-aspect: 21 / 7;

  --cart-btn-pad: 7px 10px;
  --btn-pad: 9px 16px;

  --footer-bg: #064e3b;
  --footer-brand-color: #ecfdf5;
}
/* Minimal — white space, thin borders, sans-serif */
html[data-theme="minimal"] {
  --purple: #18181b;
  --purple-dark: #09090b;
  --purple-light: #fafafa;
  --purple-muted: #71717a;
  --orange: #18181b;
  --accent-secondary: #71717a;

  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-dark: #fafafa;
  --bg-hero: #fafafa;

  --ink: #09090b;
  --text: #3f3f46;
  --text-muted: #71717a;
  --text-light: #a1a1aa;
  --line: #e4e4e7;
  --border: #e4e4e7;

  --shadow: none;
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.04);

  --radius: 4px;
  --radius-sm: 2px;
  --radius-pill: 2px;

  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --heading-weight: 600;
  --logo-weight: 600;
  --heading-track: 0;
  --line-height: 1.7;

  --container-pad: 28px;
  --grid-gap: 24px;
  --card-pad: 16px 16px 18px;
  --product-min: 200px;
  --product-border: 1px solid var(--line);
  --product-shadow: none;
  --product-shadow-hover: none;
  --product-hover-transform: none;

  --header-border: 1px solid var(--line);
  --header-shadow: none;
  --header-pad: 20px 28px;
  --search-border: 1px solid var(--line);
  --search-bg: #fff;
  --search-pad: 12px 16px;

  --hero-border: 1px solid var(--line);
  --hero-shadow: none;
  --hero-pad: 48px 40px;
  --hero-min-h: 260px;
  --hero-max-h: 360px;

  --trust-bg: transparent;
  --trust-border: 1px solid var(--line);
  --trust-shadow: none;
  --trust-pad: 20px 24px;
  --trust-icon-bg: transparent;
  --trust-icon-color: var(--ink);
  --trust-icon-radius: 0;
  --trust-icon-size: 28px;

  --gift-border: 1px solid var(--line);
  --gift-accent: var(--ink);
  --gift-shadow: none;
  --gift-pad: 24px 28px;
  --gift-title-color: var(--ink);
  --gift-title-size: 1rem;

  --btn-primary-bg: var(--ink);
  --btn-primary-hover: #27272a;
  --btn-primary-border: 1px solid var(--ink);
  --btn-outline-border: 1px solid var(--line);
  --cart-btn-bg: var(--ink);
  --cart-btn-hover: #27272a;
  --price-color: var(--ink);

  --announcement-bg: #fafafa;
  --announcement-text: var(--text-muted);
  --announcement-link: var(--ink);
  --announcement-track: 0.02em;
  --announcement-pad: 10px 16px;

  --footer-bg: #fafafa;
  --footer-text: var(--text);
  --footer-heading: var(--ink);
  --footer-link: var(--text-muted);
  --footer-brand-color: var(--ink);
  --footer-divider: var(--line);
  --footer-copy: var(--text-muted);
  --payment-badge: rgba(0,0,0,0.04);

  --banner-radius: 0;
  --banner-border: 1px solid var(--line);
  --banner-shadow: none;
  --banner-fit: contain;
  --banner-viewport-bg: #fafafa;
  --banner-arrow-bg: #fff;
  --hero-aspect: 12 / 5;
  --vendor-aspect: 21 / 7;
  --banner-dot-active: var(--ink);
}

[data-theme="minimal"] .payment-badge {
  background: #f4f4f5;
  color: var(--ink);
}
/* Festival — gold/red Nepal festive accents */
html[data-theme="festival"] {
  --purple: #b91c1c;
  --purple-dark: #7f1d1d;
  --purple-light: #fef2f2;
  --purple-muted: #dc2626;
  --orange: #d97706;
  --accent-secondary: #ca8a04;

  --bg: #fffbeb;
  --bg-card: #ffffff;
  --bg-dark: #450a0a;
  --bg-hero: linear-gradient(135deg, #fef3c7 0%, #fde68a 40%, #fecaca 100%);

  --ink: #450a0a;
  --text: #78350f;
  --text-muted: #92400e;
  --text-light: #b45309;
  --line: #fcd34d;
  --border: #fde68a;

  --shadow: 0 4px 16px rgba(185, 28, 28, 0.08);
  --shadow-lg: 0 12px 36px rgba(217, 119, 6, 0.18);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --font-display: 'Merriweather', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --heading-weight: 900;
  --logo-weight: 900;

  --grid-gap: 14px;
  --card-pad: 12px 14px 14px;
  --product-min: 185px;
  --product-border: 2px solid #fde68a;
  --product-shadow: var(--shadow);
  --product-shadow-hover: var(--shadow-lg);
  --badge-bg: #b91c1c;

  --header-bg: linear-gradient(180deg, #fff 0%, #fffbeb 100%);
  --header-border: 2px solid #fcd34d;
  --header-shadow: 0 2px 8px rgba(185, 28, 28, 0.06);

  --hero-border: 2px solid #fbbf24;
  --hero-shadow: var(--shadow-lg);
  --hero-tag: background linear-gradient(90deg, #b91c1c, #d97706);

  --trust-bg: linear-gradient(180deg, #fff 0%, #fef3c7 100%);
  --trust-border: 2px solid #fcd34d;
  --trust-icon-bg: linear-gradient(135deg, #fef3c7, #fecaca);
  --trust-icon-color: #b91c1c;
  --trust-shadow: var(--shadow);

  --gift-border: 2px solid #d97706;
  --gift-accent: linear-gradient(180deg, #b91c1c 0%, #d97706 50%, #ca8a04 100%);
  --gift-bg: linear-gradient(90deg, #fff 0%, #fffbeb 100%);
  --gift-title-color: #b91c1c;
  --gift-shadow: var(--shadow-lg);

  --btn-primary-bg: linear-gradient(135deg, #b91c1c 0%, #d97706 100%);
  --btn-primary-hover: #7f1d1d;
  --cart-btn-bg: #b91c1c;
  --cart-btn-hover: #7f1d1d;
  --price-color: #b91c1c;

  --announcement-bg: linear-gradient(90deg, #7f1d1d 0%, #b91c1c 50%, #d97706 100%);
  --announcement-link: #fde68a;

  --banner-radius: 12px;
  --banner-border: 2px solid #fbbf24;
  --banner-shadow: var(--shadow-lg);
  --banner-dot-active: #d97706;
  --vendor-aspect: 21 / 6;

  --footer-bg: linear-gradient(180deg, #450a0a 0%, #7f1d1d 100%);
  --footer-brand-color: #fde68a;
}

[data-theme="festival"] .hero-tag {
  background: linear-gradient(90deg, #b91c1c, #d97706);
  color: #fff;
}

[data-theme="festival"] .btn-primary {
  background: linear-gradient(135deg, #b91c1c 0%, #d97706 100%);
}

[data-theme="festival"] .category-promo-banner {
  border-color: #fbbf24;
  box-shadow: var(--shadow-lg);
}
[data-theme="festival"] .category-promo-tag {
  color: #b91c1c;
}
/* Bold Marketplace — dense cards, strong shadows */
html[data-theme="bold-marketplace"] {
  --purple: #2563eb;
  --purple-dark: #1d4ed8;
  --purple-light: #dbeafe;
  --purple-muted: #3b82f6;
  --orange: #f59e0b;
  --accent-secondary: #f59e0b;

  --bg: #eef2ff;
  --bg-card: #ffffff;
  --bg-dark: #0f172a;
  --bg-hero: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #0ea5e9 100%);

  --ink: #0f172a;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --line: #cbd5e1;
  --border: #cbd5e1;

  --shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 16px 48px rgba(37, 99, 235, 0.22);

  --radius: 10px;
  --radius-sm: 8px;
  --radius-pill: 6px;

  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --heading-weight: 800;
  --logo-weight: 900;
  --section-title-size: 1.25rem;

  --grid-gap: 8px;
  --card-pad: 8px 10px 10px;
  --product-min: 155px;
  --product-title-size: 0.76rem;
  --price-size: 0.9rem;
  --product-border: none;
  --product-shadow: 0 6px 20px rgba(15, 23, 42, 0.14);
  --product-shadow-hover: 0 12px 32px rgba(37, 99, 235, 0.28);
  --product-hover-transform: translateY(-4px) scale(1.01);
  --product-img-bg: #f1f5f9;

  --header-pad: 10px 16px;
  --header-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
  --header-gap: 12px;
  --header-actions-gap: 8px;
  --icon-btn-border: 1px solid var(--line);
  --icon-btn-bg: #fff;

  --hero-border: none;
  --hero-shadow: var(--shadow-lg);
  --hero-min-h: 200px;
  --hero-max-h: 280px;
  --hero-pad: 24px 28px;

  --trust-pad: 10px 12px;
  --trust-gap: 6px;
  --trust-icon-size: 28px;
  --trust-shadow: var(--shadow);
  --trust-border: none;

  --gift-pad: 12px 16px;
  --gift-border: none;
  --gift-accent: #2563eb;
  --gift-shadow: var(--shadow-lg);
  --gift-title-size: 0.92rem;

  --cart-btn-pad: 7px 8px;
  --btn-pad: 10px 18px;
  --search-pad: 8px 12px;

  --announcement-bg: #0f172a;
  --footer-bg: #0f172a;

  --banner-radius: 10px;
  --banner-border: none;
  --banner-shadow: var(--shadow-lg);
  --banner-fit: contain;
  --banner-viewport-bg: #0f172a;
  --banner-arrow-bg: rgba(255, 255, 255, 0.95);
  --banner-dot-active: #f59e0b;
  --hero-aspect: 12 / 5;
  --vendor-aspect: 21 / 5;
}

[data-theme="bold-marketplace"] .hero-copy h1,
[data-theme="bold-marketplace"] .hero-copy p,
[data-theme="bold-marketplace"] .hero-tag {
  color: #fff;
}
[data-theme="bold-marketplace"] .hero-tag {
  background: rgba(255,255,255,0.2);
}
[data-theme="bold-marketplace"] .hero-copy p { opacity: 0.9; }
[data-theme="bold-marketplace"] .btn-primary {
  background: #f59e0b;
  color: #0f172a;
}
[data-theme="bold-marketplace"] .btn-primary:hover { background: #d97706; }
[data-theme="bold-marketplace"] .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

[data-theme="bold-marketplace"] .category-promo-banner {
  box-shadow: var(--shadow-lg);
  border: none;
}
[data-theme="bold-marketplace"] .category-promo-tag {
  color: #2563eb;
}

/* Default production look before JS sets data-theme */
:root,
html[data-theme="classic"] {
  --accent: var(--purple);
  --accent-light: var(--purple-light);
  --accent-dark: var(--purple-dark);
}

[data-theme="minimal"] .btn-primary {
  background: var(--btn-primary-bg, var(--ink));
  border: var(--btn-primary-border, none);
}
[data-theme="minimal"] .btn-primary:hover {
  background: var(--btn-primary-hover, #27272a);
}
[data-theme="minimal"] .product-price,
[data-theme="minimal"] .cart-total strong {
  color: var(--price-color, var(--ink));
}
[data-theme="minimal"] .announcement {
  background: var(--announcement-bg);
  color: var(--announcement-text);
}
[data-theme="minimal"] .announcement a {
  color: var(--announcement-link);
}
[data-theme="minimal"] .site-footer,
[data-theme="minimal"] footer {
  background: var(--footer-bg);
  color: var(--footer-text, var(--text));
}

[data-theme="kirana-fresh"] .announcement a {
  color: var(--announcement-link);
}

[data-theme="festival"] .announcement a {
  color: var(--announcement-link);
}

/* ── Obvious storefront overrides (hardcoded purple in styles.css) ── */

html[data-theme="kirana-fresh"] body {
  background: #f0fdf4;
}
html[data-theme="kirana-fresh"] .announcement {
  background: #047857;
  color: #ecfdf5;
}
html[data-theme="kirana-fresh"] .search-form button,
html[data-theme="kirana-fresh"] .btn-primary,
html[data-theme="kirana-fresh"] .add-to-cart {
  background: #059669;
}
html[data-theme="kirana-fresh"] .search-form button:hover,
html[data-theme="kirana-fresh"] .btn-primary:hover,
html[data-theme="kirana-fresh"] .add-to-cart:hover {
  background: #047857;
}
html[data-theme="kirana-fresh"] .gift-section-head h2 {
  color: #059669;
}
html[data-theme="kirana-fresh"] .gift-category-card {
  border-color: #a7f3d0;
}
html[data-theme="kirana-fresh"] .gift-category-card:hover,
html[data-theme="kirana-fresh"] .gift-category-card.is-selected {
  border-color: #059669;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.15);
}
html[data-theme="kirana-fresh"] .product-card {
  border-color: #bbf7d0;
}
html[data-theme="kirana-fresh"] .pill--featured {
  border-color: #059669;
  color: #059669;
  background: #d1fae5;
}

html[data-theme="minimal"] body {
  background: #ffffff;
}
html[data-theme="minimal"] .announcement {
  background: #fafafa;
  color: #71717a;
  border-bottom: 1px solid #e4e4e7;
}
html[data-theme="minimal"] .site-header,
html[data-theme="minimal"] .header {
  background: #fff;
  border-bottom: 1px solid #e4e4e7;
  box-shadow: none;
}
html[data-theme="minimal"] .gift-section-head h2 {
  color: #09090b;
  font-weight: 600;
}
html[data-theme="minimal"] .gift-category-card {
  border: 1px solid #e4e4e7;
  border-radius: 4px;
  box-shadow: none;
}
html[data-theme="minimal"] .gift-category-card:hover {
  border-color: #18181b;
  box-shadow: none;
  transform: none;
}
html[data-theme="minimal"] .product-card {
  border: 1px solid #e4e4e7;
  box-shadow: none;
}
html[data-theme="minimal"] .product-card:hover {
  box-shadow: none;
  transform: none;
}
html[data-theme="minimal"] .pill--featured {
  border-color: #18181b;
  color: #18181b;
  background: #fafafa;
}

html[data-theme="festival"] body {
  background: #fffbeb;
}
html[data-theme="festival"] .announcement {
  background: linear-gradient(90deg, #7f1d1d 0%, #b91c1c 50%, #d97706 100%);
  color: #fff;
}
html[data-theme="festival"] .site-header,
html[data-theme="festival"] .header {
  background: linear-gradient(180deg, #fff 0%, #fffbeb 100%);
  border-bottom: 2px solid #fcd34d;
}
html[data-theme="festival"] .search-form button,
html[data-theme="festival"] .btn-primary,
html[data-theme="festival"] .add-to-cart {
  background: linear-gradient(135deg, #b91c1c 0%, #d97706 100%);
  color: #fff;
}
html[data-theme="festival"] .search-form button:hover,
html[data-theme="festival"] .btn-primary:hover,
html[data-theme="festival"] .add-to-cart:hover {
  background: #7f1d1d;
}
html[data-theme="festival"] .gift-section-head h2 {
  color: #b91c1c;
  font-family: var(--font-display);
}
html[data-theme="festival"] .gift-category-card {
  border: 2px solid #fde68a;
}
html[data-theme="festival"] .gift-category-card:hover,
html[data-theme="festival"] .gift-category-card.is-selected {
  border-color: #b91c1c;
  box-shadow: 0 8px 28px rgba(185, 28, 28, 0.18);
}
html[data-theme="festival"] .product-card {
  border: 2px solid #fde68a;
}
html[data-theme="festival"] .product-price,
html[data-theme="festival"] .price {
  color: #b91c1c;
}
html[data-theme="festival"] .pill--featured {
  border-color: #b91c1c;
  color: #b91c1c;
  background: #fef2f2;
}

html[data-theme="bold-marketplace"] body {
  background: #eef2ff;
}
html[data-theme="bold-marketplace"] .announcement {
  background: #0f172a;
  color: #e2e8f0;
}
html[data-theme="bold-marketplace"] .site-header,
html[data-theme="bold-marketplace"] .header {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
}
html[data-theme="bold-marketplace"] .search-form button,
html[data-theme="bold-marketplace"] .btn-primary,
html[data-theme="bold-marketplace"] .add-to-cart {
  background: #2563eb;
}
html[data-theme="bold-marketplace"] .search-form button:hover,
html[data-theme="bold-marketplace"] .btn-primary:hover,
html[data-theme="bold-marketplace"] .add-to-cart:hover {
  background: #1d4ed8;
}
html[data-theme="bold-marketplace"] .gift-section-head h2 {
  color: #2563eb;
}
html[data-theme="bold-marketplace"] .gift-category-card {
  border: none;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.14);
}
html[data-theme="bold-marketplace"] .gift-category-card:hover {
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.22);
  transform: translateY(-3px);
}
html[data-theme="bold-marketplace"] .product-card {
  border: none;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.14);
}
html[data-theme="bold-marketplace"] .product-card:hover {
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.22);
  transform: translateY(-4px);
}
html[data-theme="bold-marketplace"] .pill--featured {
  border-color: #2563eb;
  color: #2563eb;
  background: #dbeafe;
}

/* Sunset Nepal — warm orange/coral/magenta gradients */
html[data-theme="sunset-nepal"] {
  --purple: #e11d48;
  --purple-dark: #be123c;
  --purple-light: #ffe4e6;
  --purple-muted: #fb7185;
  --orange: #f97316;
  --accent-secondary: #f43f5e;

  --bg: #fff7ed;
  --bg-card: #ffffff;
  --bg-dark: #881337;
  --bg-hero: linear-gradient(135deg, #ffedd5 0%, #fda4af 45%, #fbcfe8 100%);

  --ink: #881337;
  --text: #9f1239;
  --text-muted: #be123c;
  --text-light: #fb7185;
  --line: #fecdd3;
  --border: #fed7aa;

  --shadow: 0 4px 18px rgba(225, 29, 72, 0.1);
  --shadow-lg: 0 14px 40px rgba(249, 115, 22, 0.2);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --heading-weight: 700;
  --logo-weight: 800;

  --grid-gap: 14px;
  --card-pad: 12px 14px 14px;
  --product-min: 185px;
  --product-border: 2px solid #fed7aa;
  --product-shadow: var(--shadow);
  --product-shadow-hover: var(--shadow-lg);

  --header-bg: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
  --header-border: 2px solid #fdba74;
  --header-shadow: 0 2px 12px rgba(249, 115, 22, 0.08);

  --gift-border: 2px solid #f97316;
  --gift-accent: linear-gradient(135deg, #f97316 0%, #e11d48 55%, #be185d 100%);
  --gift-title-color: #be123c;

  --btn-primary-bg: linear-gradient(135deg, #f97316 0%, #e11d48 100%);
  --btn-primary-hover: #be123c;
  --cart-btn-bg: #e11d48;
  --cart-btn-hover: #be123c;
  --price-color: #be123c;

  --announcement-bg: linear-gradient(90deg, #ea580c 0%, #e11d48 50%, #be185d 100%);
  --announcement-link: #ffedd5;

  --banner-radius: 14px;
  --banner-border: 2px solid #fdba74;
  --banner-shadow: var(--shadow-lg);
  --banner-dot-active: #f97316;
  --footer-bg: linear-gradient(180deg, #881337 0%, #be123c 100%);
  --footer-brand-color: #ffedd5;
}

html[data-theme="sunset-nepal"] body { background: #fff7ed; }
html[data-theme="sunset-nepal"] .announcement {
  background: linear-gradient(90deg, #ea580c 0%, #e11d48 50%, #be185d 100%);
  color: #fff;
}
html[data-theme="sunset-nepal"] .site-header,
html[data-theme="sunset-nepal"] .header {
  background: linear-gradient(180deg, #fff 0%, #fff7ed 100%);
  border-bottom: 2px solid #fdba74;
}
html[data-theme="sunset-nepal"] .search-form button,
html[data-theme="sunset-nepal"] .btn-primary,
html[data-theme="sunset-nepal"] .add-to-cart {
  background: linear-gradient(135deg, #f97316 0%, #e11d48 100%);
  color: #fff;
}
html[data-theme="sunset-nepal"] .search-form button:hover,
html[data-theme="sunset-nepal"] .btn-primary:hover,
html[data-theme="sunset-nepal"] .add-to-cart:hover { background: #be123c; }
html[data-theme="sunset-nepal"] .gift-section-head h2 { color: #be123c; }
html[data-theme="sunset-nepal"] .gift-category-card { border: 2px solid #fed7aa; }
html[data-theme="sunset-nepal"] .gift-category-card:hover,
html[data-theme="sunset-nepal"] .gift-category-card.is-selected {
  border-color: #e11d48;
  box-shadow: 0 8px 28px rgba(225, 29, 72, 0.18);
}
html[data-theme="sunset-nepal"] .product-card { border: 2px solid #fecdd3; }
html[data-theme="sunset-nepal"] .product-price,
html[data-theme="sunset-nepal"] .price { color: #be123c; }
html[data-theme="sunset-nepal"] .pill--featured {
  border-color: #e11d48;
  color: #be123c;
  background: #ffe4e6;
}

/* Electric Purple — neon purple/pink marketplace */
html[data-theme="electric-purple"] {
  --purple: #a855f7;
  --purple-dark: #7e22ce;
  --purple-light: #f3e8ff;
  --purple-muted: #c084fc;
  --orange: #ec4899;
  --accent-secondary: #ec4899;

  --bg: #faf5ff;
  --bg-card: #ffffff;
  --bg-dark: #1e1b4b;
  --bg-hero: linear-gradient(135deg, #1e1b4b 0%, #6b21a8 45%, #ec4899 100%);

  --ink: #1e1b4b;
  --text: #312e81;
  --text-muted: #6d28d9;
  --text-light: #a78bfa;
  --line: #e9d5ff;
  --border: #d8b4fe;

  --shadow: 0 4px 20px rgba(126, 34, 206, 0.14);
  --shadow-lg: 0 16px 48px rgba(168, 85, 247, 0.28);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --heading-weight: 700;
  --logo-weight: 700;

  --grid-gap: 12px;
  --card-pad: 10px 12px 12px;
  --product-min: 175px;
  --product-border: none;
  --product-shadow: 0 6px 22px rgba(30, 27, 75, 0.12);
  --product-shadow-hover: 0 12px 36px rgba(168, 85, 247, 0.26);
  --product-hover-transform: translateY(-3px);

  --header-shadow: 0 4px 20px rgba(30, 27, 75, 0.1);
  --gift-border: none;
  --gift-accent: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --gift-shadow: var(--shadow-lg);
  --gift-title-color: #7e22ce;

  --btn-primary-bg: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --btn-primary-hover: #6b21a8;
  --cart-btn-bg: #a855f7;
  --cart-btn-hover: #7e22ce;
  --price-color: #7e22ce;

  --announcement-bg: linear-gradient(90deg, #1e1b4b 0%, #7e22ce 50%, #ec4899 100%);
  --announcement-link: #f5d0fe;
  --footer-bg: #1e1b4b;
  --footer-brand-color: #e9d5ff;

  --banner-radius: 12px;
  --banner-border: none;
  --banner-shadow: var(--shadow-lg);
  --banner-dot-active: #ec4899;
}

html[data-theme="electric-purple"] body { background: #faf5ff; }
html[data-theme="electric-purple"] .announcement {
  background: linear-gradient(90deg, #1e1b4b 0%, #7e22ce 50%, #ec4899 100%);
  color: #f5f3ff;
}
html[data-theme="electric-purple"] .site-header,
html[data-theme="electric-purple"] .header {
  box-shadow: 0 4px 20px rgba(30, 27, 75, 0.1);
}
html[data-theme="electric-purple"] .search-form button,
html[data-theme="electric-purple"] .btn-primary,
html[data-theme="electric-purple"] .add-to-cart {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #fff;
}
html[data-theme="electric-purple"] .search-form button:hover,
html[data-theme="electric-purple"] .btn-primary:hover,
html[data-theme="electric-purple"] .add-to-cart:hover { background: #6b21a8; }
html[data-theme="electric-purple"] .gift-section-head h2 { color: #7e22ce; }
html[data-theme="electric-purple"] .gift-category-card {
  border: none;
  box-shadow: 0 6px 22px rgba(30, 27, 75, 0.12);
}
html[data-theme="electric-purple"] .gift-category-card:hover {
  box-shadow: 0 12px 36px rgba(168, 85, 247, 0.22);
  transform: translateY(-3px);
}
html[data-theme="electric-purple"] .product-card {
  border: none;
  box-shadow: 0 6px 22px rgba(30, 27, 75, 0.12);
}
html[data-theme="electric-purple"] .product-card:hover {
  box-shadow: 0 12px 36px rgba(168, 85, 247, 0.22);
  transform: translateY(-3px);
}
html[data-theme="electric-purple"] .pill--featured {
  border-color: #a855f7;
  color: #6b21a8;
  background: #f3e8ff;
}
html[data-theme="electric-purple"] .hero-copy h1,
html[data-theme="electric-purple"] .hero-copy p,
html[data-theme="electric-purple"] .hero-tag { color: #fff; }

/* Monsoon Fresh — deep teal + lime accents */
html[data-theme="monsoon-fresh"] {
  --purple: #0d9488;
  --purple-dark: #0f766e;
  --purple-light: #ccfbf1;
  --purple-muted: #2dd4bf;
  --orange: #84cc16;
  --accent-secondary: #84cc16;

  --bg: #f0fdfa;
  --bg-card: #ffffff;
  --bg-dark: #134e4a;
  --bg-hero: linear-gradient(120deg, #ccfbf1 0%, #a7f3d0 40%, #d9f99d 100%);

  --ink: #134e4a;
  --text: #115e59;
  --text-muted: #0f766e;
  --text-light: #5eead4;
  --line: #99f6e4;
  --border: #5eead4;

  --shadow: 0 4px 16px rgba(13, 148, 136, 0.1);
  --shadow-lg: 0 12px 36px rgba(132, 204, 22, 0.18);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --font-display: 'Nunito Sans', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, sans-serif;
  --heading-weight: 800;
  --logo-weight: 800;

  --grid-gap: 12px;
  --card-pad: 10px 12px 12px;
  --product-min: 180px;
  --product-border: 2px solid #99f6e4;
  --product-shadow: var(--shadow);
  --product-shadow-hover: var(--shadow-lg);

  --header-bg: linear-gradient(180deg, #fff 0%, #f0fdfa 100%);
  --header-border: 2px solid #5eead4;
  --gift-border: 2px solid #0d9488;
  --gift-accent: linear-gradient(135deg, #0d9488 0%, #84cc16 100%);
  --gift-title-color: #0f766e;

  --btn-primary-bg: #0d9488;
  --btn-primary-hover: #0f766e;
  --cart-btn-bg: #0d9488;
  --cart-btn-hover: #0f766e;
  --price-color: #0f766e;

  --announcement-bg: linear-gradient(90deg, #134e4a 0%, #0d9488 55%, #65a30d 100%);
  --announcement-link: #d9f99d;
  --footer-bg: #134e4a;
  --footer-brand-color: #ccfbf1;

  --banner-radius: 12px;
  --banner-border: 2px solid #5eead4;
  --banner-dot-active: #84cc16;
}

html[data-theme="monsoon-fresh"] body { background: #f0fdfa; }
html[data-theme="monsoon-fresh"] .announcement {
  background: linear-gradient(90deg, #134e4a 0%, #0d9488 55%, #65a30d 100%);
  color: #ecfdf5;
}
html[data-theme="monsoon-fresh"] .site-header,
html[data-theme="monsoon-fresh"] .header {
  background: linear-gradient(180deg, #fff 0%, #f0fdfa 100%);
  border-bottom: 2px solid #5eead4;
}
html[data-theme="monsoon-fresh"] .search-form button,
html[data-theme="monsoon-fresh"] .btn-primary,
html[data-theme="monsoon-fresh"] .add-to-cart {
  background: #0d9488;
  color: #fff;
}
html[data-theme="monsoon-fresh"] .search-form button:hover,
html[data-theme="monsoon-fresh"] .btn-primary:hover,
html[data-theme="monsoon-fresh"] .add-to-cart:hover { background: #0f766e; }
html[data-theme="monsoon-fresh"] .gift-section-head h2 { color: #0f766e; }
html[data-theme="monsoon-fresh"] .gift-category-card { border: 2px solid #99f6e4; }
html[data-theme="monsoon-fresh"] .gift-category-card:hover,
html[data-theme="monsoon-fresh"] .gift-category-card.is-selected {
  border-color: #0d9488;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.16);
}
html[data-theme="monsoon-fresh"] .product-card { border: 2px solid #99f6e4; }
html[data-theme="monsoon-fresh"] .product-price,
html[data-theme="monsoon-fresh"] .price { color: #0f766e; }
html[data-theme="monsoon-fresh"] .pill--featured {
  border-color: #84cc16;
  color: #3f6212;
  background: #ecfccb;
}

/* Royal Gold — gold + deep burgundy luxury */
html[data-theme="royal-gold"] {
  --purple: #7f1d1d;
  --purple-dark: #450a0a;
  --purple-light: #fef3c7;
  --purple-muted: #991b1b;
  --orange: #d4af37;
  --accent-secondary: #d4af37;

  --bg: #fffbeb;
  --bg-card: #ffffff;
  --bg-dark: #450a0a;
  --bg-hero: linear-gradient(135deg, #fef3c7 0%, #fde68a 35%, #fecaca 100%);

  --ink: #450a0a;
  --text: #78350f;
  --text-muted: #92400e;
  --text-light: #b45309;
  --line: #fcd34d;
  --border: #fde68a;

  --shadow: 0 4px 18px rgba(69, 10, 10, 0.1);
  --shadow-lg: 0 14px 42px rgba(212, 175, 55, 0.22);

  --radius: 10px;
  --radius-sm: 6px;
  --radius-pill: 999px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', system-ui, sans-serif;
  --heading-weight: 700;
  --logo-weight: 700;

  --grid-gap: 14px;
  --card-pad: 12px 14px 14px;
  --product-min: 190px;
  --product-border: 2px solid #fde68a;
  --product-shadow: var(--shadow);
  --product-shadow-hover: var(--shadow-lg);

  --header-bg: linear-gradient(180deg, #fff 0%, #fffbeb 100%);
  --header-border: 2px solid #d4af37;
  --gift-border: 2px solid #d4af37;
  --gift-accent: linear-gradient(180deg, #7f1d1d 0%, #d4af37 100%);
  --gift-title-color: #7f1d1d;

  --btn-primary-bg: linear-gradient(135deg, #7f1d1d 0%, #b45309 100%);
  --btn-primary-hover: #450a0a;
  --cart-btn-bg: #7f1d1d;
  --cart-btn-hover: #450a0a;
  --price-color: #7f1d1d;

  --announcement-bg: linear-gradient(90deg, #450a0a 0%, #7f1d1d 45%, #b45309 100%);
  --announcement-link: #fde68a;
  --footer-bg: linear-gradient(180deg, #450a0a 0%, #7f1d1d 100%);
  --footer-brand-color: #fde68a;

  --banner-radius: 10px;
  --banner-border: 2px solid #d4af37;
  --banner-dot-active: #d4af37;
}

html[data-theme="royal-gold"] body { background: #fffbeb; }
html[data-theme="royal-gold"] .announcement {
  background: linear-gradient(90deg, #450a0a 0%, #7f1d1d 45%, #b45309 100%);
  color: #fef3c7;
}
html[data-theme="royal-gold"] .site-header,
html[data-theme="royal-gold"] .header {
  background: linear-gradient(180deg, #fff 0%, #fffbeb 100%);
  border-bottom: 2px solid #d4af37;
}
html[data-theme="royal-gold"] .search-form button,
html[data-theme="royal-gold"] .btn-primary,
html[data-theme="royal-gold"] .add-to-cart {
  background: linear-gradient(135deg, #7f1d1d 0%, #b45309 100%);
  color: #fff;
}
html[data-theme="royal-gold"] .search-form button:hover,
html[data-theme="royal-gold"] .btn-primary:hover,
html[data-theme="royal-gold"] .add-to-cart:hover { background: #450a0a; }
html[data-theme="royal-gold"] .gift-section-head h2 {
  color: #7f1d1d;
  font-family: var(--font-display);
}
html[data-theme="royal-gold"] .gift-category-card { border: 2px solid #fde68a; }
html[data-theme="royal-gold"] .gift-category-card:hover,
html[data-theme="royal-gold"] .gift-category-card.is-selected {
  border-color: #d4af37;
  box-shadow: 0 8px 28px rgba(127, 29, 29, 0.16);
}
html[data-theme="royal-gold"] .product-card { border: 2px solid #fde68a; }
html[data-theme="royal-gold"] .product-price,
html[data-theme="royal-gold"] .price { color: #7f1d1d; }
html[data-theme="royal-gold"] .pill--featured {
  border-color: #d4af37;
  color: #78350f;
  background: #fef3c7;
}

/* Ocean Blue — bright blue + cyan */
html[data-theme="ocean-blue"] {
  --purple: #0284c7;
  --purple-dark: #0369a1;
  --purple-light: #e0f2fe;
  --purple-muted: #38bdf8;
  --orange: #06b6d4;
  --accent-secondary: #06b6d4;

  --bg: #f0f9ff;
  --bg-card: #ffffff;
  --bg-dark: #0c4a6e;
  --bg-hero: linear-gradient(135deg, #e0f2fe 0%, #7dd3fc 50%, #a5f3fc 100%);

  --ink: #0c4a6e;
  --text: #075985;
  --text-muted: #0284c7;
  --text-light: #7dd3fc;
  --line: #bae6fd;
  --border: #7dd3fc;

  --shadow: 0 4px 18px rgba(2, 132, 199, 0.1);
  --shadow-lg: 0 14px 40px rgba(6, 182, 212, 0.2);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --font-display: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --heading-weight: 700;
  --logo-weight: 700;

  --grid-gap: 14px;
  --card-pad: 12px 14px 14px;
  --product-min: 185px;
  --product-border: 2px solid #bae6fd;
  --product-shadow: var(--shadow);
  --product-shadow-hover: var(--shadow-lg);

  --header-bg: #fff;
  --header-border: 2px solid #7dd3fc;
  --header-shadow: 0 2px 12px rgba(2, 132, 199, 0.08);
  --gift-border: 2px solid #06b6d4;
  --gift-accent: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  --gift-title-color: #0369a1;

  --btn-primary-bg: #0284c7;
  --btn-primary-hover: #0369a1;
  --cart-btn-bg: #0284c7;
  --cart-btn-hover: #0369a1;
  --price-color: #0369a1;

  --announcement-bg: linear-gradient(90deg, #0c4a6e 0%, #0284c7 50%, #06b6d4 100%);
  --announcement-link: #e0f2fe;
  --footer-bg: #0c4a6e;
  --footer-brand-color: #e0f2fe;

  --banner-radius: 14px;
  --banner-border: 2px solid #7dd3fc;
  --banner-dot-active: #06b6d4;
}

html[data-theme="ocean-blue"] body { background: #f0f9ff; }
html[data-theme="ocean-blue"] .announcement {
  background: linear-gradient(90deg, #0c4a6e 0%, #0284c7 50%, #06b6d4 100%);
  color: #f0f9ff;
}
html[data-theme="ocean-blue"] .site-header,
html[data-theme="ocean-blue"] .header {
  background: #fff;
  border-bottom: 2px solid #7dd3fc;
  box-shadow: 0 2px 12px rgba(2, 132, 199, 0.08);
}
html[data-theme="ocean-blue"] .search-form button,
html[data-theme="ocean-blue"] .btn-primary,
html[data-theme="ocean-blue"] .add-to-cart {
  background: #0284c7;
  color: #fff;
}
html[data-theme="ocean-blue"] .search-form button:hover,
html[data-theme="ocean-blue"] .btn-primary:hover,
html[data-theme="ocean-blue"] .add-to-cart:hover { background: #0369a1; }
html[data-theme="ocean-blue"] .gift-section-head h2 { color: #0369a1; }
html[data-theme="ocean-blue"] .gift-category-card { border: 2px solid #bae6fd; }
html[data-theme="ocean-blue"] .gift-category-card:hover,
html[data-theme="ocean-blue"] .gift-category-card.is-selected {
  border-color: #0284c7;
  box-shadow: 0 8px 28px rgba(2, 132, 199, 0.16);
}
html[data-theme="ocean-blue"] .product-card { border: 2px solid #bae6fd; }
html[data-theme="ocean-blue"] .product-price,
html[data-theme="ocean-blue"] .price { color: #0369a1; }
html[data-theme="ocean-blue"] .pill--featured {
  border-color: #0284c7;
  color: #0369a1;
  background: #e0f2fe;
}

@media (prefers-reduced-motion: reduce) {
  html.pm-reduced-motion *,
  html.pm-reduced-motion *::before,
  html.pm-reduced-motion *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-color-scheme: dark) {
  /* Storefront themes are light-first; respect system preference without auto dark mode */
}
