/* ═══════════════════════════════════════════════════════════════════════
   Retail Space — Production Stylesheet
   Design System: Premium editorial / Rue Miche-inspired concept store
   Dark luxe, generous whitespace, elegant serif display type
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Palette — warm editorial with deep ink */
  --ink:          #1a1815;
  --ink-soft:     #2a2622;
  --muted:        #7a736a;
  --paper:        #f5f1ea;
  --cream:        #faf7f1;
  --panel:        #e8e0d2;
  --line:         #d4c9b8;
  --line-soft:    #e0d6c5;
  --dark:         #14110e;
  --dark-soft:    #1f1b17;
  --white:        #ffffff;
  --accent:       #8b6f47;
  --accent-light: #b8956a;
  --success:      #4a7c59;
  --success-bg:   #dde8df;
  --danger:       #9c4a3b;
  --danger-bg:    #efd6cf;
  --warning:      #8a7e5a;
  --warning-bg:   #ebe0c8;
  --whatsapp:     #25d366;
  --whatsapp-dark:#1da851;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-serif:   Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono:    'SF Mono', 'Fira Code', Menlo, Consolas, monospace;

  /* Spacing */
  --space-xs:     4px;
  --space-sm:     8px;
  --space-md:     16px;
  --space-lg:     24px;
  --space-xl:     32px;
  --space-2xl:    48px;
  --space-3xl:    64px;
  --space-4xl:    80px;
  --space-5xl:    120px;

  /* Layout */
  --max-width:    1400px;
  --content-pad:  6vw;
  --header-h:     72px;

  /* Transitions */
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --speed:         0.25s;

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(26, 24, 21, 0.06);
  --shadow-md:     0 4px 16px rgba(26, 24, 21, 0.08);
  --shadow-lg:     0 12px 32px rgba(26, 24, 21, 0.15);

  /* Radius */
  --radius-sm:     3px;
  --radius-md:     6px;
  --radius-lg:     10px;
}

/* ── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; transition: opacity var(--speed) var(--ease); }
a:hover { opacity: 0.65; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-sm); opacity: 1; }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; color: var(--ink); }

h1 { font-size: clamp(36px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 48px); line-height: 1.1; margin-bottom: var(--space-md); }
h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: var(--space-sm); }
h4 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-sans); font-weight: 600; }

p { color: var(--muted); max-width: 65ch; font-size: 16px; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  display: inline-block;
}
.eyebrow-light { color: var(--accent-light); }

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

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: all var(--speed) var(--ease);
  white-space: nowrap;
  border-radius: 0;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background-color: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background-color: var(--dark); color: var(--white); opacity: 1; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background-color: var(--cream); opacity: 1; }
.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.7); opacity: 1; }
.btn-sm { padding: 9px 16px; font-size: 11px; }
.btn-full { width: 100%; }
.btn-whatsapp { background-color: var(--whatsapp); color: var(--white); border-color: var(--whatsapp); }
.btn-whatsapp:hover { background-color: var(--whatsapp-dark); border-color: var(--whatsapp-dark); opacity: 1; }

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
  height: var(--header-h);
  background-color: rgba(245, 241, 234, 0.96);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; object-fit: contain; }

.site-header nav { display: flex; align-items: center; gap: var(--space-lg); }
.site-header nav a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 4px 0;
  position: relative;
}
.site-header nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--speed) var(--ease);
}
.site-header nav a:hover { opacity: 1; }
.site-header nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: var(--space-md); }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer; padding: var(--space-sm);
}
.mobile-menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: all var(--speed) var(--ease); }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  position: fixed; inset: 0; top: var(--header-h); z-index: 99;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity var(--speed) var(--ease);
}
.mobile-nav.active { opacity: 1; pointer-events: auto; }
.mobile-nav nav { display: flex; flex-direction: column; align-items: center; gap: var(--space-xl); }
.mobile-nav nav a { font-family: var(--font-display); font-size: 28px; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,17,14,0.78) 0%, rgba(20,17,14,0.5) 50%, rgba(20,17,14,0.7) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-4xl) var(--content-pad);
}
.hero-content { max-width: 760px; }
.hero-title { color: var(--white); font-weight: 300; margin-bottom: var(--space-lg); }
.hero-desc {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: var(--space-xl);
  max-width: 580px;
}
.hero-actions { display: flex; gap: var(--space-md); flex-wrap: wrap; margin-bottom: var(--space-3xl); }
.hero-stats { display: flex; gap: var(--space-3xl); flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat b { font-family: var(--font-display); font-size: 42px; font-weight: 400; color: var(--white); line-height: 1; }
.hero-stat span {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-top: var(--space-xs);
}

.scroll-cue {
  position: absolute; bottom: var(--space-xl); left: 50%; transform: translateX(-50%);
  z-index: 2; width: 24px; height: 40px;
  border: 1px solid rgba(255,255,255,0.4); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span {
  display: block; width: 2px; height: 8px; background: rgba(255,255,255,0.7);
  border-radius: 1px; animation: scrollCue 1.8s var(--ease) infinite;
}
@keyframes scrollCue {
  0% { opacity: 0; transform: translateY(-4px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(8px); }
}

/* ── Marquee ───────────────────────────────────────────────────────────── */
.marquee-section { background: var(--ink); padding: var(--space-md) 0; overflow: hidden; }
.marquee { display: flex; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; gap: var(--space-lg); animation: marquee 40s linear infinite; }
.marquee-track span {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.7;
}
.marquee-track span:nth-child(even) { color: var(--accent-light); opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Section Heads ─────────────────────────────────────────────────────── */
.section-head { max-width: var(--max-width); margin: 0 auto var(--space-3xl); text-align: center; }
.section-sub { font-size: 17px; max-width: 560px; margin: var(--space-md) auto 0; color: var(--muted); }

/* ── About Section ─────────────────────────────────────────────────────── */
.about-section { padding: var(--space-5xl) var(--content-pad); background: var(--paper); }
.about-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-4xl); align-items: center;
}
.about-text h2 { margin-bottom: var(--space-lg); }
.about-text p { margin-bottom: var(--space-md); font-size: 16px; }
.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); margin-top: var(--space-xl); }
.value-card h3 { font-size: 18px; color: var(--accent); margin-bottom: var(--space-xs); }
.value-card p { font-size: 14px; line-height: 1.6; }
.about-image { position: relative; }
.about-image img { width: 100%; height: 600px; object-fit: cover; filter: grayscale(15%) contrast(1.02); }

