/* ============================================================
   bulka.team / Running Plans Shop — Main Stylesheet
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --gold:         #D4A76A;
  --gold-dark:    #b8894f;
  --choco:        #3E2723;
  --choco-light:  #6d4c41;
  --linen:        #FDF6E3;
  --linen-dark:   #f0e6cc;

  --text:         #2c2c2c;
  --text-muted:   #7a6a5a;
  --white:        #ffffff;
  --border:       #e5d9c4;
  --shadow-sm:    0 2px 8px rgba(62, 39, 35, 0.08);
  --shadow-md:    0 6px 24px rgba(62, 39, 35, 0.13);
  --shadow-lg:    0 12px 40px rgba(62, 39, 35, 0.18);

  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    18px;

  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --nav-h:        68px;
  --transition:   0.22s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--linen);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--choco);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--choco);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition), background var(--transition);
}

.navbar.scrolled {
  background: var(--choco);
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.navbar__logo img {
  height: 36px;
  width: auto;
}

.navbar__logo span { color: var(--gold); }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}

.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.navbar__nav a:hover,
.navbar__nav a.active { color: var(--gold); }
.navbar__nav a:hover::after,
.navbar__nav a.active::after { transform: scaleX(1); }

/* Burger */
.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.navbar__burger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.navbar__drawer {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--choco);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px 28px;
  z-index: 999;
}

.navbar__drawer.open { display: flex; flex-direction: column; gap: 18px; }

.navbar__drawer a {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
}

.navbar__drawer a:hover { color: var(--gold); }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  background: var(--choco);
  padding: 96px 0 48px;
  margin-top: var(--nav-h);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(212,167,106,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255,255,255,0.68);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold);
  color: var(--choco);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 4px 16px rgba(212,167,106,0.38);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--choco);
}

.btn-dark {
  background: var(--choco);
  color: var(--white);
  border-color: var(--choco);
}

.btn-dark:hover {
  background: var(--choco-light);
  border-color: var(--choco-light);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: var(--radius-md); }
.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ============================================================
   BADGE
   ============================================================ */
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--linen-dark);
  color: var(--choco-light);
  border: 1px solid var(--border);
}

.badge--gold  { background: var(--gold); color: var(--choco); border-color: var(--gold); }
.badge--dark  { background: var(--choco); color: var(--white); border-color: var(--choco); }
.badge--green { background: #d4edda; color: #1a5c2d; border-color: #a8d5b5; }
.badge--red   { background: #f8d7da; color: #721c24; border-color: #f5c6cb; }
.badge--grey  { background: #e9ecef; color: #495057; border-color: #dee2e6; }

/* ============================================================
   CATALOG
   ============================================================ */
.catalog {
  padding: 64px 0 80px;
}

.distance-group { margin-bottom: 60px; }
.distance-group:last-child { margin-bottom: 0; }

.distance-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--choco);
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--linen-dark);
}

.distance-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.6rem;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Plan Card */
.plan-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.plan-card:hover::before { transform: scaleX(1); }

.plan-card__badge { margin-bottom: 14px; }

.plan-card__title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--choco);
  margin-bottom: 8px;
  line-height: 1.3;
}

.plan-card__goal {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.plan-card__meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.plan-card__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-card__meta-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.plan-card__meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--choco);
}

.plan-card__footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--linen-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-card__price {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--choco);
}

.plan-card__price sup {
  font-size: 0.75em;
  vertical-align: super;
  font-family: var(--font-body);
  font-weight: 500;
}

/* ============================================================
   PLAN DETAIL PAGE
   ============================================================ */
.plan-detail {
  padding: 56px 0 80px;
}

.plan-detail__layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.plan-detail__info { min-width: 0; }

.plan-detail__section {
  margin-bottom: 40px;
}

.plan-detail__section h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--linen-dark);
}

.plan-detail__section ul {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-detail__section ul li { color: var(--text); }

.plan-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

/* ── Buy Box ──────────────────────────────────────────────── */
.buy-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.buy-box__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.buy-box__price {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--choco);
}

.buy-box__price-cur {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.buy-box__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.5;
}

.buy-box__features {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.buy-box__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
}

.buy-box__feature::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--gold);
  color: var(--choco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.buy-box__divider {
  height: 1px;
  background: var(--linen-dark);
  margin: 20px 0;
}

.buy-box__note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

/* ============================================================
   CHECKOUT FORM
   ============================================================ */
.checkout-page {
  padding: 56px 0 80px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.checkout-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.checkout-form h2 {
  font-size: 1.4rem;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--choco);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--linen);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,167,106,0.2);
  background: var(--white);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.12);
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 5px;
  font-weight: 500;
}

.form-error.visible { display: block; }

.checkout-form .btn-gold {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  margin-top: 8px;
  border-radius: var(--radius-md);
}

/* Order Summary (right column on checkout) */
.order-summary {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.order-summary h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--linen-dark);
}

.order-summary__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--linen-dark);
  font-size: 0.9rem;
}

.order-summary__item:last-of-type { border-bottom: none; }

.order-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  margin-top: 4px;
  border-top: 2px solid var(--linen-dark);
  font-weight: 700;
  font-size: 1.05rem;
}

