/* =============================================
   MARVIN GLOBAL — DESIGN SYSTEM
   Silicon Valley meets Nigerian Luxury
   ============================================= */

/* ── TOKENS ──────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-0: #09090B;
  --bg-1: #111113;
  --bg-2: #1C1C1F;
  --bg-3: #27272B;

  /* Brand */
  --gold:        #D4AF37;
  --gold-2:      #EAC94A;
  --gold-dim:    rgba(212,175,55,0.10);
  --gold-border: rgba(212,175,55,0.20);

  /* Text */
  --tx-1: #FAFAFA;
  --tx-2: #A1A1AA;
  --tx-3: #71717A;

  /* Status */
  --green: #22C55E;
  --red:   #EF4444;
  --blue:  #3B82F6;

  /* Borders */
  --b1: rgba(255,255,255,0.06);
  --b2: rgba(255,255,255,0.10);

  /* Shadows */
  --sh-sm: 0 1px 4px rgba(0,0,0,0.6);
  --sh-md: 0 4px 20px rgba(0,0,0,0.55);
  --sh-lg: 0 20px 60px rgba(0,0,0,0.65);

  /* Transitions */
  --t1: all 0.15s ease;
  --t2: all 0.28s ease;
  --t3: all 0.45s ease;

  /* Fonts */
  --d: 'Playfair Display', Georgia, serif;
  --ui: 'Inter', 'Outfit', -apple-system, sans-serif;

  /* Layout */
  --topbar-h: 40px;
  --nav-h:    66px;
  --strip-h:  46px;

  /* Legacy aliases (POS + agent) */
  --primary-color:   var(--gold);
  --secondary-color: var(--gold-2);
  --accent-color:    #1a1a1a;
  --text-dark:       var(--tx-1);
  --text-muted:      var(--tx-2);
  --white:           #fff;
  --glass-bg:        rgba(255,255,255,0.04);
  --glass-border:    var(--b2);
  --glass-blur:      blur(20px);
  --shadow:          var(--sh-md);
  --transition:      var(--t2);
}

/* ── RESET ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ui);
  background: var(--bg-0);
  color: var(--tx-1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: var(--ui); cursor: pointer; }
input, select, textarea { font-family: var(--ui); }

/* ── SCROLLBAR ───────────────────────────────── */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── UTILITY ─────────────────────────────────── */
.text-gold   { color: var(--gold) !important; }
.text-dim    { color: var(--tx-2) !important; }
.serif       { font-family: var(--d) !important; }
.fade-up     { animation: fadeUp 0.55s ease both; }
.container   { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ── KEYFRAMES ───────────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes slideR   { from { opacity:0; transform:translateX(30px); } to { opacity:1; transform:none; } }
@keyframes toastIn  { from { opacity:0; transform:translateX(50px); } to { opacity:1; transform:none; } }
@keyframes toastOut { from { opacity:1; transform:none; } to { opacity:0; transform:translateX(50px); } }
@keyframes badgePop { 0%{transform:scale(1)}50%{transform:scale(1.5)}100%{transform:scale(1)} }
@keyframes spin     { to { transform:rotate(360deg); } }

/* ─────────────────────────────────────────────
   TOPBAR
   ───────────────────────────────────────────── */
.topbar {
  height: var(--topbar-h);
  background: var(--bg-1);
  border-bottom: 1px solid var(--b1);
  display: flex; align-items: center;
  font-size: 0.78rem; color: var(--tx-2);
  position: sticky; top: 0; z-index: 1060;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.topbar-left { display: flex; align-items: center; gap: 6px; }
.topbar-left i { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-link {
  color: var(--tx-2); font-size: 0.75rem; font-weight: 500;
  transition: var(--t1); white-space: nowrap;
}
.topbar-link:hover { color: var(--tx-1); }

/* ─────────────────────────────────────────────
   NAVBAR
   ───────────────────────────────────────────── */
.site-nav {
  height: var(--nav-h);
  background: rgba(9,9,11,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--b1);
  position: sticky;
  top: var(--topbar-h);
  z-index: 1050;
}
.nav-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

/* Logo */
.nav-logo img { height: 40px; filter: brightness(0) invert(1); transition: var(--t1); }
.nav-logo:hover img { opacity: 0.8; }

/* Search */
.nav-search {
  position: relative;
  display: flex; align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--b2);
  border-radius: 10px;
  overflow: visible;
  transition: var(--t1);
  max-width: 640px; width: 100%;
}
.nav-search:focus-within {
  border-color: var(--gold-border);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.08);
}
.search-cat-select {
  background: transparent; border: none; border-right: 1px solid var(--b2);
  color: var(--tx-2); font-size: 0.78rem; font-weight: 500;
  padding: 0 12px; height: 42px;
  cursor: pointer; outline: none; white-space: nowrap;
  -webkit-appearance: none; appearance: none;
  padding-right: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px;
}
.search-cat-select option { background: #1c1c1f; color: #fafafa; }
.search-cat-select:hover { color: var(--tx-1); }

.search-input {
  flex: 1; background: transparent; border: none;
  color: var(--tx-1); font-size: 0.9rem; padding: 0 12px;
  height: 42px; outline: none; min-width: 0;
}
.search-input::placeholder { color: var(--tx-3); }

.search-btn {
  width: 42px; height: 42px; background: var(--gold);
  border: none; color: #000; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: var(--t1);
  border-radius: 0 8px 8px 0;
}
.search-btn:hover { background: var(--gold-2); }

/* Search Results Dropdown */
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--bg-1);
  border: 1px solid var(--b2); border-radius: 12px;
  box-shadow: var(--sh-lg);
  z-index: 2000; overflow: hidden;
  display: none;
}
.search-results.open { display: block; animation: fadeUp 0.2s ease; }
.search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; cursor: pointer; transition: var(--t1);
  border-bottom: 1px solid var(--b1);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-2); }
.search-result-img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.search-result-name { font-weight: 600; font-size: 0.85rem; }
.search-result-cat  { font-size: 0.72rem; color: var(--tx-2); margin-top: 1px; }
.search-result-price{ font-size: 0.82rem; color: var(--gold); font-weight: 700; margin-left: auto; white-space: nowrap; }
.search-empty { padding: 24px; text-align: center; color: var(--tx-3); font-size: 0.88rem; }

/* Nav Actions */
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.nav-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 9px;
  background: var(--bg-2); border: 1px solid var(--b1);
  color: var(--tx-1); font-size: 0.82rem; font-weight: 500;
  transition: var(--t1); white-space: nowrap; position: relative;
}
.nav-btn:hover { background: var(--bg-3); border-color: var(--b2); }
.nav-btn i { font-size: 1rem; }
.nav-btn-label { display: none; }

.nav-btn.cart-btn .cart-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px;
  background: var(--gold); color: #000; font-size: 0.62rem; font-weight: 900;
  border-radius: 99px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px; border: 2px solid var(--bg-0); line-height: 1;
}
.nav-btn.cart-badge-pop .cart-badge { animation: badgePop 0.35s ease; }

.nav-btn.whatsapp-btn { background: rgba(37,211,102,0.10); border-color: rgba(37,211,102,0.20); color: #25D366; }
.nav-btn.whatsapp-btn:hover { background: rgba(37,211,102,0.18); }

.nav-menu-btn { width: 40px; height: 40px; padding: 0; justify-content: center; }

@media (min-width: 768px) {
  .nav-btn-label { display: inline; }
}

/* ─────────────────────────────────────────────
   CATEGORY STRIP
   ───────────────────────────────────────────── */
.cat-strip {
  background: var(--bg-1);
  border-bottom: 1px solid var(--b1);
  height: var(--strip-h);
  position: sticky;
  top: calc(var(--topbar-h) + var(--nav-h));
  z-index: 1040;
  overflow: hidden;
}
.cat-strip-inner {
  display: flex; align-items: center; gap: 4px;
  height: 100%; overflow-x: auto; padding: 0 4px;
  scrollbar-width: none;
}
.cat-strip-inner::-webkit-scrollbar { display: none; }
.cat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 99px;
  font-size: 0.8rem; font-weight: 500; color: var(--tx-2);
  white-space: nowrap; transition: var(--t1); flex-shrink: 0;
  border: 1px solid transparent;
}
.cat-pill:hover { color: var(--tx-1); background: var(--bg-2); }
.cat-pill.active { color: var(--gold); border-color: var(--gold-border); background: var(--gold-dim); }
.cat-pill i { font-size: 0.78rem; }