/* ── How It Works ──────────────────────────────────────────────────────── */
.how-section { padding: var(--space-5xl) var(--content-pad); background: var(--cream); }
.steps {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl);
}
.step { text-align: left; padding: var(--space-lg) 0; border-top: 1px solid var(--line); position: relative; }
.step-num { font-family: var(--font-display); font-size: 14px; color: var(--accent); letter-spacing: 0.1em; display: block; margin-bottom: var(--space-md); }
.step h3 { font-size: 22px; margin-bottom: var(--space-sm); }
.step p { font-size: 14px; line-height: 1.65; }

/* ── Panel Sections (Apply / Vendor) ───────────────────────────────────── */
.section-panel {
  padding: var(--space-5xl) var(--content-pad);
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}
.panel-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl); align-items: start;
}
.panel-info { position: sticky; top: calc(var(--header-h) + var(--space-xl)); }
.panel-info h2 { margin-bottom: var(--space-md); }
.panel-info > p { margin-bottom: var(--space-lg); }

.checklist { list-style: none; margin-top: var(--space-lg); padding: 0; }
.checklist li {
  font-size: 14px; color: var(--muted);
  padding: var(--space-sm) 0 var(--space-sm) var(--space-lg);
  position: relative; border-bottom: 1px solid var(--line-soft);
}
.checklist li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-weight: 600; }

/* ── Forms ────────────────────────────────────────────────────────────── */
.form-card { background: var(--cream); border: 1px solid var(--line); padding: var(--space-2xl); }
.form-card h3 { font-size: 24px; margin-bottom: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 1px solid var(--line-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.field { margin-bottom: 0; }
.field-full { grid-column: 1 / -1; }
.field label {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-xs);
}
input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="url"], select, textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); background: var(--white);
  font-family: var(--font-sans); font-size: 14px; color: var(--ink);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  border-radius: var(--radius-sm);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.12);
}
textarea { resize: vertical; font-family: var(--font-sans); }

/* ── Global Circular Checkbox (catch-all for any unclassed checkbox) ──────── */
input[type="checkbox"] {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  width: 22px; height: 22px; flex-shrink: 0; margin: 0;
  border: 2px solid var(--line); border-radius: 50%;
  background: var(--white); cursor: pointer; position: relative;
  transition: all var(--speed) var(--ease);
  vertical-align: middle;
}
input[type="checkbox"]:hover { border-color: var(--accent); }
input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
input[type="checkbox"]:checked {
  background: var(--ink); border-color: var(--ink);
}
input[type="checkbox"]:checked::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 7px; height: 4px; border-left: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: translate(-50%, -65%) rotate(-45deg);
}
input[type="checkbox"]:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Global Circular Radio (consistent with checkboxes) ───────────────────── */
input[type="radio"] {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  width: 22px; height: 22px; flex-shrink: 0; margin: 0;
  border: 2px solid var(--line); border-radius: 50%;
  background: var(--white); cursor: pointer; position: relative;
  transition: all var(--speed) var(--ease);
  vertical-align: middle;
}
input[type="radio"]:hover { border-color: var(--accent); }
input[type="radio"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input[type="radio"]:checked { border-color: var(--ink); background: var(--white); }
input[type="radio"]:checked::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 10px; border-radius: 50%; background: var(--ink);
  transform: translate(-50%, -50%);
}
input[type="radio"]:disabled { opacity: 0.5; cursor: not-allowed; }
.checkbox-label {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; font-size: 14px; color: var(--ink-soft); line-height: 1.6;
  margin: var(--space-md) 0; text-transform: none; letter-spacing: 0;
}
.checkbox-label input[type="checkbox"] {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  width: 22px; height: 22px; flex-shrink: 0; margin: 0;
  border: 2px solid var(--line); border-radius: 50%;
  background: var(--white); cursor: pointer; position: relative;
  transition: all var(--speed) var(--ease);
}
.checkbox-label input[type="checkbox"]:hover { border-color: var(--accent); }
.checkbox-label input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.checkbox-label input[type="checkbox"]:checked {
  background: var(--ink); border-color: var(--ink);
}
.checkbox-label input[type="checkbox"]:checked::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 7px; height: 4px; border-left: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: translate(-50%, -65%) rotate(-45deg);
}
.checkbox-label input[type="checkbox"]:disabled { opacity: 0.5; cursor: not-allowed; }
.form-note { font-size: 13px; color: var(--muted); margin-top: var(--space-md); min-height: 20px; }
.form-note.success { color: var(--success); }
.form-note.error { color: var(--danger); }

/* ── Admin Section ─────────────────────────────────────────────────────── */
.section-admin {
  padding: var(--space-5xl) var(--content-pad);
  background: var(--cream);
  border-top: 1px solid var(--line-soft);
  max-width: var(--max-width); margin: 0 auto;
}
.section-admin h2 { margin-bottom: var(--space-xl); }

