/* ============================================================
   IMPUNDU Design System — impundu.css
   Ported from the previous impundo build.
   ============================================================ */

:root {
  /* Brand Colours */
  --teal:         #3D8EA0;
  --teal-dark:    #2A6E7E;
  --teal-light:   #E8F4F7;
  --navy:         #1A2B6B;
  --gold:         #C9972A;
  --gold-light:   #F0C96B;
  --maroon:       #5D1E2C;

  /* Neutrals */
  --off-white:    #FAF9F7;
  --cream:        #F5E6D3;
  --light-gray:   #F0F0F0;
  --mid-gray:     #999999;
  --dark-text:    #222222;
  --white:        #FFFFFF;

  /* Scent Colours (rose, coco butter, vanilla) */
  --rose:         #C0392B;
  --coco-butter:  #7B4F2E;
  --vanilla:      #4CAF50;

  /* System */
  --kill-green:   #27AE60;
  --whatsapp:     #25D366;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-accent:  'Cormorant Garamond', serif;

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  /* Radius */
  --radius-sm:   6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-card: 0 4px 20px rgba(61,142,160,0.15);
  --shadow-btn:  0 4px 12px rgba(61,142,160,0.3);
  --shadow-gold: 0 4px 12px rgba(201,151,42,0.35);

  /* Navbar */
  --nav-height: 70px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark-text);
  background: var(--off-white);
  margin: 0;
  padding-top: var(--nav-height);
  line-height: 1.6;
}

body.auth-body {
  padding-top: 0;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 50%, var(--navy) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dashboard-body { padding-top: 0; background: #f0f2f5; }

h1, h2, h3, h4, .brand-text { font-family: var(--font-heading); }

img { max-width: 100%; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar-impundu {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--white);
  z-index: 1000;
  border-bottom: 1px solid rgba(61,142,160,0.1);
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s ease;
}

.navbar-impundu.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

.navbar-impundu .container {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

.navbar-brand-impundu {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}

.nav-logo {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal-light);
}

.nav-links { display: flex; align-items: center; gap: var(--sp-4); flex: 1; justify-content: center; }

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-text);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* Grouped nav dropdowns (Affiliates, Community) */
.navbar-impundu .nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  background: transparent;
  color: inherit;
  width: auto;
}

.nav-dropdown-toggle {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent; /* never inherit a dark fill from other stylesheets */
}

.nav-dropdown-toggle .bi {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle .bi,
.nav-dropdown.open .nav-dropdown-toggle .bi { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 34px rgba(26, 43, 107, 0.14);
  min-width: 210px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 1100;
}

/* Invisible bridge so the 6px gap doesn't drop the hover. */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  color: var(--dark-text);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: none;
}

.nav-dropdown-menu a i { color: var(--teal); font-size: 1rem; }

.nav-dropdown-menu a:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}

/* Section labels in the mobile menu (group the same items). */
.mobile-group-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-top: 14px;
  margin-bottom: 2px;
}

.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }

.btn-cart {
  position: relative;
  font-size: 1.25rem;
  color: var(--dark-text);
  cursor: pointer;
  text-decoration: none;
}

.cart-badge {
  position: absolute;
  top: -8px; right: -10px;
  background: var(--teal);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
}

.btn-primary-teal {
  background: var(--teal);
  color: white !important;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary-teal:hover {
  background: var(--teal-dark);
  box-shadow: var(--shadow-btn);
  transform: translateY(-1px);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal) !important;
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 7px 18px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: white !important;
}

/* Secondary CTA on the dark teal hero — must stay clearly visible on that background */
.btn-hero-outline {
  background: rgba(255, 255, 255, 0.12);
  color: white !important;
  border: 2px solid white;
  border-radius: var(--radius-sm);
  padding: 11px 27px;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-hero-outline:hover {
  background: white;
  color: var(--teal) !important;
}

.btn-gold {
  background: var(--gold);
  color: white !important;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--mid-gray) !important;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

/* ── Mobile Nav ───────────────────────────────────────────── */
.hamburger {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--dark-text);
  cursor: pointer;
  margin-left: auto;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--teal-dark);
  z-index: 2000;
  display: none;
  flex-direction: column;
  padding: var(--sp-6);
}

.mobile-menu.open { display: flex; }

.mobile-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: var(--sp-5);
}

.mobile-links { display: flex; flex-direction: column; gap: var(--sp-4); }

