@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Ubuntu:wght@400;500;700&display=swap');

/* ==========================================================================
   Campus Mall — Ubuntu-Inspired Modern Clean UI
   Crisp White Canvas · Electric Light Blue Accent · Bold Curved Edges
   ========================================================================== */

:root {
  /* Ubuntu Modern White Canvas */
  --paper: #ffffff;
  --paper-2: #f6f8fb;
  --paper-3: #eef2f6;
  --paper-card: #ffffff;
  --paper-header: rgba(255, 255, 255, 0.88);
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --white: #ffffff;
  --line: rgba(15, 23, 42, 0.08);
  --line-strong: rgba(15, 23, 42, 0.16);

  /* Electric Light Blue Accents */
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  --green: #0ea5e9;
  --green-deep: #0284c7;
  --brand-blue: #0ea5e9;
  --brand-cyan: #00d4ff;
  --accent-light: #38bdf8;
  --accent-glow: 0 0 24px rgba(56, 189, 248, 0.45);
  --price-color: #0284c7;
  --brand-gradient: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #00d4ff 100%);
  --brand-glow: 0 6px 24px rgba(14, 165, 233, 0.35);
  --rust: #0ea5e9;
  --gold: #38bdf8;
  --accent-purple: #8b5cf6;
  --accent-blue: #0ea5e9;

  /* Ubuntu Curved Geometry */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 9999px;
  --container: 1240px;
  --header-h: 76px;

  /* Smooth Modern Shadows */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px -8px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.12);

  /* Bold Modern Grotesque Fonts */
  --font-display: "Ubuntu", "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", "Ubuntu", system-ui, -apple-system, sans-serif;

  color-scheme: light;
}

/* Dark mode override */
html[data-theme="dark"] {
  --paper: #000000;
  --paper-2: #0a0a0a;
  --paper-3: #111111;
  --paper-card: #0d0d0d;
  --paper-header: rgba(0, 0, 0, 0.92);
  --ink: #f8fafc;
  --ink-soft: #cbd5e1;
  --muted: #8b9bb4;
  --white: #0d0d0d;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --price-color: #38bdf8;
  --shadow-md: 0 12px 32px -8px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.9);
  color-scheme: dark;
}

/* ---------- reset + base ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  /* Smooth momentum scrolling on iOS */
  -webkit-overflow-scrolling: touch;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

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

img {
  height: auto;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

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

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
  border-radius: 2px;
}

[hidden] {
  display: none !important;
}

/* ---------- utilities ---------- */

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

.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;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.section {
  padding-block: clamp(56px, 7vw, 92px);
}

.section--tight {
  padding-block: clamp(36px, 5vw, 64px);
}

.section--flush-top {
  padding-top: 0;
}

.chips--spaced {
  margin-top: 22px;
}

.accordions--flush {
  margin-top: 0;
}

.label-hint {
  color: var(--muted);
  font-weight: 400;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 4vw, 40px);
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(30px, 4vw, 46px);
  max-width: 18ch;
}

.section-head__link {
  flex: none;
  margin-bottom: 6px;
}

.section-head p.section-sub {
  max-width: 46ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- buttons + links ---------- */

/* ---------- buttons + links (Ubuntu Modern Curved + Glow) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s, border-color 0.2s, box-shadow 0.25s, filter 0.2s;
  cursor: pointer;
}

.btn:hover {
  background: var(--paper-3);
  border-color: var(--green);
  color: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.12);
}

.btn:active {
  transform: translateY(0);
}

/* Primary Button (Subtle, refined light blue sheen — reduced glow) */
.btn--primary,
a.btn.btn--primary,
a.nav-join,
.header-join,
.hero-actions a.btn:first-child,
.btn--glow {
  background: var(--brand-gradient);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.22);
  font-weight: 700;
}

.btn--primary:hover,
a.btn.btn--primary:hover,
a.nav-join:hover,
.header-join:hover,
.hero-actions a.btn:first-child:hover,
.btn--glow:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
  filter: brightness(1.04);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--green);
  color: var(--green);
}

.btn--outline:hover {
  background: rgba(14, 165, 233, 0.08);
  border-color: var(--accent-light);
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.2);
}

/* ── WhatsApp button ── */
.btn--wa {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  border-color: transparent;
}
.btn--wa:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  border-color: transparent;
}

.btn--light {
  background: var(--paper-2);
  border-color: var(--line);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--paper-3);
  border-color: var(--green);
}

.btn--rust {
  background: #111111;
  border: 2px solid var(--rust);
  color: #ffffff;
}

.btn--rust:hover {
  background: #1e1e1e;
}

/* Semantic aliases */
.btn--secondary { background: #111111; border: 2px solid var(--green); color: #ffffff; }
.btn--secondary:hover { background: #1e1e1e; box-shadow: none; }

.btn--sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 600;
  transition: gap 0.2s, border-color 0.2s;
}

.text-link:hover {
  gap: 13px;
  border-color: var(--ink);
}

/* ---------- announcement + header ---------- */

.announcement {
  background: var(--green-deep);
  color: var(--paper);
}

.announcement p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  min-height: 36px;
  padding: 6px 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
}

.announcement .spark {
  color: var(--gold);
}

.announcement a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--paper-header, rgba(11, 14, 20, 0.88));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s, border-color 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  white-space: nowrap;
}

/* Brand mark styling — glowing electric light blue logo preserved */
.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  filter: drop-shadow(0 2px 10px rgba(14, 165, 233, 0.45));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.06);
  filter: drop-shadow(0 4px 16px rgba(14, 165, 233, 0.65));
}