.tabs { display: flex; gap: var(--space-xs); flex-wrap: wrap; margin-bottom: var(--space-xl); border-bottom: 1px solid var(--line); }
.tabs button {
  font-family: var(--font-sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 18px; border: none; border-bottom: 2px solid transparent;
  background: transparent; color: var(--muted); cursor: pointer;
  transition: all var(--speed) var(--ease); margin-bottom: -1px;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ── Dashboard Metrics ─────────────────────────────────────────────────── */
.dash { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); margin-bottom: var(--space-xl); }
.metric { background: var(--white); border: 1px solid var(--line-soft); padding: var(--space-lg); }
.metric span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); display: block; margin-bottom: var(--space-xs); }
.metric b { font-family: var(--font-display); font-size: 32px; font-weight: 400; color: var(--ink); }

/* ── Tables ─────────────────────────────────────────────────────────────── */
table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border: 1px solid var(--line-soft);
  margin: var(--space-md) 0; font-family: var(--font-sans);
}
thead { background: var(--panel); }
th {
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-soft);
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line);
}
td { font-size: 13px; color: var(--ink); padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tr:last-child td { border-bottom: none; }

/* ── Badges ────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 3px 10px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; border-radius: var(--radius-sm); white-space: nowrap;
}
.badge.bad { background: var(--danger-bg); color: var(--danger); }
.badge.good { background: var(--success-bg); color: var(--success); }
.badge.warn { background: var(--warning-bg); color: var(--warning); }

/* ── POS Grid ──────────────────────────────────────────────────────────── */
.grid-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); margin-top: var(--space-lg); }
.grid-three article { background: var(--white); border: 1px solid var(--line-soft); padding: var(--space-lg); }
.grid-three article h3 { font-size: 18px; margin-bottom: var(--space-xs); }
.grid-three article p { font-size: 13px; margin-bottom: var(--space-md); }

/* ── Contract Pre ─────────────────────────────────────────────────────── */
pre {
  white-space: pre-wrap; word-wrap: break-word;
  font-family: var(--font-mono); font-size: 12px; line-height: 1.7;
  background: var(--white); padding: var(--space-lg);
  border: 1px solid var(--line-soft); color: var(--ink);
  max-height: 60vh; overflow-y: auto;
}

/* ── Roadmap Section ──────────────────────────────────────────────────── */
.roadmap-section { padding: var(--space-5xl) var(--content-pad); background: var(--ink); color: var(--paper); }
.roadmap-section .section-head h2 { color: var(--paper); }
.roadmap-section .eyebrow { color: var(--accent-light); }
.roadmap-section .section-sub { color: rgba(245,241,234,0.6); }
.roadmap-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl);
}
.phase-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-2xl); position: relative;
}
.phase-badge {
  display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 4px 12px;
  background: var(--success); color: var(--white); border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}
.phase-badge-future { background: rgba(255,255,255,0.15); color: var(--paper); }
.phase-card h3 { color: var(--paper); font-size: 24px; margin-bottom: var(--space-lg); }
.phase-card ul { list-style: none; padding: 0; }
.phase-card li {
  font-size: 14px; color: rgba(245,241,234,0.7);
  padding: 8px 0 8px 24px; position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.phase-card li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-light); font-size: 12px; }
.phase-future li::before { content: '○'; color: rgba(255,255,255,0.4); }

/* ── Contact Section ──────────────────────────────────────────────────── */
.contact-section { padding: var(--space-5xl) var(--content-pad); background: var(--paper); }
.contact-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl); align-items: start;
}
.contact-info h2 { color: var(--ink); margin-bottom: var(--space-md); }
.contact-desc { margin-bottom: var(--space-xl); }
.contact-details { margin-bottom: var(--space-xl); }
.contact-item { padding: var(--space-md) 0; border-bottom: 1px solid var(--line-soft); }
.contact-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  display: block; margin-bottom: var(--space-xs);
}
.contact-item p { color: var(--ink); font-size: 15px; line-height: 1.6; }
.contact-item small { color: var(--muted); }
.contact-form { background: var(--cream); border: 1px solid var(--line); padding: var(--space-2xl); }
.contact-form h3 { font-size: 24px; margin-bottom: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 1px solid var(--line-soft); }
.contact-form .field { margin-bottom: var(--space-md); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--dark); color: #c8c0b4; padding: var(--space-4xl) var(--content-pad) var(--space-xl); }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 2fr;
  gap: var(--space-4xl); padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { max-width: 360px; }