/* ─────────────────────────────────────────────
   MOBILE MENU OFFCANVAS
   ───────────────────────────────────────────── */
.offcanvas-menu {
  background: var(--bg-1) !important;
  border-right: 1px solid var(--b2) !important;
  width: 280px !important;
  z-index: 1065 !important;         /* Always above sticky topbar/nav/strip */
  display: flex; flex-direction: column;
}
.offcanvas-menu .offcanvas-header {
  border-bottom: 1px solid var(--b1); padding: 20px 22px;
  flex-shrink: 0; position: sticky; top: 0; z-index: 2;
  background: var(--bg-1);
}
.offcanvas-menu .btn-close { filter: invert(1); opacity: 0.5; }
.offcanvas-menu .offcanvas-body {
  padding: 16px 14px;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  flex: 1;
}
.offcanvas-menu .nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 10px;
  color: var(--tx-2) !important; font-size: 0.9rem; font-weight: 500;
  transition: var(--t1); margin-bottom: 2px; border: none;
}
.offcanvas-menu .nav-link i { color: var(--gold); font-size: 1rem; width: 18px; }
.offcanvas-menu .nav-link:hover, .offcanvas-menu .nav-link.active {
  background: var(--bg-2); color: var(--tx-1) !important;
}
.offcanvas-menu .nav-link::after { display: none !important; }

/* ─────────────────────────────────────────────
   CART OFFCANVAS (fixed scroll)
   ───────────────────────────────────────────── */
#cartOffcanvas.offcanvas {
  width: 400px !important;
  max-width: calc(100vw - 56px) !important;
  background: var(--bg-1) !important;
  border-left: 1px solid var(--b2) !important;
  display: flex; flex-direction: column;
  z-index: 1090 !important; /* above topbar(1060) + navbar(1050) + strip(1040) */
}

/* Backdrop sits just below the cart but still covers all sticky elements */
.offcanvas-backdrop {
  z-index: 1089 !important;
}
#cartOffcanvas .offcanvas-header {
  border-bottom: 1px solid var(--b1) !important;
  padding: 18px 20px; flex-shrink: 0;
}
#cartOffcanvas .offcanvas-title {
  font-family: var(--d); font-size: 1.15rem; color: var(--tx-1);
  display: flex; align-items: center; gap: 8px;
}
#cartOffcanvas .offcanvas-title i { color: var(--gold); }
#cartOffcanvas .btn-close { filter: invert(1); opacity: 0.5; }

/* KEY FIX: min-height:0 allows flex body to shrink and activate scroll */
#cartOffcanvas .offcanvas-body {
  flex: 1;
  min-height: 0 !important;   /* ← fixes flex scroll on all browsers */
  overflow-y: auto !important;
  padding: 0 !important;
}

/* Cart items list — just spacing, no extra scroll */
.cart-scroll { padding: 16px 18px; }

/* Cart item card */
.cart-card {
  display: flex; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--b1);
}
.cart-card:last-child { border-bottom: none; }
.cart-img {
  width: 68px; height: 68px; border-radius: 10px;
  object-fit: cover; flex-shrink: 0;
  background: var(--bg-2);
}
.cart-info { flex: 1; min-width: 0; }
.cart-name {
  font-weight: 600; font-size: 0.85rem; color: var(--tx-1);
  line-height: 1.3; margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-price { color: var(--gold); font-weight: 700; font-size: 0.85rem; margin-bottom: 8px; }
.cart-row   { display: flex; align-items: center; justify-content: space-between; }

/* Qty */
.qty-ctrl {
  display: flex; align-items: center;
  background: var(--bg-2); border: 1px solid var(--b1); border-radius: 8px;
  overflow: hidden;
}
.qty-ctrl button {
  width: 28px; height: 28px; background: none; border: none;
  color: var(--tx-2); font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center; transition: var(--t1);
}
.qty-ctrl button:hover { background: var(--bg-3); color: var(--tx-1); }
.qty-ctrl .qty-n { min-width: 26px; text-align: center; font-weight: 600; font-size: 0.85rem; }
.btn-rm {
  background: none; border: none;
  color: var(--tx-3); padding: 4px; border-radius: 6px; transition: var(--t1);
}
.btn-rm:hover { color: var(--red); background: rgba(239,68,68,0.10); }

/* Cart empty */
.cart-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 20px; text-align: center;
}
.cart-empty i { font-size: 2.5rem; color: var(--tx-3); margin-bottom: 12px; }
.cart-empty p { color: var(--tx-2); font-size: 0.9rem; margin-bottom: 16px; }

/* Cart footer */
.cart-footer {
  background: var(--bg-0); border-top: 1px solid var(--b1);
  padding: 18px 20px; flex-shrink: 0;
}
.cart-total-row {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px;
}
.cart-total-row .label { color: var(--tx-2); font-size: 0.88rem; }
.cart-total-row .amount { font-family: var(--d); font-size: 1.35rem; color: var(--gold); font-weight: 700; }

/* ─────────────────────────────────────────────
   BUTTONS
   ───────────────────────────────────────────── */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--gold); color: #000 !important;
  font-weight: 700; font-size: 0.88rem; letter-spacing: 0.3px;
  padding: 12px 26px; border-radius: 9px; border: none;
  transition: var(--t2); position: relative; overflow: hidden;
  box-shadow: 0 4px 16px rgba(212,175,55,0.25);
  white-space: nowrap;
}
.btn-gold::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn-gold:hover::before { left: 100%; }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(212,175,55,0.35); color: #000 !important; }
.btn-gold:active { transform: none; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: transparent; color: var(--tx-1) !important;
  font-weight: 600; font-size: 0.88rem;
  padding: 11px 25px; border-radius: 9px;
  border: 1px solid var(--b2); transition: var(--t1);
  white-space: nowrap;
}
.btn-outline:hover { background: var(--bg-2); border-color: var(--b2); color: var(--tx-1) !important; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  background: transparent; color: var(--tx-2);
  font-weight: 500; font-size: 0.85rem;
  padding: 9px 18px; border-radius: 9px; border: none; transition: var(--t1);
}
.btn-ghost:hover { background: var(--bg-2); color: var(--tx-1); }

/* Legacy alias */
.btn-premium { display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: var(--gold); color: #000 !important; font-weight: 700; font-size: 0.88rem; padding: 12px 26px; border-radius: 9px; border: none; transition: var(--t2); box-shadow: 0 4px 16px rgba(212,175,55,0.25); white-space: nowrap; }
.btn-premium:hover { background: var(--gold-2); transform: translateY(-1px); color: #000 !important; }

.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: #22C55E; color: #fff !important;
  font-weight: 700; font-size: 0.92rem;
  padding: 13px 22px; border-radius: 9px; border: none; width: 100%;
  transition: var(--t2); box-shadow: 0 4px 18px rgba(34,197,94,0.28);
}
.btn-wa:hover { background: #16a34a; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(34,197,94,0.4); color: #fff !important; }
.btn-wa i { font-size: 1.2rem; }

/* ─────────────────────────────────────────────
   TOAST
   ───────────────────────────────────────────── */
#toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast-note {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-2); border: 1px solid var(--b2);
  border-radius: 12px; padding: 12px 16px;
  box-shadow: var(--sh-lg); animation: toastIn 0.3s ease both;
  min-width: 260px; max-width: 320px; pointer-events: auto;
}
.toast-note.hide { animation: toastOut 0.25s ease forwards; }
.toast-ico {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,0.12); color: var(--gold); font-size: 1.05rem;
}
.toast-body .t-title { font-weight: 600; font-size: 0.85rem; margin-bottom: 1px; }
.toast-body .t-sub   { font-size: 0.76rem; color: var(--tx-2); }