/* Single Campus Mode helper classes */
body.single-campus-mode .campus-multi-only {
  display: none !important;
}

.single-campus-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--green);
  border-radius: 999px;
  transition: right 0.25s;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- header actions (search, theme toggle, join, menu) ---------- */

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

.theme-toggle,
.icon-btn,
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
  flex-shrink: 0;
  text-decoration: none;
  font-size: 15px;
}

.theme-toggle:hover,
.icon-btn:hover,
.nav-toggle:hover {
  background: var(--paper-3);
  border-color: rgba(14, 165, 233, 0.35);
  color: var(--green);
  transform: translateY(-1px);
}

.theme-toggle:active,
.icon-btn:active,
.nav-toggle:active {
  transform: scale(0.95);
}

.icon-btn svg,
.nav-toggle svg {
  width: 19px;
  height: 19px;
}

.nav-toggle {
  display: none;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(44px, 6vw, 88px) clamp(52px, 7vw, 96px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-copy .eyebrow {
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}

.hero-copy h1 {
  margin: 16px 0 20px;
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-copy h1 em {
  font-style: normal;
  font-weight: 800;
  color: var(--green);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  line-height: 1.65;
  text-wrap: pretty;
}

/* ── BGA-23 Floating Geometric Background (Soft Atmospheric Viewport Background) ── */
.bga-23 {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
  z-index: 0;
  /* GPU promotion — keeps it in its own compositor layer so scrolling never triggers repaint */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;

  /* Subtle, elegant, toned-down hues in Light / White Mode */
  --bga-c-blue: rgba(14, 165, 233, 0.16);
  --bga-c-blue-strong: rgba(2, 132, 199, 0.20);
  --bga-c-cyan: rgba(6, 182, 212, 0.16);
  --bga-c-purple: rgba(139, 92, 246, 0.14);
  --bga-c-pink: rgba(244, 63, 94, 0.14);
  --bga-c-green: rgba(16, 185, 129, 0.14);
  --bga-c-amber: rgba(245, 158, 11, 0.15);

  --bga-c-orange: var(--bga-c-blue);
  --bga-c-orange-strong: var(--bga-c-blue-strong);
  --bga-c-coral: var(--bga-c-pink);
  --bga-c-gold: var(--bga-c-amber);
}

html[data-theme="dark"] .bga-23 {
  /* Subtle, soft luminous tones in Dark Mode */
  --bga-c-blue: rgba(56, 189, 248, 0.20);
  --bga-c-blue-strong: rgba(0, 212, 255, 0.24);
  --bga-c-cyan: rgba(34, 211, 238, 0.20);
  --bga-c-purple: rgba(168, 85, 247, 0.17);
  --bga-c-pink: rgba(251, 113, 133, 0.15);
  --bga-c-green: rgba(52, 211, 153, 0.16);
  --bga-c-amber: rgba(251, 191, 36, 0.17);
}

.bga-23__wash {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 76% 6%, rgba(56, 189, 248, 0.04), transparent 75%);
}

.bga-23__plane {
  position: absolute;
  inset: -15%;
  /* Each plane on its own compositor layer */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

/* Soft blur filters so shapes are smooth and not razor-sharp */
.bga-23__plane--back {
  filter: blur(16px);
  opacity: .50;
  --bga-23-spd: 64s;
  animation: bga-23-pan 64s ease-in-out infinite alternate;
}

.bga-23__plane--mid {
  filter: blur(10px);
  opacity: .60;
  --bga-23-spd: 44s;
  animation: bga-23-pan 44s ease-in-out infinite alternate-reverse;
}

.bga-23__plane--front {
  filter: blur(5px);
  opacity: .70;
  --bga-23-spd: 28s;
  animation: bga-23-pan 28s ease-in-out infinite alternate;
}

@keyframes bga-23-pan {
  from {
    translate: -2% 1%;
  }
  to {
    translate: 3% -2%;
  }
}

.bga-23__s {
  filter: drop-shadow(0 4px 12px var(--bga-23-c));
}

@keyframes bga-23-pan {
  from {
    translate: -2% 1%;
  }
  to {
    translate: 3% -2%;
  }
}

.bga-23__s {
  position: absolute;
  left: var(--bga-23-x);
  top: var(--bga-23-y);
  width: var(--bga-23-w);
  aspect-ratio: 1;
  background: var(--bga-23-c);
  will-change: transform, rotate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  animation:
    bga-23-bob calc(var(--bga-23-spd) * var(--bga-23-f, 1) * .34) ease-in-out infinite alternate,
    bga-23-spin calc(var(--bga-23-spd) * var(--bga-23-f, 1) * 1.7) linear infinite;
}

@keyframes bga-23-bob {
  from {
    translate: -50% -42%;
  }
  to {
    translate: -50% -62%;
  }
}

@keyframes bga-23-spin {
  to {
    rotate: 360deg;
  }
}

.bga-23__s--tri {
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.bga-23__s--hex {
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.bga-23__s--sq {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 14%;
}

.bga-23__s--cross {
  clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%);
}

.bga-23__s--ring {
  background: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 min(2.2vmin, 16px) var(--bga-23-c);
}

@media (prefers-reduced-motion: reduce) {
  .bga-23__s,
  .bga-23__plane {
    animation: none;
  }
}

/* ── Mobile scroll performance ── */
/* On touch/mobile: strip blur (biggest GPU drain), slow animations way down,
   reduce shape count visible by dropping opacity so compositor has less work  */
@media (max-width: 768px), (pointer: coarse) {
  .bga-23 {
    /* contain painting to this element */
    contain: strict;
  }
  /* Kill the expensive CSS blur — biggest single perf win on mobile */
  .bga-23__plane--back  { filter: none; opacity: 0.30; --bga-23-spd: 120s; }
  .bga-23__plane--mid   { filter: none; opacity: 0.35; --bga-23-spd: 90s;  }
  .bga-23__plane--front { filter: none; opacity: 0.40; --bga-23-spd: 70s;  }
  /* Shapes: use only translate (GPU-composited), no drop-shadow */
  .bga-23__s {
    filter: none;
    animation: bga-23-bob-mobile calc(var(--bga-23-spd) * var(--bga-23-f, 1) * .34) ease-in-out infinite alternate;
  }
}

@keyframes bga-23-bob-mobile {
  from { translate: -50% -46%; }
  to   { translate: -50% -54%; }
}

/* Extra-small phones: disable all BGA animation entirely */
@media (max-width: 420px) and (pointer: coarse) {
  .bga-23__s    { animation: none; }
  .bga-23__plane { animation: none; }
  .bga-23__plane--back  { opacity: 0.20; }
  .bga-23__plane--mid   { opacity: 0.22; }
  .bga-23__plane--front { opacity: 0.25; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 12.5px;
}

.hero-notes span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-notes span::before {
  content: "✦";
  color: var(--gold);
  font-size: 10px;
}

.hero-art {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Hero Slideshow ─────────────────────────────────────────────── */

.hero-slideshow {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 32px 64px -24px rgba(23, 35, 27, 0.45);
  aspect-ratio: 4 / 3;
}

.hero-slides {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  text-decoration: none;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 16px;
  background: linear-gradient(to top, rgba(10,15,12,0.82) 60%, transparent);
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.hero-slide__name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}

.hero-slide__price {
  font-size: 13px;
  font-weight: 600;
  color: #fb9f6f;
  white-space: nowrap;
}

.hero-slide-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.hero-slide-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
  padding: 0;
}

.hero-slide-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* Empty state when no products */
.hero-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 16px;
  padding: 32px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- ticker ---------- */

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--green-deep);
  color: var(--paper);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}

.ticker-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 32px;
  padding: 14px 16px;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-item::after {
  content: "✦";
  color: var(--gold);
  letter-spacing: 0;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- product cards ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  grid-auto-flow: row dense;
  gap: clamp(10px, 1.6vw, 18px);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: translate 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.product-card:hover,
.product-card:focus-within {
  translate: 0 -4px;
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow: 0 14px 28px -10px rgba(15, 23, 42, 0.1);
}

/* First card spans 2 cols + 2 rows = feature tile */
.product-card:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.product-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--paper-2);
  flex-shrink: 0;
}

/* Feature tile: media fills remaining space */
.product-card:first-child .product-card__media {
  aspect-ratio: auto;
  flex: 1;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}

.product-card:hover .product-card__media img {
  opacity: 0.92;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 11px;
  border-radius: var(--radius-pill);
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge--new {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.product-card__body {
  display: grid;
  gap: 5px;
  padding: 14px 16px 54px;
}

.product-card__cat {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card__cat a {
  color: inherit;
  text-decoration: none;
}

.product-card__cat a:hover {
  color: var(--rust);
}

.product-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.product-card__name a {
  color: inherit;
  text-decoration: none;
}

.product-card__name a:hover {
  color: var(--rust);
}

.product-card__price {
  flex: none;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--price-color);
}

/* ── Quick-view button (slides up on hover) ─────────────────────── */

.product-card__quick {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
  translate: 0 calc(100% + 12px);
  transition: translate 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.2s, filter 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.product-card:hover .product-card__quick,
.product-card:focus-within .product-card__quick {
  translate: 0 0;
}

.product-card__quick:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.28);
}

/* Always visible on touch devices */
@media (hover: none) {
  .product-card__quick {
    translate: 0 0;
  }
}

/* ---------- category tiles (compact modern cards) ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

.category-tile {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--white) !important;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 8px 24px -4px rgba(14, 165, 233, 0.16);
}

.category-tile__icon {
  flex: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  border-radius: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, background 0.2s ease;
}

.category-tile:hover .category-tile__icon {
  transform: scale(1.08);
  background: rgba(14, 165, 233, 0.12);
}

.category-tile__img {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.category-tile__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.category-tile__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-tile__count {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-tile__arrow {
  flex: none;
  font-size: 16px;
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.category-tile:hover .category-tile__arrow {
  transform: translateX(4px);
  color: var(--brand-blue);
}

/* ---------- story ---------- */

.story-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius-lg);
  background: var(--green-deep);
  color: var(--paper);
}

.story-panel::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(232, 183, 92, 0.08);
}