.footer-logo { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--space-md); }
.footer-tagline { font-family: var(--font-display); font-size: 18px; color: var(--paper); letter-spacing: 0.04em; margin-bottom: var(--space-sm); }
.footer-desc { font-size: 13px; color: #9a9286; line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }
.footer-col h4 { color: #8a8276; margin-bottom: var(--space-md); }
.footer-col a, .footer-col p, .footer-hours {
  display: block; font-size: 13px; color: #c8c0b4;
  padding: 4px 0; line-height: 1.6; transition: color var(--speed) var(--ease);
}
.footer-col a:hover { color: var(--paper); opacity: 1; }
.footer-hours { padding-top: var(--space-sm); }

.footer-social { display: flex; gap: var(--space-lg); padding: var(--space-2xl) 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-social a {
  color: #8a8276; display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%; transition: all var(--speed) var(--ease);
}
.footer-social a:hover { color: var(--paper); border-color: var(--accent-light); opacity: 1; }

.footer-bottom { padding-top: var(--space-xl); font-size: 12px; color: #6a6258; line-height: 1.8; }

/* ── Floating WhatsApp ─────────────────────────────────────────────────── */
.floating-whatsapp {
  position: fixed; bottom: var(--space-xl); right: var(--space-xl); z-index: 150;
  width: 56px; height: 56px; background: var(--whatsapp); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: all var(--speed) var(--ease);
}
.floating-whatsapp:hover { background: var(--whatsapp-dark); transform: scale(1.08); opacity: 1; }
.floating-whatsapp::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--whatsapp); opacity: 0.4; animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ── Back to Top ───────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: var(--space-xl); left: var(--space-xl); z-index: 150;
  width: 44px; height: 44px; background: var(--ink); color: var(--paper);
  border: none; border-radius: 50%; font-size: 18px; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: all var(--speed) var(--ease); box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--dark-soft); transform: translateY(-2px); }

/* ── Modal ─────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,17,14,0.7);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-xl); backdrop-filter: blur(6px);
}
.modal-overlay[hidden] { display: none; }
.modal-content {
  background: var(--cream); max-width: 700px; width: 100%; max-height: 80vh;
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-lg) var(--space-xl); border-bottom: 1px solid var(--line);
}
.modal-header h3 { margin: 0; font-size: 22px; }
.modal-close { background: none; border: none; font-size: 28px; color: var(--muted); cursor: pointer; padding: 0 var(--space-xs); line-height: 1; }
.modal-close:hover { color: var(--ink); }
.modal-body { padding: var(--space-xl); overflow-y: auto; flex: 1; }

/* ── Toast ─────────────────────────────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: var(--space-xl); right: calc(var(--space-xl) + 72px);
  z-index: 300; display: flex; flex-direction: column; gap: var(--space-sm);
}
.toast {
  font-size: 13px; padding: 14px 20px;
  background: var(--ink); color: var(--paper);
  box-shadow: var(--shadow-md); max-width: 360px;
  animation: toastIn 0.3s var(--ease);
}
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.removing { animation: toastOut 0.3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; } to { opacity: 0; transform: translateY(16px); } }

/* ── QR Placeholder ───────────────────────────────────────────────────── */
.qr {
  width: 56px; height: 56px;
  background: repeating-linear-gradient(45deg, var(--ink) 0 3px, var(--white) 3px 6px);
  border: 6px solid var(--white); box-shadow: 0 0 0 1px var(--line);
}

/* ── Accessibility ──────────────────────────────────────────────────────── */
.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; }
:focus:not(:focus-visible) { outline: none; }

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

/* ── Responsive: Tablet (≤ 1024px) ───────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid, .panel-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .panel-info, .contact-info { position: static; }
  .about-image img { height: 420px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .dash { grid-template-columns: repeat(2, 1fr); }
  .grid-three { grid-template-columns: repeat(2, 1fr); }
  .roadmap-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .about-values { grid-template-columns: 1fr; }
}

/* ── Responsive: Mobile (≤ 768px) ─────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --content-pad: 20px; --header-h: 60px; }
  .site-header nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .header-actions .btn { display: none; }
  .hero-section { min-height: 85vh; }
  .hero-stats { gap: var(--space-xl); }
  .hero-stat b { font-size: 32px; }
  .steps { grid-template-columns: 1fr; }
  .dash { grid-template-columns: 1fr; }
  .grid-three { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; gap: var(--space-xl); }
  .toast-container { left: var(--space-md); right: var(--space-md); bottom: var(--space-md); }
  .toast { max-width: 100%; }
  table { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .modal-content { margin: var(--space-md); max-height: 90vh; }
  .floating-whatsapp { width: 50px; height: 50px; bottom: var(--space-md); right: var(--space-md); }
  .floating-whatsapp svg { width: 24px; height: 24px; }
  .back-to-top { bottom: var(--space-md); left: var(--space-md); width: 40px; height: 40px; }
  .logo-img { height: 32px; }
  .about-section, .how-section, .section-panel, .section-admin, .roadmap-section, .contact-section { padding: var(--space-3xl) var(--content-pad); }
}

/* ── Print ──────────────────────────────────────────────────────────────── */
@media print {
  .site-header, .mobile-nav, .mobile-menu-btn, .btn, .toast-container,
  .modal-overlay, .footer-social, .floating-whatsapp, .back-to-top,
  .scroll-cue, .marquee-section { display: none !important; }
  body { background: white; color: black; }
  .hero-section, .about-section, .how-section, .section-panel,
  .section-admin, .roadmap-section, .contact-section { padding: 20px; page-break-inside: avoid; }
  table { font-size: 10px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   v002 — Gallery + Auth/Portal Pages
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Gallery Section ──────────────────────────────────────────────────────── */
.gallery-section {
  padding: var(--space-5xl) var(--content-pad);
  background: var(--paper);
}
.gallery-grid {
  max-width: var(--max-width);
  margin: 0 auto var(--space-3xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.gallery-item {
  margin: 0; position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(10%);
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); filter: grayscale(0%); }
.gallery-item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(20,17,14,0.85));
  color: var(--paper); font-family: var(--font-display); font-size: 18px;
}
.gallery-item figcaption small {
  display: block; font-family: var(--font-sans); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.7; margin-top: 4px;
}
.gallery-social {
  max-width: var(--max-width); margin: 0 auto;
  text-align: center;
  display: flex; align-items: center; justify-content: center; gap: var(--space-lg); flex-wrap: wrap;
}
.gallery-social p {
  font-family: var(--font-sans); font-size: 13px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.gallery-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  color: var(--ink); border: 1px solid var(--line); padding: 10px 18px;
  transition: all var(--speed) var(--ease);
}
.gallery-link:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); opacity: 1; }

