/* ============================================================
   PledgeTime — Main Stylesheet
   assets/css/main.css
   ============================================================ */

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

:root {
  --brand:      #1B4332;
  --brand-mid:  #2D6A4F;
  --brand-light:#52B788;
  --brand-pale: #D8F3DC;
  --gold:       #D4A017;
  --gold-light: #FFF3CC;
  --text:       #1a1a1a;
  --text-muted: #5a6472;
  --bg:         #FAFAF8;
  --bg-card:    #ffffff;
  --border:     #e2e8e0;
  --radius:     12px;
  --radius-lg:  20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, .logo-text, .site-title {
  font-family: 'Playfair Display', serif;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

/* ── WordPress Admin Bar adjustment ──────────────────────── */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* ── Skip Link ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--gold);
  color: var(--brand);
  padding: 8px 16px;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── NAVIGATION ──────────────────────────────────────────── */
.site-header {
  background: var(--brand);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.logo-text {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}
.logo-text span { color: var(--gold); }

/* WP nav menu */
.main-navigation { display: flex; align-items: center; }
.main-navigation ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.main-navigation ul li a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  display: block;
  transition: all 0.2s;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 101;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  display: block;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--brand);
  padding: 16px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  display: block;
  transition: background 0.2s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.1); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
.btn-primary { background: var(--gold); color: var(--brand); }
.btn-primary:hover { background: #c49010; transform: translateY(-1px); color: var(--brand); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-green { background: var(--brand); color: #fff; }
.btn-green:hover { background: var(--brand-mid); color: #fff; }
.btn-green-outline { background: transparent; color: var(--brand); border: 2px solid var(--brand); }
.btn-green-outline:hover { background: var(--brand-pale); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }

/* WooCommerce button overrides */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order {
  background: var(--brand) !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 600 !important;
  padding: 13px 24px !important;
  border: none !important;
  transition: background 0.2s !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover {
  background: var(--brand-mid) !important;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--gold) !important;
  color: var(--brand) !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: #c49010 !important;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: var(--brand);
  color: #fff;
  padding: 80px 5% 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -60px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 70px 5%; }
.section-alt { background: var(--brand-pale); }
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--brand);
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

/* ── CARDS ───────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--brand-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--brand);
}
.card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.card-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand-pale);
  float: right;
  line-height: 1;
  margin-top: -4px;
}

/* ── ROUTE HERO ──────────────────────────────────────────── */
.route-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
  color: #fff;
  padding: 60px 5%;
  text-align: center;
}
.route-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 12px;
  color: #fff;
}
.route-hero p { font-size: 1rem; opacity: 0.8; max-width: 480px; margin: 0 auto 32px; }
.route-options { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.route-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  min-width: 200px;
  text-decoration: none;
  color: #fff;
  display: block;
}
.route-card:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); color: #fff; }
.route-card .icon { font-size: 36px; display: block; margin-bottom: 12px; }
.route-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 6px; color: #fff; }
.route-card p { font-size: 0.85rem; opacity: 0.75; }

/* ── FORMS ───────────────────────────────────────────────── */
.form-container {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 20px;
}
.form-container h2 { font-size: 1.8rem; font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.form-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-group label .optional { color: var(--text-muted); font-weight: 400; font-size: 0.8rem; }
.form-group input,
.form-group textarea,
.form-group select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea, select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  color: var(--text);
  transition: border 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(82,183,136,0.15);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-link { color: var(--brand-light); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.form-link:hover { text-decoration: underline; }
.form-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; flex-wrap: wrap; gap: 8px; }
.form-divider { text-align: center; color: var(--text-muted); margin: 12px 0; font-size: 0.85rem; }
.submit-btn {
  width: 100%;
  padding: 13px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.submit-btn:hover { background: var(--brand-mid); }

/* WooCommerce form overrides */
.woocommerce-account .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-cart .woocommerce {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border: 1.5px solid var(--border) !important;
  border-radius: 8px !important;
  font-family: 'DM Sans', sans-serif !important;
  padding: 11px 14px !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--brand-light) !important;
  box-shadow: 0 0 0 3px rgba(82,183,136,0.15) !important;
  outline: none !important;
}
.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--brand) !important;
  background: var(--brand-pale) !important;
  color: var(--brand) !important;
}

/* ── DASHBOARD ───────────────────────────────────────────── */
.pt-dashboard { max-width: 900px; margin: 0 auto; padding: 32px 20px; }
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.dash-header h2 { font-size: 1.6rem; color: var(--brand); font-weight: 700; }