.story-panel::after {
  content: "✦";
  position: absolute;
  right: clamp(24px, 5vw, 64px);
  bottom: -28px;
  color: rgba(246, 241, 230, 0.05);
  font-family: var(--font-display);
  font-size: 180px;
  line-height: 1;
}

.story-panel .eyebrow {
  color: var(--gold);
}

.story-panel h2 {
  max-width: 13ch;
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

.story-copy {
  position: relative;
  z-index: 1;
}

.story-copy p {
  max-width: 52ch;
  margin-bottom: 16px;
  color: rgba(246, 241, 230, 0.78);
  font-size: 15.5px;
  line-height: 1.7;
}

.story-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 48px);
  margin-top: 28px;
}

.story-stat strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  line-height: 1;
}

.story-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(246, 241, 230, 0.6);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- perks ---------- */

.perks {
  border-block: 1px solid var(--line);
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding-block: clamp(28px, 4vw, 40px);
}

.perk {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.perk-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--green);
}

.perk-icon svg {
  width: 20px;
  height: 20px;
}

.perk h3 {
  margin-bottom: 3px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.perk p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

/* ---------- newsletter ---------- */

.newsletter-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  overflow: hidden;
  padding: clamp(28px, 4.5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--gold);
}

.newsletter-panel::after {
  content: "✦";
  position: absolute;
  right: -20px;
  bottom: -60px;
  color: rgba(23, 35, 27, 0.06);
  font-family: var(--font-display);
  font-size: 180px;
  line-height: 1;
}