/* ── Auth / Portal Pages ──────────────────────────────────────────────────── */
.portal-body {
  background: var(--dark); min-height: 100vh;
}

.auth-screen {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-xl);
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
}
.auth-card {
  background: var(--cream);
  padding: var(--space-3xl);
  max-width: 440px; width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.auth-logo {
  height: 48px; width: auto; margin: 0 auto var(--space-md);
  filter: none;
}
.auth-card .eyebrow { margin-bottom: var(--space-sm); }
.auth-card h1 {
  font-size: 32px; margin-bottom: var(--space-sm); color: var(--ink);
}
.auth-desc {
  color: var(--muted); font-size: 14px; margin-bottom: var(--space-xl);
}
.auth-form .field { text-align: left; margin-bottom: var(--space-md); }
.auth-form .field label {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-xs);
}
.auth-form input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); background: var(--white);
  font-family: var(--font-sans); font-size: 14px; color: var(--ink);
  border-radius: var(--radius-sm);
}
.auth-form input:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 111, 71, 0.12);
}
.auth-back {
  display: inline-block; margin-top: var(--space-lg);
  font-size: 13px; color: var(--muted); text-decoration: none;
}
.auth-back:hover { color: var(--ink); opacity: 1; }
.auth-hint {
  margin-top: var(--space-lg); padding-top: var(--space-lg);
  border-top: 1px solid var(--line-soft);
  font-size: 12px; color: var(--muted); line-height: 1.8;
}
.auth-hint small { font-family: var(--font-mono); }

/* Portal Dashboard Layout */
.portal-dashboard { background: var(--paper); min-height: 100vh; }
.portal-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--space-xl);
  height: var(--header-h);
  background: var(--ink); color: var(--paper);
  border-bottom: 1px solid var(--dark-soft);
}
.portal-brand { display: flex; align-items: center; gap: var(--space-md); }
.portal-brand .logo-img { height: 32px; filter: brightness(0) invert(1); }
.portal-title {
  font-family: var(--font-display); font-size: 20px; color: var(--paper);
}
.portal-user { display: flex; align-items: center; gap: var(--space-md); font-size: 13px; }
.portal-user .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,0.3); }
.portal-user .btn-ghost:hover { background: rgba(255,255,255,0.1); }

.portal-tabs {
  display: flex; gap: 0; flex-wrap: wrap;
  background: var(--cream); border-bottom: 1px solid var(--line);
  padding: 0 var(--space-xl);
  position: sticky; top: var(--header-h); z-index: 40;
}
.portal-tabs button {
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 16px 20px; border: none; border-bottom: 2px solid transparent;
  background: transparent; color: var(--muted); cursor: pointer;
  transition: all var(--speed) var(--ease); margin-bottom: -1px;
}
.portal-tabs button:hover { color: var(--ink); }
.portal-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }

.portal-main {
  max-width: var(--max-width); margin: 0 auto;
  padding: var(--space-2xl) var(--space-xl);
}
.portal-main h3 { margin: var(--space-xl) 0 var(--space-md); font-size: 22px; }
.portal-main h3:first-child { margin-top: 0; }
.portal-main p { margin-bottom: var(--space-md); }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .portal-header { padding: 0 var(--space-md); }
  .portal-tabs { padding: 0; overflow-x: auto; }
  .portal-tabs button { padding: 14px 14px; font-size: 11px; white-space: nowrap; }
  .portal-main { padding: var(--space-lg) var(--space-md); }
  .auth-card { padding: var(--space-xl); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   v003 — Vendor Registration Form (apply.html) + Terms Page
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Apply Page Hero ──────────────────────────────────────────────────────── */
.apply-page { background: var(--paper); }
.apply-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
  padding: var(--space-4xl) var(--content-pad);
  text-align: center;
  color: var(--paper);
}
.apply-hero-inner { max-width: 720px; margin: 0 auto; }
.apply-hero h1 { color: var(--paper); font-weight: 300; margin-bottom: var(--space-md); }
.apply-hero p { color: rgba(245,241,234,0.78); font-size: 16px; max-width: 560px; margin: 0 auto; }
.apply-hero-accents {
  display: flex; gap: var(--space-lg); justify-content: center;
  margin-top: var(--space-lg); font-size: 14px; color: var(--accent-light);
}

/* ── Apply Form Layout ─────────────────────────────────────────────────────── */
.apply-form-section { padding: var(--space-3xl) var(--content-pad) var(--space-5xl); }
.vendor-form { max-width: 820px; margin: 0 auto; }

.form-section {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  margin-bottom: var(--space-xl);
  border-radius: 0;
}
.form-section legend {
  display: flex; align-items: baseline; gap: var(--space-md);
  width: 100%; padding-bottom: var(--space-md);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
}
.sec-num {
  font-size: 13px; color: var(--accent); letter-spacing: 0.05em;
  font-family: var(--font-sans); font-weight: 600;
}
.sec-title {
  font-size: 24px; color: var(--ink); font-weight: 400;
}

.field-label-block {
  display: block;
  font-size: 13px; font-weight: 600; color: var(--ink);
  margin-bottom: var(--space-xs);
}
.field-hint {
  display: block; font-size: 12px; color: var(--muted);
  margin-bottom: var(--space-sm);
}
.field-error {
  display: block; font-size: 12px; color: var(--danger);
  margin-top: 4px; font-weight: 500;
}
input.invalid, textarea.invalid, select.invalid {
  border-color: var(--danger) !important;
  box-shadow: 0 0 0 3px rgba(156,74,59,0.1) !important;
}