.mobile-links a {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  padding: var(--sp-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

/* ── Sections ─────────────────────────────────────────────── */
.section-white   { background: var(--white); }
.section-cream   { background: var(--cream); }
.section-teal    { background: var(--teal); }
.section-dark    { background: var(--teal-dark); }
.section-navy    { background: var(--navy); }
.section-offwhite{ background: var(--off-white); }

.section-padding { padding: var(--sp-9) 0; }
.section-padding-sm { padding: var(--sp-7) 0; }

/* ── Becoming a reseller kicker ───────────────────────────── */
.reseller-kicker {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.4;
}

.reseller-kicker span {
  display: block;
  font-family: var(--font-body, inherit);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: var(--sp-2);
}

/* ── Shop sticky cart bar ─────────────────────────────────── */
.shop-cart-bar {
  position: sticky;
  top: var(--nav-height, 64px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.shop-cart-bar:hover { background: var(--teal-dark); color: #fff; }

.shop-cart-bar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}

.shop-cart-bar-btn {
  flex-shrink: 0;
  background: #fff;
  color: var(--teal-dark);
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 6px 16px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 480px) {
  .shop-cart-bar-info span { font-size: 0.85rem; }
}

.order-success-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.order-customer-summary {
  margin: -0.25rem -0.25rem 1.5rem;
  padding: 1rem;
  border: 1px solid #dce4e6;
  border-radius: 6px;
  background: #f8fbfb;
}

.order-customer-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #dce4e6;
}

.order-summary-kicker,
.order-customer-field > span {
  display: block;
  color: #66777b;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.order-account-confirmed {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #176b58;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.order-customer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
}

.order-customer-field {
  min-width: 0;
}

.order-customer-field--wide {
  grid-column: 1 / -1;
}

.order-customer-field strong,
.order-customer-field small {
  display: block;
  overflow-wrap: anywhere;
}

.order-customer-field strong {
  margin-top: 0.2rem;
  color: #1f292b;
  font-size: 0.9rem;
}

.order-customer-field small {
  margin-top: 0.15rem;
  color: #66777b;
}

@media (max-width: 575.98px) {
  .order-customer-summary-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-customer-grid {
    grid-template-columns: 1fr;
  }

  .order-customer-field--wide {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .order-success-actions {
    grid-template-columns: 1fr;
  }
}

.dashboard-quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
}

.dashboard-quick-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 84px;
  padding: 16px;
  color: var(--dark-text);
  background: #fff;
  border: 1px solid rgba(61, 142, 160, 0.14);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-quick-link:hover {
  color: var(--dark-text);
  border-color: rgba(61, 142, 160, 0.36);
  box-shadow: 0 10px 28px rgba(61, 142, 160, 0.18);
  transform: translateY(-2px);
}

.dashboard-quick-link i {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  font-size: 1.1rem;
}

.dashboard-quick-link strong,
.dashboard-quick-link small {
  display: block;
}

.dashboard-quick-link strong {
  color: var(--teal-dark);
  line-height: 1.2;
}

.dashboard-quick-link small {
  margin-top: 3px;
  color: var(--mid-gray);
  font-size: 0.8rem;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .dashboard-quick-links {
    grid-template-columns: 1fr;
  }
}

/* ── My Account dashboard ─────────────────────────────────── */
.dashboard-greeting-row {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.dashboard-avatar {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
  margin-top: -56px;
  margin-bottom: var(--sp-6);
  position: relative;
  z-index: 2;
}

.dashboard-stat-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--sp-4) var(--sp-3);
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-stat-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.dashboard-stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1.1;
}

.dashboard-stat-label {
  font-size: 0.75rem;
  color: var(--mid-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

@media (max-width: 700px) {
  .dashboard-stats { grid-template-columns: 1fr; margin-top: var(--sp-4); }
}

/* ── Registration fee payment banner ────────────────────── */
.dash-pay-banner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
  margin-bottom: var(--sp-5);
  color: white;
  flex-wrap: wrap;
}

.dash-pay-banner-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.dash-pay-banner-body {
  flex: 1;
  min-width: 200px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.dash-pay-banner-btn {
  display: inline-flex;
  align-items: center;
  background: white;
  color: var(--teal-dark);
  font-weight: 700;
  font-family: var(--font-heading);
  border-radius: var(--radius-md);
  padding: 10px 22px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.dash-pay-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  color: var(--teal-dark);
}

@media (max-width: 576px) {
  .dash-pay-banner { padding: var(--sp-4); }
  .dash-pay-banner-btn { width: 100%; justify-content: center; }
}

.dashboard-section {
  margin-bottom: var(--sp-6);
}

.dashboard-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.dashboard-section-head h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-section-head h2 i {
  color: var(--gold);
  font-size: 1.1rem;
}

.dashboard-entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-4);
}

.dashboard-entity-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--sp-4);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-entity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(61, 142, 160, 0.18);
}

.dashboard-entity-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-right: 84px; /* clear the absolutely-positioned role badge */
}

.dashboard-entity-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(61, 142, 160, 0.3);
}

.dashboard-entity-icon.is-gold {
  background: var(--gold);
  box-shadow: var(--shadow-gold);
}

.dashboard-entity-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.25;
}

.dashboard-entity-meta {
  font-size: 0.8rem;
  color: var(--mid-gray);
}

.dashboard-entity-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: var(--sp-2);
}

.dashboard-add-card {
  border: 1.5px dashed rgba(61, 142, 160, 0.4);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 150px;
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  padding: var(--sp-4);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dashboard-add-card:hover {
  background: var(--teal-light);
  border-color: var(--teal);
  color: var(--teal-dark);
}

.dashboard-add-card i {
  font-size: 1.6rem;
}

.dashboard-orders-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.dashboard-orders-card .table {
  margin-bottom: 0;
}

.dashboard-orders-card thead th {
  background: var(--off-white);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--mid-gray);
  border-bottom: none;
  font-weight: 700;
}

.dashboard-empty {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  color: var(--mid-gray);
}

.dashboard-empty i {
  font-size: 2rem;
  color: var(--teal-light);
  display: block;
  margin-bottom: var(--sp-2);
}

.dashboard-notif-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.dashboard-notif-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--off-white);
  font-size: 0.85rem;
}