.newsletter h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.05;
}

.newsletter p {
  max-width: 42ch;
  margin-top: 12px;
  color: rgba(23, 35, 27, 0.72);
  font-size: 14.5px;
}

.newsletter-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter-form input {
  flex: 1 1 220px;
  min-width: 0;
  height: 50px;
  padding: 0 20px;
  border: 1px solid rgba(23, 35, 27, 0.2);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: #8a8f7f;
}

.newsletter-form .btn {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.newsletter-form .btn:hover {
  background: #000;
  border-color: #000;
}

.form-message {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 500;
}

/* ---------- footer (white & dark modes) ---------- */

.site-footer {
  margin-top: clamp(56px, 8vw, 96px);
  background: #f8fafc;
  color: var(--ink);
  border-top: 1px solid var(--line);
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

html[data-theme="light"] .site-footer {
  background: #f8fafc;
  color: #0f172a;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"] .site-footer {
  background: #000000;
  color: #f8fafc;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 0.9fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(40px, 6vw, 64px);
}

.brand--light {
  color: var(--ink);
  text-decoration: none;
}

.brand--light .brand-mark {
  color: var(--brand-blue);
  filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.35));
}

html[data-theme="dark"] .brand--light {
  color: #f8fafc;
}

html[data-theme="dark"] .brand--light .brand-mark {
  color: var(--accent-light);
  filter: drop-shadow(0 2px 10px rgba(56, 189, 248, 0.45));
}

.footer-brand p {
  max-width: 36ch;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.65;
}

html[data-theme="dark"] .footer-brand p {
  color: rgba(248, 250, 252, 0.65);
}

.footer-brand .footer-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

html[data-theme="dark"] .footer-brand .footer-note {
  color: rgba(248, 250, 252, 0.4);
}

.footer-col h3 {
  margin-bottom: 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[data-theme="dark"] .footer-col h3 {
  color: rgba(248, 250, 252, 0.5);
}

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

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a {
  color: var(--muted);
  font-size: 13.5px;
  transition: color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--brand-blue);
  transform: translateX(2px);
}

html[data-theme="dark"] .footer-col a {
  color: rgba(248, 250, 252, 0.72);
}

html[data-theme="dark"] .footer-col a:hover {
  color: var(--accent-light);
}

.footer-col p {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
}

html[data-theme="dark"] .footer-col p {
  color: rgba(248, 250, 252, 0.65);
}

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

html[data-theme="dark"] .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(248, 250, 252, 0.42);
}

.footer-bottom a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--brand-cyan);
  text-decoration: underline;
}

html[data-theme="dark"] .footer-bottom a {
  color: var(--accent-light);
}

/* ---------- page hero, breadcrumbs ---------- */

.page-hero {
  padding-block: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 44px);
}

.page-hero h1 {
  max-width: 20ch;
  margin-top: 14px;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
}

.page-hero p {
  max-width: 60ch;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb a {
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--rust);
}

.breadcrumb .sep {
  opacity: 0.5;
}

/* ---------- shop ---------- */

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.search-field {
  position: relative;
  flex: 1 1 280px;
  min-width: 220px;
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 17px;
  height: 17px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.search-field input {
  width: 100%;
  height: 46px;
  padding: 0 18px 0 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
}

.search-field input:focus,
.sort-field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(34, 72, 59, 0.12);
}

.sort-field {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.sort-field select {
  height: 46px;
  padding: 0 38px 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2368705f' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  font-size: 13px;
  appearance: none;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.chip:hover {
  border-color: var(--ink);
  background: var(--white);
}

.chip[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green);
  color: var(--paper);
}

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

.shop-grid {
  margin-top: 26px;
}

.empty-state {
  padding: clamp(48px, 8vw, 96px) 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 24px;
  background: var(--paper-2);
  text-align: center;
}

.empty-state h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 4vw, 40px);
}

.empty-state p {
  margin-bottom: 22px;
  color: var(--muted);
}

.empty-state .btn {
  margin-inline: auto;
}

/* Hero empty state (when no products exist yet) */
.hero-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: clamp(40px, 8vw, 80px) 20px;
  border: 2px dashed var(--line-strong);
  border-radius: 24px;
  background: var(--paper-2);
  text-align: center;
  min-height: 240px;
}
.hero-empty p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  margin: 0;
}

/* ---------- product detail ---------- */

.product-view {
  padding-top: 6px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin-top: 26px;
}

