/* =========================================================================
   ALord Group — Design System
   Premium industrial/technology aesthetic: black, gold, white, charcoal.
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap');

:root {
  /* Brand palette */
  --c-black: #0a0a08;
  --c-charcoal: #14140f;
  --c-charcoal-2: #1c1c15;
  --c-gold: #d4af37;
  --c-gold-light: #e8cc6e;
  --c-gold-dim: #8a733f;
  --c-white: #f7f6f2;
  --c-off-white: #efeee7;
  --c-grey-100: #b8b8b0;
  --c-grey-200: #8a8a7e;
  --c-grey-300: #5a5a4f;
  --c-line: #2a2a22;
  --c-line-light: #e4e2d8;
  --c-success: #3ba55d;
  --c-danger: #c0392b;

  /* Division accents (subtle, used sparingly) */
  --tech-accent: #6fb7ff;
  --cement-accent: #c98b3a;
  --mobility-accent: #34c98a;

  --font-sans: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;

  --container: 1280px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 20px 60px -20px rgba(0,0,0,0.35);
  --shadow-gold: 0 10px 40px -12px rgba(212,175,55,0.35);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--c-white);
  color: var(--c-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 40px 0; }
}

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 700; line-height: 1.12; margin: 0 0 16px; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 16px; color: var(--c-grey-300); }
.lead { font-size: 1.2rem; color: var(--c-grey-300); max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--c-gold-dim); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--c-gold); display: inline-block; }
.serif { font-family: var(--font-serif); font-weight: 600; }
.text-center { text-align: center; }
.text-gold { color: var(--c-gold); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; transition: all .3s var(--ease); white-space: nowrap; }
.btn-primary { background: var(--c-gold); color: var(--c-black); }
.btn-primary:hover { background: var(--c-gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-dark { background: var(--c-black); color: var(--c-white); }
.btn-dark:hover { background: #232318; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--c-black); border-color: var(--c-line-light); }
.btn-outline:hover { border-color: var(--c-black); }
.btn-outline-light { background: transparent; color: var(--c-white); border-color: rgba(247,246,242,0.35); }
.btn-outline-light:hover { border-color: var(--c-white); background: rgba(255,255,255,0.06); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* =========================================================================
   Header / Navigation
   ========================================================================= */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(10,10,8,0.85); backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid rgba(255,255,255,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 58px; width: auto; border-radius: 6px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 6px; padding: 12px 16px; color: var(--c-off-white); font-weight: 500; font-size: 0.94rem; border-radius: 8px; transition: background .2s, color .2s; }
.nav-link:hover, .nav-item.active > .nav-link { color: var(--c-gold); background: rgba(212,175,55,0.08); }
.nav-caret { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .2s; opacity: .7; }
.nav-item:hover .nav-caret { transform: rotate(225deg); margin-top: 3px; }

.dropdown { position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--c-charcoal); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); box-shadow: var(--shadow-soft); }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--c-grey-100); font-size: 0.92rem; }
.dropdown a:hover { background: rgba(212,175,55,0.1); color: var(--c-gold-light); }
.dropdown .dropdown-heading { padding: 8px 14px 4px; font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-gold-dim); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.cart-link { position: relative; display: flex; align-items: center; color: var(--c-off-white); padding: 10px; }
.cart-badge { position: absolute; top: 2px; right: 0; background: var(--c-gold); color: var(--c-black); font-size: 0.65rem; font-weight: 800; border-radius: 999px; min-width: 17px; height: 17px; display: flex; align-items: center; justify-content: center; padding: 0 3px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--c-white); border-radius: 2px; transition: all .25s; }

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .burger { display: flex; }
}