.dashboard-notif-item:last-child { border-bottom: none; }

.dashboard-notif-item i {
  color: var(--gold);
  margin-top: 2px;
}

/* ── Find an Establishment ────────────────────────────────── */
.establishment-type-badge {
  flex-shrink: 0;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.establishment-specials {
  background: #fff8e6;
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.85rem;
  color: #5a4a1a;
}

.establishment-specials-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.7rem;
  color: var(--gold);
  margin-bottom: 3px;
}

/* ── Founder / Our Story ──────────────────────────────────── */
.founder-role {
  font-family: var(--font-accent);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--teal);
  margin-bottom: var(--sp-5);
}

/* Social link groups on the About page — one for the founder (JSINDY), one for
   the company (IMPUNDU), each clearly labelled so the two are never confused. */
.social-group {
  margin-top: var(--sp-4);
}

.social-group-label {
  display: block;
  font-weight: 700;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.social-group-label i { color: var(--gold); margin-right: 4px; }

.social-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.social-group-company {
  border-top: 1px solid var(--off-white);
  padding-top: var(--sp-5);
  margin-top: var(--sp-6);
}

.founder-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--off-white);
  box-shadow: var(--shadow-card);
  color: var(--dark-text);
  text-decoration: none;
  font-size: 0.85rem;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.founder-social:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  color: var(--teal-dark);
}

.founder-social i {
  font-size: 1.15rem;
  color: var(--teal);
}

.founder-social strong { font-weight: 700; }

.founder-subhead {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--teal);
  margin-bottom: var(--sp-2);
}

.founder-values {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.founder-values li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: var(--sp-2);
}

.founder-values li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.founder-more {
  margin-top: var(--sp-2);
}

.founder-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--teal);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
  width: max-content;
  transition: color 0.2s ease;
}

.founder-more-toggle:hover { color: var(--teal-dark); }

/* hide the native disclosure marker */
.founder-more-toggle::-webkit-details-marker { display: none; }
.founder-more-toggle::marker { content: ""; }

.founder-more-toggle::after {
  content: "\2193"; /* down arrow */
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.founder-more[open] .founder-more-toggle::after {
  transform: rotate(180deg);
}

.founder-more[open] .founder-more-toggle {
  margin-bottom: var(--sp-5);
}

.founder-more-body {
  animation: founder-reveal 0.35s ease;
}

@keyframes founder-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--sp-3);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 600px;
  margin-bottom: var(--sp-6);
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--nav-height));
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-left {
  background: linear-gradient(145deg, var(--teal-dark), var(--teal));
  padding: var(--sp-8) var(--sp-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: -80px; left: -80px;
}

.hero-left::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  bottom: -40px; right: -40px;
}

.hero-logo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.4);
  margin-bottom: var(--sp-5);
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: var(--sp-3);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: var(--sp-3);
}

.hero-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: var(--sp-5);
}

.hero-desc {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--sp-6);
  max-width: 420px;
}

.hero-ctas { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

.hero-right {
  background: linear-gradient(135deg, #f5e6d3, #ede0d4);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-badge {
  position: absolute;
  top: var(--sp-5); right: var(--sp-5);
  background: white;
  border-radius: var(--radius-md);
  padding: var(--sp-3) var(--sp-4);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.hero-badge .badge-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
  font-family: var(--font-heading);
}

.hero-badge .badge-text { font-size: 0.7rem; color: var(--mid-gray); }

/* ── Stats Strip ──────────────────────────────────────────── */
.stat-strip {
  background: var(--teal);
  padding: var(--sp-6) 0;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ── Product / Variant Cards ──────────────────────────────── */
.scent-card {
  --accent: var(--teal);
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.scent-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.scent-band {
  height: 8px;
  background: var(--accent);
}

.scent-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.scent-card:hover .scent-img { transform: scale(1.03); }

.scent-body { padding: var(--sp-4); }

.scent-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.scent-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.scent-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--accent);
  color: white;
  margin-bottom: var(--sp-3);
}

/* ── Offering Cards ───────────────────────────────────────── */
.offering-card {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
}

.offering-icon {
  width: 64px; height: 64px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 15px rgba(61,142,160,0.3);
}

.offering-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

/* ── Testimonial / Success Story Cards ────────────────────── */
.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--teal-light);
  position: absolute;
  top: -20px; left: 20px;
  line-height: 1;
}

.testimonial-stars { color: var(--gold); margin-bottom: var(--sp-3); font-size: 0.9rem; }
.testimonial-body  { color: #555; font-size: 0.95rem; line-height: 1.7; margin-bottom: var(--sp-4); }
.testimonial-name  { font-weight: 700; color: var(--dark-text); font-size: 0.9rem; }

/* ── Reseller CTA Banner ──────────────────────────────────── */
.reseller-cta {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: var(--sp-7) 0;
  text-align: center;
}

.reseller-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: white;
  margin-bottom: var(--sp-2);
}

.reseller-cta p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin-bottom: var(--sp-5); }

/* ── Auth ─────────────────────────────────────────────────── */
.auth-container {
  width: 100%;
  max-width: 460px;
  padding: var(--sp-5);
}

.auth-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--sp-7);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.auth-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--dark-text);
  margin-bottom: var(--sp-2);
}