.product-media {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.product-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-media .badge {
  top: 18px;
  left: 18px;
  min-height: 30px;
  padding: 0 14px;
  font-size: 10.5px;
}

/* ---------- product image gallery ---------- */

.product-gallery {
  display: flex;
  flex-direction: column;
}

.product-gallery__stage {
  position: relative;
  outline: none;
}

.product-gallery__stage:focus-visible {
  box-shadow: inset 0 0 0 3px rgba(14, 165, 233, 0.55);
}

.product-gallery__main {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--paper-2);
}

.product-gallery__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.58);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}

.product-gallery__nav:hover,
.product-gallery__nav:focus-visible {
  background: rgba(15, 23, 42, 0.82);
  transform: scale(1.05);
}

.product-gallery__nav--prev { left: 14px; }
.product-gallery__nav--next { right: 14px; }

.product-gallery__counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.product-gallery__thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.product-gallery__thumb {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--paper-2);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}

.product-gallery__thumb:hover,
.product-gallery__thumb:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

.product-gallery__thumb.is-active {
  border-color: var(--rust);
  opacity: 1;
}

.product-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Small image-count pill on product cards */
.product-card__count {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

.product-info {
  padding-top: 6px;
}

.product-info h1 {
  margin: 12px 0 14px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.02;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
}

.rating-star {
  color: var(--gold);
  font-size: 15px;
  line-height: 1;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.product-price {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--price-color);
}

.product-color {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
}

.color-dot {
  width: 13px;
  height: 13px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  background: var(--swatch, var(--green));
}

.product-desc {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.option-block {
  margin-top: 26px;
}

.option-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.option-label {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-chip {
  display: inline-flex;
  align-items: center;
  min-width: 46px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
}

.size-guide-link {
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 12px;
}

.catalog-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 12.5px;
}

.catalog-dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rust);
  box-shadow: 0 0 0 3px rgba(181, 80, 47, 0.14);
}

.accordions {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.accordion {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 13.5px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  color: var(--muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

.accordion[open] summary::after {
  content: "–";
}

.accordion ul {
  display: grid;
  gap: 7px;
  padding-bottom: 16px;
}

.accordion li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.accordion li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rust);
}

.accordion p {
  padding-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.related {
  margin-top: clamp(56px, 8vw, 96px);
}

.not-found {
  max-width: 640px;
  margin-inline: auto;
  padding-block: clamp(48px, 8vw, 96px);
  text-align: center;
}

.not-found h1 {
  margin-bottom: 12px;
  font-size: clamp(32px, 4.5vw, 48px);
}

.not-found p {
  margin-bottom: 24px;
  color: var(--muted);
}

/* ---------- help ---------- */

.help-page {
  padding-block: 0 clamp(36px, 5vw, 64px);
}

.help-layout {
  max-width: 820px;
  margin-inline: auto;
}

.help-section {
  margin-top: clamp(40px, 6vw, 64px);
}

.help-section h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3.4vw, 36px);
}

.help-section > p {
  max-width: 64ch;
  margin-bottom: 20px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.7;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.size-table th,
.size-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.size-table th {
  background: var(--paper-2);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.size-table tr:last-child td {
  border-bottom: 0;
}

.accordion--lg summary {
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
}

.accordion--lg p,
.accordion--lg li {
  font-size: 14px;
  line-height: 1.7;
}

.accordion--lg ul {
  padding-bottom: 20px;
}

.accordion--lg details > p {
  padding-bottom: 20px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(40px, 6vw, 64px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--green-deep);
  color: var(--paper);
}

.contact-panel .eyebrow {
  color: var(--gold);
}

.contact-panel h2 {
  margin-top: 12px;
  font-size: clamp(26px, 3.4vw, 38px);
}

.contact-panel p {
  margin-top: 12px;
  color: rgba(246, 241, 230, 0.7);
  font-size: 14px;
  line-height: 1.7;
}

.contact-panel a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-details {
  display: grid;
  align-content: center;
  gap: 14px;
  font-size: 13.5px;
  line-height: 1.7;
}

.contact-details strong {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- 404 ---------- */

.notfound-page {
  padding-block: clamp(64px, 10vw, 140px);
  text-align: center;
}

.notfound-code {
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(90px, 18vw, 180px);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.notfound-page h1 {
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 40px);
}

.notfound-page p {
  margin-top: 12px;
  color: var(--muted);
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
  }
}

@media (max-width: 920px) {
  .header-inner {
    justify-content: space-between;
    gap: 12px;
  }

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

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px clamp(20px, 4vw, 40px) 16px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 24px 30px -24px rgba(0, 0, 0, 0.25);
    z-index: 101;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a.nav-join {
    margin-top: 10px;
    padding: 12px 20px;
    background: var(--brand-gradient);
    color: #ffffff !important;
    text-align: center;
    border-radius: var(--radius-pill);
    font-weight: 700;
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
  }

  .nav-toggle {
    display: inline-flex;
  }

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

  .hero-copy {
    max-width: 640px;
  }

  .hero-art {
    width: 100%;
    max-width: 520px;
    min-height: 0;
    margin-inline: auto;
  }

  .hero-slideshow {
    aspect-ratio: 3 / 2;
  }

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

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

  .perks-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 22px;
  }

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

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

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

  .product-media {
    position: static;
    max-width: 620px;
  }

  .category-tile img {
    aspect-ratio: 1.15;
  }

  .newsletter-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section-head {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
  }

  .section-head__link {
    margin-bottom: 0;
  }

  .product-grid {
    gap: 10px;
  }

  .product-card__body {
    padding: 11px 12px 50px;
  }

  .product-card__name {
    font-size: 13px;
  }

  .category-tile__meta {
    padding: 12px 14px;
    font-size: 17px;
  }

}

@media (max-width: 560px) {
  .announcement p {
    font-size: 10.5px;
    gap: 4px 8px;
  }

  /* On small phones: feature tile collapses to full width single col */
  .product-card:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }

  .product-card:first-child .product-card__media {
    aspect-ratio: 16 / 9;
    flex: none;
  }

  .product-card__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .product-card__price {
    margin-top: 2px;
  }

  .product-gallery__nav {
    width: 38px;
    height: 38px;
    margin-top: -19px;
    font-size: 23px;
  }

  .product-gallery__thumb {
    width: 54px;
    height: 54px;
  }

  .product-gallery__counter {
    right: 10px;
    bottom: 10px;
  }

  .brand {
    font-size: 21px;
    gap: 8px;
  }

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

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

  .theme-toggle,
  .nav-toggle,
  .icon-btn {
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
  }

  .header-join {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 8.5vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 12px 0 16px;
  }

  .hero-lede {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .hero-stamp {
    display: none;
  }

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

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

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

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

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

  .contact-panel {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 400px) {
  .header-search {
    display: none;
  }

  .hero-notes span:nth-child(3) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .ticker-track {
    animation: none;
  }

  .product-card:hover,
  .category-tile:hover,
  .btn:hover {
    transform: none;
  }
}

/* ==========================================================================
   Campus Mall marketplace — vendors, market search, forms and profiles
   ========================================================================== */

/* ---------- header helpers ---------- */

.nav-join {
  display: none;
}

/* ---------- market hero ---------- */

.hero--market {
  position: relative;
}

.market-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 560px;
  margin-top: 28px;
  padding: 6px 6px 6px 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.market-search:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.14);
}