.order-summary__total-price {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--choco);
}

/* ============================================================
   STATUS PAGES (success / cancel)
   ============================================================ */
.status-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  margin-top: var(--nav-h);
}

.status-page__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 56px 48px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.status-page__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}

.status-page__icon--success {
  background: #d4edda;
  color: #1a5c2d;
}

.status-page__icon--cancel {
  background: #f8d7da;
  color: #721c24;
}

.status-page__card h1 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.status-page__card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.status-page__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   DOWNLOAD PAGE
   ============================================================ */
.download-page {
  padding: 56px 0 80px;
  margin-top: var(--nav-h);
}

.download-page__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 44px 40px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.download-page__card h1 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.download-page__card p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.download-page__file {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--linen);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: left;
}

.download-page__file-icon {
  width: 44px;
  height: 44px;
  background: var(--choco);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-body);
  flex-shrink: 0;
}

.download-page__file-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--choco);
}

.download-page__file-size {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.download-page__expire {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 18px;
}

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
  margin-top: var(--nav-h);
}

.admin-sidebar {
  background: var(--choco);
  padding: 32px 0;
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.admin-sidebar__section {
  margin-bottom: 28px;
}

.admin-sidebar__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 0 20px;
  margin-bottom: 6px;
}

.admin-sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: rgba(255,255,255,0.72);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}

.admin-sidebar__nav a:hover,
.admin-sidebar__nav a.active {
  color: var(--gold);
  background: rgba(255,255,255,0.06);
}

.admin-main {
  background: var(--linen);
  padding: 36px 40px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--linen-dark);
}

.admin-header h1 {
  font-size: 1.6rem;
}

/* ── Admin Table ──────────────────────────────────────────── */
.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.88rem;
}

.admin-table thead {
  background: var(--choco);
  color: var(--white);
}

.admin-table thead th {
  padding: 13px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-table tbody tr {
  border-bottom: 1px solid var(--linen-dark);
  transition: background var(--transition);
}

.admin-table tbody tr:last-child { border-bottom: none; }
.admin-table tbody tr:hover { background: var(--linen); }

.admin-table td {
  padding: 12px 16px;
  color: var(--text);
  vertical-align: middle;
}

.admin-table td a {
  color: var(--gold-dark);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-table td a:hover { color: var(--choco); }

/* ── Admin Badge Status ───────────────────────────────────── */
.admin-badge-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.admin-badge-status--pending  { background: #fff3cd; color: #856404; }
.admin-badge-status--paid     { background: #d4edda; color: #1a5c2d; }
.admin-badge-status--sent     { background: #cce5ff; color: #004085; }
.admin-badge-status--failed   { background: #f8d7da; color: #721c24; }
.admin-badge-status--refunded { background: #e2e3e5; color: #383d41; }

/* ── Admin Form ───────────────────────────────────────────── */
.admin-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 32px;
  max-width: 640px;
  box-shadow: var(--shadow-sm);
}

.admin-form-card h2 {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.admin-form .form-group { margin-bottom: 18px; }

.admin-form .form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--choco);
  margin-bottom: 6px;
}

.admin-form .form-group input,
.admin-form .form-group textarea,
.admin-form .form-group select {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--linen);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.admin-form .form-group input:focus,
.admin-form .form-group textarea:focus,
.admin-form .form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,167,106,0.18);
  background: var(--white);
}

.admin-form .form-group textarea { min-height: 100px; resize: vertical; }

.admin-form__actions {
  display: flex;
  gap: 12px;
  padding-top: 8px;
}

/* Admin stats cards */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.admin-stat-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.admin-stat-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.admin-stat-card__value {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--choco);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--choco);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 28px;
  margin-top: auto;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer__brand { max-width: 260px; }

.footer__brand-logo {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__brand-logo span { color: var(--gold); }

.footer__brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.62);
  transition: color var(--transition);
}

.footer__col ul a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer__bottom a { color: rgba(255,255,255,0.55); }
.footer__bottom a:hover { color: var(--gold); }

/* ============================================================
   UTILITY
   ============================================================ */
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {

  .navbar__nav { display: none; }
  .navbar__burger { display: flex; }

  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .plan-detail__layout {
    grid-template-columns: 1fr;
  }

  .buy-box {
    position: static;
    order: -1;
  }

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

  .order-summary {
    position: static;
    order: -1;
  }

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

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-main { padding: 24px 20px; }

  .admin-stats { grid-template-columns: repeat(2, 1fr); }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__brand { max-width: 100%; }

  .status-page__card { padding: 40px 28px; }

  .checkout-form { padding: 28px 22px; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {

  :root { --nav-h: 60px; }

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

  .plan-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .plan-card__footer .btn { width: 100%; justify-content: center; }

  .page-hero { padding: 80px 0 36px; }

  .admin-stats { grid-template-columns: 1fr; }

  .download-page__card { padding: 32px 20px; }

  .status-page__card { padding: 32px 20px; }
  .status-page__actions { flex-direction: column; }
  .status-page__actions .btn { width: 100%; }

  .admin-form-card { padding: 22px 18px; }

  .footer__bottom { flex-direction: column; text-align: center; }
}