.auth-subtitle { color: var(--mid-gray); font-size: 0.95rem; margin-bottom: var(--sp-6); }

.form-impundu .form-control {
  border: 1.5px solid #e0e0e0;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--font-body);
}

.form-impundu .form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(61,142,160,0.15);
  outline: none;
}

.form-impundu .form-label {
  font-weight: 600;
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 6px;
}

.form-error { color: #dc3545; font-size: 0.8rem; margin-top: 4px; }

/* ── Dashboard ────────────────────────────────────────────── */
.dashboard-wrapper { display: flex; min-height: 100vh; }

.dashboard-sidebar {
  width: 240px;
  background: var(--teal-dark);
  color: white;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  z-index: 100;
  transition: transform 0.3s ease;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.sidebar-nav { flex: 1; padding: var(--sp-4) 0; }

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 12px var(--sp-4);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.sidebar-link:hover, .sidebar-link.active {
  background: rgba(255,255,255,0.1);
  color: white;
  padding-left: calc(var(--sp-4) + 4px);
}

.sidebar-footer {
  padding: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.dashboard-main {
  flex: 1;
  margin-left: 240px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.dashboard-topbar {
  background: white;
  padding: 16px 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.dashboard-content { padding: 28px; flex: 1; }

.stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--teal);
}

.stat-card .stat-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark-text);
}

.stat-card .stat-lbl {
  font-size: 0.8rem;
  color: var(--mid-gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.code-display {
  background: var(--teal-light);
  border: 2px dashed var(--teal);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  text-align: center;
}

.code-text {
  font-family: monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 6px;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: var(--sp-8) 0 var(--sp-5);
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: white;
  font-weight: 700;
  margin: var(--sp-3) 0 var(--sp-2);
}

.footer-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: var(--sp-3);
}

.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
  margin-bottom: var(--sp-4);
}

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

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-socials { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }

.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: all 0.2s;
}

.footer-socials a:hover { background: var(--teal); border-color: var(--teal); color: white; }

.footer-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(201,151,42,0.2);
  border: 1px solid var(--gold);
  border-radius: 20px;
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  margin: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--sp-5);
  margin-top: var(--sp-6);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── WhatsApp Float ───────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  z-index: 9999;
  animation: wa-pulse 2.5s infinite;
  transition: transform 0.2s ease;
}

.wa-float:hover { transform: scale(1.1); }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,0.75); }
}

/* ── Fade-in animations ───────────────────────────────────── */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Flash alerts ─────────────────────────────────────────── */
.flash-alert {
  position: fixed;
  top: calc(var(--nav-height) + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  min-width: 320px;
  max-width: 90vw;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* ── Error page ───────────────────────────────────────────── */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-code { font-size: 8rem; font-weight: 700; color: var(--teal-light); font-family: var(--font-heading); line-height: 1; }
.error-title { font-family: var(--font-heading); font-size: 2rem; color: var(--teal-dark); }
.error-msg { color: var(--mid-gray); font-size: 1rem; }

/* ── Notification bell ────────────────────────────────────── */
.notif-bell { position: relative; cursor: pointer; font-size: 1.3rem; }
.notif-badge {
  position: absolute;
  top: -6px; right: -8px;
  background: var(--gold);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { height: 50vw; min-height: 220px; }
  .hero-left  { padding: var(--sp-7) var(--sp-5); }
  .hero-title { font-size: 2.2rem; }
  .dashboard-sidebar { transform: translateX(-100%); }
  .dashboard-sidebar.open { transform: translateX(0); }
  .dashboard-main { margin-left: 0; }
  .dashboard-content { padding: 16px; }
  body { padding-top: var(--nav-height); }
}

/* ── Admin: Orders listing ────────────────────────────────── */
.order-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--sp-4);
  margin-bottom: var(--sp-3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(61, 142, 160, 0.16);
}

.order-card-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.order-reference {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 1.05rem;
}

.order-card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.order-card-date {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--mid-gray);
}

.order-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 0.85rem;
  color: var(--dark-text);
  margin-bottom: 12px;
}

.order-card-meta i { color: var(--teal); margin-right: 3px; }

/* Product line on order cards + products cell/table in the admin order area. */
.order-card-products {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 0.82rem;
  color: var(--dark-text);
  background: var(--off-white);
  border-radius: var(--radius-sm, 8px);
  padding: 8px 12px;
  margin-bottom: 12px;
}

.order-card-products-label {
  font-weight: 700;
  color: var(--teal-dark);
  white-space: nowrap;
}

.order-card-products-label i { color: var(--gold); margin-right: 4px; }

.order-card-products-list { color: var(--mid-gray); }

.order-table-products {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--mid-gray);
}

.order-items-table thead th {
  background: var(--off-white);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--mid-gray);
  border-bottom: none;
  font-weight: 700;
}

.order-items-table tfoot th,
.order-items-table tfoot td { border-top: 2px solid var(--off-white); }

.order-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--off-white);
}

.order-card-totals {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.order-card-total {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--teal-dark);
}

.order-card-paymethod {
  font-size: 0.78rem;
  color: var(--mid-gray);
  text-transform: capitalize;
}

/* Badges — semantic colors shared by both list and table view */
.order-badge {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  background: var(--off-white);
  color: var(--dark-text);
}