.market-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  outline: none;
}

.market-search input::placeholder {
  color: var(--muted);
}

.market-search .btn {
  flex: none;
  min-height: 44px;
  background: var(--brand-gradient);
  border: none;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
}

.market-search .btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.28);
}

.hero-trending {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
}

.hero-trending span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-trending a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.hero-trending a:hover {
  color: var(--rust);
  text-decoration-color: var(--rust);
}

/* ---------- category tile enrichments ---------- */

.category-tile__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.category-tile__name {
  font-family: var(--font-display);
  font-size: inherit;
  font-weight: 500;
  line-height: 1.15;
}

.category-tile__count {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- product card extras ---------- */

.product-card__cat a:hover {
  color: var(--rust);
}

.product-card__meta {
  color: var(--muted);
  font-size: 11.5px;
}

/* ---------- vendor cards ---------- */

.vendor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

.vendor-grid--directory {
  margin-top: 26px;
}

.vendor-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

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

.vendor-card__link {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  padding: clamp(18px, 2.4vw, 26px);
}

.vendor-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vendor-card__logo {
  flex: none;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
  object-fit: cover;
}

.vendor-card__identity {
  min-width: 0;
}

.vendor-card__campus {
  margin-bottom: 3px;
  color: var(--rust);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.vendor-card__identity h3 {
  overflow-wrap: anywhere;
  font-size: clamp(23px, 2.3vw, 28px);
  line-height: 1.05;
}

.vendor-card__tagline {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.vendor-card__cats {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.vendor-card__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: auto;
}

.vendor-card__thumbs img {
  width: 100%;
  aspect-ratio: 1.18;
  border-radius: 10px;
  background: var(--paper-2);
  object-fit: cover;
}

.vendor-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.vendor-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}

.vendor-card__cta span {
  transition: transform 0.2s;
}

.vendor-card:hover .vendor-card__cta span {
  transform: translateX(4px);
}

/* ---------- how it works ---------- */

.how-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 4vw, 60px);
  overflow: hidden;
  padding: clamp(30px, 4.5vw, 60px);
  border-radius: var(--radius-lg);
  background: var(--green-deep);
  color: var(--paper);
}

.how-panel::after {
  content: "✦";
  position: absolute;
  right: -20px;
  bottom: -70px;
  color: rgba(246, 241, 230, 0.05);
  font-family: var(--font-display);
  font-size: 200px;
  line-height: 1;
  pointer-events: none;
}

.how-panel .eyebrow {
  color: var(--gold);
}

.how-panel h2 {
  max-width: 13ch;
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
}

.how-intro p {
  max-width: 44ch;
  margin-top: 16px;
  color: rgba(246, 241, 230, 0.7);
  font-size: 14px;
  line-height: 1.7;
}

.how-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  align-content: start;
}

.how-step {
  padding-top: 16px;
  border-top: 1px solid rgba(246, 241, 230, 0.2);
}

.how-step__number {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

.how-step h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.how-step p {
  margin-top: 8px;
  color: rgba(246, 241, 230, 0.65);
  font-size: 12.5px;
  line-height: 1.65;
}

/* ---------- vendor CTA ---------- */

.vendor-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  overflow: hidden;
  padding: clamp(26px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--gold);
}

.vendor-cta::after {
  content: "✦";
  position: absolute;
  right: clamp(12px, 3vw, 40px);
  bottom: -60px;
  color: rgba(23, 35, 27, 0.06);
  font-family: var(--font-display);
  font-size: 170px;
  line-height: 1;
  pointer-events: none;
}