/* ── Checkbox & Radio Pills ───────────────────────────────────────────────── */
.checkbox-group, .radio-group {
  display: flex; flex-wrap: wrap; gap: var(--space-sm);
  margin-top: var(--space-xs);
}
.check-pill, .radio-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer; user-select: none;
  font-size: 13px; color: var(--ink-soft); line-height: 1.3;
  transition: all var(--speed) var(--ease);
}
.check-pill:hover, .radio-pill:hover {
  border-color: var(--accent);
}
/* Custom circular checkbox indicator inside pills */
.check-pill input[type="checkbox"] {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  width: 16px; height: 16px; margin: 0; flex-shrink: 0;
  border: 1.5px solid var(--line); border-radius: 50%;
  background: var(--white); cursor: pointer; position: relative;
  transition: all var(--speed) var(--ease);
}
.check-pill input[type="checkbox"]:hover { border-color: var(--accent); }
.check-pill input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.check-pill input[type="checkbox"]:checked {
  background: var(--ink); border-color: var(--ink);
}
.check-pill input[type="checkbox"]:checked::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 6px; height: 3.5px; border-left: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: translate(-50%, -65%) rotate(-45deg);
}
/* Custom circular radio indicator inside pills */
.radio-pill input[type="radio"] {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  width: 16px; height: 16px; margin: 0; flex-shrink: 0;
  border: 1.5px solid var(--line); border-radius: 50%;
  background: var(--white); cursor: pointer; position: relative;
  transition: all var(--speed) var(--ease);
}
.radio-pill input[type="radio"]:hover { border-color: var(--accent); }
.radio-pill input[type="radio"]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.radio-pill input[type="radio"]:checked {
  border-color: var(--ink); background: var(--white);
}
.radio-pill input[type="radio"]:checked::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}
.check-pill input:checked + span,
.radio-pill input:checked + span {
  color: var(--ink); font-weight: 500;
}
.check-pill:has(input:checked),
.radio-pill:has(input:checked) {
  background: var(--ink); border-color: var(--ink);
}
.check-pill:has(input:checked) span,
.radio-pill:has(input:checked) span {
  color: var(--paper);
}
/* When pill is selected (dark bg), invert the circular indicator */
.check-pill:has(input:checked) input[type="checkbox"] {
  background: var(--paper); border-color: var(--paper);
}
.check-pill:has(input:checked) input[type="checkbox"]:checked::after {
  border-left-color: var(--ink); border-bottom-color: var(--ink);
}
.radio-pill:has(input:checked) input[type="radio"] {
  border-color: var(--paper); background: transparent;
}
.radio-pill:has(input:checked) input[type="radio"]:checked::after {
  background: var(--paper);
}

/* ── Space Options / Quantity ─────────────────────────────────────────────── */
.space-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg);
  align-items: start;
}
.space-qty label {
  display: block; font-size: 13px; font-weight: 600; color: var(--ink);
  margin-bottom: var(--space-sm);
}
.qty-control {
  display: flex; align-items: stretch; border: 1px solid var(--line);
  background: var(--white); width: fit-content;
}
.qty-btn {
  width: 44px; background: var(--paper); border: none;
  font-size: 20px; color: var(--ink); cursor: pointer;
  transition: background var(--speed) var(--ease);
}
.qty-btn:hover { background: var(--panel); }
.qty-control input {
  width: 64px; text-align: center; border: none; border-left: 1px solid var(--line);
  border-right: 1px solid var(--line); background: var(--white);
  font-size: 18px; padding: 10px 0; border-radius: 0;
}
.qty-control input:focus { outline: none; box-shadow: none; }
.qty-price {
  display: block; font-size: 12px; color: var(--muted); margin-top: var(--space-xs);
}

.space-total {
  grid-column: 1 / -1;
  display: flex; align-items: baseline; gap: var(--space-sm);
  padding: var(--space-lg) var(--space-xl);
  background: var(--ink); color: var(--paper);
  margin-top: var(--space-md);
}
.space-total-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(245,241,234,0.6);
}
.space-total-amount {
  font-family: var(--font-display); font-size: 42px; font-weight: 400;
  color: var(--paper); line-height: 1; margin-left: auto;
}
.space-total-unit { font-size: 14px; color: rgba(245,241,234,0.6); }

/* ── File Upload Zone ─────────────────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed var(--line);
  background: var(--white);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center; cursor: pointer;
  transition: all var(--speed) var(--ease);
}
.upload-zone:hover, .upload-zone.drag-active, .upload-zone:focus-visible {
  border-color: var(--accent); background: rgba(139,111,71,0.04);
  outline: none;
}
.upload-icon { font-size: 36px; margin-bottom: var(--space-sm); }
.upload-text { font-size: 14px; color: var(--ink); font-weight: 500; }
.upload-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

.upload-preview {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: var(--space-md); margin-top: var(--space-md);
}
.upload-thumb {
  position: relative; aspect-ratio: 1; overflow: hidden;
  border: 1px solid var(--line);
}
.upload-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.thumb-remove {
  position: absolute; top: 4px; right: 4px;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(20,17,14,0.8); color: var(--paper);
  border: none; cursor: pointer; font-size: 14px; line-height: 1;
}
.thumb-remove:hover { background: var(--danger); }
.thumb-name {
  position: absolute; bottom: 0; left: 0; right: 0;
  font-size: 10px; color: var(--paper);
  background: rgba(20,17,14,0.8); padding: 4px 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── T&C Section ──────────────────────────────────────────────────────────── */