.order-badge-type-retail        { background: var(--teal-light); color: var(--teal-dark); }
.order-badge-type-reseller-bulk { background: var(--cream); color: #8a5a1e; }

.order-badge-status-pending     { background: #fff3cd; color: #856404; }
.order-badge-status-paid        { background: var(--teal-light); color: var(--teal-dark); }
.order-badge-status-processing  { background: #cfe2ff; color: #084298; }
.order-badge-status-shipped     { background: #e0cffc; color: #59359a; }
.order-badge-status-delivered   { background: #d1e7dd; color: #0f5132; }
.order-badge-status-cancelled   { background: #f8d7da; color: #842029; }

.order-badge-pay-paid           { background: #d1e7dd; color: #0f5132; }
.order-badge-pay-unpaid         { background: #fff3cd; color: #856404; }
.order-badge-pay-refunded       { background: #e2e3e5; color: #41464b; }

/* Table view */
.order-table thead th {
  background: var(--off-white);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--mid-gray);
  border-bottom: none;
  font-weight: 700;
  white-space: nowrap;
}

.order-table-ref {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal-dark);
}

@media (max-width: 560px) {
  .order-card-date { margin-left: 0; }
  .order-card-bottom { align-items: flex-start; }
}

/* ── Admin: generic CRUD listing (shared with the Orders page) ── */
.crud-card-snippet {
  font-size: 0.83rem;
  color: var(--mid-gray);
  margin-bottom: 10px;
}

/* Value-badge palette: class is crud-b-{slugified value}. Unknown values
   fall back to the neutral .order-badge base style. */
.crud-b-pending      { background: #fff3cd; color: #856404; }
.crud-b-approved     { background: #d1e7dd; color: #0f5132; }
.crud-b-paid         { background: #d1e7dd; color: #0f5132; }
.crud-b-published    { background: #d1e7dd; color: #0f5132; }
.crud-b-active       { background: #d1e7dd; color: #0f5132; }
.crud-b-draft        { background: #e2e3e5; color: #41464b; }
.crud-b-refunded     { background: #e2e3e5; color: #41464b; }
.crud-b-inactive     { background: #e2e3e5; color: #41464b; }
.crud-b-suspended    { background: #f8d7da; color: #842029; }
.crud-b-rejected     { background: #f8d7da; color: #842029; }
.crud-b-cancelled    { background: #f8d7da; color: #842029; }
.crud-b-featured     { background: var(--cream); color: #8a5a1e; }
.crud-b-individual   { background: var(--teal-light); color: var(--teal-dark); }
.crud-b-establishment{ background: var(--cream); color: #8a5a1e; }
.crud-b-order-commission            { background: var(--teal-light); color: var(--teal-dark); }
.crud-b-order-referral-bonus        { background: #cfe2ff; color: #084298; }
.crud-b-registration-referral-bonus { background: #e0cffc; color: #59359a; }

/* ── Admin aside navigation ───────────────────────────────── */
.admin-shell {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.admin-aside {
  flex: 0 0 236px;
  position: sticky;
  top: var(--nav-height, 70px);
  max-height: calc(100vh - var(--nav-height, 70px));
  overflow-y: auto;
  background: var(--teal-dark);
  padding: var(--sp-5) var(--sp-3) var(--sp-6);
  align-self: stretch;
  min-height: calc(100vh - var(--nav-height, 70px));
}

.admin-main {
  flex: 1;
  min-width: 0;
}

.admin-aside-title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0 12px;
  margin-bottom: var(--sp-4);
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-aside-title i { color: var(--gold-light); }

.admin-aside-group {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.45);
  padding: 14px 12px 6px;
}

.admin-aside-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.admin-aside-link i {
  width: 18px;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s ease;
}

.admin-aside-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-aside-link:hover i { color: var(--gold-light); }

.admin-aside-link.active {
  background: var(--teal);
  color: #fff;
  font-weight: 600;
}

.admin-aside-link.active i { color: #fff; }

/* Status-scoped order sub-links: indented, smaller, with a rail. */
.admin-aside-sublink {
  margin-left: 14px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  border-left: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 0 8px 8px 0;
}
.admin-aside-sublink i { font-size: 0.85rem; }
.admin-aside-sublink.active {
  border-left-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-aside-toggle { display: none; }

@media (max-width: 991px) {
  .admin-shell { display: block; }

  .admin-aside {
    display: none;
    position: static;
    min-height: 0;
    max-height: none;
    flex: none;
  }

  .admin-shell.aside-open .admin-aside { display: block; width: 100%; }

  .admin-aside-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: none;
    background: var(--teal-dark);
    color: #fff;
    font-weight: 600;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .admin-aside-toggle i { color: var(--gold-light); }
}

/* ── Admin dashboard attention chips ──────────────────────── */
.admin-attention {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-attention-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff8e6;
  border: 1px solid rgba(201, 151, 42, 0.35);
  color: #8a5a1e;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 16px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.admin-attention-chip:hover {
  background: var(--cream);
  color: #6d4517;
  transform: translateY(-1px);
}

.admin-attention-chip i { color: var(--gold); }

/* ── Reseller dashboard ───────────────────────────────────── */
.dashboard-stats.is-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dashboard-stats.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991px) {
  .dashboard-stats.is-4,
  .dashboard-stats.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .dashboard-stats.is-4,
  .dashboard-stats.is-3 { grid-template-columns: 1fr; }
}

.dashboard-account-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--sp-5);
}

.dashboard-account-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-card);
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1.5px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.dashboard-account-pill:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.dashboard-account-pill.active {
  background: var(--teal);
  color: #fff;
}

.dashboard-account-pill .pill-role {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
}

.dashboard-account-pill.active .pill-role {
  background: rgba(255, 255, 255, 0.22);
}

.dashboard-panel {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--sp-4);
}

.dashboard-panel-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-3);
}

.dashboard-panel-title i {
  color: var(--gold);
  font-size: 1rem;
}

/* ── Dashboard business summary cards ─────────────────────── */
.dashboard-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}

@media (max-width: 767px) {
  .dashboard-summary-grid { grid-template-columns: 1fr; }
}

.dashboard-summary-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  color: var(--dark-text);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(61, 142, 160, 0.18);
  color: var(--dark-text);
}

.dashboard-summary-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-summary-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--teal-dark);
  line-height: 1.25;
}

.dashboard-summary-sub {
  font-size: 0.8rem;
  color: var(--mid-gray);
}

.dashboard-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.dashboard-summary-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--off-white);
}

.dashboard-summary-list li:last-child { border-bottom: none; }

.dashboard-summary-list .pill-role {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-summary-blurb {
  font-size: 0.85rem;
  color: var(--mid-gray);
  margin: 0;
}

.dashboard-summary-go {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dashboard-summary-card:hover .dashboard-summary-go {
  color: var(--teal-dark);
}

.dashboard-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--sp-3);
}

.dashboard-back-link:hover { color: #fff; }

/* ── Admin image field + cropper ──────────────────────────── */
.admin-image-preview {
  width: 120px;
  height: 120px;
  flex: 0 0 auto;
  border-radius: var(--radius-md, 12px);
  border: 1.5px solid var(--off-white);
  background: var(--off-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-image-placeholder {
  color: var(--mid-gray);
  font-size: 2rem;
  opacity: 0.5;
}

.admin-image-controls { flex: 1 1 260px; min-width: 240px; }

.admin-cropper-stage {
  max-height: 60vh;
  background: #1b1b1b;
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
}

.admin-cropper-stage img { max-width: 100%; display: block; }

.admin-cropper-ratios { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* Thumbnail shown on the CRUD view (detail) pages. */
.admin-detail-thumb {
  max-width: 220px;
  border-radius: var(--radius-md, 12px);
  border: 1.5px solid var(--off-white);
}

/* ── Directory: toolbar, filters, map ─────────────────────── */
.directory-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: var(--radius-lg, 16px);
  border: 1.5px solid rgba(61,142,160,0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.directory-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex: 1;
  flex-direction: row;
}
.directory-filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 150px;
}
.directory-filter-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark-gray, #333);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.directory-select,
.directory-input {
  padding: 8px 12px;
  border: 1.5px solid #dce3e8;
  border-radius: var(--radius-md, 10px);
  font-size: 0.9rem;
  background: #fafbfc;
  transition: border-color 0.2s;
  width: 100%;
}
.directory-select:focus,
.directory-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(61,142,160,0.12);
}
.directory-view-toggle {
  display: flex;
  gap: 4px;
  background: #f0f2f5;
  border-radius: var(--radius-md, 10px);
  padding: 4px;
}
.directory-view-btn {
  padding: 8px 16px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-gray, #555);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.directory-view-btn.active {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 2px 6px rgba(61,142,160,0.3);
}
.directory-view-btn:hover:not(.active) {
  background: #e2e6ea;
}
.directory-results-info {
  font-size: 0.85rem;
  color: var(--mid-gray, #888);
  margin-bottom: 16px;
  font-weight: 500;
}
.directory-map {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg, 16px);
  border: 1.5px solid rgba(61,142,160,0.12);
  overflow: hidden;
}

@media (max-width: 640px) {
  .directory-toolbar { padding: 16px; }
  .directory-filters { flex-direction: column; }
  .directory-filter-group { flex-basis: 100%; }
  .directory-view-toggle { width: 100%; justify-content: center; }
  .directory-map { height: 380px; }
}

/* ─────────────────────────────────────────────────────────────
   Reseller dashboard — shared chrome (hero, tabs, switcher)
   Used by dashboard/reseller.php, reseller_profile.php,
   reseller_cashouts.php via the reseller-dash-header partial.
   ───────────────────────────────────────────────────────────── */
.reseller-dash-hero { padding-bottom: var(--sp-5); }
.reseller-dash-body { background: var(--off-white); min-height: 55vh; }
/* Reseller stat cards sit mid-page (not overlapping the hero), so cancel the
   buyer dashboard's negative top margin. */
.reseller-dash-body .dashboard-stats { margin-top: 0; }

.reseller-dash-avatar-img {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.5);
    flex-shrink: 0;
}
.reseller-code-pill {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 2px 12px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

/* ─────────────────────────────────────────────────────────────
   Public profile pages — shared by the reseller profile
   (directory/profile.php) AND the establishment profile
   (establishments/view.php).
   ───────────────────────────────────────────────────────────── */
.profile-hero-badge {
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.78rem;
    font-weight: 700;
}
.profile-hero-loc { font-size: 0.95rem; opacity: 0.92; }
.profile-hero-loc i { margin-right: 3px; }

.profile-side-card {
    background: var(--white, #fff);
    border-radius: var(--radius-lg, 16px);
    box-shadow: 0 4px 22px rgba(0,0,0,0.07);
    padding: var(--sp-5);
    text-align: center;
    position: sticky;
    top: 90px;
}
.profile-photo-wrap { margin-bottom: var(--sp-3); }
.profile-photo {
    width: 150px; height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--teal, #0f766e);
    margin: 0 auto;
    display: block;
}
.profile-photo-initials {
    display: flex; align-items: center; justify-content: center;
    background: var(--teal-light);
    color: var(--teal-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3rem;
}
.profile-code {
    display: flex; flex-direction: column; align-items: center;
    background: var(--off-white);
    border: 1px dashed rgba(61,142,160,0.4);
    border-radius: var(--radius-md);
    padding: 10px;
    margin-bottom: var(--sp-2);
}
.profile-code-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted,#666); font-weight: 700; }
.profile-code-value { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.06em; color: var(--teal-dark); }

.profile-detail-list {
    list-style: none;
    padding: 0;
    margin: var(--sp-4) 0 0;
    text-align: left;
    border-top: 1px solid rgba(0,0,0,0.07);
    padding-top: var(--sp-3);
}
.profile-detail-list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.86rem;
    color: #444;
    padding: 5px 0;
}
.profile-detail-list i { color: var(--teal); margin-top: 2px; flex-shrink: 0; }

.profile-section-title { font-family: var(--font-heading); font-weight: 700; }
.profile-bio { line-height: 1.75; color: #444; }

.profile-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.profile-gallery-item {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.profile-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.profile-gallery-item:hover img { transform: scale(1.05); }

.profile-empty {
    text-align: center;
    color: var(--text-muted, #666);
    background: var(--off-white);
    border-radius: var(--radius-md);
    padding: var(--sp-5);
}
.profile-empty i { font-size: 2rem; color: var(--teal); opacity: 0.5; display: block; margin-bottom: 8px; }

@media (max-width: 767px) {
    .profile-side-card { position: static; }
    .profile-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Tab bar */
.dashboard-tabs {
    border-bottom: 2px solid rgba(61, 142, 160, 0.15);
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.dashboard-tabs::-webkit-scrollbar { height: 0; }
.dashboard-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted, #666);
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 10px 20px;
    border-radius: 6px 6px 0 0;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}
.dashboard-tabs .nav-link:hover {
    color: var(--teal-dark);
    background: rgba(61, 142, 160, 0.05);
}
.dashboard-tabs .nav-link.active {
    color: var(--teal-dark);
    border-bottom-color: var(--teal);
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.03);
}

/* ─────────────────────────────────────────────────────────────
   Home gallery — "The Impundu Family" mosaic + lightbox
   Replaces the old text-heavy founder section with photos of
   JSINDY and the reseller community (client request: less text).
   ───────────────────────────────────────────────────────────── */
.home-gallery-section { background: var(--off-white); }

.home-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
    grid-auto-flow: dense;
    gap: 14px;
}
.home-gallery-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-md, 12px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    background: var(--teal-light);
}
.home-gallery-tile.is-feature { grid-column: span 2; grid-row: span 2; }
.home-gallery-tile.is-tall    { grid-row: span 2; }
.home-gallery-tile.is-wide    { grid-column: span 2; }

/* Two-photo variant: portrait pair, side by side, centered */
.home-gallery.is-duo {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 560px;
    max-width: 880px;
    margin: 0 auto;
}

.home-gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.home-gallery-tile:hover img { transform: scale(1.06); }

/* Hover overlay: gradient + caption + expand icon */
.home-gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 14px;
    background: linear-gradient(to top, rgba(10,40,44,0.72) 0%, rgba(10,40,44,0) 45%);
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
}
.home-gallery-tile:hover .home-gallery-overlay,
.home-gallery-tile:focus-visible .home-gallery-overlay { opacity: 1; }
.home-gallery-overlay i {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    font-size: 0.85rem;
    backdrop-filter: blur(3px);
}
.home-gallery-caption {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Gold corner accent on the feature tile */
.home-gallery-tile.is-feature::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--gold) 50%, transparent 50%);
    border-top-left-radius: var(--radius-md, 12px);
    opacity: 0.92;
}

@media (max-width: 991px) {
    .home-gallery { grid-auto-rows: 160px; gap: 10px; }
}
@media (max-width: 767px) {
    .home-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
    /* On 2 columns the wide/feature tiles span the full row. */
    .home-gallery-tile.is-feature,
    .home-gallery-tile.is-wide { grid-column: span 2; }
    /* Duo variant stacks into one tall column. */
    .home-gallery.is-duo { grid-template-columns: 1fr; grid-auto-rows: 440px; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .home-gallery.is-duo { grid-auto-rows: 460px; }
}

/* ── Lightbox ── */
.impundu-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(8, 26, 28, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.impundu-lightbox.open { opacity: 1; visibility: visible; }

.impundu-lightbox-stage {
    max-width: min(1100px, 92vw);
    max-height: 86vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.96);
    transition: transform 0.25s ease;
}
.impundu-lightbox.open .impundu-lightbox-stage { transform: scale(1); }

.impundu-lightbox-stage img {
    max-width: 100%;
    max-height: calc(86vh - 64px);
    object-fit: contain;
    border-radius: var(--radius-md, 12px);
    box-shadow: 0 18px 60px rgba(0,0,0,0.5);
}
.impundu-lightbox-stage figcaption {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-top: 14px;
    color: rgba(255,255,255,0.92);
    font-size: 0.9rem;
    text-align: center;
}
.impundu-lightbox-count {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.impundu-lightbox-close,
.impundu-lightbox-nav {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
}
.impundu-lightbox-close:hover,
.impundu-lightbox-nav:hover { background: rgba(255,255,255,0.28); }

.impundu-lightbox-close {
    top: 18px; right: 18px;
    width: 44px; height: 44px;
    font-size: 1.1rem;
}
.impundu-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    font-size: 1.3rem;
}
.impundu-lightbox-nav.is-prev { left: 16px; }
.impundu-lightbox-nav.is-next { right: 16px; }

@media (max-width: 640px) {
    .impundu-lightbox-nav { width: 40px; height: 40px; top: auto; bottom: 22px; transform: none; }
    .impundu-lightbox-nav.is-prev { left: 24px; }
    .impundu-lightbox-nav.is-next { right: 24px; }
    .impundu-lightbox-stage { max-width: 96vw; }
    .impundu-lightbox-stage img { max-height: 68vh; }
    .impundu-lightbox-stage figcaption { flex-direction: column; gap: 4px; align-items: center; }
}

/* ── Order fulfillment timeline (order page) ─────────────────── */
.order-timeline {
  display: flex;
  justify-content: space-between;
  margin: 4px 0 22px;
  position: relative;
}
.order-timeline::before {
  content: '';
  position: absolute;
  top: 14px; left: 10%; right: 10%;
  height: 2px;
  background: #e5dcc9;
  z-index: 0;
}
.order-timeline-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.order-timeline-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e5dcc9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
}
.order-timeline-step.is-done .order-timeline-dot {
  background: var(--teal);
  border-color: var(--teal);
}
.order-timeline-step.is-current .order-timeline-dot {
  box-shadow: 0 0 0 4px var(--teal-light);
}
.order-timeline-label {
  font-size: 0.72rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #a09a8c;
  text-align: center;
}
.order-timeline-step.is-done .order-timeline-label { color: var(--teal-dark); font-weight: 600; }
@media (max-width: 480px) {
  .order-timeline-dot { width: 22px; height: 22px; font-size: 0.8rem; }
  .order-timeline-label { font-size: 0.6rem; }
}

/* ── Admin CRUD page hero: match the dashboard's teal band ────
   Overrides boilerplate .hero-section (style.css) — same gradient as
   .page-hero, full band, no rounded corners. Applies to every generated
   create/edit/index/view template in one place. */
.hero-section {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: #fff;
  padding: 34px 0;
  border-radius: 0;
  margin-top: 0;
}
.hero-section h1, .hero-section h2, .hero-section h3 {
  font-family: var(--font-heading);
  color: #fff;
}
.hero-section .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 6px 0 0;
}
.hero-section .breadcrumb a { color: var(--gold-light); }
.hero-section .breadcrumb .active,
.hero-section .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.75); }

/* ── Admin order fulfillment page ─────────────────────────── */
.admin-order-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.admin-order-head h4 { margin: 0; font-family: var(--font-heading); }
.admin-order-placed { color: #8a8a8a; font-size: 0.85rem; width: 100%; }

.admin-order-actions {
  background: var(--teal-light);
  border: 1px solid #d7e9ee;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 14px 0 20px;
}
.admin-order-actions .actions-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-right: 6px;
}
.admin-order-actions .btn-step {
  border: 1.5px solid var(--teal);
  background: #fff;
  color: var(--teal-dark);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}
.admin-order-actions .btn-step:hover { background: var(--teal); color: #fff; }
.admin-order-actions .btn-step.is-next { background: var(--teal); border-color: var(--teal); color: #fff; }
.admin-order-actions .btn-step.is-next:hover { background: var(--teal-dark); }
.admin-order-actions .btn-step.is-current {
  background: #fff;
  border-style: dashed;
  color: #8a8a8a;
  border-color: #c9c4b8;
  pointer-events: none;
}
.admin-order-actions .btn-step.btn-cancel { border-color: #dc3545; color: #b02a37; margin-left: auto; }
.admin-order-actions .btn-step.btn-cancel:hover { background: #dc3545; color: #fff; }

.admin-order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 767px) {
  .admin-order-grid { grid-template-columns: 1fr; }
  .admin-order-actions .btn-step.btn-cancel { margin-left: 0; }
}
.admin-order-card {
  border: 1px solid #eee5d5;
  border-radius: 12px;
  padding: 16px 18px;
  background: #fdfcfa;
}
.admin-order-card h6 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.admin-order-card h6 i { color: var(--gold); margin-right: 4px; }
.admin-order-card .detail-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 0.9rem;
  border-bottom: 1px dashed #f0ede6;
}
.admin-order-card .detail-row:last-child { border-bottom: none; }
.admin-order-card .detail-row .k { color: #8a8a8a; white-space: nowrap; }
.admin-order-card .detail-row .v { text-align: right; word-break: break-word; }
.admin-order-notes {
  background: #fff8e6;
  border: 1px solid #f0e2b6;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.88rem;
  margin-top: 10px;
}