.vendor-cta > * {
  position: relative;
  z-index: 1;
}

.vendor-cta .eyebrow {
  color: var(--green-deep);
}

.vendor-cta h2 {
  max-width: 18ch;
  margin-top: 10px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.03;
}

.vendor-cta p {
  max-width: 58ch;
  margin-top: 12px;
  color: rgba(23, 35, 27, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.vendor-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.vendor-cta__actions .btn {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--paper);
}

.vendor-cta__actions p {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---------- vendor profile ---------- */

.vendor-profile {
  padding-top: 24px;
}

.vendor-profile__top {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 28px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.vendor-profile__logo {
  flex: none;
  width: clamp(78px, 9vw, 104px);
  height: clamp(78px, 9vw, 104px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  object-fit: cover;
}

.vendor-profile__top h1 {
  margin: 6px 0 8px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 0.98;
}

.vendor-profile__tagline {
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.6;
}

.vendor-profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.65fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
  padding-top: 30px;
}

.vendor-profile__copy > p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.vendor-profile__copy .vendor-profile__note {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 2px solid var(--rust);
  border-radius: 0 12px 12px 0;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.vendor-facts {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.vendor-fact span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.vendor-fact strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}

.vendor-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.vendor-contact-actions .text-link {
  font-size: 12.5px;
}

.vendor-facts__note {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.vendor-products {
  margin-top: clamp(52px, 7vw, 84px);
}

.vendor-products .section-head {
  margin-bottom: clamp(20px, 3vw, 32px);
}

/* ---------- product detail extras ---------- */

.product-meta-line {
  margin-top: -4px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12.5px;
}

.eyebrow-link:hover {
  color: var(--rust);
}

.vendor-mini {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 26px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.vendor-mini__logo {
  flex: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper-2);
  object-fit: cover;
}

.vendor-mini__copy {
  flex: 1 1 160px;
  min-width: 0;
}

.vendor-mini__label {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.vendor-mini__name {
  display: block;
  margin-block: 1px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.15;
}

.vendor-mini__name:hover {
  color: var(--rust);
}

.vendor-mini__meta {
  color: var(--muted);
  font-size: 11.5px;
}

.vendor-mini__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.vendor-mini__actions .text-link {
  padding-inline: 4px;
  font-size: 12px;
}

/* ---------- filter toolbar extras ---------- */

.toolbar-selects {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

/* ---------- join page ---------- */

.join-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(24px, 3.4vw, 46px);
  align-items: start;
}

.form-panel {
  padding: clamp(20px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.form-intro h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.form-intro p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.form-error {
  margin-top: 20px;
  padding: 13px 15px;
  border: 1px solid rgba(181, 80, 47, 0.32);
  border-radius: 12px;
  background: rgba(181, 80, 47, 0.08);
  color: #8c371f;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
}

.form-section {
  min-inline-size: 0;
  margin: 0;
  padding: 26px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.form-section:first-of-type {
  margin-top: 22px;
  padding-top: 24px;
  border-top: 0;
}

.form-section--last {
  padding-bottom: 6px;
}

.form-section__legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.form-section__number {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--rust);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.form-section__intro {
  margin: -4px 0 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
}

.field--full {
  grid-column: 1 / -1;
}

.field input:not([type="file"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field select {
  padding-right: 38px;
  background-color: var(--paper);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2368705f' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  appearance: none;
}

.field textarea {
  min-height: 122px;
  line-height: 1.6;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8a8f7f;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(34, 72, 59, 0.1);
}

.field input[aria-invalid="true"] {
  border-color: var(--rust);
}

.field-note {
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.5;
}

.req-mark {
  color: var(--rust);
  font-weight: 700;
}

.file-field input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 400;
  cursor: pointer;
}

.file-field input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.file-field input[type="file"]::file-selector-button:hover {
  background: var(--paper);
}

.upload-size {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.upload-size.is-over {
  background: rgba(181, 80, 47, 0.1);
  color: #8c371f;
}

.product-item-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.product-item-previews[hidden] {
  display: none;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  cursor: pointer;
}

.check-field input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
}

.form-privacy {
  margin-top: 12px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.form-privacy a,
.form-note a,
.join-contact a {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding-top: 10px;
}

.form-submit p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.form-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.join-aside {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.join-card {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-lg);
  background: var(--green-deep);
  color: var(--paper);
}

.join-card .eyebrow {
  color: var(--gold);
}

.join-card h2 {
  margin-top: 12px;
  font-size: clamp(26px, 2.6vw, 32px);
  line-height: 1.05;
}

.join-steps {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.join-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.join-step__num {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.join-steps h3 {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.join-steps p {
  margin-top: 4px;
  color: rgba(246, 241, 230, 0.65);
  font-size: 12px;
  line-height: 1.6;
}

.join-checklist {
  padding: clamp(22px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.join-checklist h3 {
  font-size: 21px;
  line-height: 1.1;
}

.join-checklist ul {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.join-checklist li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.join-checklist li::before {
  content: "✦";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  line-height: 1.9;
}

.join-contact {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* ---------- success page ---------- */

.success-page {
  padding-block: clamp(44px, 7vw, 88px);
}

.success-panel {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(28px, 4.5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  text-align: center;
}

.success-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold);
}

.success-icon svg {
  width: 30px;
  height: 30px;
}

.success-panel h1 {
  margin: 12px 0 14px;
  font-size: clamp(34px, 4.6vw, 50px);
  line-height: 1.02;
}

.success-lede {
  max-width: 52ch;
  margin-inline: auto;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.success-next {
  margin-top: 30px;
  padding: clamp(18px, 3vw, 26px);
  border-radius: 16px;
  background: var(--paper);
  text-align: left;
}

.success-next h2 {
  font-size: 22px;
}

.success-next ol {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  counter-reset: success-step;
}

.success-next li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  counter-increment: success-step;
}

.success-next li::before {
  content: counter(success-step);
  position: absolute;
  top: 1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--rust);
  font-size: 10px;
  font-weight: 700;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.success-contact {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12.5px;
}

.success-contact a {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- help additions ---------- */

.help-steps {
  display: grid;
  gap: 12px;
}

.help-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.help-step__num {
  flex: none;
  color: var(--rust);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

.help-steps h3,
.help-card h3 {
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.help-steps p,
.help-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.help-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.help-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.help-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.inline-link {
  color: var(--rust);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- marketplace responsive ---------- */

@media (max-width: 1080px) {
  .how-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .how-panel h2 {
    max-width: 20ch;
  }

  .join-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  }

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

@media (max-width: 920px) {
  .header-join {
    display: none;
  }

  .nav-join {
    display: block;
  }

  .vendor-profile__grid {
    grid-template-columns: 1fr;
  }

  .vendor-facts {
    position: static;
    max-width: 560px;
  }

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

  .join-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .vendor-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .vendor-cta__actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 760px) {
  .vendor-grid {
    grid-template-columns: 1fr;
  }

  .vendor-card__link {
    padding: 20px;
  }

  .vendor-card__identity h3 {
    font-size: 25px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .how-step {
    padding-block: 18px;
  }

  .how-step + .how-step {
    border-top: 1px solid rgba(246, 241, 230, 0.14);
  }

  .how-step:last-child {
    padding-bottom: 0;
  }

  .join-aside {
    grid-template-columns: 1fr;
  }

  .help-cards,
  .help-cards--three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .market-search {
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border-radius: 20px;
  }

  .market-search input {
    width: 100%;
    padding-inline: 10px;
    text-align: center;
  }

  .market-search .btn {
    width: 100%;
  }

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

  .form-section__legend {
    font-size: 21px;
  }

  .form-panel {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .form-submit .btn {
    width: 100%;
  }

  .vendor-profile__top {
    align-items: flex-start;
  }

  .vendor-profile__logo {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }

  .vendor-profile__top h1 {
    font-size: 36px;
  }

  .tag-row {
    margin-top: 14px;
  }

  .vendor-facts {
    padding: 20px;
  }

  .vendor-mini__actions {
    width: 100%;
    padding-top: 4px;
  }

  .success-actions {
    flex-direction: column;
  }

  .success-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-trending {
    font-size: 12px;
  }

  .vendor-card__thumbs {
    gap: 4px;
  }

  .vendor-card__foot {
    font-size: 11.5px;
  }

  .toolbar-selects {
    width: 100%;
  }

  .toolbar-selects .sort-field {
    flex: 1 1 140px;
    justify-content: space-between;
  }

  .toolbar-selects .sort-field select {
    flex: 1;
    min-width: 0;
  }

  .shop-toolbar {
    padding: 12px;
  }

  .vendor-card__head {
    gap: 12px;
  }
}


/* ── Solid Card Overlays (100% Opaque, Never Transparent) ── */
main,
main#main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}

.product-card,
.vendor-card,
.category-tile,
.hero-slideshow,
.story-panel,
.review-card,
.perk-card,
.contact-panel,
.form-panel,
.market-search {
  position: relative;
  z-index: 2;
  background-color: var(--white) !important;
  opacity: 1 !important;
}

html[data-theme="light"] .product-card,
html[data-theme="light"] .vendor-card,
html[data-theme="light"] .category-tile,
html[data-theme="light"] .hero-slideshow,
html[data-theme="light"] .market-search {
  background-color: #ffffff !important;
}

html[data-theme="dark"] .product-card,
html[data-theme="dark"] .vendor-card,
html[data-theme="dark"] .category-tile,
html[data-theme="dark"] .hero-slideshow,
html[data-theme="dark"] .market-search {
  background-color: #0d0d0d !important;
}

.product-card__media {
  background-color: var(--paper-2);
}

.product-card__info {
  background-color: inherit;
}


/* ── Dropdown Select & Option Fixes (Light & Dark Mode) ── */
select,
.sort-field select,
.field select,
.admin-select {
  cursor: pointer;
  color: var(--ink) !important;
  background-color: var(--paper) !important;
  font-family: inherit;
  font-size: 14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

select option,
.sort-field select option,
.field select option,
.admin-select option {
  background-color: #ffffff;
  color: #0f172a;
  padding: 8px 12px;
}

html[data-theme="dark"] select,
html[data-theme="dark"] .sort-field select,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .admin-select {
  color: #f8fafc !important;
  background-color: #0d0d0d !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

html[data-theme="dark"] select option,
html[data-theme="dark"] .sort-field select option,
html[data-theme="dark"] .field select option,
html[data-theme="dark"] .admin-select option {
  background-color: #161c26 !important;
  color: #f8fafc !important;
}

/* Ensure dropdown arrows are visible in dark mode */
html[data-theme="dark"] .sort-field select,
html[data-theme="dark"] .field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2338bdf8' stroke-width='2'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") !important;
}

.bga-23,
.bga-23 * {
  pointer-events: none !important;
}