.tnc-section { background: var(--panel); border-color: var(--line); }
.tnc-intro { font-size: 14px; color: var(--ink-soft); margin-bottom: var(--space-md); }
.tnc-link-row { margin-bottom: var(--space-md); }
.tnc-link {
  display: inline-block; color: var(--accent); text-decoration: underline;
  font-size: 14px; font-weight: 500;
}
.tnc-link:hover { color: var(--accent-light); }
.tnc-checkbox {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--line); margin-top: var(--space-sm);
  cursor: pointer;
}
.tnc-checkbox span { font-size: 14px; color: var(--ink); line-height: 1.6; }
.tnc-checkbox input[type="checkbox"] {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  width: 24px; height: 24px; flex-shrink: 0; margin: 0;
  border: 2px solid var(--line); border-radius: 50%;
  background: var(--white); cursor: pointer; position: relative;
  transition: all var(--speed) var(--ease);
}
.tnc-checkbox input[type="checkbox"]:hover { border-color: var(--accent); }
.tnc-checkbox input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.tnc-checkbox input[type="checkbox"]:checked {
  background: var(--ink); border-color: var(--ink);
}
.tnc-checkbox input[type="checkbox"]:checked::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 8px; height: 4.5px; border-left: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: translate(-50%, -65%) rotate(-45deg);
}

/* ── Submit ───────────────────────────────────────────────────────────────── */
.form-submit {
  text-align: center; margin-top: var(--space-xl);
  position: sticky; bottom: 0;
  background: linear-gradient(transparent, var(--paper) 30%);
  padding: var(--space-xl) 0 var(--space-md);
}
.btn-large { padding: 18px 32px; font-size: 14px; }
.btn:disabled, .btn-primary:disabled {
  background: var(--line); border-color: var(--line); color: var(--muted);
  cursor: not-allowed; opacity: 0.7;
}
.btn:disabled:hover { background: var(--line); }
.submit-hint {
  display: block; font-size: 12px; color: var(--muted);
  margin-top: var(--space-sm);
}
.submit-hint.ready { color: var(--success); }

/* ── Success State ────────────────────────────────────────────────────────── */
.apply-success {
  max-width: 600px; margin: var(--space-5xl) auto;
  text-align: center; padding: var(--space-3xl);
  background: var(--cream); border: 1px solid var(--line);
}
.success-icon { font-size: 64px; margin-bottom: var(--space-md); }
.apply-success h2 { font-size: 28px; margin-bottom: var(--space-md); }
.apply-success p { font-size: 16px; color: var(--muted); margin-bottom: var(--space-md); }
.success-tagline {
  font-family: var(--font-display); font-size: 20px; color: var(--accent);
  font-style: italic; margin: var(--space-lg) 0 !important;
}

/* ── Apply CTA Card (index.html) ──────────────────────────────────────────── */
.apply-cta-card { display: flex; align-items: center; justify-content: center; }
.apply-cta-inner { text-align: center; }
.apply-cta-inner h3 { font-size: 26px; margin-bottom: var(--space-md); }
.apply-cta-desc { font-size: 15px; margin-bottom: var(--space-lg); }
.apply-cta-features {
  list-style: none; padding: 0; margin-bottom: var(--space-lg);
  text-align: left; display: inline-block;
}
.apply-cta-features li {
  font-size: 14px; color: var(--ink-soft); padding: 6px 0;
}
.apply-cta-terms {
  display: inline-block; margin-top: var(--space-md);
  font-size: 13px; color: var(--accent); text-decoration: underline;
}

/* ── Terms Page ───────────────────────────────────────────────────────────── */
.terms-page { background: var(--paper); padding: var(--space-3xl) var(--content-pad); }
.terms-inner { max-width: 760px; margin: 0 auto; }
.terms-page h1 {
  font-size: clamp(28px, 4vw, 40px); margin-bottom: var(--space-xs);
}
.terms-tagline {
  font-family: var(--font-display); font-size: 20px; color: var(--accent);
  font-style: italic; margin-bottom: var(--space-xl);
}
.terms-intro {
  font-size: 16px; color: var(--ink-soft); line-height: 1.75;
  margin-bottom: var(--space-2xl); padding: var(--space-lg);
  background: var(--cream); border-left: 3px solid var(--accent);
}
.terms-sections { display: flex; flex-direction: column; gap: var(--space-xl); }
.tnc-block {
  background: var(--cream); padding: var(--space-xl);
  border: 1px solid var(--line-soft);
}
.tnc-block h2 {
  font-size: 20px; color: var(--ink); margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm); border-bottom: 1px solid var(--line-soft);
}
.tnc-block ul { list-style: none; padding: 0; }
.tnc-block li {
  font-size: 14px; color: var(--ink-soft); line-height: 1.7;
  padding: 6px 0 6px 20px; position: relative;
}
.tnc-block li::before {
  content: '•'; position: absolute; left: 4px; color: var(--accent);
}
.tnc-block p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.terms-footer-block {
  text-align: center; margin-top: var(--space-2xl);
  padding: var(--space-xl); background: var(--ink); color: var(--paper);
}
.terms-brand {
  font-family: var(--font-display); font-size: 28px; margin-bottom: var(--space-xs);
}
.terms-meta {
  font-size: 12px; color: rgba(245,241,234,0.5); margin-top: var(--space-md) !important;
}
.terms-back { text-align: center; margin-top: var(--space-2xl); }

/* ── Thank You page ───────────────────────────────────────────────────────── */
.thankyou-card { max-width: 480px; }
.thankyou-card .success-tagline {
  font-family: var(--font-display); font-size: 18px; color: var(--accent);
  font-style: italic; margin-top: var(--space-md);
}