/* ─────────────────────────────────────────────
   MODALS
   ───────────────────────────────────────────── */
.modal-content {
  background: var(--bg-1) !important;
  border: 1px solid var(--b2) !important;
  border-radius: 16px !important; color: var(--tx-1);
  box-shadow: var(--sh-lg) !important;
}
.modal-header {
  border-bottom: 1px solid var(--b1) !important;
  padding: 18px 22px;
}
.modal-body { padding: 22px; }
.modal-header .btn-close { filter: invert(1); opacity: 0.5; box-shadow: none !important; border: none !important; }
.modal-dialog { display: flex; align-items: center; min-height: calc(100% - 2rem); }
.modal-content { max-height: 90vh; display: flex; flex-direction: column; }
.modal-body { overflow-y: auto !important; flex: 1; }

/* Product modal image */
.pm-img { border-radius: 12px; overflow: hidden; height: 340px; background: var(--bg-2); }
.pm-img img { width: 100%; height: 100%; object-fit: cover; }

/* Qty group */
.qty-group {
  display: flex; align-items: center;
  border: 1px solid var(--b2); border-radius: 9px;
  background: var(--bg-2); width: fit-content; overflow: hidden;
}
.qty-group button {
  width: 38px; height: 38px; background: none; border: none;
  color: var(--tx-1); font-size: 1rem; transition: var(--t1);
}
.qty-group button:hover { background: var(--bg-3); color: var(--gold); }
.qty-group input {
  width: 46px; text-align: center; background: none; border: none;
  color: var(--tx-1); font-weight: 700; font-size: 0.9rem; outline: none;
}

/* Combo chips */
.combo-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: 99px;
  background: var(--bg-2); border: 1px solid var(--b1);
  font-size: 0.74rem; color: var(--tx-2); margin: 3px;
  transition: var(--t1);
}
.combo-chip:hover { border-color: var(--gold-border); color: var(--tx-1); }

/* Form inputs (shared) */
.f-label {
  display: block; font-size: 0.7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--tx-3); margin-bottom: 6px;
}
.f-input {
  width: 100%; padding: 11px 14px;
  background: var(--bg-2); border: 1px solid var(--b1);
  border-radius: 9px; color: var(--tx-1);
  font-size: 0.9rem; outline: none; transition: var(--t1);
  -webkit-appearance: none;
}
.f-input:focus { border-color: var(--gold-border); background: var(--bg-3); box-shadow: 0 0 0 3px rgba(212,175,55,0.08); }
.f-input::placeholder { color: var(--tx-3); }
.f-input option { background: var(--bg-1); color: var(--tx-1); }
textarea.f-input { resize: vertical; min-height: 70px; }

/* Disclaimer */
.f-disclaimer {
  background: rgba(212,175,55,0.05); border: 1px dashed rgba(212,175,55,0.22);
  border-radius: 9px; padding: 12px 14px;
  font-size: 0.78rem; color: var(--tx-2); display: flex; gap: 9px;
}
.f-disclaimer i { color: var(--gold); flex-shrink: 0; margin-top: 1px; }

/* Order summary box */
.order-box {
  background: var(--bg-2); border: 1px solid var(--b1);
  border-radius: 12px; padding: 16px; margin-bottom: 14px;
}
.order-row {
  display: flex; justify-content: space-between; font-size: 0.85rem;
  color: var(--tx-2); margin-bottom: 8px;
}
.order-row:last-child { margin: 0; }
.order-total {
  border-top: 1px solid var(--b1); padding-top: 12px; margin-top: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.order-total strong { color: var(--tx-1); }
.order-total .total-amt { font-family: var(--d); font-size: 1.3rem; color: var(--gold); }

/* Bank box */
.bank-box {
  background: rgba(212,175,55,0.05); border: 1px solid var(--gold-border);
  border-radius: 12px; padding: 16px; margin-bottom: 14px;
}
.bank-title { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 12px; display: flex; align-items: center; gap: 7px; }
.bank-row { display: flex; justify-content: space-between; font-size: 0.85rem; padding: 6px 0; border-bottom: 1px solid var(--b1); }
.bank-row:last-child { border: none; }
.bank-row span:first-child { color: var(--tx-2); }
.bank-row strong { color: var(--tx-1); }
.bank-acct { font-size: 1rem !important; color: var(--gold) !important; letter-spacing: 2px; }

/* ── Payment receipt upload ── */
.receipt-box {
  background: rgba(255,255,255,0.02); border: 1px solid var(--b1);
  border-radius: 12px; padding: 16px;
}
.receipt-hint { font-size: 0.78rem; color: var(--tx-2); margin: 0 0 12px; line-height: 1.5; }
.receipt-hint strong { color: var(--gold); }
.receipt-done {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px;
  padding: 10px 12px; border-radius: 10px;
  background: rgba(37,211,102,0.08); border: 1px solid rgba(37,211,102,0.25);
}
.receipt-done i { color: #25d366; font-size: 1.05rem; line-height: 1.3; }
.receipt-done strong { display: block; font-size: 0.82rem; color: var(--tx-1); }
.receipt-done span { font-size: 0.74rem; color: var(--tx-2); }
.receipt-drop {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 54px; padding: 12px; cursor: pointer;
  border: 1.5px dashed var(--gold-border); border-radius: 10px;
  background: var(--gold-dim); color: var(--gold);
  font-size: 0.83rem; font-weight: 600; text-align: center;
  transition: border-color .2s, background .2s;
}
.receipt-drop:hover { border-color: var(--gold); background: rgba(212,175,55,0.12); }
.receipt-drop.is-busy { opacity: 0.7; cursor: progress; }
.receipt-drop i { font-size: 1rem; }
.receipt-note { font-size: 0.7rem; color: var(--tx-3); margin: 10px 0 0; text-align: center; }
.spin { display: inline-block; animation: marvin-spin 0.9s linear infinite; }
@keyframes marvin-spin { to { transform: rotate(360deg); } }

/* ─────────────────────────────────────────────
   HERO SLIDER
   ───────────────────────────────────────────── */
.hero-wrap { height: calc(70vh - var(--topbar-h) - var(--nav-h) - var(--strip-h)); min-height: 364px; max-height: 560px; overflow: hidden; position: relative; }

#heroCarousel, #heroCarousel .carousel-inner { height: 100%; }

.carousel-fade .carousel-item {
  opacity: 0; transition: opacity 1.2s ease; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.carousel-fade .carousel-item.active { opacity: 1; position: relative; }
.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .active { transform: none !important; }

.hero-slide { height: 100%; position: relative; overflow: hidden; }
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04); transition: transform 9s ease;
}
.carousel-item.active .hero-slide-bg { transform: scale(1); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(9,9,11,0.85) 0%, rgba(9,9,11,0.4) 55%, rgba(9,9,11,0.15) 100%);
  display: flex; align-items: center;
}
.hero-content { max-width: 520px; padding: 0 28px 0 42px; animation: fadeUp 0.9s ease both; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); padding: 5px 11px;
  background: rgba(212,175,55,0.10); border: 1px solid rgba(212,175,55,0.22);
  border-radius: 99px; margin-bottom: 18px;
}
.hero-title {
  font-family: var(--d); font-size: clamp(1.7rem, 3.8vw, 3rem);
  font-weight: 800; line-height: 1.1; color: #fff; margin-bottom: 11px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: 0.86rem; color: rgba(255,255,255,0.58); line-height: 1.6; max-width: 380px; margin-bottom: 20px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Carousel controls */
.carousel-control-prev, .carousel-control-next {
  width: 44px; height: 44px; opacity: 1;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%; top: 50%; transform: translateY(-50%); transition: var(--t1);
}
.carousel-control-prev { left: 20px; }
.carousel-control-next { right: 20px; }
.carousel-control-prev:hover, .carousel-control-next:hover { background: rgba(212,175,55,0.18); border-color: var(--gold-border); }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 14px; height: 14px; }