/* Mobile nav drawer */
.mobile-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88%); background: var(--c-charcoal); z-index: 300; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; padding: 24px; border-left: 1px solid rgba(255,255,255,0.08); }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 290; opacity: 0; visibility: hidden; transition: opacity .3s; }
.mobile-nav-overlay.open { opacity: 1; visibility: visible; }
.mobile-nav-close { background: none; border: none; color: var(--c-white); font-size: 1.6rem; float: right; }
.mobile-nav-home { display: block; padding: 12px 0; color: var(--c-white); font-weight: 600; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-top: 10px; }
.mobile-group { margin-top: 26px; }
.mobile-group h4 { color: var(--c-gold); font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.mobile-group a { display: block; padding: 10px 0; color: var(--c-off-white); border-bottom: 1px solid rgba(255,255,255,0.06); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: var(--c-white); overflow: hidden; background: var(--c-black); }
.hero-bg { position: absolute; inset: 0; background: url('../../images/hero-img.png') center/cover no-repeat; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: rgba(10,10,8,0.65); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, black, transparent); }
.hero-content { position: relative; z-index: 2; max-width: 880px; }
.hero-content h1 { margin-bottom: 22px; }
.hero-content .lead { color: var(--c-grey-100); font-size: 1.25rem; max-width: 620px; }
.hero-ctas { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-divisions { display: flex; gap: 28px; margin-top: 64px; flex-wrap: wrap; }
.hero-division { display: flex; align-items: center; gap: 10px; color: var(--c-grey-100); font-size: 0.88rem; font-weight: 600; letter-spacing: 0.5px; }
.hero-division .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-gold); }

/* =========================================================================
   Cards
   ========================================================================= */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Asymmetric split layouts (e.g. cart/checkout/order-detail main + sidebar) */
.split-wide-narrow { grid-template-columns: 1.6fr 1fr; }
.split-narrow-wide { grid-template-columns: 2fr 1fr; }
@media (max-width: 900px) { .split-wide-narrow, .split-narrow-wide { grid-template-columns: 1fr; } }

.company-card { position: relative; background: var(--c-black); border-radius: var(--radius-lg); padding: 44px 34px; color: var(--c-white); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); border: 1px solid rgba(255,255,255,0.06); min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; }
.company-card::before { content: ''; position: absolute; inset: 0; opacity: 0.5; transition: opacity .4s; background: radial-gradient(ellipse 100% 80% at 20% 0%, var(--card-glow, rgba(212,175,55,0.25)), transparent 65%); }
.company-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.company-card:hover::before { opacity: 0.9; }
.company-card .tag { position: relative; z-index: 1; align-self: flex-start; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--c-gold); font-weight: 700; margin-bottom: auto; }
.company-card h3 { position: relative; z-index: 1; font-size: 1.7rem; margin-bottom: 10px; }
.company-card p { position: relative; z-index: 1; color: var(--c-grey-100); margin-bottom: 20px; }
.company-card .card-cta { position: relative; z-index: 1; color: var(--c-gold-light); font-weight: 600; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 8px; transition: gap .2s; }
.company-card:hover .card-cta { gap: 14px; }

.card { background: var(--c-white); border: 1px solid var(--c-line-light); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s; }
.card:hover { box-shadow: var(--shadow-soft); transform: translateY(-4px); }
.card-img { overflow: hidden; background: var(--c-charcoal); }
.card-img img { width: 100%; height: auto; object-fit: contain; transition: transform .5s var(--ease); }

/* Charging stations keep original aspect ratio and cover behavior */
.card-img[style*="aspect-ratio"] img { height: 100%; object-fit: cover; }

/* News cards maintain aspect ratio but show full image */
.section-charcoal .card-img { aspect-ratio: 4/3; }
.section-charcoal .card-img img { height: 100%; object-fit: contain; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card-body p { font-size: 0.93rem; margin-bottom: 14px; }
.card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.price { font-weight: 800; font-size: 1.25rem; color: var(--c-black); }
.price .unit { font-size: 0.78rem; font-weight: 500; color: var(--c-grey-200); }
.badge { display: inline-block; padding: 4px 10px; font-size: 0.72rem; font-weight: 700; border-radius: 999px; letter-spacing: 0.5px; }
.badge-gold { background: rgba(212,175,55,0.14); color: var(--c-gold-dim); }
.badge-green { background: rgba(59,165,93,0.12); color: var(--c-success); }
.badge-red { background: rgba(192,57,43,0.12); color: var(--c-danger); }

.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 20px 0; }
.spec-item { border-top: 1px solid var(--c-line-light); padding-top: 10px; }
.spec-item .label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--c-grey-200); display: block; margin-bottom: 3px; }
.spec-item .value { font-weight: 600; }