/* ── Responsive (Form) ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .space-options { grid-template-columns: 1fr; }
  .space-total-amount { font-size: 32px; }
  .form-section { padding: var(--space-lg); }
  .sec-title { font-size: 20px; }
  .check-pill, .radio-pill { padding: 8px 12px; font-size: 13px; }
  .apply-form-section { padding: var(--space-xl) var(--space-md) var(--space-3xl); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Online Store — Customer-Facing E-Commerce
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Store Hero ──────────────────────────────────────────────────────────── */
.store-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--ink) 100%);
  padding: var(--space-3xl) var(--content-pad);
  text-align: center; color: var(--paper);
}
.store-hero-inner { max-width: 640px; margin: 0 auto; }
.store-hero h1 { color: var(--paper); font-weight: 300; margin-bottom: var(--space-sm); }
.store-hero p { color: rgba(245,241,234,0.75); font-size: 15px; }

/* ── Store Content + Filters ─────────────────────────────────────────────── */
.store-content {
  max-width: var(--max-width); margin: 0 auto;
  padding: var(--space-xl) var(--content-pad) var(--space-4xl);
}
.store-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--line-soft);
}
.filter-btn {
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 16px; border: 1px solid var(--line); background: var(--white);
  color: var(--muted); cursor: pointer; border-radius: 0;
  transition: all var(--speed) var(--ease);
}
.filter-btn:hover { border-color: var(--accent); color: var(--ink); }
.filter-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ── Product Grid ────────────────────────────────────────────────────────── */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
}
.product-card {
  background: var(--cream); border: 1px solid var(--line-soft);
  overflow: hidden; transition: box-shadow var(--speed) var(--ease);
}
.product-card:hover { box-shadow: var(--shadow-md); }
.product-img {
  aspect-ratio: 4 / 5; background: var(--panel); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-placeholder {
  font-family: var(--font-display); font-size: 48px; color: var(--line);
  font-weight: 300;
}
.product-info { padding: var(--space-md) var(--space-md) var(--space-lg); }
.product-vendor {
  font-family: var(--font-sans); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent);
  display: block; margin-bottom: 4px;
}
.product-name {
  font-family: var(--font-display); font-size: 18px; color: var(--ink);
  margin-bottom: 4px; line-height: 1.3;
}
.product-category {
  font-size: 12px; color: var(--muted); margin-bottom: var(--space-sm);
}
.product-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--space-sm); border-top: 1px solid var(--line-soft);
}
.product-price {
  font-family: var(--font-display); font-size: 22px; color: var(--ink);
}
.store-empty {
  text-align: center; padding: var(--space-4xl);
  color: var(--muted); font-size: 16px;
}

/* ── Cart Sidebar ────────────────────────────────────────────────────────── */
.cart-btn {
  position: relative; background: none; border: none; cursor: pointer;
  color: var(--ink); padding: 8px;
}
.cart-count {
  position: absolute; top: -2px; right: -4px;
  background: var(--ink); color: var(--paper);
  font-size: 10px; font-weight: 600; width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.cart-sidebar {
  position: fixed; top: 0; right: -420px; z-index: 200;
  width: 400px; height: 100vh;
  background: var(--cream); border-left: 1px solid var(--line);
  box-shadow: -8px 0 32px rgba(0,0,0,0.1);
  display: flex; flex-direction: column;
  transition: right 0.35s var(--ease);
}
.cart-sidebar.open { right: 0; }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--line-soft);
}
.cart-header h2 { font-size: 20px; margin: 0; }
.cart-close {
  background: none; border: none; font-size: 28px; color: var(--muted);
  cursor: pointer; padding: 0; line-height: 1;
}
.cart-close:hover { color: var(--ink); }
.cart-items { flex: 1; overflow-y: auto; padding: var(--space-md) var(--space-xl); }
.cart-item {
  display: grid; grid-template-columns: 1fr auto auto auto;
  gap: 12px; align-items: center;
  padding: var(--space-md) 0; border-bottom: 1px solid var(--line-soft);
}
.cart-item-info b { font-size: 14px; display: block; }
.cart-item-info small { font-size: 11px; color: var(--muted); }
.cart-item-controls { display: flex; align-items: center; gap: 8px; }
.qty-btn-sm {
  width: 28px; height: 28px; border: 1px solid var(--line);
  background: var(--white); font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn-sm:hover { background: var(--panel); }
.cart-item-price { font-weight: 600; font-size: 14px; }
.cart-item-remove {
  background: none; border: none; font-size: 18px; color: var(--muted);
  cursor: pointer; padding: 4px; line-height: 1;
}
.cart-item-remove:hover { color: var(--danger); }
.cart-footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 2px solid var(--line);
}
.cart-total {
  display: flex; justify-content: space-between;
  font-size: 18px; margin-bottom: var(--space-md);
}

/* ── Checkout Modal ──────────────────────────────────────────────────────── */
.checkout-modal { max-width: 580px; }
.checkout-summary {
  background: var(--panel); padding: var(--space-md);
  margin: var(--space-lg) 0;
}
.checkout-payment-note {
  font-size: 13px; color: var(--muted); text-align: center;
  padding: var(--space-md); background: var(--white); border: 1px solid var(--line-soft);
}
.checkout-success {
  text-align: center; padding: var(--space-2xl) 0;
}
.checkout-success h2 { margin: var(--space-md) 0; }

/* ── Store Responsive ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .store-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); }
  .product-img { aspect-ratio: 1; }
  .product-name { font-size: 14px; }
  .product-price { font-size: 18px; }
  .cart-sidebar { width: 100%; right: -100%; }
  .cart-item { grid-template-columns: 1fr auto auto; }
  .cart-item-info small { display: none; }
}
