/* ============================================================
   PUP Marketplace — Main Stylesheet
   Brand colours matched from official PUP logo
   ============================================================ */

/* ── DESIGN TOKENS ───────────────────────────────────────── */
:root {
  --purple:       #6B21A8;
  --purple-dark:  #581C87;
  --purple-light: #F3E8FF;
  --orange:       #F97316;
  --orange-dark:  #EA6C0A;
  --orange-light: #FFF7ED;
  --green:        #22C55E;
  --green-dark:   #16A34A;
  --green-light:  #DCFCE7;
  --red:          #DC2626;
  --yellow:       #CA8A04;
  --blue:         #2563EB;
  --gray:         #6B7280;
  --bg:           #FAFAFA;
  --card:         #FFFFFF;
  --border:       #E5E7EB;
  --text:         #111827;
  --muted:        #6B7280;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ── NAVIGATION ──────────────────────────────────────────── */
nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.logo {
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #6B21A8 0%, #F97316 50%, #22C55E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-links a {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--purple-light);
  color: var(--purple);
}
.nav-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-primary  { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); }
.btn-orange   { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-green    { background: var(--green); color: #fff; }
.btn-green:hover  { background: var(--green-dark); }
.btn-outline  { background: transparent; color: var(--purple); border: 1.5px solid var(--purple); }
.btn-outline:hover { background: var(--purple-light); }
.btn-ghost    { background: transparent; color: var(--muted); border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn-danger   { background: var(--red); color: #fff; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ── NOTIFICATIONS ───────────────────────────────────────── */
.notif-bell { position: relative; }
.notif-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ── CONTAINERS ──────────────────────────────────────────── */
.container    { max-width: 1200px; margin: 0 auto; padding: 32px 24px; }
.container-sm { max-width: 640px;  margin: 0 auto; padding: 32px 24px; }
.container-md { max-width: 900px;  margin: 0 auto; padding: 32px 24px; }

/* ── FLASH MESSAGES ──────────────────────────────────────── */
.flash-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.flash {
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.flash-success { background: var(--green-light);  color: var(--green); border-left: 4px solid var(--green); }
.flash-error   { background: #fee2e2;              color: var(--red);   border-left: 4px solid var(--red);   }
.flash-info    { background: var(--purple-light);  color: var(--purple);border-left: 4px solid var(--purple);}

/* ── CARDS ───────────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.card-body { padding: 24px; }
.card-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 16px;
}

/* ── PRODUCT GRID ────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(107, 33, 168, 0.12);
}
.product-img {
  width: 100%;
  height: 220px;
  background: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 48px;
  overflow: hidden;
}
.product-img img { width: 100%; height: 220px; object-fit: cover; }
.product-info  { padding: 16px; flex: 1; }
.product-title { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.product-price { font-size: 20px; font-weight: 800; color: var(--purple); margin: 6px 0; }
.product-meta  { font-size: 12px; color: var(--muted); }

/* ── BADGES ──────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-green  { background: var(--green-light);  color: var(--green-dark); }
.badge-yellow { background: #fef9c3;              color: var(--yellow); }
.badge-orange { background: var(--orange-light);  color: var(--orange-dark); }
.badge-blue   { background: #dbeafe;              color: var(--blue); }
.badge-purple { background: var(--purple-light);  color: var(--purple); }
.badge-red    { background: #fee2e2;              color: var(--red); }
.badge-gray   { background: #f3f4f6;              color: var(--gray); }

/* Subcategory shown as a lighter, non-uppercase suffix inside the category badge —
   reads as "parent › child" rather than a second, equally-weighted badge. */
.badge-subcat-part {
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  opacity: 0.75;
  margin-left: 4px;
}

/* ── FORMS ───────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
  transition: border 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--purple); }
.form-group textarea { min-height: 100px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── TABLES ──────────────────────────────────────────────── */
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th {
  background: #f9fafb;
  padding: 11px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.table td { padding: 12px 14px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: #fafafa; }
.table-wrap { overflow-x: auto; }

/* ── STATS GRID ──────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.stat-value { font-size: 32px; font-weight: 900; color: var(--purple); }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.stat-value-green  { color: var(--green); }
.stat-value-orange { color: var(--orange); }

/* ── PAGE HEADER ─────────────────────────────────────────── */
.page-header { margin-bottom: 28px; }
.page-header h1 { font-size: 28px; font-weight: 800; }
.page-header p { color: var(--muted); margin-top: 6px; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section       { padding: 64px 0; }
.section-white { background: #fff; }
.section-cta   {
  background: linear-gradient(135deg, #581C87 0%, #6B21A8 100%);
  color: #fff;
  text-align: center;
}
.section-title    { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.section-title-sm { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.section-sub      { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto; }
.section-sub-spaced { color: var(--muted); font-size: 17px; max-width: 560px; margin: 8px auto 32px; }
.section-lead     { color: var(--muted); margin-top: 4px; }

/* ── PAGE HERO BANNERS ───────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #581C87 0%, #6B21A8 50%, #9333EA 100%);
  color: #fff;
  padding: 56px 24px;
  text-align: center;
}
.page-hero h1 { font-size: 40px; font-weight: 900; margin-bottom: 12px; }
.page-hero p  { font-size: 18px; opacity: 0.9; max-width: 560px; margin: 0 auto; }

/* ── HOME — HERO ─────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #581C87 0%, #6B21A8 50%, #9333EA 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}
.hero h1         { font-size: clamp(32px, 5vw, 54px); font-weight: 900; line-height: 1.1; margin-bottom: 16px; }
.hero h1 .highlight { color: #fbbf24; }
.hero-lead       { font-size: 18px; opacity: 0.9; max-width: 560px; margin: 0 auto 32px; }
.hero-btns       { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--orange);
  color: #fff;
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-hero-primary:hover { background: var(--orange-dark); }
.btn-hero-outline {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-hero-outline:hover { background: rgba(255,255,255,0.25); }
.hero-search { max-width: 560px; margin: 32px auto 0; display: flex; gap: 8px; }
.hero-search input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
}
.hero-search button {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.hero-search button:hover { background: var(--orange-dark); }

/* ── HOME — TRUST BAR ────────────────────────────────────── */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item  { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: #374151; }
.trust-icon  { font-size: 22px; }

/* ── HOME — HOW IT WORKS ─────────────────────────────────── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
  max-width: 1000px;
  margin: 0 auto;
}
.how-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px; }
.step-num  {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 22px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step-icon  { font-size: 36px; margin-bottom: 10px; }
.step-title { font-weight: 700; margin-bottom: 6px; }
.step-desc  { font-size: 13px; color: var(--muted); }

/* ── HOME — WHY PUP ──────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.why-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.why-icon { font-size: 32px; margin-bottom: 12px; }
.why-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.why-card p  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── HOME — FEE TABLE ────────────────────────────────────── */
.fee-table { max-width: 500px; margin: 0 auto; }
.fee-row   { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-radius: 10px; margin-bottom: 8px; }
.fee-row-purple { background: #f3e8ff; }
.fee-row-yellow { background: #fef3c7; }
.fee-row-green  { background: #dcfce7; }
.fee-row-label  { font-size: 12px; color: var(--muted); }
.fee-amount         { font-weight: 700; font-size: 16px; }
.fee-amount-purple  { color: var(--purple); }
.fee-amount-yellow  { color: var(--yellow); }
.fee-amount-green   { color: var(--green); }

/* ── HOME — STATION GRID ─────────────────────────────────── */
.station-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.station-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.station-card h3 { font-size: 15px; font-weight: 700; color: var(--purple); margin-bottom: 4px; }
.station-card p  { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ── HOME — CTA ──────────────────────────────────────────── */
.cta-heading { font-size: 36px; font-weight: 900; margin-bottom: 12px; }
.cta-sub     { font-size: 18px; opacity: 0.9; margin-bottom: 28px; }
.btn-cta     {
  background: var(--orange);
  color: #fff;
  padding: 16px 40px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s;
}
.btn-cta:hover { background: var(--orange-dark); }

/* ── PRICING PAGE ────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 40px; }
.pricing-tier {
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  border: 2px solid transparent;
}
.pricing-tier-purple { background: var(--purple-light); border-color: var(--purple); }
.pricing-tier-yellow { background: #fef9c3; border-color: var(--yellow); }
.pricing-tier-green  { background: var(--green-light);  border-color: var(--green);  }
.tier-label  { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.tier-pct    { font-size: 48px; font-weight: 900; }
.tier-range  { font-size: 15px; font-weight: 600; margin: 8px 0; }
.tier-note   { font-size: 13px; color: var(--muted); }
.tier-label-purple { color: var(--purple); }
.tier-label-yellow { color: var(--yellow); }
.tier-label-green  { color: var(--green);  }
.tier-pct-purple   { color: var(--purple); }
.tier-pct-yellow   { color: var(--yellow); }
.tier-pct-green    { color: var(--green);  }

.calc-example { background: var(--orange-light); border-radius: 16px; padding: 28px; margin-top: 32px; }
.calc-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
}
.calc-row-total { display: flex; justify-content: space-between; padding: 12px 0; font-weight: 800; font-size: 18px; color: var(--orange); }
.calc-muted { color: var(--muted); }

/* ── HOW IT WORKS PAGE ───────────────────────────────────── */
.hiw-hero {
  background: linear-gradient(135deg, #EDE9FE 0%, #FFF7ED 52%, #DCFCE7 100%);
  border-bottom: 1px solid #E9D5FF;
  padding: 72px 24px 64px;
  text-align: center;
}
.hiw-hero-inner { max-width: 600px; margin: 0 auto; }
.hiw-hero-pill {
  display: inline-block;
  background: rgba(107,33,168,0.1);
  color: var(--purple);
  border: 1px solid #DDD6FE;
  border-radius: 24px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.hiw-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; color: var(--text); line-height: 1.1; margin-bottom: 14px; }
.hiw-hero p  { font-size: 18px; color: var(--muted); line-height: 1.65; }

.hiw-page-wrap { max-width: 720px; margin: 0 auto; padding: 64px 24px 80px; }

/* Timeline */
.hiw-timeline { position: relative; margin-bottom: 56px; }
.hiw-tl-line {
  position: absolute;
  left: 31px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: linear-gradient(to bottom, #7C3AED, #F97316, #3B82F6, #22C55E);
  border-radius: 2px;
}
.hiw-tl-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  margin-bottom: 20px;
}
.hiw-tl-step:last-child { margin-bottom: 0; }
.hiw-tl-node {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900;
  position: relative; z-index: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hiw-node-purple { background: linear-gradient(135deg, #7C3AED, #6B21A8); }
.hiw-node-orange { background: linear-gradient(135deg, #F97316, #EA580C); }
.hiw-node-blue   { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.hiw-node-green  { background: linear-gradient(135deg, #22C55E, #16A34A); }

.hiw-tl-card {
  flex: 1;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border-left-width: 4px;
  margin-top: 8px;
}
.hiw-card-purple { border-left-color: #7C3AED; }
.hiw-card-orange { border-left-color: #F97316; }
.hiw-card-blue   { border-left-color: #3B82F6; }
.hiw-card-green  { border-left-color: #22C55E; }

.hiw-tl-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.hiw-tl-emoji { font-size: 28px; }
.hiw-tl-card h3 { font-size: 18px; font-weight: 800; color: var(--text); margin: 0; }
.hiw-tl-card p  { color: var(--muted); line-height: 1.65; font-size: 15px; margin: 0 0 14px; }
.hiw-tl-who { display: flex; gap: 8px; flex-wrap: wrap; }
.hiw-who-badge {
  font-size: 12px; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 3px 12px; color: var(--muted);
}

/* Reject card */
.hiw-reject-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #FFF7ED;
  border: 1.5px solid #FED7AA;
  border-left: 4px solid var(--orange);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 48px;
}
.hiw-reject-icon { font-size: 36px; flex-shrink: 0; }
.hiw-reject-card h3 { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.hiw-reject-card p  { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }

/* CTA row */
.hiw-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hiw-cta-sell {
  display: inline-flex; align-items: center;
  border: 2px solid var(--purple);
  color: var(--purple);
  background: transparent;
  border-radius: 12px;
  padding: 15px 36px;
  font-size: 16px; font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.hiw-cta-sell:hover { background: var(--purple-light); }

@media (max-width: 600px) {
  .hiw-tl-line { left: 27px; }
  .hiw-tl-node { width: 56px; height: 56px; font-size: 18px; }
  .hiw-tl-card { padding: 16px 18px; }
}

/* ── ABOUT PAGE ──────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.about-mission { font-size: 17px; color: var(--muted); line-height: 1.8; margin-bottom: 32px; }
.about-cta-box {
  background: var(--purple-light);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}
.about-cta-box h2    { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.about-cta-box p     { color: var(--muted); margin-bottom: 0; }
.about-cta-box em    { color: var(--purple); }
.about-quote { font-size: 20px; font-style: italic; color: var(--purple); font-weight: 700; }

/* ── STATIONS PAGE ───────────────────────────────────────── */
/* ── STATIONS PAGE (redesign) ────────────────────────────── */
.stn-page-wrap { max-width: 1100px; margin: 0 auto; padding: 48px 24px 80px; }

/* City filter tabs */
.stn-filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.stn-filter-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: 40px;
  font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--border);
  background: #fff; color: var(--text);
  text-decoration: none; transition: all 0.18s;
}
.stn-filter-tab:hover {
  border-color: var(--purple); color: var(--purple);
  background: var(--purple-light);
}
.stn-filter-tab-active {
  background: var(--purple) !important; color: #fff !important;
  border-color: var(--purple) !important;
  box-shadow: 0 4px 14px rgba(107,33,168,0.25);
}

/* Station grid */
.stn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

/* Station card */
.stn-card {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(107,33,168,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.stn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(107,33,168,0.14);
}

/* Card top: gradient band */
.stn-card-top {
  background: linear-gradient(135deg, #7C3AED 0%, #6B21A8 60%, #9333EA 100%);
  padding: 22px 20px 18px;
  display: flex; align-items: center; gap: 14px;
  position: relative;
}
.stn-card-icon-wrap {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(255,255,255,0.18);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  border: 1px solid rgba(255,255,255,0.25);
}
.stn-card-head  { flex: 1; }
.stn-card-name  { font-size: 16px; font-weight: 800; color: #fff; line-height: 1.3; }
.stn-card-city  { font-size: 12px; color: rgba(255,255,255,0.75); margin-top: 2px; font-weight: 500; }
.stn-active-dot {
  width: 12px; height: 12px;
  background: #4ADE80;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(74,222,128,0.35);
}

/* Card body */
.stn-card-body {
  padding: 20px 20px 12px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.stn-detail-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text); line-height: 1.5;
}
.stn-detail-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* Card footer */
.stn-card-footer {
  padding: 12px 20px 18px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.stn-status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  color: #15803D; background: #DCFCE7;
  border: 1px solid #86EFAC; border-radius: 20px;
  padding: 4px 12px;
}

/* Empty state */
.stn-empty {
  grid-column: 1/-1; text-align: center;
  padding: 72px 0; color: var(--muted);
}
.stn-empty-icon { font-size: 52px; margin-bottom: 16px; }
.stn-empty h3   { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }

/* Become a station CTA */
.stn-become {
  background: linear-gradient(135deg, #EDE9FE 0%, #FFF7ED 60%, #DCFCE7 100%);
  border: 1.5px solid #DDD6FE;
  border-radius: 20px;
  padding: 32px 36px;
  display: flex; align-items: center; gap: 24px;
  justify-content: space-between; flex-wrap: wrap;
}
.stn-become-left {
  display: flex; align-items: flex-start; gap: 18px; flex: 1; min-width: 260px;
}
.stn-become-icon { font-size: 40px; flex-shrink: 0; }
.stn-become h3   { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.stn-become p    { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.stn-become-btn  {
  display: inline-flex; align-items: center;
  background: var(--purple); color: #fff;
  border-radius: 12px; padding: 14px 28px;
  font-size: 15px; font-weight: 700;
  text-decoration: none; flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(107,33,168,0.3);
}
.stn-become-btn:hover { background: var(--purple-dark); transform: translateY(-1px); }
@media (max-width: 600px) {
  .stn-become { flex-direction: column; align-items: flex-start; }
}

/* ── AUTH PAGES ──────────────────────────────────────────── */
/* ── AUTH PAGES (redesign) ───────────────────────────────── */
.auth-page {
  min-height: calc(100vh - 64px);
  background: linear-gradient(135deg, #EDE9FE 0%, #FFF7ED 52%, #DCFCE7 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 16px;
}
.auth-card {
  background: #fff;
  border-radius: 24px;
  border: 1.5px solid #E9D5FF;
  box-shadow: 0 20px 60px rgba(107,33,168,0.12), 0 4px 20px rgba(107,33,168,0.06);
  width: 100%; max-width: 440px;
  overflow: hidden;
}
.auth-card-wide { max-width: 560px; }

.auth-card-logo {
  text-align: center; padding: 32px 32px 0;
}
.auth-card-logo img { height: 48px; width: auto; }

.auth-card-body { padding: 24px 36px 28px; }

.auth-title { font-size: 22px; font-weight: 900; color: var(--text); margin-bottom: 4px; text-align: center; }
.auth-sub   { font-size: 14px; color: var(--muted); text-align: center; margin-bottom: 24px; }

/* Fields */
.auth-field { margin-bottom: 16px; }
.auth-label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.auth-optional { font-weight: 400; color: var(--muted); }
.auth-input-wrap {
  display: flex; align-items: center; gap: 0;
  border: 1.5px solid var(--border); border-radius: 10px;
  background: #fff; overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-input-wrap:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107,33,168,0.1);
}
.auth-input-icon {
  padding: 0 12px; font-size: 16px;
  background: #F9FAFB; border-right: 1px solid var(--border);
  height: 44px; display: flex; align-items: center;
  flex-shrink: 0;
}
.auth-input {
  flex: 1; border: none; outline: none; background: transparent;
  padding: 0 14px; height: 44px; font-size: 15px; color: var(--text);
  font-family: inherit;
}
.auth-input::placeholder { color: #9CA3AF; }
.auth-input-wrap-textarea .auth-input-icon { height: auto; align-self: stretch; }
.auth-textarea { height: auto; padding: 10px 14px; resize: vertical; min-height: 66px; font-family: inherit; }

.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.auth-btn {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, #7C3AED, #6B21A8);
  color: #fff; border: none; border-radius: 12px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  margin-top: 8px; transition: opacity 0.15s, transform 0.15s;
  box-shadow: 0 4px 16px rgba(107,33,168,0.35);
  font-family: inherit;
}
.auth-btn:hover { opacity: 0.92; transform: translateY(-1px); }

.auth-switch {
  text-align: center; margin-top: 18px;
  font-size: 14px; color: var(--muted);
}
.auth-switch a { color: var(--purple); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* Trust bar at bottom */
.auth-trust {
  display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 24px;
  background: #F9FAFB; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--muted); font-weight: 600;
}

@media (max-width: 500px) {
  .auth-card-body { padding: 20px 20px 24px; }
  .auth-row { grid-template-columns: 1fr; }
  .auth-trust { gap: 8px; }
}

/* ── SELLER NEW LISTING ──────────────────────────────────── */
.listing-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.calc-panel     { position: sticky; top: 80px; }
.calc-header    { background: var(--purple); color: #fff; border-radius: 16px 16px 0 0; }
.calc-breakdown { margin-top: 20px; border-top: 1px solid var(--border); padding-top: 20px; }
.calc-breakdown-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.calc-row-item  { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f3f4f6; font-size: 14px; }
.calc-row-muted { color: var(--muted); }
.calc-total     { display: flex; justify-content: space-between; padding: 12px 0; font-weight: 800; font-size: 18px; color: var(--purple); }
.calc-tiers     { margin-top: 20px; background: #f9fafb; border-radius: 10px; padding: 14px; font-size: 12px; color: var(--muted); }

/* ── PRODUCT DETAIL ──────────────────────────────────────── */
.detail-layout  { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.detail-images  {}
.detail-main-img { width: 100%; border-radius: 16px; object-fit: cover; max-height: 480px; }
.detail-thumbs  { display: flex; gap: 8px; margin-top: 12px; }
.detail-thumb   { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; border: 2px solid var(--border); }
.detail-thumb-active { border-color: var(--purple); }
.detail-placeholder {
  width: 100%; height: 380px;
  background: var(--purple-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
}
.detail-price      { font-size: 32px; font-weight: 900; color: var(--purple); margin-bottom: 12px; }
.detail-title      { font-size: 26px; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.detail-desc       { font-size: 14px; color: var(--muted); margin-bottom: 20px; line-height: 1.6; }
.detail-seller     { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.pup-guarantee     {
  background: var(--purple-light);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.pup-guarantee-title { font-size: 13px; font-weight: 700; color: var(--purple); margin-bottom: 8px; }
.pup-guarantee-body  { font-size: 13px; color: #4e2d96; line-height: 1.5; }
.station-info-box {
  background: #f0fdf4;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid #bbf7d0;
}
.station-info-title   { font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 6px; }
.station-info-name    { font-weight: 600; }
.station-info-address { font-size: 13px; color: var(--muted); }
.reserve-note  { text-align: center; font-size: 12px; color: var(--muted); margin-top: 8px; }
.unavail-box   { background: #f3f4f6; border-radius: 10px; padding: 14px; text-align: center; font-size: 14px; color: var(--muted); }

/* ── BUYER — RESERVATIONS ────────────────────────────────── */
.order-card-layout  { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.order-thumb        { width: 80px; height: 80px; flex-shrink: 0; }
.order-thumb img    { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }
.order-thumb-placeholder {
  width: 80px; height: 80px;
  background: var(--purple-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.order-price    { font-size: 20px; font-weight: 800; color: var(--purple); margin-bottom: 6px; }
.order-meta     { font-size: 13px; color: var(--muted); }
.order-station  { font-size: 13px; color: var(--muted); margin-top: 4px; }
.order-note     {
  background: var(--purple-light);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--purple);
}
.progress-bar-wrap  { margin-top: 16px; }
.progress-bars      { display: flex; gap: 4px; }
.progress-bar-seg   { flex: 1; height: 4px; border-radius: 2px; background: var(--border); }
.progress-bar-fill  { background: var(--purple); }
.progress-labels    { display: flex; justify-content: space-between; margin-top: 6px; }
.progress-label     { font-size: 10px; color: var(--muted); }

/* ── SELLER DASHBOARD ────────────────────────────────────── */
.listing-thumb      { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.listing-thumb-placeholder {
  width: 44px; height: 44px;
  background: var(--purple-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.listing-name-cell  { display: flex; align-items: center; gap: 12px; }
.notif-item         { padding: 14px 24px; border-bottom: 1px solid #f3f4f6; font-size: 14px; }
.notif-time         { font-size: 12px; color: var(--muted); margin-left: 8px; }

/* ── ADMIN ───────────────────────────────────────────────── */
.admin-nav-row      { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.order-admin-layout { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.order-admin-form   { min-width: 280px; }
.order-admin-form-input {
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  width: 100%;
}
.admin-amount-paid  { font-size: 13px; color: var(--green); font-weight: 600; margin-top: 4px; }
.admin-note-display {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.seller-note-box    { font-size: 13px; color: var(--muted); margin-top: 4px; }
.add-station-form   {}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: #1a1230;
  color: #94a3b8;
  padding: 40px 24px;
  margin-top: 80px;
  text-align: center;
  font-size: 13px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(90deg, #a78bfa 0%, #fb923c 50%, #4ade80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.footer-links { margin-top: 12px; }
.footer-links a { color: #a78bfa; text-decoration: none; }
.footer-copy    { margin-top: 16px; font-size: 12px; opacity: 0.5; }

/* ── UTILITIES ───────────────────────────────────────────── */
.flex            { display: flex; }
.items-center    { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8           { gap: 8px; }
.gap-12          { gap: 12px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.text-muted   { color: var(--muted); font-size: 13px; }
.text-center  { text-align: center; }
.text-purple  { color: var(--purple); }
.text-orange  { color: var(--orange); }
.text-green   { color: var(--green); }
.text-sm      { font-size: 13px; }
.text-xs      { font-size: 12px; }
.font-bold    { font-weight: 700; }
.font-black   { font-weight: 900; }
.divider      { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.back-link    { color: var(--purple); font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; margin-top: 8px; }
.w-full       { width: 100%; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
/* ── HAMBURGER BUTTON ────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  margin-left: 8px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-hamburger-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU — full-screen drawer with Main → Categories → Subcategories drill-down ── */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}
.nav-mobile.nav-mobile-open { display: block; }
.nmp-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 12, 34, 0.45);
}
.nmp-drawer {
  position: absolute;
  inset: 0;
  background: #fff;
  overflow: hidden;
}
.nmp-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  transition: transform 0.28s ease;
}
.nmp-pos-left   { transform: translateX(-100%); }
.nmp-pos-center { transform: translateX(0); }
.nmp-pos-right  { transform: translateX(100%); }

.nmp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nmp-header-stacked { align-items: center; }
.nmp-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  flex: 1;
}
.nmp-title-stack {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.3;
}
.nmp-title-small {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.nmp-back, .nmp-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
}
.nmp-back:hover, .nmp-close:hover { border-color: var(--purple); color: var(--purple); }

.nmp-body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 16px 16px;
}
.nmp-body a, .nmp-row-btn {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 13px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid #F3F0FF;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}
.nmp-body a:last-child, .nmp-row-btn:last-child { border-bottom: none; }
.nmp-body a:hover, .nmp-body a.active, .nmp-row-btn:hover { color: var(--purple); }
.nmp-row-btn { justify-content: space-between; }
.nmp-chevron { color: var(--muted); font-size: 18px; }
.nmp-cat-row { gap: 12px; }
.nmp-cat-icon { font-size: 18px; width: 24px; text-align: center; flex-shrink: 0; }
.nmp-cat-label { flex: 1; }
.nmp-subcat-all { font-weight: 700 !important; }

.nav-mobile-divider {
  border-top: 2px solid #F3F0FF;
  margin: 8px 0;
}
.nav-mobile-pwa {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: none;
  border: none;
  border-top: 1px solid #F3F0FF;
  width: 100%;
  text-align: left;
  font-size: 15px;
  font-family: inherit;
  color: var(--purple);
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
}
.nav-mobile-pwa svg { flex-shrink: 0; }

@keyframes pwaToastIn  { from { opacity: 0; transform: translateX(-50%) translateY(12px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes pwaToastOut { from { opacity: 1; transform: translateX(-50%) translateY(0); } to { opacity: 0; transform: translateX(-50%) translateY(12px); } }
.nav-mobile-notif {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.nav-mobile-logout {
  color: var(--muted) !important;
  font-weight: 500 !important;
}
.nav-mobile-register {
  color: var(--purple) !important;
  font-weight: 700 !important;
}

@media (max-width: 768px) {
  .nav-links           { display: none; }
  .nav-right           { display: none; }
  .nav-hamburger       { display: flex; margin-left: auto; }
  .nav-logo-img        { height: 110px; }
  .form-row            { grid-template-columns: 1fr; }
  .section-title       { font-size: 24px; }
  .stats-grid          { grid-template-columns: repeat(2, 1fr); }
  .detail-layout       { grid-template-columns: 1fr; }
  .listing-layout      { grid-template-columns: 1fr; }
  .about-grid          { grid-template-columns: 1fr; }
  .page-hero h1        { font-size: 28px; }
}

/* ── SUPPLEMENTAL CLASSES ────────────────────────────────── */
.stat-value-purple  { color: var(--purple); }
.mt-4               { margin-top: 4px; }

/* Empty states */
.empty-state { text-align: center; padding: 64px 24px; color: var(--muted); }
.empty-icon  { font-size: 48px; margin-bottom: 12px; }

/* Browse page */
.browse-filters             { margin-bottom: 16px; }
.browse-search-form         { display: flex; gap: 8px; }
.browse-search-form input   { flex: 1; }
.category-tabs              { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.results-count              { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.product-card-header        { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 4px; }

/* Buyer — reservation cards */
.order-details   { flex: 1; min-width: 200px; }
.order-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.order-name      { font-weight: 700; font-size: 15px; }
.order-actions   { display: flex; flex-direction: column; gap: 8px; }

/* Seller — dashboard */
.inline-form        { display: inline; }
.btn-inline-danger  {
  background: none; border: none;
  color: var(--red); cursor: pointer;
  font-size: 13px; padding: 2px 8px; font-weight: 600;
}
.btn-inline-danger:hover { text-decoration: underline; }

/* Buyer — listing detail */
.detail-badges { display: flex; gap: 8px; margin-bottom: 16px; }
.btn-reserve   { margin-top: 8px; }

/* Seller — new listing */
.calc-intro  { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.file-input  { width: 100%; }
.btn-publish { margin-top: 8px; }

/* Admin — transactions */
.order-admin-thumb { width: 80px; height: 80px; flex-shrink: 0; }
.order-admin-thumb img { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; }
.order-admin-thumb-placeholder {
  width: 80px; height: 80px;
  background: var(--purple-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.order-admin-details       { flex: 1; min-width: 200px; }
.admin-order-title-row     { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.admin-order-title         { font-weight: 700; font-size: 15px; }
.admin-order-id            { font-size: 12px; color: var(--muted); }
.admin-order-price         { font-size: 20px; font-weight: 800; color: var(--purple); margin-bottom: 6px; }
.admin-order-meta          { font-size: 13px; color: var(--muted); }
.admin-buyer-note          { font-size: 13px; color: var(--muted); margin-top: 4px; }
.admin-pup-display         { font-size: 13px; margin-top: 4px; }
.admin-empty               { text-align: center; padding: 64px 0; color: var(--muted); }
.admin-empty-icon          { font-size: 48px; margin-bottom: 12px; }

/* About page */
.about-section         { margin: 48px 0; }
.about-section-heading { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.about-card-icon       { font-size: 28px; margin-bottom: 12px; }
.about-card h3         { font-weight: 700; margin-bottom: 8px; }
.about-card p          { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ── PRICING PAGE (redesign) ─────────────────────────────── */
.pricing-page-wrap { max-width: 800px; margin: 0 auto; padding: 56px 24px 80px; }

.pricing-buyer-banner {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, #DCFCE7, #ECFDF5);
  border: 1.5px solid #86EFAC;
  border-left: 4px solid var(--green);
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 48px;
  font-size: 15px;
}
.pricing-buyer-icon { font-size: 28px; flex-shrink: 0; }
.pricing-buyer-sub  { color: var(--muted); }

.pricing-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted);
  margin-bottom: 16px;
}

/* Tier cards */
.pricing-tiers-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.ptier {
  border-radius: 20px; padding: 28px 24px; text-align: center;
  border: 1.5px solid transparent; position: relative;
}
.ptier-purple { background: linear-gradient(160deg, #F3E8FF, #EDE9FE); border-color: #C4B5FD; }
.ptier-orange { background: linear-gradient(160deg, #FFF7ED, #FFEDD5); border-color: #FED7AA; }
.ptier-green  { background: linear-gradient(160deg, #DCFCE7, #D1FAE5); border-color: #86EFAC; box-shadow: 0 4px 20px rgba(34,197,94,0.15); }

.ptier-badge {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-radius: 20px; padding: 4px 14px; margin-bottom: 16px;
}
.ptier-purple .ptier-badge { background: #DDD6FE; color: var(--purple); }
.ptier-orange .ptier-badge { background: #FED7AA; color: #C2410C; }
.ptier-green  .ptier-badge { background: #86EFAC; color: #15803D; }
.ptier-badge-best          { background: #22C55E !important; color: #fff !important; }

.ptier-pct {
  font-size: 56px; font-weight: 900; line-height: 1; margin-bottom: 10px;
}
.ptier-purple .ptier-pct { color: var(--purple); }
.ptier-orange .ptier-pct { color: #EA580C; }
.ptier-green  .ptier-pct { color: #16A34A; }

.ptier-range { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.ptier-note  { font-size: 12px; color: var(--muted); }

/* Courier cards */
.pricing-courier-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 48px; }
.pcourier-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 14px; padding: 20px 16px; text-align: center;
  transition: box-shadow 0.2s;
}
.pcourier-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.pcourier-free { background: #F9FAFB; border-color: #BBF7D0; }
.pcourier-icon  { font-size: 28px; margin-bottom: 8px; }
.pcourier-size  { font-size: 14px; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.pcourier-weight{ font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.pcourier-price { font-size: 22px; font-weight: 900; color: var(--purple); }
.pcourier-price-free { color: var(--green) !important; }
.pcourier-free-note  { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Receipt calc */
.pricing-receipt {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.preceipt-header {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(135deg, #EDE9FE, #F3E8FF);
  border-bottom: 1px solid #DDD6FE;
  padding: 20px 24px;
}
.preceipt-icon  { font-size: 32px; flex-shrink: 0; }
.preceipt-title { font-size: 15px; font-weight: 800; color: var(--text); }
.preceipt-sub   { font-size: 13px; color: var(--muted); margin-top: 2px; }
.preceipt-rows  { padding: 20px 24px; display: flex; flex-direction: column; gap: 0; }
.preceipt-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; font-size: 15px; font-weight: 600; color: var(--text);
  border-bottom: 1px dashed #F3F4F6;
}
.preceipt-row:last-child { border-bottom: none; }
.preceipt-row-muted { color: var(--muted); font-weight: 400; }
.preceipt-divider { border-top: 2px solid var(--border); margin: 4px 0; }
.preceipt-total {
  font-size: 20px; font-weight: 900; color: var(--orange);
  border-bottom: none !important;
  padding-top: 14px !important;
}
.preceipt-tip {
  font-size: 13px; color: var(--muted);
  padding: 14px 24px; background: #F9FAFB;
  border-top: 1px solid var(--border); margin: 0;
}

@media (max-width: 640px) {
  .pricing-tiers-row  { grid-template-columns: 1fr; }
  .pricing-courier-row{ grid-template-columns: repeat(2, 1fr); }
}

/* Public stations page — see stn-* classes above */

/* ── GUMTREE-INSPIRED HOME ────────────────────────────────── */
.gh-hero {
  background: linear-gradient(135deg, #581C87 0%, #6B21A8 60%, #7C3AED 100%);
  color: #fff;
  padding: 60px 24px 68px;
  text-align: center;
}
.gh-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.gh-hero-title {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 28px;
}
.gh-search-form {
  display: flex;
  max-width: 640px;
  margin: 0 auto 18px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,0.3);
}
.gh-search-input {
  flex: 1;
  padding: 17px 22px;
  font-size: 16px;
  border: none;
  outline: none;
  color: var(--text);
  min-width: 0;
}
.gh-search-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 17px 36px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.gh-search-btn:hover { background: var(--orange-dark); }
.gh-hero-links {
  font-size: 14px;
  opacity: 0.8;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.gh-hero-links a     { color: #fff; text-decoration: none; }
.gh-hero-links a:hover { text-decoration: underline; }
.gh-hero-sep         { opacity: 0.4; }

/* Section headers */
.gh-section-title { font-size: 22px; font-weight: 800; margin-bottom: 20px; color: var(--text); }
.gh-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.gh-section-header .gh-section-title { margin-bottom: 0; }

/* Category browse grid */
.gh-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.gh-cat-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 22px 12px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.gh-cat-card:hover {
  border-color: var(--purple);
  background: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(107,33,168,0.12);
}
.gh-cat-icon  { font-size: 34px; line-height: 1; }
.gh-cat-label { font-size: 12px; font-weight: 600; line-height: 1.3; color: inherit; }

/* Sell CTA banner (orange, Gumtree-style) */
.gh-sell-cta {
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 60px 24px;
}
.gh-sell-cta h2 { font-size: 30px; font-weight: 900; margin-bottom: 10px; }
.gh-sell-cta p  {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.gh-sell-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 16px;
  padding: 14px 36px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.15s;
}
.gh-sell-btn:hover { background: #fff0e0; transform: translateY(-1px); }

@media (max-width: 768px) {
  .gh-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .gh-search-form { border-radius: 12px; }
}
@media (max-width: 480px) {
  .gh-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .gh-search-form { flex-direction: column; }
  .gh-search-btn { padding: 14px; }
}

/* ================================================================
   LANDING PAGE — Beautiful marketing-style sections
   Inspired by Paxi / Aramex / modern SA marketplace landing pages
   ================================================================ */

/* ── LP HERO ─────────────────────────────────────────────────── */
.lp-hero {
  background: linear-gradient(140deg, #2D0A6B 0%, #581C87 40%, #7C3AED 75%, #9333EA 100%);
  color: #fff;
  padding: 88px 24px 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Subtle decorative orbs */
.lp-hero::before,
.lp-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.lp-hero::before {
  width: 500px; height: 500px;
  background: rgba(249,115,22,0.12);
  top: -120px; right: -120px;
}
.lp-hero::after {
  width: 380px; height: 380px;
  background: rgba(34,197,94,0.08);
  bottom: -100px; left: -80px;
}
.lp-hero-inner { position: relative; z-index: 1; }
.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.lp-hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.lp-hero-title .accent-orange { color: #FB923C; }
.lp-hero-title .accent-green  { color: #4ADE80; }
.lp-hero-sub {
  font-size: 18px;
  opacity: 0.88;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.65;
  font-weight: 400;
}
.lp-hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.lp-btn-primary {
  background: var(--orange);
  color: #fff;
  padding: 15px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lp-btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(249,115,22,0.4); }
.lp-btn-outline {
  background: transparent;
  color: #fff;
  padding: 15px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.45);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lp-btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.lp-hero-proof {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.lp-proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
}

/* ── LP STATS BAR ────────────────────────────────────────────── */
.lp-stats {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
}
.lp-stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.lp-stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 4px;
}
.lp-stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}
.lp-stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* ── LP FEATURE CARDS (The PUP Difference) ───────────────────── */
.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-feature-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all 0.2s;
}
.lp-feature-card:hover {
  border-color: var(--purple);
  box-shadow: 0 8px 32px rgba(107,33,168,0.1);
  transform: translateY(-3px);
}
.lp-feature-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}
.lp-icon-purple { background: var(--purple-light); }
.lp-icon-orange { background: var(--orange-light); }
.lp-icon-green  { background: var(--green-light);  }
.lp-feature-title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.lp-feature-desc  { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── LP HOW IT WORKS ─────────────────────────────────────────── */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  counter-reset: step;
}
.lp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.lp-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(50% + 32px);
  right: calc(-50% + 32px);
  height: 2px;
  background: linear-gradient(90deg, var(--purple-light), var(--border));
  z-index: 0;
}
.lp-step-bubble {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.lp-bubble-1 { background: linear-gradient(135deg, #7C3AED, #6B21A8); }
.lp-bubble-2 { background: linear-gradient(135deg, #F97316, #EA6C0A); }
.lp-bubble-3 { background: linear-gradient(135deg, #2563EB, #1D4ED8); }
.lp-bubble-4 { background: linear-gradient(135deg, #22C55E, #16A34A); }
.lp-step-emoji  { font-size: 28px; margin-bottom: 12px; }
.lp-step-title  { font-size: 16px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.lp-step-desc   { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── LP DUAL CTA PANELS ──────────────────────────────────────── */
.lp-dual-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.lp-cta-panel {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.lp-cta-buyer  { background: linear-gradient(135deg, #581C87, #6B21A8); color: #fff; }
.lp-cta-seller { background: linear-gradient(135deg, #C2410C, #F97316); color: #fff; }
.lp-cta-panel-icon { font-size: 40px; margin-bottom: 16px; }
.lp-cta-panel-title { font-size: 26px; font-weight: 900; margin-bottom: 10px; }
.lp-cta-panel-sub   { font-size: 15px; opacity: 0.88; margin-bottom: 24px; line-height: 1.6; max-width: 340px; }
.lp-cta-panel-list  { list-style: none; margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.lp-cta-panel-list li { font-size: 14px; opacity: 0.9; display: flex; align-items: center; gap: 8px; }
.lp-cta-panel-list li::before { content: '✓'; font-weight: 900; font-size: 16px; }
.lp-cta-buyer  .lp-cta-panel-btn { background: #fff; color: var(--purple); }
.lp-cta-buyer  .lp-cta-panel-btn:hover { background: var(--purple-light); }
.lp-cta-seller .lp-cta-panel-btn { background: #fff; color: var(--orange-dark); }
.lp-cta-seller .lp-cta-panel-btn:hover { background: #fff0e6; }
.lp-cta-panel-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px;
  font-weight: 800; font-size: 15px; text-decoration: none;
  transition: all 0.15s;
}

/* ── LP SECTION WRAPPER ──────────────────────────────────────── */
.lp-section { padding: 72px 24px; }
.lp-section-white { background: #fff; }
.lp-section-gray  { background: #F8F7FF; }
.lp-section-title { font-size: 28px; font-weight: 900; margin-bottom: 8px; letter-spacing: -0.01em; }
.lp-section-sub   { font-size: 16px; color: var(--muted); margin-bottom: 40px; max-width: 520px; margin-left: auto; margin-right: auto; }
.lp-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; gap: 16px;
}

/* ── RESPONSIVE LANDING PAGE ─────────────────────────────────── */
@media (max-width: 900px) {
  .lp-feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .lp-steps        { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .lp-step:not(:last-child)::after { display: none; }
  .lp-dual-cta     { grid-template-columns: 1fr; }
  .lp-cta-panel    { padding: 48px 32px; }
}
@media (max-width: 640px) {
  .lp-hero         { padding: 60px 20px 68px; }
  .lp-steps        { grid-template-columns: 1fr; }
  .lp-stats-inner  { grid-template-columns: 1fr; gap: 16px; }
  .lp-section      { padding: 48px 20px; }
  .gh-cat-grid     { grid-template-columns: repeat(2, 1fr); }
}

/* ── NAV LOGO IMAGE ──────────────────────────────────────────── */
.nav-logo-link { display: flex; align-items: center; }
.nav-logo-img  { height: 68px; width: auto; display: block; }

/* ── HERO SPLIT LAYOUT ───────────────────────────────────────── */
.lp-hero-split {
  background: linear-gradient(140deg, #1A0640 0%, #3B0764 35%, #581C87 65%, #6B21A8 100%);
  color: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: stretch;
}
.lp-hero-split::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.15) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}
.lp-hero-split::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.1) 0%, transparent 70%);
  bottom: -150px; left: -100px;
  pointer-events: none;
}
.lp-hero-split-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 88px 24px;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 64px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Left: text content */
.lp-hero-content { display: flex; flex-direction: column; gap: 0; }
.lp-hero-banner-img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 12px; margin-bottom: 28px; }

/* Single-column hero (banner image replaces the split text/visual layout) */
.lp-hero-split-inner-single { grid-template-columns: 1fr; max-width: 760px; }
.lp-hero-content-centered {
  align-items: center;
  text-align: center;
}
.lp-hero-content-centered .lp-hero-btns,
.lp-hero-content-centered .lp-hero-proof { justify-content: center; }

/* Brand banner — HTML/CSS reproduction of the PUP hero graphic, fully responsive */
.lp-brand-banner {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 8px 30px rgba(30,10,60,0.08);
  margin-bottom: 28px;
}
.lp-brand-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.lp-brand-word {
  font-weight: 900;
  font-size: clamp(40px, 8vw, 76px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.lp-brand-purple { color: var(--purple); }
.lp-brand-orange { color: var(--orange); }
.lp-brand-divider { width: 2px; height: 64px; background: var(--border); }
.lp-brand-tagline { text-align: left; }
.lp-brand-tagline-line {
  font-weight: 800;
  font-size: clamp(20px, 3.4vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.lp-brand-shield { font-size: 0.6em; margin-left: 4px; }
.lp-brand-tagline-sub {
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted, #6B7280);
}
.lp-brand-strapline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--purple);
  margin-bottom: 22px;
}
.lp-brand-line { flex: 1; max-width: 140px; height: 1px; background: var(--purple-light); }
.lp-brand-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 10px;
}
.lp-brand-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  line-height: 1.25;
}
.lp-brand-trust-icon { font-size: 18px; flex-shrink: 0; }
@media (max-width: 640px) {
  .lp-brand-top { flex-direction: column; text-align: center; }
  .lp-brand-tagline { text-align: center; }
  .lp-brand-divider { display: none; }
  .lp-brand-trust { grid-template-columns: repeat(2, 1fr); }
}

/* Right: logo showcase card */
.lp-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-logo-showcase {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 32px;
  padding: 48px 40px 40px;
  text-align: center;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: relative;
  width: 100%;
  max-width: 400px;
}
.lp-logo-showcase::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(249,115,22,0.4), rgba(107,33,168,0.2), rgba(34,197,94,0.3));
  z-index: -1;
  opacity: 0.6;
}
.lp-logo-img {
  width: 240px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
  filter: drop-shadow(0 8px 32px rgba(249,115,22,0.35));
  animation: lp-logo-float 4s ease-in-out infinite;
}
@keyframes lp-logo-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%       { transform: translate3d(0, -10px, 0); }
}
.lp-logo-tagline {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 20px;
}
.lp-logo-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-logo-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
}
.lp-logo-badge-icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* Responsive hero split */
@media (max-width: 900px) {
  .lp-hero-split-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px;
    text-align: center;
  }
  .lp-hero-content .lp-hero-btns,
  .lp-hero-content .lp-hero-proof { justify-content: center; }
  .lp-logo-showcase { margin: 0 auto; }
  .lp-logo-img { width: 200px; }
}
@media (max-width: 480px) {
  .lp-logo-img { width: 160px; }
  .lp-logo-showcase { padding: 32px 24px 28px; }
}

/* ── WHITE HERO (light variant of split hero) ─────────────── */
.lp-hero-white {
  background: linear-gradient(135deg, #EDE9FE 0%, #FFF7ED 52%, #DCFCE7 100%);
  border-bottom: 1px solid #E9D5FF;
  color: var(--text);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: stretch;
}
.lp-hero-white::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,33,168,0.08) 0%, transparent 65%);
  top: -180px; right: -120px;
  pointer-events: none;
}
.lp-hero-white::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 65%);
  bottom: -100px; left: -80px;
  pointer-events: none;
}
.lp-hero-white .lp-hero-split-inner { position: relative; z-index: 1; }
.lp-hero-white .lp-hero-badge {
  background: rgba(255,255,255,0.7);
  border: 1px solid #DDD6FE;
  color: var(--purple);
  align-self: flex-start;
  margin-bottom: 24px;
}
.lp-hero-white .lp-hero-title {
  color: var(--text);
  text-align: left;
  margin-bottom: 16px;
  margin-left: 0;
  margin-right: 0;
}
.lp-hero-white .lp-hero-sub   {
  color: var(--muted);
  opacity: 1;
  text-align: left;
  margin: 0 0 32px;
}
.lp-hero-content .lp-hero-btns  { justify-content: flex-start; margin-bottom: 28px; }
.lp-hero-content .lp-hero-proof { justify-content: flex-start; }
.lp-section-title-tight { margin-bottom: 4px; }
.lp-hero-white .lp-proof-pill {
  background: #F9FAFB;
  border: 1px solid var(--border);
  color: #374151;
  opacity: 1;
}
.lp-hero-white .lp-btn-outline {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}
.lp-hero-white .lp-btn-outline:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}
/* Logo card on white bg — use a coloured backdrop so logo stays vivid */
.lp-logo-showcase-light {
  background: linear-gradient(145deg, #F3E8FF 0%, #FFF7ED 60%, #DCFCE7 100%);
  border: 1.5px solid #E9D5FF;
  border-radius: 32px;
  padding: 48px 40px 40px;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(107,33,168,0.12);
}
.lp-logo-showcase-light .lp-logo-tagline { color: var(--purple); opacity: 0.7; }
.lp-logo-showcase-light .lp-logo-badge-item {
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(107,33,168,0.12);
  color: var(--text);
}

/* Simplified dual CTA (no bullet lists) */
.lp-dual-cta-simple {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.lp-cta-simple-panel {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.lp-cta-buyer-s  { background: linear-gradient(135deg, #581C87, #6B21A8); color: #fff; }
.lp-cta-seller-s { background: linear-gradient(135deg, #C2410C, #F97316); color: #fff; }
.lp-cta-simple-panel .lp-cta-panel-icon  { font-size: 36px; margin-bottom: 14px; }
.lp-cta-simple-panel .lp-cta-panel-title { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.lp-cta-simple-panel .lp-cta-panel-sub   { font-size: 15px; opacity: 0.88; margin-bottom: 28px; line-height: 1.6; max-width: 320px; }
.lp-cta-buyer-s  .lp-cta-panel-btn { background: #fff; color: var(--purple); font-weight: 800; }
.lp-cta-buyer-s  .lp-cta-panel-btn:hover { background: var(--purple-light); }
.lp-cta-seller-s .lp-cta-panel-btn { background: #fff; color: var(--orange-dark); font-weight: 800; }
.lp-cta-seller-s .lp-cta-panel-btn:hover { background: #fff0e6; }

@media (max-width: 900px) {
  .lp-dual-cta-simple { grid-template-columns: 1fr; }
  .lp-cta-simple-panel { padding: 40px 28px; }
}

/* ================================================================
   MARKETPLACE PAGE
   ================================================================ */

/* ── LAYOUT: sidebar + main ─────────────────────────────────── */
.mkt-wrap     { max-width: 1200px; margin: 0 auto; padding: 32px 24px; }
.mkt-header   { margin-bottom: 28px; }
.mkt-header h1 { font-size: 28px; font-weight: 900; color: var(--text); }
.mkt-layout   { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }

/* ── SIDEBAR ────────────────────────────────────────────────── */
.mkt-sidebar {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.mkt-sidebar-title {
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: #FAFAFA;
}
.mkt-cat-nav  { padding: 8px 0; }
.mkt-cat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.12s;
  border-left: 3px solid transparent;
}
.mkt-cat-item:hover {
  background: var(--purple-light);
  color: var(--purple);
  border-left-color: var(--purple);
}
.mkt-cat-item-active {
  background: var(--purple-light);
  color: var(--purple);
  font-weight: 700;
  border-left-color: var(--purple);
}
.mkt-cat-icon { font-size: 20px; width: 26px; text-align: center; flex-shrink: 0; }
.mkt-cat-name { flex: 1; }

/* Subcategory sub-list — nested under its active parent category, deliberately
   lighter/smaller/indented so it reads as subordinate, not a peer of the category above it.
   Categories can carry 30+ subcategories, so this is boxed and height-capped with its own
   scrollbar rather than letting the whole sidebar balloon and push later categories away. */
.mkt-subcat-nav {
  display: flex;
  flex-direction: column;
  margin: 2px 12px 8px 36px;
  padding: 4px 0;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 2px solid var(--purple-light);
  border-radius: 8px;
  max-height: 220px;
  overflow-y: auto;
}
.mkt-subcat-item {
  display: block;
  padding: 6px 14px;
  text-decoration: none;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: all 0.12s;
}
.mkt-subcat-item:hover {
  color: var(--purple);
  background: var(--purple-light);
}
.mkt-subcat-item-active {
  color: var(--purple);
  font-weight: 700;
  background: var(--purple-light);
}
.mkt-filter-pill-sub {
  background: #F3F4F6;
  color: var(--muted);
  font-weight: 500;
  font-size: 12px;
}
.mkt-filter-pill-sub:hover { background: #E5E7EB; }

/* ── MAIN CONTENT ───────────────────────────────────────────── */
.mkt-main {}

/* Search + sort toolbar */
.mkt-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-end;
}
.mkt-search-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.mkt-search-toggle {
  display: flex;
  gap: 4px;
}
.mkt-toggle-opt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 4px 12px;
  min-height: 36px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.mkt-toggle-opt input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.mkt-toggle-opt:hover { border-color: var(--purple); color: var(--purple); }
.mkt-toggle-active {
  border-color: var(--purple);
  background: var(--purple-light, #f3e8ff);
  color: var(--purple);
  font-weight: 600;
}
.mkt-search-form {
  display: flex;
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s;
}
.mkt-search-form:focus-within { border-color: var(--purple); }
.mkt-search-input {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  border: none;
  outline: none;
  background: transparent;
  min-width: 0;
}
.mkt-search-btn {
  background: var(--purple);
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.mkt-search-btn:hover { background: var(--purple-dark); }
.mkt-sort-select {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
}
.mkt-sort-select:focus { outline: none; border-color: var(--purple); }

/* Active filter pill */
.mkt-active-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.mkt-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--purple-light);
  color: var(--purple);
  border-radius: 20px;
  padding: 5px 12px 5px 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.mkt-filter-pill:hover { background: #DDD6FE; }
.mkt-filter-clear {
  font-size: 14px;
  opacity: 0.6;
  margin-left: 2px;
}

/* Results count */
.mkt-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.mkt-results-count { font-size: 14px; color: var(--muted); font-weight: 500; }

/* Listing cards — enhanced for marketplace */
.mkt-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.mkt-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
}
.mkt-card:hover {
  border-color: var(--purple);
  box-shadow: 0 6px 20px rgba(107,33,168,0.1);
  transform: translateY(-2px);
}
.mkt-card-img {
  width: 100%;
  height: 190px;
  background: #F9F5FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  overflow: hidden;
  position: relative;
}
.mkt-card-img img { width: 100%; height: 190px; object-fit: contain; }
.mkt-card-body    { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.mkt-card-price   { font-size: 20px; font-weight: 900; color: var(--purple); margin-bottom: 4px; }
.mkt-card-title   { font-size: 14px; font-weight: 600; line-height: 1.35; margin-bottom: 6px; color: var(--text); }
.mkt-card-meta    { font-size: 12px; color: var(--muted); margin-top: auto; }
.mkt-card-badge   { position: absolute; top: 10px; right: 10px; }

/* Empty state */
.mkt-empty {
  text-align: center;
  padding: 72px 24px;
  color: var(--muted);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
}
.mkt-empty-icon { font-size: 52px; margin-bottom: 16px; }
.mkt-empty h3   { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.mkt-empty p    { font-size: 14px; }

/* Responsive */
@media (max-width: 768px) {
  .mkt-layout  { grid-template-columns: 1fr; }
  .mkt-sidebar { display: none; } /* category browsing on mobile now lives in the hamburger drawer's Shop by Category panel */
  .mkt-toolbar { flex-wrap: wrap; align-items: flex-end; }
  .mkt-search-wrap { width: 100%; }
}

/* ── ADMIN PANEL ─────────────────────────────────────────── */
.adm-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 24px 64px; }

/* Header */
.adm-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 32px; flex-wrap: wrap;
  padding-bottom: 24px; border-bottom: 1.5px solid var(--border);
}
.adm-header-eyebrow { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.adm-header-title   { font-size: 28px; font-weight: 900; color: var(--text); }
.adm-breadcrumb     { color: var(--purple); text-decoration: none; font-weight: 600; }
.adm-breadcrumb:hover { text-decoration: underline; }

.adm-nav { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.adm-nav-btn {
  display: inline-flex; align-items: center;
  padding: 9px 18px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  border: 1.5px solid var(--border); background: #fff; color: var(--text);
  text-decoration: none; transition: all 0.15s;
}
.adm-nav-btn:hover      { border-color: var(--purple); color: var(--purple); background: var(--purple-light); }
.adm-nav-primary        { background: var(--purple); color: #fff; border-color: var(--purple); }
.adm-nav-primary:hover  { background: var(--purple-dark); color: #fff; }

/* Section labels */
.adm-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--muted); margin-bottom: 12px;
}

/* Stat cards row */
.adm-stat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 32px; }
.adm-stat-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: 16px;
  padding: 20px 20px 16px; text-decoration: none; display: block;
  transition: none;
}
.adm-stat-link {
  cursor: pointer; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.adm-stat-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(107,33,168,0.1);
  border-color: #C4B5FD;
}
.adm-stat-icon  { font-size: 22px; margin-bottom: 10px; }
.adm-stat-value { font-size: 34px; font-weight: 900; color: var(--text); line-height: 1; }
.adm-val-green  { color: var(--green); }
.adm-val-orange { color: var(--orange); }
.adm-val-purple { color: var(--purple); }
.adm-stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; }
.adm-stat-cta   { font-size: 12px; color: var(--purple); font-weight: 700; margin-top: 10px; display: none; }
.adm-stat-link .adm-stat-cta { display: block; }

/* Card */
.adm-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 16px; overflow: hidden; margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.adm-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  font-weight: 700; font-size: 15px;
}

/* Toolbar: search + filter pills */
.adm-toolbar {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.adm-search-form  { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 220px; }
.adm-search-input {
  flex: 1; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 9px 14px; font-size: 14px; font-family: inherit;
  background: #fff; color: var(--text); outline: none;
  transition: border-color 0.15s;
}
.adm-search-input:focus { border-color: var(--purple); }
.adm-search-btn {
  padding: 9px 18px; background: var(--purple); color: #fff;
  border: none; border-radius: 10px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background 0.15s;
}
.adm-search-btn:hover { background: var(--purple-dark); }
.adm-clear-btn {
  font-size: 13px; color: var(--muted); text-decoration: none;
  padding: 4px 8px; border-radius: 6px; border: 1px solid var(--border);
  background: #fff; transition: all 0.15s; white-space: nowrap;
}
.adm-clear-btn:hover { color: var(--red); border-color: var(--red); }
.adm-filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.adm-filter-pill {
  padding: 7px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--border); background: #fff; color: var(--muted);
  text-decoration: none; transition: all 0.15s; white-space: nowrap;
}
.adm-filter-pill:hover  { border-color: var(--purple); color: var(--purple); }
.adm-pill-active        { background: var(--purple) !important; color: #fff !important; border-color: var(--purple) !important; }

/* Results bar */
.adm-results-bar {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--muted); margin-bottom: 12px;
}

/* Pagination */
.adm-pagination {
  display: flex; align-items: center; gap: 6px; justify-content: center;
  margin-top: 24px; flex-wrap: wrap;
}
.adm-page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--text);
  background: #fff; text-decoration: none; transition: all 0.15s;
}
.adm-page-btn:hover     { border-color: var(--purple); color: var(--purple); background: var(--purple-light); }
.adm-page-active        { background: var(--purple) !important; color: #fff !important; border-color: var(--purple) !important; }
.adm-page-disabled      { color: #D1D5DB; pointer-events: none; }
.adm-page-ellipsis      { padding: 0 4px; color: var(--muted); font-size: 14px; }

/* Empty state */
.adm-empty-state { text-align: center; padding: 64px 0; color: var(--muted); }
.adm-empty-icon  { font-size: 48px; margin-bottom: 12px; }

@media (max-width: 768px) {
  .adm-header  { flex-direction: column; }
  .adm-toolbar { flex-direction: column; align-items: stretch; }
  .adm-stat-row { grid-template-columns: repeat(2, 1fr); }
}

/* ── BUYER RESERVATIONS PAGE ─────────────────────────────── */
.res-page-wrap { max-width: 820px; margin: 0 auto; padding: 48px 24px 80px; }

/* Notifications panel */
.res-notif-panel {
  background: #fff;
  border: 1.5px solid #E9D5FF;
  border-left: 4px solid var(--purple);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 2px 12px rgba(107,33,168,0.06);
}
.res-notif-title {
  padding: 14px 20px;
  font-size: 14px; font-weight: 700; color: var(--text);
  border-bottom: 1px solid var(--border);
  background: #FAF5FF;
}
.res-notif-item {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding: 12px 20px;
  border-bottom: 1px solid #F3F4F6; font-size: 14px; color: var(--text);
}
.res-notif-item:last-child { border-bottom: none; }
.res-notif-unread { background: #FDF4FF; }
.res-notif-msg   { flex: 1; line-height: 1.5; }
.res-notif-time  { font-size: 11px; color: var(--muted); white-space: nowrap; padding-top: 2px; flex-shrink: 0; }

/* Order card */
.res-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(107,33,168,0.06);
  transition: box-shadow 0.2s;
}
.res-card:hover  { box-shadow: 0 8px 32px rgba(107,33,168,0.1); }
.res-card-done   { border-color: #86EFAC; }
.res-card-cancelled { border-color: #FCA5A5; opacity: 0.75; }

/* Card body row */
.res-card-body {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 24px;
}
.res-thumb { width: 100px; height: 100px; flex-shrink: 0; }
.res-thumb img {
  width: 100px; height: 100px; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--border);
}
.res-thumb-placeholder {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, #EDE9FE, #FFF7ED);
  border-radius: 12px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}

.res-details  { flex: 1; min-width: 0; }
.res-title-row { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.res-product-name { font-size: 17px; font-weight: 800; color: var(--text); line-height: 1.3; }
.res-price    { font-size: 22px; font-weight: 900; color: var(--purple); margin-bottom: 6px; }
.res-meta     { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.res-station  { font-size: 13px; color: var(--text); margin-top: 6px; }
.res-admin-note {
  font-size: 13px; color: var(--purple);
  background: var(--purple-light); border-radius: 8px;
  padding: 6px 12px; margin-top: 8px; display: inline-block;
}

.res-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.res-done-badge {
  font-size: 13px; font-weight: 700; color: #15803D;
  background: #DCFCE7; border: 1px solid #86EFAC;
  border-radius: 20px; padding: 6px 14px;
}
.res-cancelled-badge {
  font-size: 13px; font-weight: 700; color: #9CA3AF;
  background: #F3F4F6; border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 14px;
}
.res-cancel-btn {
  font-size: 13px; font-weight: 600; color: #EF4444;
  background: #FEF2F2; border: 1.5px solid #FECACA;
  border-radius: 8px; padding: 7px 16px;
  cursor: pointer; font-family: inherit; transition: all 0.15s;
}
.res-cancel-btn:hover { background: #FEE2E2; border-color: #EF4444; }

/* Progress tracker */
.res-progress {
  border-top: 1px solid var(--border);
  padding: 20px 24px 18px;
  background: #FAFAFA;
  position: relative;
}
.res-progress { display: block; }

/* Step row: nodes + lines */
.res-progress > .res-step {
  display: inline-flex; align-items: center; position: static;
}
/* Use a flex row for the whole tracker */
.res-progress {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0;
}
.res-step {
  display: flex; align-items: center; flex: 1;
}
.res-step:last-of-type { flex: none; }

.res-step-node {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; transition: all 0.2s;
  border: 2px solid var(--border); background: #fff; color: var(--muted);
  position: relative; z-index: 1;
}
.res-step-done  .res-step-node { background: var(--purple); border-color: var(--purple); color: #fff; font-size: 13px; }
.res-step-active .res-step-node {
  background: var(--orange); border-color: var(--orange); color: #fff; font-size: 18px;
  box-shadow: 0 0 0 4px rgba(249,115,22,0.2);
}

.res-step-line {
  flex: 1; height: 3px; background: var(--border); margin: 0 2px;
  border-radius: 2px; min-width: 8px;
}
.res-line-done { background: var(--purple); }

/* Label row below nodes */
.res-step-labels {
  width: 100%; display: flex;
  margin-top: 10px; padding: 0 2px;
}
.res-step-label {
  flex: 1; text-align: center; font-size: 11px; color: var(--muted);
  font-weight: 500; white-space: nowrap;
}
.res-label-active { color: var(--orange); font-weight: 700; }

/* Empty state */
.res-empty { text-align: center; padding: 80px 0; }
.res-empty-icon { font-size: 56px; margin-bottom: 16px; }
.res-empty h3   { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.res-empty p    { color: var(--muted); font-size: 15px; max-width: 380px; margin: 0 auto 24px; }

@media (max-width: 600px) {
  .res-card-body  { flex-wrap: wrap; }
  .res-thumb      { width: 72px; height: 72px; }
  .res-thumb img, .res-thumb-placeholder { width: 72px; height: 72px; }
  .res-actions    { width: 100%; flex-direction: row; justify-content: flex-end; }
  .res-step-label { font-size: 9px; }
}

/* Compact page header (used on buyer reservations etc.) */
.res-page-header {
  background: linear-gradient(135deg, #EDE9FE 0%, #FFF7ED 52%, #DCFCE7 100%);
  border-bottom: 1px solid #E9D5FF;
  padding: 24px 24px 20px;
}
.res-page-header-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.res-page-title { font-size: 22px; font-weight: 900; color: var(--text); margin-bottom: 2px; }
.res-page-sub   { font-size: 13px; color: var(--muted); }

/* ── RESERVATION ACTION BANNERS ──────────────────────────── */
.res-action-banner {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}
.res-action-icon  { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.res-action-title { font-size: 15px; font-weight: 800; margin-bottom: 4px; }
.res-action-desc  { font-size: 13px; line-height: 1.55; }

/* Ready to inspect — most prominent, green */
.res-action-go {
  background: linear-gradient(135deg, #DCFCE7, #ECFDF5);
  border-top-color: #86EFAC;
  border-left: 4px solid var(--green);
}
.res-action-go .res-action-title { color: #15803D; }
.res-action-go .res-action-desc  { color: #166534; }

/* Item at station soon — blue/purple tint */
.res-action-soon {
  background: linear-gradient(135deg, #EDE9FE, #F5F3FF);
  border-top-color: #C4B5FD;
  border-left: 4px solid var(--purple);
}
.res-action-soon .res-action-title { color: var(--purple); }
.res-action-soon .res-action-desc  { color: #5B21B6; }

/* Waiting states — soft gray */
.res-action-wait {
  background: #F9FAFB;
  border-top-color: var(--border);
  border-left: 4px solid #D1D5DB;
}
.res-action-wait .res-action-title { color: var(--text); }
.res-action-wait .res-action-desc  { color: var(--muted); }

/* Completed — green */
.res-action-done {
  background: linear-gradient(135deg, #DCFCE7, #ECFDF5);
  border-top-color: #86EFAC;
  border-left: 4px solid var(--green);
}
.res-action-done .res-action-title { color: #15803D; }
.res-action-done .res-action-desc  { color: var(--muted); }
.res-action-desc-note { font-size: 13px; line-height: 1.55; margin-top: 6px; }
.res-action-cancelled {
  background: #FEF2F2;
  border-top-color: #FECACA;
  border-left: 4px solid #EF4444;
}
.res-action-cancelled .res-action-title { color: #991B1B; }
.res-action-cancelled .res-action-desc  { color: #B91C1C; }

/* ── PRICE BREAKDOWN ────────────────────────────────────── */
.res-price-breakdown {
  margin: 0 20px 16px;
  background: #FAFAFF;
  border: 1.5px solid #EDE9F8;
  border-radius: 12px;
  padding: 14px 16px;
}
.res-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  padding: 4px 0;
}
.res-price-row span:last-child { font-weight: 600; color: var(--text); }
.res-price-note { font-size: 12px; font-weight: 400; color: var(--muted); }
.res-price-divider { border-top: 1.5px solid #DDD6FE; margin: 8px 0; }
.res-price-total { font-size: 15px; }
.res-price-total span:first-child { font-weight: 700; color: var(--text) !important; }
.res-price-total span:last-child  { font-weight: 800; color: var(--purple) !important; font-size: 17px; }

/* ── STORAGE FEE BANNER ──────────────────────────────────── */
.res-storage-fee {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  border-top: 1px solid #FDE68A;
}
.res-storage-fee-warn {
  background: #FFFBEB;
}
.res-storage-icon { font-size: 22px; flex-shrink: 0; padding-top: 2px; }
.res-storage-fee div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 14px;
}
.res-storage-fee strong { color: #92400E; }
.res-storage-fee span  { color: #78350F; font-size: 13px; line-height: 1.4; }

/* ── FEE TIERS DIVIDER ───────────────────────────────────── */
.nl-tiers-divider {
  display: block;
  border-top: 1px solid rgba(255,255,255,0.25);
  margin: 8px 0;
}


/* ══════════════════════════════════════════════
   SELLER DASHBOARD
   ══════════════════════════════════════════════ */

/* Header — centered text with button anchored to the right */
.sel-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1100px;
  position: relative;
}

.sel-header-inner .sel-new-btn {
  position: absolute;
  right: 0;
}

.sel-new-btn {
  background: linear-gradient(135deg, #6B21A8, #F97316);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.sel-new-btn:hover { opacity: 0.88; color: #fff; }

.sel-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sel-wallet-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ECFDF5, #F0FDF4);
  border: 1.5px solid var(--green-light, #DCFCE7);
  border-radius: 12px;
  padding: 8px 16px;
  text-align: left;
}
.sel-wallet-icon { font-size: 22px; }
.sel-wallet-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--green-dark, #16A34A);
}
.sel-wallet-value {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.sel-page-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

/* ── Two-column layout ── */
.sel-layout {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

/* ── Sidebar ── */
.sel-sidebar {
  width: 200px;
  flex-shrink: 0;
  position: sticky;
  top: 20px;
}

/* One unified card */
.sel-sidebar-card {
  background: #fff;
  border: 1.5px solid #E9D5FF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(107,33,168,0.09);
}

.sel-sidebar-card-head {
  padding: 14px 16px;
  font-size: 11px;
  font-weight: 800;
  color: #6B21A8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #EDE9FE 0%, #FFF7ED 100%);
  border-bottom: 1px solid #E9D5FF;
}

/* Each filter button row */
.sel-sidebar-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  cursor: pointer;
  border-bottom: 1px solid #F8F4FF;
  transition: background 0.12s;
  -webkit-user-select: none;
  user-select: none;
}
.sel-sidebar-btn:last-child { border-bottom: none; }
.sel-sidebar-btn:hover { background: #FAFAFF; }

/* Active button — purple fill */
.sel-sidebar-active {
  background: linear-gradient(135deg, #6B21A8 0%, #9333EA 100%) !important;
}
.sel-sidebar-active .sel-sb-label { color: #fff; }
.sel-sidebar-active .sel-sb-count {
  background: rgba(255,255,255,0.22);
  color: #fff;
}

.sel-sb-icon { font-size: 17px; flex-shrink: 0; }
.sel-sb-label {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.sel-sb-count {
  font-size: 12px;
  font-weight: 800;
  background: #F3E8FF;
  color: #6B21A8;
  padding: 2px 9px;
  border-radius: 20px;
  min-width: 26px;
  text-align: center;
}
.sel-sb-count-green  { background: #DCFCE7; color: #16A34A; }
.sel-sb-count-orange { background: #FFF7ED; color: #EA580C; }
.sel-sb-count-purple { background: #F3E8FF; color: #6B21A8; }

/* ── Main area ── */
.sel-main { flex: 1; min-width: 0; }

/* ── (kept for any legacy use) ── */
.sel-stat-card {
  background: #fff;
  border: 1px solid #E9D5FF;
  border-radius: 14px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sel-stat-icon { font-size: 26px; }
.sel-stat-value {
  font-size: 34px;
  font-weight: 900;
  color: #1E293B;
  line-height: 1;
}
.sel-stat-value-green  { color: #16A34A; }
.sel-stat-value-orange { color: #EA580C; }
.sel-stat-value-purple { color: #6B21A8; }
.sel-stat-label {
  font-size: 11px;
  color: #64748B;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Section Cards ── */
.sel-section {
  background: #fff;
  border: 1px solid #E9D5FF;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(107,33,168,0.05);
}

.sel-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #F3E8FF;
  background: linear-gradient(135deg, #FAFAFE 0%, #FFF7ED 100%);
}
.sel-section-title {
  font-size: 15px;
  font-weight: 800;
  color: #1E293B;
}
.sel-add-link {
  font-size: 13px;
  font-weight: 700;
  color: #6B21A8;
  text-decoration: none;
  padding: 5px 12px;
  background: #F3E8FF;
  border-radius: 8px;
  transition: background 0.12s;
}
.sel-add-link:hover { background: #E9D5FF; color: #6B21A8; }

/* ── Listing Rows ── */
.sel-listing-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid #F8F4FF;
  transition: background 0.1s;
}
.sel-listing-row:last-child { border-bottom: none; }
.sel-listing-row:hover { background: #FAFAFF; }

.sel-listing-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #E9D5FF;
}
.sel-listing-thumb-ph {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, #EDE9FE 0%, #FFF7ED 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.sel-listing-info { flex: 1; min-width: 0; }
.sel-listing-title {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sel-listing-meta {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 3px;
}

.sel-listing-price {
  font-size: 15px;
  font-weight: 800;
  color: #6B21A8;
  white-space: nowrap;
  min-width: 68px;
  text-align: right;
}

.sel-listing-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}

.sel-btn-view {
  font-size: 12px;
  font-weight: 600;
  color: #6B21A8;
  background: #F3E8FF;
  border: none;
  border-radius: 7px;
  padding: 5px 12px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s;
}
.sel-btn-view:hover { background: #E9D5FF; color: #6B21A8; }

.sel-btn-remove {
  font-size: 12px;
  font-weight: 600;
  color: #DC2626;
  background: #FEF2F2;
  border: none;
  border-radius: 7px;
  padding: 5px 12px;
  cursor: pointer;
  transition: background 0.12s;
}
.sel-btn-remove:hover { background: #FEE2E2; }

/* ── Empty State ── */
.sel-empty {
  text-align: center;
  padding: 52px 24px;
  color: #64748B;
}
.sel-empty-icon { font-size: 42px; margin-bottom: 12px; }
.sel-empty-title {
  font-size: 17px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 6px;
}

/* ── Order Rows ── */
.sel-order-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid #F8F4FF;
  transition: background 0.1s;
}
.sel-order-row:last-child { border-bottom: none; }
.sel-order-row:hover { background: #FAFAFF; }

.sel-order-info { flex: 1; min-width: 0; }
.sel-order-title {
  font-size: 14px;
  font-weight: 700;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sel-order-buyer {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 3px;
}
.sel-order-date {
  font-size: 12px;
  color: #94A3B8;
  white-space: nowrap;
}

/* ── Filter tag in section title ── */
.sel-filter-tag {
  font-size: 13px;
  font-weight: 600;
  color: #6B21A8;
  margin-left: 4px;
}

/* ── Responsive: sidebar stacks on top on small screens ── */
@media (max-width: 720px) {
  .sel-layout { flex-direction: column; }
  .sel-sidebar { width: 100%; position: static; }
  .sel-sidebar-card { border-radius: 14px; }
  .sel-sidebar-btn { padding: 11px 14px; }
  .sel-header-inner { flex-direction: column; }
  .sel-header-inner .sel-new-btn { position: static; margin-top: 12px; }

  /* Prevent listing cards from overflowing viewport */
  .sel-main { min-width: 0; max-width: 100%; overflow: hidden; }
  .sel-card  { overflow: hidden; }

  /* Wrap listing row so actions drop below on narrow screens */
  .sel-listing-row { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
  .sel-listing-info { min-width: 0; flex: 1 1 calc(100% - 66px); }
  .sel-listing-price { min-width: auto; flex-shrink: 0; }
  .sel-listing-actions { width: 100%; justify-content: flex-end; border-top: 1px solid #F3F0FF; padding-top: 8px; }

  /* Same for order rows */
  .sel-order-row { flex-wrap: wrap; gap: 10px; padding: 12px 14px; }
  .sel-order-info { min-width: 0; flex: 1 1 calc(100% - 120px); }
}


/* ══════════════════════════════════════════════
   NEW LISTING PAGE
   ══════════════════════════════════════════════ */

.nl-page-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 22px 20px 56px;
}

.nl-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #6B21A8;
  text-decoration: none;
  padding: 6px 13px;
  background: #F3E8FF;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: background 0.12s;
}
.nl-back:hover { background: #E9D5FF; color: #6B21A8; }

/* Two-column layout */
.nl-layout {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

/* Cards */
.nl-card {
  background: #fff;
  border: 1.5px solid #E9D5FF;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(107,33,168,0.07);
}
.nl-form-card { flex: 1; min-width: 0; }
.nl-calc-card {
  width: 290px;
  flex-shrink: 0;
  position: sticky;
  top: 20px;
}

.nl-card-head {
  padding: 15px 20px;
  font-size: 14px;
  font-weight: 800;
  color: #1E293B;
  background: linear-gradient(135deg, #FAFAFE 0%, #FFF7ED 100%);
  border-bottom: 1px solid #E9D5FF;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nl-card-body { padding: 22px 20px; }

/* Fields */
.nl-field { margin-bottom: 18px; }
.nl-field:last-child { margin-bottom: 0; }

.nl-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 6px;
}

.nl-input,
.nl-select,
.nl-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  color: #1E293B;
  background: #FAFAFF;
  border: 1.5px solid #E9D5FF;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
  box-sizing: border-box;
}
.nl-input:focus,
.nl-select:focus,
.nl-textarea:focus {
  border-color: #6B21A8;
  box-shadow: 0 0 0 3px rgba(107,33,168,0.12);
  background: #fff;
}
.nl-textarea { resize: vertical; min-height: 96px; line-height: 1.5; }

.nl-hint { font-size: 12px; color: #94A3B8; margin-top: 5px; }

.nl-checkbox-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nl-checkbox-opt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  background: #FAFAFF;
  border: 1.5px solid #E9D5FF;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.nl-checkbox-opt:has(input:checked) {
  border-color: #6B21A8;
  background: var(--purple-light);
  color: var(--purple);
}
.nl-checkbox-opt input { margin: 0; accent-color: #6B21A8; }

.nl-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.nl-hidden { display: none !important; }

/* Category / Condition / Subcategory — desktop keeps Category+Condition side by
   side with Subcategory below; mobile reorders to Category, Subcategory, Condition */
.nl-field-trio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.nl-field-trio .nl-field { margin-bottom: 0; }
.nl-trio-category    { grid-column: 1; grid-row: 1; }
.nl-trio-condition    { grid-column: 2; grid-row: 1; }
.nl-trio-subcategory  { grid-column: 1 / -1; grid-row: 2; }

@media (max-width: 760px) {
  .nl-field-trio { display: flex; flex-direction: column; gap: 18px; }
  .nl-trio-category    { order: 1; }
  .nl-trio-subcategory { order: 2; }
  .nl-trio-condition   { order: 3; }
}

/* File upload zone */
.nl-file-zone {
  border: 2px dashed #C4B5FD;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  background: #FAFAFF;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}
.nl-file-zone:hover { border-color: #6B21A8; background: #F5F3FF; }
.nl-file-zone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.nl-file-icon  { font-size: 28px; margin-bottom: 6px; pointer-events: none; }
.nl-file-label { font-size: 13px; font-weight: 700; color: #6B21A8; pointer-events: none; }
.nl-file-sub   { font-size: 12px; color: #94A3B8; margin-top: 3px; pointer-events: none; }

/* Publish button */
.nl-publish-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #6B21A8 0%, #F97316 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.15s;
  margin-top: 8px;
}
.nl-publish-btn:hover { opacity: 0.88; }

/* Calculator */
.nl-calc-intro {
  font-size: 13px;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 16px;
}

.nl-calc-btn {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, #6B21A8, #9333EA);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.nl-calc-btn:hover { opacity: 0.88; }

/* Breakdown receipt */
.nl-breakdown {
  background: linear-gradient(135deg, #FAFAFE 0%, #FFF7ED 100%);
  border: 1.5px solid #E9D5FF;
  border-radius: 14px;
  padding: 16px;
  margin-top: 16px;
}
.nl-breakdown-title {
  font-size: 11px;
  font-weight: 800;
  color: #6B21A8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}
.nl-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #374151;
  padding: 4px 0;
}
.nl-breakdown-row-muted { color: #94A3B8; font-size: 12px; }
.nl-breakdown-divider {
  border: none;
  border-top: 1px solid #E9D5FF;
  margin: 8px 0;
}
.nl-breakdown-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 900;
  color: #6B21A8;
  padding: 4px 0 0;
}

/* Mobile live price preview — stack label above price instead of squeezing side by side */
#mobileBreakdown .nl-breakdown-total {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
#mobileBreakdown .nl-breakdown-total span:first-child {
  font-size: 12.5px;
  font-weight: 700;
  color: #64748B;
}
#mobileSellingPrice {
  font-size: 20px;
  font-weight: 900;
  color: #6B21A8;
}

.nl-apply-btn {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 14px;
  transition: opacity 0.15s;
}
.nl-apply-btn:hover { opacity: 0.88; }

/* Fee tiers info */
.nl-tiers {
  margin-top: 16px;
  padding: 12px 14px;
  background: #F8F4FF;
  border-radius: 10px;
  font-size: 12px;
  color: #64748B;
  line-height: 1.75;
}
.nl-tiers strong { color: #6B21A8; display: block; margin-bottom: 2px; }

/* Responsive */
.nl-mobile-only { display: none !important; }

@media (max-width: 760px) {
  .nl-layout { flex-direction: column; }
  .nl-calc-card { width: 100%; position: static; }
  .nl-field-row { grid-template-columns: 1fr; }
  .nl-mobile-only { display: block !important; }
  .nl-desktop-only { display: none !important; }
}

/* ── File upload preview grid ── */
.nl-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.nl-preview-thumb {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #E9D5FF;
  background: #F5F3FF;
  flex-shrink: 0;
}
.nl-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nl-preview-thumb-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(107,33,168,0.75);
  color: #fff;
  font-size: 9px;
  padding: 3px 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nl-file-zone-ready {
  border-color: #22C55E;
  background: #F0FDF4;
}
.nl-file-zone-ready .nl-file-label { color: #16A34A; }


/* ══════════════════════════════════════════════
   LISTING DETAIL PAGE
   ══════════════════════════════════════════════ */

.ld-page-wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 22px 20px 56px;
}

.ld-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

/* ── Gallery ── */
.ld-gallery {
  width: 460px;
  flex-shrink: 0;
  position: sticky;
  top: 20px;
}

.ld-main-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #F5F3FF;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  box-shadow: 0 4px 24px rgba(107,33,168,0.1);
}

.ld-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.18s;
}

.ld-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

/* Arrows */
.ld-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.92);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(0,0,0,0.18);
  transition: background 0.12s, transform 0.1s;
  z-index: 2;
  line-height: 1;
}
.ld-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.ld-arrow-prev { left: 12px; }
.ld-arrow-next { right: 12px; }
.ld-arrow-hidden { display: none !important; }

/* Counter badge */
.ld-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0,0,0,0.48);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* Thumbnail strip */
.ld-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ld-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  border: 2.5px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: border-color 0.14s, opacity 0.14s, transform 0.1s;
}
.ld-thumb:hover { opacity: 0.9; transform: scale(1.04); }
.ld-thumb-active { border-color: #6B21A8; opacity: 1; }

.ld-main-img { cursor: zoom-in; }

/* Lightbox modal — shows the photo uncropped, at its natural aspect ratio */
.ld-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.ld-lightbox-open { display: flex; }
.ld-lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.18s;
}
.ld-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.ld-lightbox-close:hover { background: rgba(255,255,255,0.26); }
.ld-lightbox .ld-arrow { z-index: 2; }
.ld-lightbox .ld-counter { position: absolute; bottom: 22px; right: 22px; }

/* ── Info panel ── */
.ld-panel { flex: 1; min-width: 0; }

.ld-status-row { margin-bottom: 12px; }

.ld-title {
  font-size: 26px;
  font-weight: 900;
  color: #1E293B;
  line-height: 1.2;
  margin-bottom: 10px;
}

.ld-price {
  font-size: 38px;
  font-weight: 900;
  color: #6B21A8;
  margin-bottom: 14px;
  line-height: 1;
}

.ld-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.ld-desc {
  font-size: 14px;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 18px;
  white-space: pre-line;
}

.ld-seller {
  font-size: 13px;
  color: #94A3B8;
  margin-bottom: 20px;
}
.ld-seller-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--purple);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ld-seller-link:hover { color: var(--purple-dark); }

/* Seller modal */
.sp-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,10,30,0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.sp-modal-overlay.sp-modal-open { display: flex; }
.sp-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 20px 60px rgba(80,20,150,0.18);
  overflow: hidden;
  animation: adpModalIn 0.2s ease;
}
.sp-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid #EDE9F8;
  background: linear-gradient(135deg, #6B21A8, #9333EA);
}
.sp-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.sp-modal-close {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.18);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.sp-modal-close:hover { background: rgba(255,255,255,0.3); }
.sp-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sp-modal-stats {
  display: flex;
  gap: 12px;
}
.sp-modal-stat {
  flex: 1;
  text-align: center;
  background: #FAFAFF;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 8px;
}
.sp-modal-stat-value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.sp-modal-stat-label {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 2px;
}
.sp-follow-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px;
  border-radius: 10px;
  border: 1.5px solid var(--purple);
  background: #fff;
  color: var(--purple);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.sp-follow-btn:hover { background: var(--purple-light); }
.sp-follow-btn-active {
  background: var(--purple);
  color: #fff;
}
.sp-follow-btn-active:hover { background: var(--purple-dark); }
.sp-modal-view-link {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  text-decoration: none;
}
.sp-modal-view-link:hover { text-decoration: underline; }

/* Guarantee box */
.ld-guarantee {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: linear-gradient(135deg, #EDE9FE, #F5F3FF);
  border: 1.5px solid #C4B5FD;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}
.ld-guarantee-icon  { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.ld-guarantee-title { font-size: 13px; font-weight: 800; color: #6B21A8; margin-bottom: 4px; }
.ld-guarantee-body  { font-size: 13px; color: #5B21B6; line-height: 1.5; }

/* Station box */
.ld-station {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #FFF7ED;
  border: 1.5px solid #FED7AA;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 20px;
}
.ld-station-icon { font-size: 20px; flex-shrink: 0; }
.ld-station-name { font-size: 13px; font-weight: 800; color: #C2410C; }
.ld-station-addr { font-size: 12px; color: #9A3412; margin-top: 3px; }

/* Reserve form */
.ld-msg-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 6px;
}
.ld-msg-input {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  color: #1E293B;
  background: #FAFAFF;
  border: 1.5px solid #E9D5FF;
  border-radius: 10px;
  resize: vertical;
  min-height: 80px;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
  margin-bottom: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
  line-height: 1.5;
}
.ld-msg-input:focus {
  border-color: #6B21A8;
  box-shadow: 0 0 0 3px rgba(107,33,168,0.1);
}

.ld-reserve-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #F97316, #EA580C);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.ld-reserve-btn:hover { opacity: 0.88; }

.ld-reserve-note {
  font-size: 12px;
  color: #94A3B8;
  text-align: center;
  margin-top: 9px;
}

.ld-reserve-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ld-view-reservation-link {
  display: block;
  font-size: 13px;
  text-align: center;
  margin-top: 6px;
}

.ld-login-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #6B21A8, #9333EA);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.15s;
}
.ld-login-btn:hover { opacity: 0.88; color: #fff; }

.ld-unavail {
  background: #F9FAFB;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  color: #6B7280;
  text-align: center;
}

/* Responsive */
@media (max-width: 780px) {
  .ld-layout { flex-direction: column; }
  .ld-gallery { width: 100%; position: static; }
  .ld-title  { font-size: 22px; }
  .ld-price  { font-size: 30px; }
  .ld-thumb  { width: 60px; height: 60px; }
}

/* ── Listing detail — reactions ── */
.ld-reactions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.ld-react-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  background: #F8F4FF;
  border: 1.5px solid #E9D5FF;
  border-radius: 50px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.14s;
}
.ld-react-btn:hover {
  border-color: #C4B5FD;
  background: #F3E8FF;
  transform: scale(1.06);
}
.ld-react-active {
  background: linear-gradient(135deg, #EDE9FE, #F3E8FF);
  border-color: #6B21A8;
}
.ld-react-active .ld-react-count { color: #6B21A8; }

.ld-react-emoji { font-size: 20px; line-height: 1; }
.ld-react-count {
  font-size: 13px;
  font-weight: 800;
  color: #374151;
  min-width: 12px;
}

.ld-react-hint {
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 18px;
  margin-top: -10px;
}

/* ══════════════════════════════════════════════
   ADMIN TRANSACTIONS — smart action cards
   ══════════════════════════════════════════════ */

.txn-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #E9D5FF;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(107,33,168,0.06);
}
.txn-card-top { display: flex; gap: 0; width: 100%; }

/* Left: order info */
.txn-info {
  flex: 1;
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-right: 1.5px solid #F3E8FF;
  min-width: 0;
}

.txn-thumb {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #F5F3FF;
  border: 1px solid #E9D5FF;
}
.txn-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.txn-thumb-ph  { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 26px; }

.txn-meta { flex: 1; min-width: 0; }

.txn-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.txn-title {
  font-size: 15px;
  font-weight: 800;
  color: #1E293B;
}
.txn-id { font-size: 11px; color: #94A3B8; font-weight: 600; }
.txn-price { font-size: 17px; font-weight: 900; color: #6B21A8; margin-bottom: 6px; }
.txn-people { font-size: 12px; color: #64748B; margin-bottom: 4px; }
.txn-station { font-size: 12px; color: #9333EA; margin-bottom: 3px; font-weight: 600; }
.txn-note { font-size: 12px; color: #94A3B8; font-style: italic; margin-top: 3px; }
.txn-note-admin { color: #6B21A8; font-style: normal; font-weight: 600; }
.txn-paid { font-size: 13px; font-weight: 700; color: #16A34A; margin-top: 4px; }

/* Per-order status timeline */
.txn-timeline-wrap { border-top: 1px solid #F3E8FF; width: 100%; }
.txn-timeline-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #6B21A8;
  text-align: left;
}
.txn-timeline-toggle:hover { background: #F5F3FF; }
.txn-timeline-toggle.open .res-activity-chevron { transform: rotate(90deg); }
.txn-timeline-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}
.txn-timeline-panel.txn-timeline-open { max-height: 600px; padding-bottom: 14px; }
.txn-timeline-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 6px 0;
  border-bottom: 1px dashed #F3E8FF;
  font-size: 12.5px;
}
.txn-timeline-row:last-child { border-bottom: none; }
.txn-timeline-time { color: #64748B; }
.txn-timeline-time em { color: #94A3B8; font-style: italic; }
.txn-timeline-duration { color: #EA6C0A; font-weight: 600; margin-left: auto; }

/* Support-message threads (buyer/seller <-> admin) */
.txn-support-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px 20px;
  border-top: 1px solid #F3E8FF;
  background: #FAFAFE;
  width: 100%;
}
.txn-support-thread { min-width: 0; }
.txn-support-thread-head {
  font-size: 12px;
  font-weight: 700;
  color: #6B21A8;
  margin-bottom: 6px;
}
.txn-support-thread .txn-note {
  display: block;
  background: #fff;
  border: 1px solid #F3E8FF;
  border-radius: 8px;
  padding: 6px 10px;
  margin-top: 0;
  margin-bottom: 6px;
  font-style: normal;
}
.txn-support-thread .txn-note-admin { background: #F0FDF4; border-color: #DCFCE7; }
.txn-support-reply { display: flex; gap: 6px; margin-top: 6px; }
.txn-support-reply .txn-input { flex: 1; }
@media (max-width: 700px) {
  .txn-support-wrap { grid-template-columns: 1fr; }
}

/* Right: action panel */
.txn-action-panel {
  width: 290px;
  flex-shrink: 0;
  padding: 18px 20px;
  background: linear-gradient(160deg, #FAFAFE 0%, #FFF9F0 100%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.txn-action-label {
  font-size: 12px;
  font-weight: 800;
  color: #6B21A8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.txn-action-closed { color: #64748B; }

.txn-action-hint {
  font-size: 12px;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

.txn-field { display: flex; flex-direction: column; gap: 4px; }
.txn-field-label { font-size: 11px; font-weight: 700; color: #374151; }

.txn-select,
.txn-input {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  color: #1E293B;
  background: #fff;
  border: 1.5px solid #E9D5FF;
  border-radius: 8px;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.txn-select:focus,
.txn-input:focus { border-color: #6B21A8; }

/* Action buttons */
.txn-btn {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: opacity 0.15s;
  font-family: inherit;
}
.txn-btn:hover    { opacity: 0.88; }
.txn-btn:disabled { opacity: 0.38; cursor: not-allowed; }
.txn-btn-primary { background: linear-gradient(135deg, #6B21A8, #9333EA); color: #fff; }
.txn-btn-blue    { background: linear-gradient(135deg, #3B82F6, #2563EB); color: #fff; }
.txn-btn-purple  { background: linear-gradient(135deg, #7C3AED, #6B21A8); color: #fff; }
.txn-btn-green   { background: linear-gradient(135deg, #22C55E, #16A34A); color: #fff; }
.txn-btn-red     { background: linear-gradient(135deg, #EF4444, #DC2626); color: #fff; }

/* Accept/Reject two-up */
.txn-outcome-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.txn-outcome-form { display: flex; flex-direction: column; gap: 6px; }

.txn-paid-display {
  font-size: 15px;
  font-weight: 800;
  color: #16A34A;
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 800px) {
  .txn-card-top { flex-direction: column; }
  .txn-action-panel { width: 100%; border-top: 1.5px solid #F3E8FF; border-right: none; }
  .txn-info { border-right: none; }
}

.adm-manage-link { font-size: 12px; font-weight: 700; color: #6B21A8; text-decoration: none; white-space: nowrap; }
.adm-manage-link:hover { color: #F97316; }

/* ── Seller dashboard — ship action cards ── */
.sel-section-urgent { border-color: #FED7AA; }
.sel-section-urgent .sel-section-head {
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
  border-bottom-color: #FED7AA;
}
.sel-section-urgent .sel-section-title { color: #C2410C; }

.sel-ship-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #FFF7ED;
}
.sel-ship-card:last-child { border-bottom: none; }

.sel-ship-info { flex: 1; min-width: 0; }

.sel-ship-title {
  font-size: 15px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 4px;
}
.sel-ship-buyer {
  font-size: 12px;
  color: #94A3B8;
  margin-bottom: 8px;
}
.sel-ship-station {
  font-size: 13px;
  color: #374151;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 6px;
  line-height: 1.5;
}
.sel-ship-station-label { color: #EA580C; font-weight: 700; margin-right: 4px; }
.sel-ship-note {
  font-size: 12px;
  color: #6B21A8;
  font-style: italic;
  margin-top: 4px;
}

.sel-ship-btn {
  background: linear-gradient(135deg, #F97316, #EA580C);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 11px 18px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
  font-family: inherit;
  flex-shrink: 0;
}
.sel-ship-btn:hover { opacity: 0.88; }

@media (max-width: 600px) {
  .sel-ship-card { flex-direction: column; }
  .sel-ship-btn  { width: 100%; }
}

/* ── Buyer reservations — activity log ── */
.res-activity { border-top: 1px solid #F3E8FF; }
.res-activity-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #6B21A8;
  text-align: left;
  transition: background 0.15s;
}
.res-activity-toggle:hover { background: #F5F3FF; }
.res-activity-chevron {
  margin-left: auto;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.2s;
  display: inline-block;
}
.res-activity-toggle.open .res-activity-chevron { transform: rotate(90deg); }
.res-activity-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.res-activity-list.res-activity-open { max-height: 800px; }
.res-activity-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  border-top: 1px solid #F3E8FF;
  background: #FAFAFE;
}
.res-activity-item:last-child { padding-bottom: 16px; }
.res-activity-msg {
  font-size: 13px;
  color: #374151;
  line-height: 1.5;
  flex: 1;
}
.res-activity-time {
  font-size: 11px;
  color: #94A3B8;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Order support-message thread with admin (buyer + seller order pages) ── */
.res-support { border-top: 1px solid #F3E8FF; }
.res-support-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #6B21A8;
  text-align: left;
  transition: background 0.15s;
}
.res-support-toggle:hover { background: #F5F3FF; }
.res-support-toggle.open .res-activity-chevron { transform: rotate(90deg); }
.res-support-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.res-support-panel.res-support-open { max-height: 1000px; }
.res-support-list { padding: 0 20px; }
.res-support-item {
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 8px;
  background: #FAFAFE;
  border: 1px solid #F3E8FF;
}
.res-support-item-admin { background: #F0FDF4; border-color: #DCFCE7; }
.res-support-sender {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #6B21A8;
  margin-bottom: 2px;
}
.res-support-item-admin .res-support-sender { color: #16A34A; }
.res-support-msg { display: block; font-size: 13px; color: #374151; line-height: 1.5; }
.res-support-item .res-activity-time { display: block; margin-top: 4px; }
.res-support-form {
  display: flex;
  gap: 8px;
  padding: 12px 20px 18px;
  align-items: flex-end;
}
.res-support-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
  min-height: 40px;
}
.res-support-input:focus { outline: none; border-color: var(--purple); }
.res-support-btn {
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.res-support-btn:hover { background: var(--purple-dark, #581C87); }

/* ── Seller dashboard — collapsible notifications ── */
.sel-notif-wrap {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(107,33,168,.06);
  border: 1.5px solid #F3E8FF;
  overflow: hidden;
}
.sel-notif-toggle { border-radius: 0; }
.res-notif-unread-item { background: #FAF5FF; }

/* ── Seller dashboard — show-more listings ── */
.sel-show-more-wrap {
  padding: 14px 20px;
  border-top: 1px solid #F3E8FF;
  text-align: center;
}
.sel-show-more-btn {
  background: none;
  border: 1.5px solid #E9D5FF;
  border-radius: 10px;
  padding: 9px 24px;
  font-size: 13px;
  font-weight: 700;
  color: #6B21A8;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}
.sel-show-more-btn:hover { background: #F5F3FF; border-color: #C084FC; }

/* ── Seller dashboard — order card with activity ── */
.sel-order-card {
  border-bottom: 1px solid #F3E8FF;
}
.sel-order-card:last-child { border-bottom: none; }
.sel-order-activity {
  border-top: 1px solid #F3E8FF;
  border-bottom: none;
}

/* ── Listing detail — station picker ── */
.ld-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #E9D5FF;
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: #1E293B;
  background: #fff;
  margin-bottom: 14px;
  cursor: pointer;
  appearance: auto;
}
.ld-select:focus { outline: none; border-color: #6B21A8; }

/* ── Admin transactions — buyer's station choice display ── */
.txn-buyer-choice {
  background: #F5F3FF;
  border: 1.5px solid #DDD6FE;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #1E293B;
  line-height: 1.6;
}
.txn-buyer-choice-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #6B21A8;
  display: block;
  margin-bottom: 2px;
}
.txn-buyer-choice-addr { font-size: 12px; color: #64748B; }

/* ── Home hero — inline search bar ── */
.lp-hero-search {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 2px solid #E9D5FF;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(107,33,168,.10);
  transition: border-color 0.2s;
}
.lp-hero-search:focus-within { border-color: #6B21A8; }
.lp-hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  color: #1E293B;
  background: transparent;
}
.lp-hero-search-input::placeholder { color: #94A3B8; }
.lp-hero-search-btn {
  background: linear-gradient(135deg, #6B21A8, #9333EA);
  color: #fff;
  border: none;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.lp-hero-search-btn:hover { opacity: 0.88; }

/* ── Home — Why PUP section ── */
.lp-why-grid {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 40px 0 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.lp-why-card {
  flex: 1;
  min-width: 260px;
  max-width: 380px;
  border-radius: 18px;
  padding: 28px;
}
.lp-why-bad  { background: #FFF1F2; border: 2px solid #FECDD3; }
.lp-why-good { background: #F0FDF4; border: 2px solid #BBF7D0; }
.lp-why-card-head {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #1E293B;
}
.lp-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-why-bad  .lp-why-list li::before { content: "✗ "; color: #F43F5E; font-weight: 700; }
.lp-why-good .lp-why-list li::before { content: "✓ "; color: #22C55E; font-weight: 700; }
.lp-why-list li { font-size: 14px; color: #374151; line-height: 1.5; }
.lp-why-vs {
  font-size: 22px;
  font-weight: 900;
  color: #6B21A8;
  flex-shrink: 0;
}
.lp-why-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}

/* ── Buyer reservations — rejected banner ── */
.res-rejected-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFF1F2;
  border-top: 2px solid #FECDD3;
  padding: 20px 24px;
}
.res-rejected-icon { font-size: 28px; flex-shrink: 0; }
.res-rejected-title { font-size: 15px; font-weight: 800; color: #BE123C; margin-bottom: 4px; }
.res-rejected-desc  { font-size: 13px; color: #64748B; line-height: 1.6; }

/* ── Seller dashboard — edit button ── */
.sel-btn-edit {
  font-size: 12px;
  font-weight: 700;
  color: #6B21A8;
  background: #F5F3FF;
  border: 1.5px solid #E9D5FF;
  border-radius: 8px;
  padding: 5px 12px;
  text-decoration: none;
  transition: background 0.15s;
}
.sel-btn-edit:hover { background: #EDE9FE; }

/* ── Edit listing — current image thumbs ── */
.nl-current-images { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; align-items: flex-end; }
.nl-current-thumb  { width: 80px; height: 80px; object-fit: cover; border-radius: 10px; border: 2px solid #E9D5FF; }
.nl-current-note   { font-size: 12px; color: #94A3B8; font-style: italic; width: 100%; margin: 0; }

/* ── Admin stations — edit row ── */
.adm-station-actions { display: flex; gap: 8px; align-items: center; }
.adm-station-edit-row { background: #F8F6FF; padding: 20px 24px !important; }
.adm-station-edit-form .form-row { display: flex; gap: 16px; }
.adm-station-edit-form .form-group { flex: 1; }
.adm-station-edit-btns { display: flex; gap: 10px; margin-top: 12px; }

/* ── Buyer reservations — no-cancel state ── */
.res-no-cancel {
  font-size: 12px;
  color: #94A3B8;
  font-style: italic;
  text-align: center;
  padding: 6px 0;
}

/* ── Admin transactions — buyer confirmation checkbox ── */
.txn-confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 13px;
  color: #92400E;
  font-weight: 600;
  line-height: 1.4;
}
.txn-confirm-check input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #6B21A8;
}
.txn-outcome-row { transition: opacity 0.2s; }

/* ── Admin transactions — no-show button ── */
.txn-noshow-wrap {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #FDE68A;
}
.txn-btn-noshow {
  width: 100%;
  background: none;
  border: 1.5px dashed #D97706;
  border-radius: 10px;
  color: #92400E;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  padding: 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.txn-btn-noshow:hover { background: #FFFBEB; }

/* ── Buyer reservations — no-show banner ── */
.res-noshow-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #FFFBEB;
  border-top: 2px solid #FDE68A;
  padding: 20px 24px;
}

.pwa-nav-hidden { display: none; }

/* ── SELLER SIDEBAR SWITCHABLE CARD ─────────────────────── */
.sel-sb-divider { border-top: 1px solid var(--border); margin: 6px 0; }
.sel-sb-switchable { overflow: hidden; }
.sel-sb-scroll { max-height: 520px; overflow-y: auto; padding-bottom: 4px; }

/* orders in sidebar */
.sel-sb-order { padding: 10px 0; border-bottom: 1px solid var(--border); }
.sel-sb-order:last-of-type { border-bottom: none; }
.sel-sb-order-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.sel-sb-order-info { flex: 1; min-width: 0; }
.sel-sb-order-title { font-size: 13px; font-weight: 700; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sel-sb-order-buyer { font-size: 11px; color: var(--muted); margin-top: 2px; }
.sel-sb-empty { font-size: 13px; color: var(--muted); text-align: center; padding: 20px 0; }

/* ── SELLER SALES VIEW ───────────────────────────────────── */

.sel-sales-view { padding: 4px 0 4px; }

.sel-sales-earned {
  background: linear-gradient(135deg, #6B21A8, #9333EA);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; color: #fff;
}
.sel-sales-earned-label { font-size: 11px; opacity: 0.75; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.sel-sales-earned-val   { font-size: 28px; font-weight: 900; letter-spacing: -1px; margin-top: 2px; }

.sel-sales-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px;
}
.sel-sales-stat {
  background: #F9FAFB; border-radius: 10px; padding: 10px 4px; text-align: center;
  border: 1px solid var(--border);
}
.sel-sales-num { font-size: 20px; font-weight: 800; }
.sel-sales-lbl { font-size: 10px; color: var(--muted); margin-top: 2px; font-weight: 600; }
.sel-sv-green  { color: var(--green); }
.sel-sv-orange { color: var(--orange); }
.sel-sv-purple { color: var(--purple); }

.sel-sales-best {
  font-size: 12px; color: var(--muted);
  background: #F9FAFB; border-radius: 8px; padding: 8px 10px; margin-bottom: 12px;
}
.sel-sales-back {
  width: 100%; background: none; border: 1.5px solid var(--border);
  border-radius: 8px; padding: 8px; font-size: 12px; font-weight: 600;
  color: var(--muted); cursor: pointer;
}
.sel-sales-back:hover { border-color: var(--purple); color: var(--purple); }
.sel-sales-nudge {
  font-size: 12px; color: var(--muted); background: #F9FAFB;
  border-radius: 8px; padding: 10px; margin-bottom: 12px; text-align: center;
}

/* ── MAIN PANEL SYSTEM ───────────────────────────────────── */
.sel-panel-hidden { display: none; }

.sel-panel-back {
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.sel-panel-back:hover { border-color: var(--purple); color: var(--purple); }

/* ── ORDERS PANEL ────────────────────────────────────────── */
.sel-order-list { overflow: hidden; }
.sel-price-dim  { color: var(--muted); }

/* ── FINANCIAL STATEMENT PANEL ───────────────────────────── */
.sel-finance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.sel-finance-card {
  background: #F9FAFB;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 20px 16px;
}
.sel-finance-earned {
  background: linear-gradient(135deg, #6B21A8, #9333EA);
  border: none;
  color: #fff;
}
.sel-finance-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 8px;
}
.sel-finance-earned .sel-finance-label { color: rgba(255,255,255,0.75); }
.sel-finance-value {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
  line-height: 1;
}
.sel-finance-earned .sel-finance-value { color: #fff; }
.sel-finance-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.sel-finance-earned .sel-finance-sub { color: rgba(255,255,255,0.65); }

.sel-finance-insights {
  background: #F9FAFB;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sel-finance-insight-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.sel-finance-insight-icon { font-size: 18px; flex-shrink: 0; }
.sel-finance-nudge {
  background: #F5F0FF;
  border: 1px solid #DDD6FE;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14px;
  color: #5B21B6;
  line-height: 1.5;
}

/* ── ORDER CARDS (Recent Orders panel) ──────────────────── */
.sel-order-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}
.sel-order-card:last-child { margin-bottom: 0; }

.sel-order-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}
.sel-order-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.sel-order-notifs {
  border-top: 1px solid #F3F0FF;
  background: #FAFAFF;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sel-order-notif {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.sel-order-notif-msg {
  font-size: 13px;
  color: var(--text);
  line-height: 1.45;
  flex: 1;
}
.sel-order-notif-time {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}

@media (max-width: 600px) {
  .sel-order-card-top { flex-wrap: wrap; }
  .sel-order-card-right { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .sel-order-notif { flex-direction: column; gap: 2px; }
  .sel-order-notif-time { align-self: flex-end; }
}

@media (max-width: 600px) {
  .sel-finance-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sel-finance-value { font-size: 26px; }
}

/* ── FINANCIAL STATEMENT REDESIGN ────────────────────────── */
.sel-fin-hero {
  background: linear-gradient(135deg, #581C87, #7C3AED);
  border-radius: 18px;
  padding: 28px 24px 24px;
  color: #fff;
  margin-bottom: 14px;
}
.sel-fin-hero-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 10px;
}
.sel-fin-hero-value {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
}
.sel-fin-hero-sub {
  font-size: 13px;
  opacity: 0.65;
}

.sel-fin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.sel-fin-stat {
  background: #F9FAFB;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
}
.sel-fin-stat-value {
  font-size: 30px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
}
.sel-fin-stat-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sel-fin-insights {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}
.sel-fin-insight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.sel-fin-insight:last-child { border-bottom: none; }
.sel-fin-insight-icon {
  font-size: 18px;
  width: 38px;
  height: 38px;
  background: #F5F0FF;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sel-fin-insight-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}
.sel-fin-insight-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.sel-fin-insight-text span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.sel-fin-nudge {
  background: #F5F0FF;
  border: 1px solid #DDD6FE;
  border-radius: 14px;
  padding: 16px 18px;
  font-size: 14px;
  color: #5B21B6;
  line-height: 1.55;
}

@media (max-width: 600px) {
  .sel-fin-hero-value { font-size: 36px; }
  .sel-fin-stats { gap: 8px; }
  .sel-fin-stat-value { font-size: 24px; }
}

/* ══════════════════════════════════════════════════════════
   ADMIN DASHBOARD REDESIGN  (adb-*)
   ══════════════════════════════════════════════════════════ */
.adb-page { background: #F8F7FF; min-height: 100vh; }

/* Hero header */
.adb-hero {
  background: linear-gradient(135deg, #3B0764 0%, #6B21A8 50%, #7C3AED 100%);
  padding: 0 0 0;
}
.adb-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 32px 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.adb-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.adb-hero-title {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 8px;
}
.adb-hero-date {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.adb-hero-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.adb-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.15s;
}
.adb-nav-btn:hover { background: rgba(255,255,255,0.22); color: #fff; }
.adb-nav-accent { background: #fff; color: #6B21A8; border-color: #fff; }
.adb-nav-accent:hover { background: #F5F0FF; color: #6B21A8; }
.adb-nav-icon { font-size: 15px; }

/* Body */
.adb-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px 64px;
}

/* KPI strip */
.adb-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  margin-top: -1px;
}
.adb-kpi {
  border-radius: 18px;
  padding: 22px 22px 18px;
  text-decoration: none;
  display: block;
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
}
.adb-kpi:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.14); }
.adb-kpi-purple { background: linear-gradient(135deg,#6B21A8,#9333EA); color:#fff; }
.adb-kpi-green  { background: linear-gradient(135deg,#065F46,#059669); color:#fff; }
.adb-kpi-orange { background: linear-gradient(135deg,#92400E,#D97706); color:#fff; }
.adb-kpi-blue   { background: linear-gradient(135deg,#1E40AF,#3B82F6); color:#fff; }

.adb-kpi-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}
.adb-kpi-icon { font-size: 22px; }
.adb-kpi-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.2);
  padding: 3px 8px;
  border-radius: 20px;
  color: rgba(255,255,255,0.9);
}
.adb-kpi-value {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  color: #fff;
  margin-bottom: 6px;
}
.adb-kpi-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.adb-kpi-bar { background: rgba(255,255,255,0.2); border-radius: 4px; height: 4px; }
.adb-kpi-bar-fill { background: rgba(255,255,255,0.7); border-radius: 4px; height: 4px; transition: width 0.6s ease; min-width: 4%; }

/* Middle grid */
.adb-mid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

/* Cards */
.adb-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #EDE9F8;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(107,33,168,0.06);
}
.adb-card-full { width: 100%; }
.adb-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid #F3F0FF;
}
.adb-card-title { font-size: 15px; font-weight: 800; color: var(--text); }
.adb-card-link  { font-size: 12px; font-weight: 700; color: var(--purple); text-decoration: none; }
.adb-card-link:hover { text-decoration: underline; }
.adb-card-body { padding: 8px 0 4px; }

/* Station stage-duration chart */
.stage-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #F3F0FF;
  box-shadow: 0 2px 12px rgba(107,33,168,0.05);
  margin-bottom: 20px;
  overflow: hidden;
}
.stage-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #F5F3FF 0%, #FFF7ED 100%);
  border-bottom: 1px solid #F3F0FF;
}
.stage-card-head-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(107,33,168,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}
.stage-card-title { font-size: 15.5px; font-weight: 800; color: var(--text); }
.stage-card-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
.stage-card-link {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.stage-card-link:hover { text-decoration: underline; }
.stage-card-body { padding: 22px 24px 18px; }

.stage-chart-callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.stage-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
}
.stage-callout-slow { background: #FFF7ED; border: 1px solid #FDE1C0; }
.stage-callout-fast { background: #F0FDF4; border: 1px solid #DCFCE7; }
.stage-callout-icon { font-size: 20px; flex-shrink: 0; }
.stage-callout-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }
.stage-callout-value { font-size: 13.5px; font-weight: 800; color: var(--text); }
.stage-callout-value span { font-weight: 600; color: var(--muted); }

.stage-chart-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.stage-chart-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.stage-chart-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}
.stage-chart-rows { display: flex; flex-direction: column; gap: 16px; }
.stage-chart-row {
  display: grid;
  grid-template-columns: 190px 1fr 52px;
  align-items: center;
  gap: 14px;
}
.stage-chart-station { display: flex; align-items: center; gap: 8px; min-width: 0; }
.stage-chart-rank {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--purple);
  background: var(--purple-light);
  border-radius: 6px;
  padding: 2px 6px;
  flex-shrink: 0;
}
.stage-chart-station-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage-chart-bar-track {
  background: #F3F4F6;
  border-radius: 7px;
  height: 24px;
  padding: 3px;
}
.stage-chart-bar {
  display: flex;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
  gap: 2px;
  min-width: 8px;
}
.stage-chart-seg {
  height: 100%;
  min-width: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stage-chart-seg-label {
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  white-space: nowrap;
}
.stage-chart-total { font-size: 13px; font-weight: 800; color: var(--text); text-align: right; }
.stage-chart-hint { font-size: 11.5px; color: var(--muted); margin: 18px 0 0; }
@media (max-width: 640px) {
  .stage-chart-callouts { grid-template-columns: 1fr; }
  .stage-chart-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "station total" "bar bar";
    row-gap: 6px;
  }
  .stage-chart-station { grid-area: station; }
  .stage-chart-total { grid-area: total; }
  .stage-chart-bar-track { grid-area: bar; }
  .stage-chart-station-name { font-size: 12.5px; overflow: visible; white-space: normal; }
}

/* Metric rows */
.adb-metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 22px;
  border-bottom: 1px solid #F9F7FF;
}
.adb-metric-row:last-of-type { border-bottom: none; }
.adb-metric-left { display: flex; align-items: center; gap: 10px; }
.adb-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.adb-dot-green  { background: var(--green); }
.adb-dot-orange { background: var(--orange); }
.adb-dot-purple { background: var(--purple); }
.adb-dot-blue   { background: #3B82F6; }
.adb-metric-name { font-size: 14px; color: var(--text); font-weight: 500; }
.adb-metric-val {
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.adb-metric-green  { color: var(--green); }
.adb-metric-orange { color: var(--orange); }
.adb-metric-purple { color: var(--purple); }
.adb-metric-blue   { color: #3B82F6; }
.adb-metric-val:hover { opacity: 0.75; }
.adb-metric-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px 14px;
  background: #F9F7FF;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid #EDE9F8;
  margin-top: 4px;
}
.adb-metric-total strong { font-size: 16px; font-weight: 800; color: var(--text); }

/* Pipeline bars */
.adb-pipe-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  border-bottom: 1px solid #F9F7FF;
}
.adb-pipe-row:last-child { border-bottom: none; }
.adb-pipe-label { font-size: 13px; color: var(--text); font-weight: 500; width: 120px; flex-shrink: 0; }
.adb-pipe-bar-wrap { flex: 1; height: 8px; background: #F3F0FF; border-radius: 4px; overflow: hidden; }
.adb-pipe-bar { height: 8px; border-radius: 4px; transition: width 0.6s ease; }
.adb-pipe-orange { background: var(--orange); }
.adb-pipe-blue   { background: #3B82F6; }
.adb-pipe-green  { background: var(--green); }
.adb-pipe-count { font-size: 15px; font-weight: 800; color: var(--text); width: 28px; text-align: right; flex-shrink: 0; }

/* Table */
.adb-table-wrap { overflow-x: auto; }
.adb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.adb-table thead th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: #FAF8FF;
  border-bottom: 1px solid #EDE9F8;
}
.adb-table tbody tr { border-bottom: 1px solid #F5F0FF; transition: background 0.1s; }
.adb-table tbody tr:last-child { border-bottom: none; }
.adb-table tbody tr:hover { background: #FAFAFF; }
.adb-table td { padding: 13px 16px; color: var(--text); vertical-align: middle; }
.adb-td-product { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.adb-thumb { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.adb-thumb-ph { width: 36px; height: 36px; border-radius: 8px; background: #F3F0FF; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.adb-td-amount { font-weight: 700; color: var(--text); }
.adb-muted { color: var(--muted); }
.adb-row-btn {
  display: inline-block;
  padding: 5px 12px;
  background: #F5F0FF;
  color: var(--purple);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.adb-row-btn:hover { background: var(--purple); color: #fff; }
.adb-empty { padding: 32px; text-align: center; color: var(--muted); font-size: 14px; }

/* Responsive */
@media (max-width: 1024px) {
  .adb-kpi-strip  { grid-template-columns: repeat(2, 1fr); }
  .adb-mid-grid   { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .adb-hero-inner { flex-direction: column; padding: 20px 16px 18px; }
  .adb-hero-title { font-size: 24px; }
  .adb-hero-nav   { width: 100%; }
  .adb-nav-btn    { flex: 1; justify-content: center; font-size: 12px; padding: 8px 10px; }
  .adb-body       { padding: 16px 16px 48px; }
  .adb-kpi-strip  { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .adb-kpi-value  { font-size: 32px; }
  .adb-mid-grid   { grid-template-columns: 1fr; }
  .adb-table thead th:nth-child(n+3):not(:nth-last-child(-n+2)) { display: none; }
  .adb-table td:nth-child(n+3):not(:nth-last-child(-n+2)) { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   ADP — Admin Sub-pages (Transactions, Listings, Users, Stations)
══════════════════════════════════════════════════════════════ */
.adp-breadcrumb {
  display: inline-block;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.15s;
}
.adp-breadcrumb:hover { color: #fff; }
.adp-hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin: 4px 0 0;
  font-weight: 400;
}

/* Toolbar row */
.adp-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.adp-search-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1.5px solid #DDD6FE;
  border-radius: 10px;
  overflow: hidden;
}
.adp-search-input {
  border: none;
  outline: none;
  padding: 9px 14px;
  font-size: 13px;
  font-family: inherit;
  background: transparent;
  width: 220px;
  color: var(--text);
}
.adp-search-btn {
  padding: 9px 16px;
  background: var(--purple);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.adp-search-btn:hover { background: #5B16A0; }
.adp-clear-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: #F5F0FF;
  color: var(--purple);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.adp-clear-btn:hover { background: #EDE9F8; }

/* Pills */
.adp-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.adp-pill {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: #F5F0FF;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.adp-pill:hover { background: #EDE9F8; color: var(--purple); }
.adp-pill-active { background: var(--purple); color: #fff; }
.adp-pill-active:hover { background: #5B16A0; color: #fff; }

/* Results bar */
.adp-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
  padding: 0 2px;
}
.adp-results strong { color: var(--text); }

/* Table wrap inside adb-card */
.adp-table-wrap { overflow-x: auto; }

/* Pagination */
.adp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.adp-page-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: #F5F0FF;
  color: var(--purple);
  text-decoration: none;
  transition: background 0.15s;
}
.adp-page-btn:hover { background: var(--purple); color: #fff; }
.adp-page-active { background: var(--purple); color: #fff; }
.adp-page-active:hover { background: #5B16A0; }
.adp-page-disabled { color: #C4B5FD; cursor: default; pointer-events: none; }
.adp-page-ellipsis { color: var(--muted); padding: 0 4px; }

/* Buttons */
.adp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.adp-btn-primary:hover { background: #5B16A0; }
.adp-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #F5F0FF;
  color: var(--purple);
  border: 1.5px solid #DDD6FE;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.adp-btn-secondary:hover { background: #EDE9F8; }
.adp-btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #FEF2F2;
  color: #DC2626;
  border: 1.5px solid #FECACA;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.adp-btn-danger:hover { background: #FEE2E2; }
.adp-btn-success {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #F0FDF4;
  color: #15803D;
  border: 1.5px solid #BBF7D0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.adp-btn-success:hover { background: #DCFCE7; }

/* Form components */
.adp-form-group { display: flex; flex-direction: column; gap: 5px; }
.adp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.adp-label { font-size: 12px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.04em; }
.adp-input {
  padding: 10px 12px;
  border: 1.5px solid #DDD6FE;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s;
  outline: none;
}
.adp-input:focus { border-color: var(--purple); }
.adp-select {
  padding: 10px 12px;
  border: 1.5px solid #DDD6FE;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B5CF6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.adp-select:focus { border-color: var(--purple); }

/* Modal */
.adp-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,10,30,0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.adp-modal-overlay.adp-modal-open { display: flex; }
.adp-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 20px 60px rgba(80,20,150,0.18);
  overflow: hidden;
  animation: adpModalIn 0.2s ease;
}
@keyframes adpModalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}
.adp-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 16px;
  border-bottom: 1px solid #EDE9F8;
  background: linear-gradient(135deg, #6B21A8, #9333EA);
}
.adp-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.adp-modal-close {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.18);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  font-family: inherit;
}
.adp-modal-close:hover { background: rgba(255,255,255,0.3); }
.adp-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 60vh;
  overflow-y: auto;
}
.adp-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #EDE9F8;
  background: #FAFAFF;
}

/* Reserve disclaimer modal — shown before a buyer confirms a reservation */
.rsv-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,10,30,0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.rsv-modal-overlay.rsv-modal-open { display: flex; }
.rsv-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(80,20,150,0.18);
  overflow: hidden;
  animation: adpModalIn 0.2s ease;
}
.rsv-modal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid #EDE9F8;
  background: linear-gradient(135deg, #6B21A8, #9333EA);
}
.rsv-modal-icon { font-size: 20px; }
.rsv-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.rsv-modal-body {
  padding: 20px;
  max-height: 60vh;
  overflow-y: auto;
}
.rsv-modal-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted, #4B5563);
}
.rsv-modal-highlight {
  background: #FFF7ED;
  border: 1.5px solid #FDBA74;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
  color: #7C2D12;
}
.rsv-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #EDE9F8;
  background: #FAFAFF;
}
@media (max-width: 480px) {
  .rsv-modal-footer { flex-direction: column-reverse; }
  .rsv-modal-footer .btn { width: 100%; }
}

/* Station cards */
.adp-station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.adp-station-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #EDE9F8;
  overflow: hidden;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.adp-station-card:hover { box-shadow: 0 4px 20px rgba(107,33,168,0.1); border-color: #DDD6FE; }
.adp-inactive { opacity: 0.6; }
.adp-station-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  border-bottom: 1px solid #F3F0FF;
}
.adp-station-name { font-size: 15px; font-weight: 800; color: var(--text); }
.adp-station-body { padding: 10px 16px; display: flex; flex-direction: column; gap: 6px; }
.adp-station-detail {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.adp-station-detail-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.adp-station-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 14px;
  border-top: 1px solid #F3F0FF;
}
.adp-station-footer form { margin: 0; }
.adp-scope-banner {
  background: #FFF7ED;
  border: 1.5px solid #FDBA74;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: #7C2D12;
  margin-bottom: 16px;
}
.adp-station-assign {
  padding: 10px 16px;
  border-top: 1px solid #F3F0FF;
  background: #FAFAFE;
}
.adp-station-assign-label {
  font-size: 12px;
  font-weight: 700;
  color: #6B21A8;
  margin-bottom: 6px;
}
.adp-station-assign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 6px;
}
.adp-station-assign-opt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text);
}

/* User avatar */
.adp-user-cell { display: flex; align-items: center; gap: 10px; }
.adp-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #A855F7);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* badge variants */
.badge-amber { background: #FEF3C7; color: #92400E; }
.badge-gray  { background: #F3F4F6; color: #6B7280; }

@media (max-width: 640px) {
  .adp-toolbar { flex-direction: column; align-items: stretch; }
  .adp-search-wrap { width: 100%; }
  .adp-search-input { width: 100%; }
  .adp-station-grid { grid-template-columns: 1fr; }
  .adp-form-row { grid-template-columns: 1fr; }
}

/* ── MUSIC PLAYER — "Listen while you browse" ── */
.mp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 500;
  font-family: inherit;
}
.mp-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #7C3AED, #6B21A8);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(107,33,168,0.35);
  align-items: center;
  justify-content: center;
}
.mp-widget.mp-collapsed .mp-toggle { display: flex; }
.mp-widget.mp-collapsed .mp-panel  { display: none; }
.mp-panel {
  width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(30,10,60,0.22);
  border: 1px solid var(--border);
  overflow: hidden;
}
.mp-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #7C3AED, #6B21A8);
  color: #fff;
}
.mp-panel-title { font-size: 12.5px; font-weight: 700; }
.mp-minimize {
  background: rgba(255,255,255,0.18);
  border: none;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  font-size: 14px;
}
.mp-minimize:hover { background: rgba(255,255,255,0.32); }
.mp-track-name {
  padding: 10px 12px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 12px;
}
.mp-btn {
  border: none;
  background: #F3F0FF;
  color: var(--purple);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
}
.mp-btn:hover { background: var(--purple-light); }
.mp-btn-play { width: 36px; height: 36px; font-size: 15px; }
.mp-volume { flex: 1; accent-color: #6B21A8; min-width: 0; }
.mp-mute { width: 28px; height: 28px; font-size: 13px; background: none; }

@media (max-width: 480px) {
  .mp-widget { bottom: 16px; right: 16px; }
  .mp-panel { width: 220px; }
}