/* Dark sections */
.section-dark { background: var(--c-black); color: var(--c-white); }
.section-dark p { color: var(--c-grey-100); }
.section-charcoal { background: var(--c-charcoal); color: var(--c-white); }
.section-charcoal p { color: var(--c-grey-100); }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 50px; }
.stat-box { text-align: center; padding: 30px 16px; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); }
.stat-box .num { font-size: 2.6rem; font-weight: 800; color: var(--c-gold); display: block; }
.stat-box .label { font-size: 0.85rem; color: var(--c-grey-100); margin-top: 6px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Values grid */
.value-card { padding: 30px; border-radius: var(--radius); background: var(--c-off-white); border: 1px solid var(--c-line-light); }
.value-card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--c-black); color: var(--c-gold); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 1.2rem; font-weight: 700; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; }
.form-control { width: 100%; padding: 14px 16px; border: 1px solid var(--c-line-light); border-radius: var(--radius-sm); background: var(--c-white); transition: border-color .2s, box-shadow .2s; }
.form-control:focus { outline: none; border-color: var(--c-gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.15); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-card { background: var(--c-white); border: 1px solid var(--c-line-light); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-soft); }
.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 0.93rem; }
.alert-success { background: rgba(59,165,93,0.1); color: #256b3c; border: 1px solid rgba(59,165,93,0.3); }
.alert-error { background: rgba(192,57,43,0.08); color: #8f2c20; border: 1px solid rgba(192,57,43,0.25); }

/* Quantity selector */
.qty-selector { display: inline-flex; align-items: center; border: 1px solid var(--c-line-light); border-radius: 999px; overflow: hidden; }
.qty-selector button { width: 40px; height: 40px; background: var(--c-off-white); border: none; font-size: 1.1rem; font-weight: 700; color: var(--c-black); }
.qty-selector button:hover { background: var(--c-gold); }
.qty-selector input { width: 54px; text-align: center; border: none; font-weight: 700; appearance: textfield; -moz-appearance: textfield; }
.qty-selector input::-webkit-outer-spin-button, .qty-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Cart table */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--c-grey-200); padding: 12px; border-bottom: 2px solid var(--c-line-light); }
.cart-table td { padding: 18px 12px; border-bottom: 1px solid var(--c-line-light); vertical-align: middle; }
.cart-product { display: flex; align-items: center; gap: 14px; }
.cart-product img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; background: var(--c-off-white); }
.remove-btn { color: var(--c-danger); font-size: 0.85rem; font-weight: 600; background: none; border: none; }
.remove-btn:hover { text-decoration: underline; }
.cart-summary { background: var(--c-off-white); border-radius: var(--radius); padding: 30px; position: sticky; top: 110px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.95rem; }
.summary-row.total { font-weight: 800; font-size: 1.2rem; border-top: 1px solid var(--c-line-light); margin-top: 10px; padding-top: 18px; }

@media (max-width: 860px) {
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { padding: 16px 0; border-bottom: 1px solid var(--c-line-light); }
  .cart-table td { border: none; padding: 6px 0; }
}

/* Steps / checkout progress */
.checkout-steps { display: flex; gap: 10px; margin-bottom: 40px; }
.checkout-steps .step { flex: 1; text-align: center; padding: 12px 8px; border-radius: var(--radius-sm); background: var(--c-off-white); font-size: 0.82rem; font-weight: 700; color: var(--c-grey-200); }
.checkout-steps .step.active { background: var(--c-black); color: var(--c-gold); }