/* Slide indicators */
.carousel-indicators { bottom: 16px; gap: 6px; margin: 0; }
.carousel-indicators button {
  width: 6px; height: 6px; border-radius: 99px !important;
  background: rgba(255,255,255,0.35) !important; border: none !important;
  transition: var(--t2); padding: 0; margin: 0;
}
.carousel-indicators .active { background: var(--gold) !important; width: 24px !important; }

/* ─────────────────────────────────────────────
   SECTIONS
   ───────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }

.section-head { text-align: center; margin-bottom: 30px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 9px;
}
.eyebrow::before, .eyebrow::after { content:''; display:block; width:24px; height:1px; background: var(--gold); opacity:0.45; }
.section-title { font-family: var(--d); font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; color: var(--tx-1); line-height: 1.2; }
.section-sub { color: var(--tx-2); font-size: 0.87rem; max-width: 430px; margin: 9px auto 0; line-height: 1.6; }

/* ─────────────────────────────────────────────
   CATEGORY CARDS
   ───────────────────────────────────────────── */
.cat-card {
  display: block; border-radius: 14px; overflow: hidden;
  position: relative; height: 210px; cursor: pointer;
  border: 1px solid var(--b1); transition: var(--t2);
}
.cat-card:hover { transform: translateY(-5px); border-color: var(--gold-border); }
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s ease, filter 0.4s ease;
  filter: brightness(0.6) saturate(1.2);
}
.cat-card:hover img { transform: scale(1.06); filter: brightness(0.45) saturate(1.3); }
.cat-card-body {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(9,9,11,0.9) 0%, rgba(9,9,11,0.15) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 15px;
  transition: var(--t2);
}
.cat-card:hover .cat-card-body { background: linear-gradient(to top, rgba(9,9,11,0.95) 0%, rgba(9,9,11,0.5) 65%, rgba(212,175,55,0.03) 100%); }
.cat-card-eyebrow { font-size: 0.62rem; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 5px; opacity: 0; transform: translateY(6px); transition: var(--t2); }
.cat-card:hover .cat-card-eyebrow { opacity: 1; transform: none; }
.cat-card-name { font-family: var(--d); font-size: 1.05rem; font-weight: 700; color: #fff; line-height: 1.25; }
.cat-card-count { font-size: 0.7rem; color: rgba(255,255,255,0.55); margin-top: 2px; opacity: 0; transition: var(--t2) 0.04s; }
.cat-card:hover .cat-card-count { opacity: 1; }
.cat-card-arrow {
  position: absolute; top: 12px; right: 12px;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 0.8rem;
  opacity: 0; transform: scale(0.7); transition: var(--t2);
}
.cat-card:hover .cat-card-arrow { opacity: 1; transform: scale(1); }

/* ─────────────────────────────────────────────
   PRODUCT CARDS
   ───────────────────────────────────────────── */
.prod-card {
  background: var(--bg-1); border: 1px solid var(--b1); border-radius: 14px;
  overflow: hidden; transition: var(--t2); height: 100%;
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); border-color: var(--gold-border); box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px var(--gold-border); }

.prod-img-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-2); }
.prod-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease, filter 0.4s ease; filter: brightness(0.9); }
.prod-card:hover .prod-img-wrap img { transform: scale(1.05); filter: brightness(0.7); }

.prod-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--t2);
  /* Invisible but still clickable swallowed taps on the image; only accept
     pointer events once the overlay is actually shown. */
  pointer-events: none;
}
.prod-card:hover .prod-overlay { opacity: 1; background: rgba(9,9,11,0.22); pointer-events: auto; }
.quick-view {
  background: rgba(250,250,250,0.96); color: #000 !important;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 99px; border: none;
  transform: translateY(8px); transition: var(--t2);
}
.prod-card:hover .quick-view { transform: none; }
.quick-view:hover { background: var(--gold); }

.prod-badge-wrap { position: absolute; top: 12px; left: 12px; }
.prod-badge {
  background: var(--gold); color: #000; font-size: 0.6rem; font-weight: 900;
  letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 99px;
}

.prod-info { padding: 9px 10px 5px; flex: 1; }
.prod-cat { font-size: 0.55rem; color: var(--gold); text-transform: uppercase; letter-spacing: 1.6px; font-weight: 700; margin-bottom: 3px; }
.prod-name {
  font-family: var(--d); font-size: 0.79rem; color: var(--tx-1); line-height: 1.28; margin-bottom: 4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.05em;
}
.prod-price { font-size: 0.88rem; font-weight: 800; color: var(--gold-2); }

.btn-add {
  margin: 3px 10px 10px;
  padding: 7px; border-radius: 8px; width: calc(100% - 20px);
  background: var(--bg-2); border: 1px solid var(--b2);
  color: var(--tx-1); font-weight: 600; font-size: 0.72rem;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: var(--t1);
}
.btn-add:hover { background: var(--gold); border-color: var(--gold); color: #000; }
.btn-add i { font-size: 0.82rem; }

/* Filter tabs */
.filter-tabs {
  display: flex; gap: 7px; flex-wrap: wrap;
  margin-bottom: 26px; padding-bottom: 2px;
}
.ftab {
  padding: 7px 15px; border-radius: 99px; background: transparent;
  border: 1px solid var(--b1); color: var(--tx-2);
  font-size: 0.76rem; font-weight: 500; cursor: pointer; transition: var(--t1);
  font-family: var(--ui); white-space: nowrap;
}
.ftab:hover { border-color: var(--b2); color: var(--tx-1); }
.ftab.active { background: var(--gold); border-color: var(--gold); color: #000; font-weight: 700; }

/* ─────────────────────────────────────────────
   TRUST / FEATURES STRIP
   ───────────────────────────────────────────── */
.trust-strip {
  background: var(--bg-1); border-top: 1px solid var(--b1); border-bottom: 1px solid var(--b1); padding: 22px 0;
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  background: var(--gold-dim); color: var(--gold); font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.trust-text strong { display: block; font-weight: 600; font-size: 0.88rem; color: var(--tx-1); }
.trust-text span { font-size: 0.78rem; color: var(--tx-2); }

/* ─────────────────────────────────────────────
   TESTIMONIALS
   ───────────────────────────────────────────── */
.review-card {
  background: var(--bg-1); border: 1px solid var(--b1); border-radius: 14px;
  padding: 24px; height: 100%; transition: var(--t2);
}
.review-card:hover { border-color: var(--gold-border); transform: translateY(-4px); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--gold-border);
}
.review-name { font-weight: 700; font-size: 0.9rem; }
.review-loc  { font-size: 0.74rem; color: var(--tx-2); }
.review-stars { color: var(--gold); font-size: 0.75rem; letter-spacing: 1px; margin-bottom: 10px; }
.review-text { font-size: 0.88rem; color: var(--tx-2); line-height: 1.7; font-style: italic; }
.review-product { margin-top: 12px; display: inline-flex; align-items: center; gap: 5px; font-size: 0.74rem; color: var(--gold); font-weight: 600; }
.review-product i { font-size: 0.7rem; }

/* ─────────────────────────────────────────────
   CTA BANNER
   ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, rgba(212,175,55,0.03) 100%);
  border: 1px solid var(--gold-border); border-radius: 16px; padding: 48px 40px; text-align: center;
}
.cta-banner h2 { font-family: var(--d); font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--tx-1); margin-bottom: 10px; }
.cta-banner p { color: var(--tx-2); max-width: 440px; margin: 0 auto 28px; line-height: 1.7; font-size: 0.95rem; }

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.site-footer {
  background: var(--bg-1); border-top: 1px solid var(--b1);
  padding: 64px 0 32px;
}
.footer-brand img { height: 40px; filter: brightness(0) invert(1); }
.footer-tagline { color: var(--tx-2); font-size: 0.85rem; line-height: 1.65; max-width: 220px; margin-top: 12px; }
.footer-col-title { font-size: 0.65rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--tx-3); margin-bottom: 16px; }
.footer-link { display: block; color: var(--tx-2) !important; font-size: 0.85rem; margin-bottom: 9px; transition: var(--t1); }
.footer-link:hover { color: var(--tx-1) !important; transform: translateX(4px); }
.footer-social { display: flex; gap: 8px; margin-top: 8px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--bg-2); border: 1px solid var(--b1);
  display: flex; align-items: center; justify-content: center;
  color: var(--tx-2); font-size: 0.95rem; transition: var(--t1);
}
.footer-social a:hover { background: var(--bg-3); color: var(--gold); border-color: var(--gold-border); }
.footer-divider { border-color: var(--b1); margin: 40px 0 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: var(--tx-3); font-size: 0.78rem; margin: 0; }

/* ─────────────────────────────────────────────
   WHATSAPP FAB + BACK TO TOP
   ───────────────────────────────────────────── */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  display: flex; align-items: center; gap: 8px;
  background: #22C55E; color: #fff !important;
  padding: 11px 18px; border-radius: 99px;
  font-weight: 700; font-size: 0.82rem;
  box-shadow: 0 6px 24px rgba(34,197,94,0.35);
  transition: var(--t2); animation: fadeUp 0.5s 1.5s both;
}
.wa-fab i { font-size: 1.15rem; }
.wa-fab:hover { background: #16a34a; transform: translateY(-3px); color: #fff !important; }
.wa-fab .wa-text { display: none; }
@media (min-width: 480px) { .wa-fab .wa-text { display: inline; } }

.back-to-top {
  position: fixed; bottom: 86px; right: 24px; z-index: 899;
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--bg-2); border: 1px solid var(--b1);
  display: flex; align-items: center; justify-content: center;
  color: var(--tx-2); cursor: pointer; transition: var(--t1);
  opacity: 0; visibility: hidden; font-size: 0.95rem;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--bg-3); color: var(--tx-1); }