.profile-avatar {
  width: 60px; height: 60px;
  background: var(--brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
  overflow: hidden;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-avatar.lg { width: 90px; height: 90px; font-size: 2rem; }

.dash-nav { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.dash-nav-btn {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  transition: all 0.2s;
  text-decoration: none;
}
.dash-nav-btn:hover,
.dash-nav-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.stat-card .val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
  font-family: 'Playfair Display', serif;
}
.stat-card .lbl { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* ── EVENT CARDS ─────────────────────────────────────────── */
.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}
.event-card-info { flex: 1; min-width: 200px; }
.event-card-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--brand);
  margin-bottom: 4px;
}
.event-card-info .meta { font-size: 0.82rem; color: var(--text-muted); }
.event-card-info .event-id {
  font-size: 0.8rem;
  font-family: monospace;
  background: var(--brand-pale);
  color: var(--brand);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 6px;
}
.event-card-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ── PILLS & TAGS ────────────────────────────────────────── */
.pill {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pill-green { background: var(--brand-pale); color: var(--brand); }
.pill-gold  { background: var(--gold-light); color: #8a6200; }
.pill-grey  { background: #f0f0f0; color: #555; }
.tag {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── EVENT PAGE ──────────────────────────────────────────── */
.event-page { max-width: 800px; margin: 0 auto; padding: 32px 20px; }

.event-hero-card {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.event-hero-card::after {
  content: '🏁';
  position: absolute; right: 24px; bottom: 8px;
  font-size: 80px;
  opacity: 0.12;
}
.event-hero-card h2 { font-size: 1.8rem; margin-bottom: 8px; color: #fff; }
.event-hero-card .charity { font-size: 0.9rem; opacity: 0.75; margin-bottom: 16px; }

.progress-bar {
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
  height: 8px;
  overflow: hidden;
  margin: 16px 0 8px;
}
.progress-fill {
  background: var(--gold);
  height: 100%;
  border-radius: 100px;
  transition: width 0.6s ease;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  opacity: 0.8;
}

/* ── MILESTONES ──────────────────────────────────────────── */
.milestone-card {
  background: var(--gold-light);
  border: 1px solid #e8d48c;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.milestone-card .amount { font-size: 1.1rem; font-weight: 700; color: #8a6200; min-width: 60px; }
.milestone-card .desc { font-size: 0.88rem; color: #6b5000; }
.milestone-card.unlocked { background: var(--brand-pale); border-color: var(--brand-light); }
.milestone-card.unlocked .amount { color: var(--brand); }
.milestone-card.unlocked .desc { color: var(--brand-mid); }

/* ── DONATE SECTION ──────────────────────────────────────── */
.donate-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.donate-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--brand);
  margin-bottom: 20px;
}
.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.amount-btn {
  border: 1.5px solid var(--border);
  background: #fff;
  padding: 12px 8px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  color: var(--text);
}
.amount-btn:hover,
.amount-btn.selected {
  border-color: var(--brand);
  background: var(--brand-pale);
  color: var(--brand);
}

.time-selector {
  background: var(--bg);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}
.time-selector h4 { font-size: 0.9rem; font-weight: 600; color: var(--brand); margin-bottom: 4px; }
.time-selector p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.time-inputs { display: flex; align-items: center; gap: 6px; }
.time-inputs input {
  flex: 1;
  padding: 10px;
  text-align: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  min-width: 0;
  width: auto;
}
.time-sep { font-size: 1.2rem; font-weight: 700; color: var(--text-muted); }
.time-available { font-size: 0.78rem; color: var(--brand-light); margin-top: 8px; }
.time-taken { font-size: 0.78rem; color: #c0392b; margin-top: 8px; }

.cart-summary {
  background: var(--brand-pale);
  border: 1px solid var(--brand-light);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
}
.cart-summary h4 { font-size: 0.9rem; font-weight: 600; color: var(--brand); margin-bottom: 8px; }
.cart-row { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 4px; }
.cart-row .lbl { color: var(--text-muted); }
.cart-total {
  border-top: 1px solid var(--brand-light);
  margin-top: 8px;
  padding-top: 8px;
  font-weight: 600;
}

/* ── SEARCH PAGE ─────────────────────────────────────────── */
.search-page { max-width: 640px; margin: 0 auto; padding: 40px 20px; }
.search-box { position: relative; margin-bottom: 12px; }
.search-box input {
  width: 100%;
  padding: 14px 48px 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  background: #fff;
}
.search-box input:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(82,183,136,0.15);
}
.search-icon {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.search-tabs { display: flex; gap: 6px; margin-bottom: 28px; }
.search-tab {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text);
}
.search-tab:hover,
.search-tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.search-result {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text);
}
.search-result:hover { border-color: var(--brand-light); box-shadow: 0 2px 12px rgba(27,67,50,0.08); }

/* ── PROFILE PAGE ────────────────────────────────────────── */
.profile-page { max-width: 760px; margin: 0 auto; padding: 32px 20px; }
.profile-header { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.profile-info { flex: 1; min-width: 200px; }
.profile-info h2 { font-size: 1.5rem; color: var(--brand); font-weight: 700; margin-bottom: 4px; }
.profile-info .bio { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin: 8px 0; }

.times-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.time-badge {
  background: var(--brand-pale);
  border: 1px solid var(--brand-light);
  border-radius: 8px;
  padding: 8px 14px;
  text-align: center;
}
.time-badge .dist { font-size: 0.7rem; color: var(--brand); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.time-badge .time { font-size: 1rem; font-weight: 700; color: var(--brand); font-family: 'Playfair Display', serif; }

/* ── PRIZE BOX ───────────────────────────────────────────── */
.prize-box {
  background: var(--gold-light);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.prize-box h4 { color: #8a6200; font-size: 1rem; margin-bottom: 6px; }
.prize-box p { font-size: 0.88rem; color: #6b5000; }

/* ── QR PLACEHOLDER ──────────────────────────────────────── */
.qr-placeholder {
  width: 100px; height: 100px;
  background: var(--brand);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 32px;
}

/* ── CONTENT PAGES (About, How It Works, Terms) ──────────── */
.content-page { max-width: 700px; margin: 0 auto; padding: 50px 20px; }
.content-page h2 { font-size: 2rem; color: var(--brand); font-weight: 700; margin-bottom: 16px; }
.content-page h3 { font-size: 1.2rem; color: var(--brand); font-weight: 600; margin: 28px 0 8px; }
.content-page p { color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }

.step-list { list-style: none; counter-reset: steps; }
.step-list li {
  counter-increment: steps;
  padding: 16px 16px 16px 56px;
  position: relative;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  line-height: 1.6;
}
.step-list li::before {
  content: counter(steps);
  position: absolute;
  left: 16px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ── INFO BOX ────────────────────────────────────────────── */
.info-box {
  background: var(--brand-pale);
  border: 1px solid var(--brand-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--brand);
}
.info-box strong { font-weight: 600; display: block; margin-bottom: 4px; }

/* ── TOAST NOTIFICATION ──────────────────────────────────── */
.pt-toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--brand);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  z-index: 9999;
  display: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: ptSlideIn 0.3s ease;
}
@keyframes ptSlideIn {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ── BACK LINK ───────────────────────────────────────────── */
.back-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 20px;
  font-family: 'DM Sans', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color 0.2s;
}
.back-link:hover { color: var(--brand); }

/* ── SHARE ROW ───────────────────────────────────────────── */
.share-row {
  background: var(--brand-pale);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.share-row .share-label { font-size: 0.8rem; font-weight: 600; color: var(--brand); margin-bottom: 2px; }
.share-row .share-url { font-size: 0.85rem; color: var(--brand); }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: var(--brand);
  color: rgba(255,255,255,0.75);
  padding: 30px 5%;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer-nav a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* ── WORDPRESS CONTENT AREA ──────────────────────────────── */
.site-main { flex: 1; }
.entry-content { max-width: 700px; margin: 0 auto; padding: 40px 20px; }
.entry-content h1, .entry-content h2, .entry-content h3 { color: var(--brand); margin-bottom: 12px; }
.entry-content p { color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.entry-content a { color: var(--brand-light); }
.entry-content a:hover { text-decoration: underline; }

/* WooCommerce My Account tabs */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.woocommerce-MyAccount-navigation ul li a {
  padding: 9px 18px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .main-navigation { display: none; }
  .menu-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .event-card { flex-direction: column; }
  .dash-header { flex-direction: column; align-items: flex-start; }
  .profile-header { flex-direction: column; }
  .admin-bar .mobile-nav { top: calc(70px + 46px); }
}
@media (max-width: 480px) {
  .hero { padding: 60px 5% 70px; }
  .section { padding: 50px 5%; }
  .route-card { min-width: 160px; padding: 24px 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ── PRINT ───────────────────────────────────────────────── */
@media print {
  .site-header, .mobile-nav, .menu-toggle, .site-footer { display: none; }
  body { background: white; }
}