/* Footer */
.site-footer { background: var(--c-black); color: var(--c-grey-100); padding: 80px 0 30px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand img { height: 56px; margin-bottom: 18px; border-radius: 6px; }
.footer-brand p { max-width: 300px; font-size: 0.9rem; }
.footer-tagline { color: var(--c-gold); font-weight: 700; font-size: 0.95rem; margin-top: 14px; }
.footer-col h4 { color: var(--c-white); font-size: 0.85rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; }
.footer-col a { display: block; padding: 6px 0; font-size: 0.92rem; color: var(--c-grey-100); transition: color .2s; }
.footer-col a:hover { color: var(--c-gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; flex-wrap: wrap; gap: 16px; font-size: 0.82rem; }
.footer-legal a { color: var(--c-grey-200); margin-right: 18px; }
.footer-legal a:hover { color: var(--c-gold); }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; }
.social-links a:hover { border-color: var(--c-gold); color: var(--c-gold); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* Page header (for interior pages) */
.page-header { background: var(--c-black); color: var(--c-white); padding: 120px 0 70px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 0%, rgba(212,175,55,0.15), transparent 60%); }
.page-header .eyebrow { color: var(--c-gold); }
.page-header h1 { position: relative; z-index: 1; max-width: 800px; }
.page-header .lead { position: relative; z-index: 1; color: var(--c-grey-100); }
.breadcrumb { display: flex; gap: 8px; font-size: 0.82rem; color: var(--c-grey-200); margin-bottom: 20px; position: relative; z-index: 1; }
.breadcrumb a:hover { color: var(--c-gold); }

/* Utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Table (admin) */
.table { width: 100%; min-width: 640px; border-collapse: collapse; background: var(--c-white); }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--c-line-light); font-size: 0.9rem; white-space: nowrap; }
.table th { background: var(--c-off-white); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--c-grey-200); }
.table tr:hover td { background: rgba(212,175,55,0.04); }

/* Toast */
#cart-toast { position: fixed; bottom: 30px; right: 30px; background: var(--c-black); color: var(--c-white); padding: 16px 24px; border-radius: var(--radius-sm); border: 1px solid rgba(212,175,55,0.4); z-index: 500; opacity: 0; transform: translateY(20px); transition: all .3s var(--ease); pointer-events: none; }
#cart-toast.show { opacity: 1; transform: translateY(0); }

/* Admin layout */
.admin-body { background: var(--c-off-white); min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 260px; background: var(--c-black); color: var(--c-white); padding: 28px 18px; flex-shrink: 0; overflow-y: auto; }
.admin-sidebar a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--c-grey-100); font-size: 0.92rem; margin-bottom: 4px; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(212,175,55,0.1); color: var(--c-gold); }
.admin-main { flex: 1; padding: 36px 44px; max-width: 100%; overflow-x: hidden; min-width: 0; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; gap: 16px; flex-wrap: wrap; }
.admin-card { background: var(--c-white); border: 1px solid var(--c-line-light); border-radius: var(--radius); padding: 26px; margin-bottom: 24px; overflow-x: auto; }
.admin-table-scroll { overflow-x: auto; }
.stat-mini { background: var(--c-white); border: 1px solid var(--c-line-light); border-radius: var(--radius); padding: 22px; }
.stat-mini .num { font-size: 2rem; font-weight: 800; }
.stat-mini .label { font-size: 0.82rem; color: var(--c-grey-200); }

/* Admin mobile topbar + off-canvas sidebar */
.admin-mobile-bar { display: none; }
.admin-sidebar-overlay { display: none; }

@media (max-width: 900px) {
  .admin-mobile-bar {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--c-black); color: var(--c-white); padding: 14px 18px;
    position: sticky; top: 0; z-index: 250;
  }
  .admin-mobile-bar img { height: 34px; border-radius: 6px; }
  .admin-burger { background: none; border: none; color: var(--c-white); padding: 8px; display: flex; flex-direction: column; gap: 5px; }
  .admin-burger span { width: 22px; height: 2px; background: var(--c-white); border-radius: 2px; }

  .admin-sidebar {
    position: fixed; top: 0; left: 0; height: 100vh; z-index: 300;
    transform: translateX(-100%); transition: transform .3s var(--ease);
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-sidebar-overlay {
    display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.55);
    z-index: 290; opacity: 0; visibility: hidden; transition: opacity .3s;
  }
  .admin-sidebar-overlay.open { opacity: 1; visibility: visible; }

  .admin-main { padding: 22px; }
  .admin-topbar h2 { font-size: 1.3rem; }
  .admin-card { padding: 18px; }
  .table th, .table td { font-size: 0.82rem; padding: 10px; }
}

@media (max-width: 560px) {
  .admin-main { padding: 16px; }
  .admin-topbar { flex-direction: column; align-items: flex-start; }
}