/* ─────────────────────────────────────────────
   CART PAGE (cart.html)
   ───────────────────────────────────────────── */
.cart-page-item {
  display: flex; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--b1);
}
.cart-page-img {
  width: 90px; height: 90px; border-radius: 12px;
  object-fit: cover; flex-shrink: 0; background: var(--bg-2);
}
.cart-page-info { flex: 1; min-width: 0; }
.cart-page-name { font-family: var(--d); font-size: 1rem; font-weight: 700; color: var(--tx-1); margin-bottom: 4px; }
.cart-page-cat  { font-size: 0.76rem; color: var(--tx-3); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.cart-page-price{ font-size: 1rem; font-weight: 700; color: var(--gold); }

/* Order Summary (cart page) */
.summary-box {
  background: var(--bg-1); border: 1px solid var(--b1); border-radius: 14px; padding: 24px; position: sticky; top: 170px;
}
.summary-row { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--tx-2); margin-bottom: 10px; }
.summary-total { border-top: 1px solid var(--b1); padding-top: 14px; margin-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.summary-total strong { color: var(--tx-1); font-size: 1rem; }
.summary-total .t-price { font-family: var(--d); font-size: 1.5rem; color: var(--gold); }

/* ─────────────────────────────────────────────
   ABOUT + STATIC PAGES
   ───────────────────────────────────────────── */
.page-hero { padding: 80px 0 60px; border-bottom: 1px solid var(--b1); }
.page-hero .eyebrow { justify-content: flex-start; }
.page-hero h1 { font-family: var(--d); font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.15; max-width: 640px; color: var(--tx-1); }
.page-hero p  { color: var(--tx-2); max-width: 500px; line-height: 1.75; margin-top: 14px; }

.stat-block { text-align: center; padding: 32px 24px; }
.stat-block .s-number { font-family: var(--d); font-size: 3rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-block .s-label  { font-size: 0.85rem; color: var(--tx-2); margin-top: 6px; }

.value-card {
  background: var(--bg-1); border: 1px solid var(--b1); border-radius: 14px; padding: 28px;
  transition: var(--t2); height: 100%;
}
.value-card:hover { border-color: var(--gold-border); transform: translateY(-4px); }
.value-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gold-dim); color: var(--gold); font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.value-title { font-weight: 700; font-size: 1rem; color: var(--tx-1); margin-bottom: 8px; }
.value-text  { font-size: 0.86rem; color: var(--tx-2); line-height: 1.7; }

.prose h2 { font-family: var(--d); font-size: 1.4rem; color: var(--tx-1); margin: 32px 0 10px; }
.prose h3 { font-size: 1.05rem; color: var(--tx-1); font-weight: 600; margin: 22px 0 8px; }
.prose p  { color: var(--tx-2); line-height: 1.8; font-size: 0.92rem; margin-bottom: 14px; }
.prose ul { color: var(--tx-2); line-height: 2; font-size: 0.92rem; padding-left: 20px; margin-bottom: 14px; }
.prose a  { color: var(--gold); text-decoration: underline; }

/* ─────────────────────────────────────────────
   AGENT DASHBOARD
   ───────────────────────────────────────────── */
.layout-container { display: flex; min-height: 100vh; }
.agent-sidebar {
  width: 240px; flex-shrink: 0; background: var(--bg-1);
  border-right: 1px solid var(--b1); display: flex; flex-direction: column;
  min-height: 100vh; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.agent-sidebar-brand {
  padding: 24px 20px; border-bottom: 1px solid var(--b1); text-align: center;
}
.agent-sidebar-brand img { height: 36px; filter: brightness(0) invert(1); margin: 0 auto; }
.agent-sidebar-brand p { font-size: 0.6rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--tx-3); margin-top: 6px; }
.agent-sidebar-nav { flex: 1; padding: 12px 10px; }
.agent-nav-link {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 9px;
  color: var(--tx-2) !important; font-size: 0.87rem; font-weight: 500;
  transition: var(--t1); margin-bottom: 2px; border: none !important;
}
.agent-nav-link i { font-size: 0.95rem; width: 18px; text-align: center; color: var(--tx-3); }
.agent-nav-link:hover, .agent-nav-link.active {
  background: var(--bg-2); color: var(--tx-1) !important;
}
.agent-nav-link.active { color: var(--gold) !important; }
.agent-nav-link.active i { color: var(--gold); }
.agent-nav-link::after { display: none !important; content: none !important; }
.agent-sidebar-footer { padding: 16px 10px; border-top: 1px solid var(--b1); }

.main-content { flex: 1; padding: 28px 32px; overflow-y: auto; height: 100vh; }

/* Mobile header (agent) */
.mobile-header {
  background: var(--bg-1); border-bottom: 1px solid var(--b1);
  padding: 14px 20px; display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.mobile-header img { height: 32px; filter: brightness(0) invert(1); }
.mobile-header .menu-trigger {
  width: 36px; height: 36px; border-radius: 9px; background: var(--bg-2);
  border: 1px solid var(--b1); display: flex; align-items: center; justify-content: center;
  color: var(--tx-1); font-size: 1rem; cursor: pointer;
}
@media (min-width: 993px) { .mobile-header { display: none !important; } }
@media (max-width: 992px) {
  .agent-sidebar { display: none; }
  .main-content { height: auto; padding: 0 20px 40px; }
}

/* Agent KPI cards */
.kpi-card {
  background: var(--bg-1); border: 1px solid var(--b1); border-radius: 14px; padding: 22px;
  transition: var(--t2); position: relative; overflow: hidden; height: 100%;
}
.kpi-card:hover { border-color: var(--gold-border); transform: translateY(-3px); }
.kpi-icon {
  width: 42px; height: 42px; border-radius: 10px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.kpi-icon.gold   { background: rgba(212,175,55,0.12); color: var(--gold); }
.kpi-icon.green  { background: rgba(34,197,94,0.12);  color: var(--green); }
.kpi-icon.red    { background: rgba(239,68,68,0.12);   color: var(--red); }
.kpi-icon.blue   { background: rgba(59,130,246,0.12);  color: var(--blue); }
.kpi-label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--tx-3); margin-bottom: 4px; }
.kpi-value { font-family: var(--d); font-size: 1.8rem; font-weight: 700; color: var(--tx-1); line-height: 1; }
.kpi-sub   { font-size: 0.78rem; color: var(--tx-2); margin-top: 8px; }
.kpi-bg-icon { position: absolute; right: -8px; bottom: -12px; font-size: 4.5rem; opacity: 0.04; }

/* Agent table container */
.agent-table-card {
  background: var(--bg-1); border: 1px solid var(--b1); border-radius: 14px; overflow: hidden; margin-top: 24px;
}
.agent-table-header { padding: 18px 22px; border-bottom: 1px solid var(--b1); display: flex; justify-content: space-between; align-items: center; }
.agent-table-header h6 { font-family: var(--d); font-size: 1rem; font-weight: 700; color: var(--tx-1); margin: 0; }
.agent-table-body { padding: 0 22px; }

/* Agent-specific table */
.agent-table { color: var(--tx-1); }
.agent-table thead th { background: var(--bg-2) !important; color: var(--tx-3) !important; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 12px 14px; border: none !important; }
.agent-table tbody td { padding: 13px 14px; border: none !important; border-bottom: 1px solid var(--b1) !important; font-size: 0.88rem; color: var(--tx-1); vertical-align: middle; }
.agent-table tbody tr:last-child td { border-bottom: none !important; }
.agent-table tbody tr:hover td { background: var(--bg-2); }

/* Status pills */
.status-pill {
  display: inline-block; padding: 4px 11px; border-radius: 99px;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
.s-completed { background: rgba(34,197,94,0.12);  color: var(--green); }
.s-pending   { background: rgba(234,180,74,0.12);  color: var(--gold-2); }
.s-cancelled { background: rgba(239,68,68,0.12);   color: var(--red); }
.pay-cash     { background: var(--bg-3); color: var(--tx-2); padding: 4px 9px; border-radius: 6px; font-size: 0.74rem; font-weight: 600; }
.pay-transfer { background: rgba(59,130,246,0.12); color: var(--blue); padding: 4px 9px; border-radius: 6px; font-size: 0.74rem; font-weight: 600; }

/* Alert card (low stock) */
.alert-card {
  background: rgba(239,68,68,0.07); border: 1px solid rgba(239,68,68,0.18);
  border-radius: 14px; padding: 20px; height: 100%;
}
.alert-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.alert-icon { width: 36px; height: 36px; border-radius: 9px; background: rgba(239,68,68,0.12); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.alert-stock-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(239,68,68,0.10); font-size: 0.85rem; }
.alert-stock-item:last-child { border: none; }
.alert-stock-item .name { font-weight: 600; color: var(--tx-1); }

/* Mobile Agent Offcanvas */
.offcanvas-dark {
  background: var(--bg-1) !important;
  border-right: 1px solid var(--b2) !important;
}
.offcanvas-dark .btn-close { filter: invert(1); opacity: 0.5; }
.offcanvas-dark .agent-nav-link { color: var(--tx-2) !important; }
.offcanvas-dark .agent-nav-link:hover { background: var(--bg-2); color: var(--tx-1) !important; }

/* ─────────────────────────────────────────────
   POS SYSTEM
   ───────────────────────────────────────────── */
.pos-layout { display: flex; height: 100vh; overflow: hidden; background: var(--bg-0); }
.main-content-area { flex: 1; height: 100vh; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; }
.pos-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }

.category-filter-scroll {
  display: flex; gap: 8px; overflow-x: auto; padding: 16px 0 20px;
  margin-bottom: 24px; scrollbar-width: none;
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-0); white-space: nowrap; min-height: 66px;
}
.category-filter-scroll::-webkit-scrollbar { display: none; }
.cat-btn {
  white-space: nowrap; padding: 10px 20px; border-radius: 99px;
  border: 1px solid var(--b2); background: var(--bg-1) !important;
  color: var(--tx-2); font-weight: 600; font-size: 0.85rem;
  transition: var(--t1); cursor: pointer; flex-shrink: 0;
}
.cat-btn.active, .cat-btn:hover { background: var(--gold) !important; color: #000 !important; border-color: var(--gold); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; padding-bottom: 80px; }
.pos-product-card { background: var(--bg-1); padding: 14px; border-radius: 12px; border: 1px solid var(--b1); text-align: center; cursor: pointer; transition: var(--t1); }
.pos-product-card:hover { border-color: var(--gold-border); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.pos-product-img { height: 120px; width: 100%; object-fit: contain; margin-bottom: 10px; border-radius: 8px; }
.pos-product-card h6 { font-size: 0.82rem; color: var(--tx-1); }

.cart-sidebar {
  width: 360px; background: var(--bg-1); height: 100vh;
  display: flex; flex-direction: column;
  border-left: 1px solid var(--b1); flex-shrink: 0;
}
.cart-items-container { flex: 1; overflow-y: auto; padding: 16px; }
.cart-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 12px; background: var(--bg-2); border-radius: 10px; margin-bottom: 8px;
  border: 1px solid transparent; transition: var(--t1);
}
.cart-item:hover { border-color: var(--gold-border); }
.cart-item h6 { font-size: 0.82rem; color: var(--tx-1); margin: 0 0 2px; }
.cart-item small { color: var(--tx-2); font-size: 0.74rem; }
.qty-controls { display: flex; align-items: center; gap: 6px; }
.qty-btn { width: 24px; height: 24px; border-radius: 6px; border: none; background: var(--bg-3); color: var(--tx-1); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.85rem; transition: var(--t1); }
.qty-btn:hover { background: var(--gold); color: #000; }
.cart-footer { padding: 18px; border-top: 1px solid var(--b1); background: var(--bg-0); }
.fab-cart { display: none; position: fixed; bottom: 24px; right: 18px; width: 54px; height: 54px; background: var(--gold); color: #000; border-radius: 50%; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: 0 6px 20px rgba(212,175,55,0.4); z-index: 999; cursor: pointer; border: none; transition: var(--t1); }
.fab-cart:hover { background: var(--gold-2); transform: scale(1.08); }
@media (max-width: 992px) {
  .fab-cart { display: flex; }
  .cart-sidebar { position: fixed; right: -100%; top: 0; width: 90%; max-width: 380px; z-index: 10000; transition: right 0.3s ease; }
  .cart-sidebar.show { right: 0; }
  .cart-items-container { max-height: calc(100vh - 320px); }
}

/* ─────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────── */
@media (max-width: 992px) {
  .carousel-control-prev, .carousel-control-next { display: none; }
  .hero-content { padding: 0 24px; }
  .section { padding: 60px 0; }
}
@media (max-width: 768px) {
  .hero-wrap { height: 76svh; min-height: 460px; }
  .hero-title { font-size: clamp(1.4rem, 6.4vw, 2rem); }
  .hero-sub { font-size: 0.9rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cat-card { height: 150px; }
  .filter-tabs { margin-bottom: 18px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .ftab { padding: 6px 13px; font-size: 0.72rem; }
  .cat-card-name { font-size: 0.9rem; }
  .prod-name { font-size: 0.8rem; }
  .prod-price { font-size: 0.9rem; }
  .trust-item { flex-direction: column; text-align: center; gap: 6px; }
  .section { padding: 50px 0; }
  #cartOffcanvas.offcanvas { width: 100% !important; max-width: calc(100vw - 48px) !important; }
  .wa-fab { bottom: 18px; right: 18px; }
  #toast-container { right: 10px; left: 10px; }
  .toast-note { min-width: unset; max-width: 100%; }
  .topbar-left span { display: none; }
}
@media (max-width: 480px) {
  .nav-search { display: none; }
  .search-mobile { display: flex !important; }
}
.search-mobile { display: none; padding: 10px 20px; border-bottom: 1px solid var(--b1); background: var(--bg-0); position: sticky; top: calc(var(--topbar-h) + var(--nav-h)); z-index: 1039; }
.search-mobile .nav-search { display: flex; max-width: 100%; }

/* =============================================
   LIGHT MODE
   Activated by: <html data-theme="light">
   ============================================= */

[data-theme="light"] {
  --bg-0: #FFFFFF;
  --bg-1: #F5F7FA;
  --bg-2: #EBEEf3;
  --bg-3: #DDE3EC;
  --tx-1: #1A1D23;
  --tx-2: #52596B;
  --tx-3: #8A93A8;
  --b1:   rgba(0,0,0,0.07);
  --b2:   rgba(0,0,0,0.13);
  --gold-dim:    rgba(212,175,55,0.12);
  --gold-border: rgba(212,175,55,0.30);
}

/* ── Body ── */
[data-theme="light"] body { background: var(--bg-0); color: var(--tx-1); }

/* ── Topbar ── */
[data-theme="light"] .topbar { background: var(--bg-1); border-bottom-color: var(--b1); color: var(--tx-2); }
[data-theme="light"] .topbar-link { color: var(--tx-2); }
[data-theme="light"] .topbar-link:hover { color: var(--tx-1); }

/* ── Navbar ── */
[data-theme="light"] .site-nav { background: rgba(255,255,255,0.96) !important; border-bottom-color: var(--b1) !important; }
[data-theme="light"] .nav-logo img { filter: brightness(0) !important; }
[data-theme="light"] .nav-btn { background: var(--bg-2); border-color: var(--b2); color: var(--tx-1); }
[data-theme="light"] .nav-btn:hover { background: var(--bg-3); }
[data-theme="light"] .nav-btn.whatsapp-btn { background: rgba(34,197,94,0.10); border-color: rgba(34,197,94,0.22); color: #16a34a; }
[data-theme="light"] .nav-search { background: var(--bg-2); border-color: var(--b2); }
[data-theme="light"] .nav-search:focus-within { border-color: var(--gold-border); }
[data-theme="light"] .search-cat-select { color: var(--tx-2); border-right-color: var(--b2); }
[data-theme="light"] .search-input { color: var(--tx-1); }
[data-theme="light"] .search-input::placeholder { color: var(--tx-3); }
[data-theme="light"] .search-results { background: #fff; border-color: var(--b2); }
[data-theme="light"] .search-result-item:hover { background: var(--bg-1); }
[data-theme="light"] .search-result-name { color: var(--tx-1); }
[data-theme="light"] .search-result-cat { color: var(--tx-3); }
[data-theme="light"] .search-empty { color: var(--tx-3); }
[data-theme="light"] .search-mobile { background: var(--bg-0); border-color: var(--b1); }

/* ── Category Strip ── */
[data-theme="light"] .cat-strip { background: var(--bg-0); border-bottom-color: var(--b1); }
[data-theme="light"] .cat-pill { color: var(--tx-2); }
[data-theme="light"] .cat-pill:hover { background: var(--bg-2); color: var(--tx-1); }

/* ── Mobile Menu ── */
[data-theme="light"] .offcanvas-menu { background: #fff !important; border-right-color: var(--b2) !important; }
[data-theme="light"] .offcanvas-menu .offcanvas-header { border-bottom-color: var(--b1); background: #fff; }
[data-theme="light"] .offcanvas-menu .btn-close { filter: none; opacity: 0.5; }
[data-theme="light"] .offcanvas-menu .nav-link { color: var(--tx-2) !important; }
[data-theme="light"] .offcanvas-menu .nav-link:hover,
[data-theme="light"] .offcanvas-menu .nav-link.active { background: var(--bg-2); color: var(--tx-1) !important; }
[data-theme="light"] .offcanvas-menu img[alt="Marvin"] { filter: brightness(0) !important; }

/* ── Section Typography ── */
[data-theme="light"] .section-title { color: var(--tx-1); }
[data-theme="light"] .section-sub   { color: var(--tx-2); }
[data-theme="light"] .eyebrow       { color: var(--gold); }
/* NOTE: no global h1/h2/h3 override — hero text must stay white */

/* ── Hero text is ALWAYS white — dark image overlay guarantees contrast ── */
.hero-content,
.hero-content h1,
.hero-content p,
.hero-title,
.hero-sub    { color: #fff !important; }
.hero-badge  { color: var(--gold) !important; }
/* Also lock slide indicator labels */
[data-theme="light"] .hero-content *  { color: #fff !important; }
[data-theme="light"] .hero-title em   { color: var(--gold) !important; }

/* ── Trust Strip ── */
[data-theme="light"] .trust-strip { background: var(--bg-1); border-color: var(--b1); }
[data-theme="light"] .trust-text strong { color: var(--tx-1); }
[data-theme="light"] .trust-text span   { color: var(--tx-2); }

/* ── Category Cards ── */
[data-theme="light"] .cat-card { border-color: var(--b2); }

/* ── Product Cards ── */
[data-theme="light"] .prod-card { background: #fff; border-color: var(--b2); }
[data-theme="light"] .prod-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
[data-theme="light"] .prod-name { color: var(--tx-1); }
[data-theme="light"] .btn-add { background: var(--bg-2); border-color: var(--b2); color: var(--tx-1); }
[data-theme="light"] .btn-add:hover { background: var(--gold); color: #000; border-color: var(--gold); }
[data-theme="light"] .filter-tabs .ftab { border-color: var(--b2); color: var(--tx-2); }
[data-theme="light"] .filter-tabs .ftab:hover { background: var(--bg-2); color: var(--tx-1); }
[data-theme="light"] .filter-tabs .ftab.active { background: var(--gold); color: #000; border-color: var(--gold); }
/* legacy alias */
[data-theme="light"] .ftab { border-color: var(--b2); color: var(--tx-2); }
[data-theme="light"] .ftab:hover { background: var(--bg-2); color: var(--tx-1); }
[data-theme="light"] .ftab.active { background: var(--gold); color: #000; border-color: var(--gold); }

/* ── Cart Offcanvas ── */
[data-theme="light"] #cartOffcanvas.offcanvas { background: #fff !important; border-left-color: var(--b2) !important; }
[data-theme="light"] #cartOffcanvas .offcanvas-header { border-bottom-color: var(--b1) !important; }
[data-theme="light"] #cartOffcanvas .offcanvas-title { color: var(--tx-1); }
[data-theme="light"] #cartOffcanvas .btn-close { filter: none; opacity: 0.5; }
[data-theme="light"] .cart-card { background: var(--bg-1); border-color: var(--b1); }
[data-theme="light"] .cart-card:hover { background: var(--bg-2); border-color: var(--b2); }
[data-theme="light"] .cart-name { color: var(--tx-1); }
[data-theme="light"] .qty-ctrl { background: var(--bg-2); border-color: var(--b2); }
[data-theme="light"] .qty-ctrl button { color: var(--tx-2); }
[data-theme="light"] .qty-ctrl button:hover { background: var(--bg-3); color: var(--tx-1); }
[data-theme="light"] .qty-ctrl .qty-n { color: var(--tx-1); }
[data-theme="light"] .cart-footer { background: var(--bg-1); border-top-color: var(--b1); }
[data-theme="light"] .cart-total-row .label { color: var(--tx-2); }
[data-theme="light"] .cart-empty i { color: var(--tx-3); }
[data-theme="light"] .cart-empty p { color: var(--tx-2); }
[data-theme="light"] .btn-rm { color: var(--tx-3); }
[data-theme="light"] .btn-rm:hover { color: var(--red); background: rgba(239,68,68,0.10); }

/* ── Toast ── */
[data-theme="light"] .toast-note { background: #fff; border-color: var(--b2); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
[data-theme="light"] .toast-body .t-title { color: var(--tx-1); }
[data-theme="light"] .toast-body .t-sub   { color: var(--tx-2); }

/* ── Modals ── */
[data-theme="light"] .modal-content { background: #fff !important; border-color: var(--b2) !important; color: var(--tx-1) !important; box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important; }
[data-theme="light"] .modal-header { border-bottom-color: var(--b1) !important; }
[data-theme="light"] .modal-header .btn-close { filter: none; opacity: 0.5; }
[data-theme="light"] .modal-content h2, [data-theme="light"] .modal-content p { color: var(--tx-1); }
[data-theme="light"] .qty-group { background: var(--bg-2); border-color: var(--b2); }
[data-theme="light"] .qty-group button, [data-theme="light"] .qty-group input { color: var(--tx-1); }
[data-theme="light"] .combo-chip { background: var(--bg-2); border-color: var(--b2); color: var(--tx-2); }
[data-theme="light"] .f-input { background: var(--bg-1) !important; border-color: var(--b2) !important; color: var(--tx-1) !important; }
[data-theme="light"] .f-input:focus { background: #fff !important; border-color: var(--gold-border) !important; }
[data-theme="light"] .f-input::placeholder { color: var(--tx-3) !important; }
[data-theme="light"] .f-input option { background: #fff; color: var(--tx-1); }
[data-theme="light"] .f-label { color: var(--tx-3); }
[data-theme="light"] .f-disclaimer { background: rgba(212,175,55,0.08); border-color: var(--gold-border); color: var(--tx-2); }
[data-theme="light"] .order-box { background: var(--bg-1); border-color: var(--b1); }
[data-theme="light"] .order-row { color: var(--tx-2); }
[data-theme="light"] .order-row span:last-child { color: var(--tx-1); }
[data-theme="light"] .order-total { border-top-color: var(--b1); }
[data-theme="light"] .order-total strong { color: var(--tx-1); }
[data-theme="light"] .bank-box { background: rgba(212,175,55,0.06); border-color: var(--gold-border); }
[data-theme="light"] .bank-row { border-bottom-color: rgba(0,0,0,0.05); }
[data-theme="light"] .bank-row strong { color: var(--tx-1); }

/* ── Testimonials ── */
[data-theme="light"] .testimonial-slider { background: var(--bg-1); border-color: var(--b1); }
[data-theme="light"] .review-card { background: #fff; border-color: var(--b2); }
[data-theme="light"] .review-card:hover { border-color: var(--gold-border); }
[data-theme="light"] .review-name { color: var(--tx-1); }
[data-theme="light"] .review-text { color: var(--tx-2); }
[data-theme="light"] .review-loc  { color: var(--tx-3); }

/* ── CTA Banner ── */
[data-theme="light"] .cta-banner { background: rgba(212,175,55,0.06); border-color: rgba(212,175,55,0.22); }
[data-theme="light"] .cta-banner h2 { color: var(--tx-1); }
[data-theme="light"] .cta-banner p  { color: var(--tx-2); }

/* ── Footer ── */
[data-theme="light"] .site-footer { background: var(--bg-1); border-top-color: var(--b1); }
[data-theme="light"] .footer-brand img { filter: brightness(0) !important; }
[data-theme="light"] .footer-tagline { color: var(--tx-2); }
[data-theme="light"] .footer-col-title { color: var(--tx-3); }
[data-theme="light"] .footer-link { color: var(--tx-2) !important; }
[data-theme="light"] .footer-link:hover { color: var(--tx-1) !important; }
[data-theme="light"] .footer-divider { border-color: var(--b1); }
[data-theme="light"] .footer-social a { background: var(--bg-2); border-color: var(--b2); color: var(--tx-2); }
[data-theme="light"] .footer-social a:hover { color: var(--gold); border-color: var(--gold-border); }
[data-theme="light"] .footer-bottom p { color: var(--tx-3); }

/* ── Back to Top ── */
[data-theme="light"] .back-to-top { background: #fff; border-color: var(--b2); color: var(--tx-2); }
[data-theme="light"] .back-to-top:hover { color: var(--gold); background: var(--bg-1); }

/* ── Theme Toggle Button ── */
.theme-btn {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--b1);
  display: flex; align-items: center; justify-content: center;
  color: var(--tx-2); cursor: pointer; transition: var(--t1);
  font-size: 1rem;
}
.theme-btn:hover { background: var(--bg-3); color: var(--gold); border-color: var(--gold-border); }
[data-theme="light"] .theme-btn { background: var(--bg-2); border-color: var(--b2); color: var(--tx-2); }

[data-theme="light"] .receipt-box { background: rgba(0,0,0,0.02); }

@media (hover: none), (max-width: 991.98px) {
  .cat-card-eyebrow, .cat-card-count, .cat-card-arrow { opacity: 1; transform: none; }
}

/* ─────────────────────────────────────────────
   VERTICAL TESTIMONIAL SLIDER
   ───────────────────────────────────────────── */
.v-slider {
  position: relative; overflow: hidden;
  height: 250px; max-width: 760px; margin: 0 auto;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.v-track {
  display: flex; flex-direction: column;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}
.v-slide { height: 250px; flex: 0 0 250px; display: flex; align-items: center; padding: 6px 4px; }
.v-slide .review-card { width: 100%; }

.v-dots { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.v-dot {
  width: 7px; height: 7px; border-radius: 50%; padding: 0;
  background: var(--b2); border: none; cursor: pointer; transition: var(--t1);
}
.v-dot.active { background: var(--gold); transform: scale(1.35); }
.v-dot:hover { background: var(--gold-2); }

@media (max-width: 767.98px) {
  .v-slider, .v-slide { height: 300px; flex-basis: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .v-track { transition: none; }
}

/* Touch devices never fire :hover, so Quick View was unreachable there. */
@media (hover: none) {
  .prod-overlay {
    opacity: 1; pointer-events: auto;
    align-items: flex-end; justify-content: center;
    background: linear-gradient(to top, rgba(9,9,11,0.55) 0%, transparent 55%);
    padding-bottom: 10px;
  }
  .quick-view { transform: none; font-size: 0.68rem; padding: 6px 14px; }
}

/* ─────────────────────────────────────────────
   PAGINATION (storefront)
   Numbers stay visible at every width; phones just show a narrower window.
   ───────────────────────────────────────────── */
.mv-pager {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.mv-pager-count { font-size: 0.78rem; color: var(--tx-2); margin: 0; }
.mv-pagination { display: flex; flex-wrap: wrap; gap: 5px; margin-left: auto; }
.mv-pagination .page-item { list-style: none; }
.mv-pagination .page-link {
  display: flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 9px;
  border-radius: 9px; border: 1px solid var(--b1);
  background: var(--bg-1); color: var(--tx-2);
  font-size: 0.8rem; font-weight: 600; line-height: 1;
  transition: var(--t1);
}
.mv-pagination .page-link:hover { border-color: var(--gold-border); color: var(--tx-1); background: var(--bg-2); }
.mv-pagination .active .page-link {
  background: var(--gold); border-color: var(--gold); color: #000;
}
.mv-pagination .disabled .page-link { opacity: 0.4; cursor: default; }
.mv-chev { font-size: 1.15rem; line-height: 1; display: block; margin-top: -2px; }

@media (max-width: 575.98px) {
  .mv-pager { justify-content: center; gap: 9px; }
  .mv-pager-count { width: 100%; text-align: center; order: 2; }
  .mv-pagination { margin: 0 auto; gap: 4px; }
  .mv-pagination .page-link { min-width: 31px; height: 31px; font-size: 0.75rem; padding: 0 7px; }
  /* Pages far from the current one drop out so the row stays on one line. */
  .mv-pagination .mv-far { display: none; }
}

/* Bootstrap paints .page-link focus/active states blue via its own CSS
   variables; override them so a clicked page never flashes blue. */
.mv-pagination .page-link:focus,
.mv-pagination .page-link:focus-visible,
.mv-pagination .page-link:active {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.22);
  border-color: var(--gold-border);
  background: var(--bg-2);
  color: var(--tx-1);
}
.mv-pagination .active .page-link:focus,
.mv-pagination .active .page-link:active {
  background: var(--gold); border-color: var(--gold); color: #000;
}
.mv-pagination .page-link:disabled, .mv-pagination .disabled .page-link { box-shadow: none; }
