/* ─── STEM Nexus Africa — Global Theme ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,700&family=Barlow+Condensed:wght@600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --blue:       #0052CC;
  --blue-dark:  #003A99;
  --blue-light: #E8F0FF;
  --blue-mid:   #1464D8;
  --black:      #0A0A0A;
  --black-2:    #111111;
  --black-3:    #1A1A1A;
  --grey-1:     #2A2A2A;
  --grey-2:     #444444;
  --grey-3:     #888888;
  --grey-4:     #CCCCCC;
  --grey-5:     #E8E8E8;
  --white:      #FFFFFF;
  --accent:     #FF6B00;
  --success:    #00C851;
  --danger:     #FF1744;
  --warning:    #FFAB00;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --radius: 0px; /* NO border radius — sharp block design */
  --transition: 0.18s cubic-bezier(0.4,0,0.2,1);
  --shadow-sm: 4px 4px 0px rgba(0,82,204,0.15);
  --shadow-md: 6px 6px 0px rgba(0,82,204,0.2);
  --shadow-lg: 8px 8px 0px rgba(0,82,204,0.25);
}

/* ─── RESET ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }
ul { list-style: none; padding: 0; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--black);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

.display-1 { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6rem); font-weight: 900; line-height: 0.95; }
.label-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover {
  background: var(--grey-1);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px rgba(0,0,0,0.3);
}
.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-icon { padding: 10px; width: 42px; height: 42px; justify-content: center; }

/* ─── NAVBAR ─────────────────────────────────────────────────────────────────── */
.sna-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--black);
  border-bottom: 3px solid var(--blue);
}
.navbar-top {
  background: var(--blue);
  padding: 6px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
}
.navbar-top a { color: rgba(255,255,255,0.85); }
.navbar-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
  max-width: 1400px;
  margin: 0 auto;
}
.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white) !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.navbar-brand span { color: var(--blue-mid); }
.navbar-search {
  flex: 1;
  max-width: 480px;
  margin: 0 24px;
  display: flex;
}
.navbar-search input {
  flex: 1;
  padding: 10px 16px;
  border: 2px solid var(--grey-1);
  border-right: none;
  background: var(--black-3);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.navbar-search input:focus { border-color: var(--blue); }
.navbar-search input::placeholder { color: var(--grey-3); }
.navbar-search button {
  padding: 10px 18px;
  background: var(--blue);
  border: 2px solid var(--blue);
  color: var(--white);
  cursor: pointer;
  transition: background var(--transition);
}
.navbar-search button:hover { background: var(--blue-dark); }
.navbar-actions { display: flex; align-items: center; gap: 4px; }
.nav-action-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  color: var(--grey-4);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-action-btn:hover { color: var(--white); }
.nav-action-btn svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute;
  top: 4px;
  right: 8px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
}
.navbar-nav-links {
  background: var(--black-2);
  border-bottom: 1px solid var(--black-3);
}
.navbar-nav-links ul {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.navbar-nav-links a {
  display: block;
  padding: 10px 16px;
  color: var(--grey-4);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
  position: relative;
}
.navbar-nav-links a:hover,
.navbar-nav-links a.active {
  color: var(--white);
  border-bottom-color: var(--blue);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}

/* ─── CARDS ──────────────────────────────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border: 2px solid var(--grey-5);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translate(-2px, -2px);
}
.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--grey-5);
  position: relative;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-body { padding: 16px; }
.product-category {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 8px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--blue-dark);
}
.product-price .original {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey-3);
  text-decoration: line-through;
  margin-left: 6px;
}
.product-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}
.badge-new {
  position: absolute;
  top: 12px;
  left: 0;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-sale {
  position: absolute;
  top: 12px;
  right: 0;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
}
.stock-low {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--danger);
  margin-top: 4px;
}

/* ─── SECTIONS ───────────────────────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 40px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 4px;
  background: var(--blue);
}
.section-title.centered { text-align: center; }
.section-title.centered::after { left: 50%; transform: translateX(-50%); }

/* ─── HERO ───────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(0,82,204,0.15) 100%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(0,82,204,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,82,204,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-label {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.hero h1 span { color: var(--blue-mid); }
.hero p {
  color: var(--grey-4);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--grey-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-image-box {
  position: relative;
  background: var(--black-3);
  border: 2px solid var(--grey-1);
  overflow: hidden;
  min-height: 360px;
}
.hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.hero-image-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 8px 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── CATEGORY STRIP ─────────────────────────────────────────────────────────── */
.category-strip { background: var(--blue); padding: 0; overflow-x: auto; }
.category-strip::-webkit-scrollbar { display: none; }
.category-strip ul { display: flex; white-space: nowrap; max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.category-strip a {
  display: inline-block;
  padding: 14px 20px;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
}
.category-strip a:hover,
.category-strip a.active {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* ─── FEATURES BAR ───────────────────────────────────────────────────────────── */
.features-bar {
  background: var(--black-2);
  border-top: 3px solid var(--blue);
  border-bottom: 1px solid var(--black-3);
  padding: 0;
}
.features-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1400px;
  margin: 0 auto;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid var(--black-3);
}
.feature-item:last-child { border-right: none; }
.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.feature-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.feature-text span {
  font-size: 0.75rem;
  color: var(--grey-3);
  font-family: var(--font-mono);
}

/* ─── CART SIDEBAR ───────────────────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed;
  top: 0; right: -480px;
  width: 480px;
  max-width: 100vw;
  height: 100%;
  background: var(--white);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--blue);
  transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
}
.cart-drawer.open { right: 0; }
.cart-header {
  padding: 20px 24px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--blue);
}
.cart-header h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cart-close {
  background: none;
  border: 2px solid var(--grey-1);
  color: var(--grey-4);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.cart-close:hover { border-color: var(--blue); color: var(--white); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px; }
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--grey-5);
  margin-bottom: 8px;
  align-items: center;
}
.cart-item-img { background: var(--grey-5); aspect-ratio: 1; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}
.cart-item-price {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--blue);
}
.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.cart-qty button {
  width: 26px;
  height: 26px;
  background: var(--grey-5);
  border: 1px solid var(--grey-4);
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.cart-qty button:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
.cart-qty span { font-family: var(--font-mono); font-size: 0.85rem; min-width: 20px; text-align: center; }
.cart-remove { background: none; border: none; color: var(--grey-3); cursor: pointer; padding: 4px; transition: color var(--transition); }
.cart-remove:hover { color: var(--danger); }
.cart-footer {
  padding: 20px 24px;
  border-top: 2px solid var(--grey-5);
  background: var(--grey-5);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cart-total span:first-child {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}
.cart-total span:last-child {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--blue-dark);
}
.cart-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--grey-3);
}
.cart-empty svg { width: 64px; height: 64px; color: var(--grey-4); margin: 0 auto 16px; }

/* ─── FORM INPUTS ────────────────────────────────────────────────────────────── */
.form-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey-2);
  display: block;
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--grey-4);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}
.form-control:focus { border-color: var(--blue); }
.form-control::placeholder { color: var(--grey-3); }
.form-group { margin-bottom: 20px; }
.form-error {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--danger);
  margin-top: 4px;
}

/* ─── BREADCRUMB ─────────────────────────────────────────────────────────────── */
.breadcrumb-bar {
  background: var(--grey-5);
  border-bottom: 1px solid var(--grey-4);
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.breadcrumb-bar a { color: var(--grey-2); }
.breadcrumb-bar a:hover { color: var(--blue); }
.breadcrumb-bar span { color: var(--grey-3); margin: 0 6px; }
.breadcrumb-bar .current { color: var(--black); }

/* ─── ALERT ──────────────────────────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-left: 4px solid;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.alert-success { background: #E8FFF1; border-color: var(--success); color: #006B2D; }
.alert-danger   { background: #FFF0F0; border-color: var(--danger); color: #990000; }
.alert-info     { background: var(--blue-light); border-color: var(--blue); color: var(--blue-dark); }
.alert-warning  { background: #FFF8E0; border-color: var(--warning); color: #7A5000; }

/* ─── PAGINATION ─────────────────────────────────────────────────────────────── */
.pagination { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 32px; }
.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--grey-4);
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* ─── LOADING ────────────────────────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, var(--grey-5) 25%, #eeeeee 50%, var(--grey-5) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.4s ease infinite;
}
@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--grey-5);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 32px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── FOOTER ─────────────────────────────────────────────────────────────────── */
.sna-footer {
  background: var(--black);
  color: var(--grey-4);
  padding: 56px 0 0;
  border-top: 3px solid var(--blue);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--blue-mid); }
.footer-tagline { font-size: 0.85rem; color: var(--grey-3); margin-bottom: 20px; }
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--grey-1);
}
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: var(--grey-3);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--grey-3);
}
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--blue-mid); }
.footer-bottom {
  margin-top: 40px;
  padding: 16px 0;
  border-top: 1px solid var(--black-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--grey-2);
}
.social-links { display: flex; gap: 8px; }
.social-link {
  width: 36px;
  height: 36px;
  background: var(--black-3);
  border: 1px solid var(--grey-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-3);
  transition: all var(--transition);
}
.social-link:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ─── CONTAINER ──────────────────────────────────────────────────────────────── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* ─── ADMIN ──────────────────────────────────────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px;
  background: var(--black);
  border-right: 3px solid var(--blue);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-brand {
  padding: 20px;
  border-bottom: 1px solid var(--black-3);
}
.admin-brand-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.admin-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--blue-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.admin-nav { flex: 1; padding: 12px 0; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--grey-3);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--transition);
  border-left: 3px solid transparent;
  cursor: pointer;
}
.admin-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-nav-item:hover, .admin-nav-item.active {
  color: var(--white);
  background: rgba(0,82,204,0.15);
  border-left-color: var(--blue);
}
.admin-main { flex: 1; background: var(--grey-5); overflow-x: hidden; }
.admin-topbar {
  background: var(--white);
  border-bottom: 2px solid var(--grey-5);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-page-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-content { padding: 28px; }
.stat-card {
  background: var(--white);
  border: 2px solid var(--grey-5);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.stat-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-3);
}
.admin-table {
  width: 100%;
  background: var(--white);
  border: 2px solid var(--grey-5);
  border-collapse: collapse;
  font-size: 0.875rem;
}
.admin-table th {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 16px;
  text-align: left;
  border: none;
}
.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--grey-5);
  vertical-align: middle;
}
.admin-table tr:hover td { background: var(--blue-light); }
.status-badge {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.status-pending  { background: #FFF8E0; color: #7A5000; }
.status-confirmed{ background: var(--blue-light); color: var(--blue-dark); }
.status-processing{background: #F0F8FF; color: var(--blue); }
.status-shipped  { background: #E8F5FF; color: #0066AA; }
.status-delivered{ background: #E8FFF1; color: #006B2D; }
.status-cancelled{ background: #FFF0F0; color: #990000; }
.status-unpaid   { background: #FFF0F0; color: #990000; }
.status-paid     { background: #E8FFF1; color: #006B2D; }

/* ─── TRACKING TIMELINE ──────────────────────────────────────────────────────── */
.tracking-timeline { position: relative; padding-left: 32px; }
.tracking-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--grey-5);
}
.track-step { position: relative; margin-bottom: 28px; }
.track-step::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: var(--grey-5);
  border: 3px solid var(--grey-4);
  z-index: 1;
}
.track-step.done::before { background: var(--blue); border-color: var(--blue); }
.track-step.active::before { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,82,204,0.2); }
.track-step-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.track-step-time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--grey-3);
  margin-top: 2px;
}
.track-step-note {
  font-size: 0.85rem;
  color: var(--grey-2);
  margin-top: 4px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-bar-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .navbar-search { display: none; }
  .navbar-nav-links { display: none; }
  .mobile-menu-toggle { display: block; }
  .features-bar-inner { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  .hero-stats { gap: 24px; }
  .cart-drawer { width: 100%; }
  .admin-sidebar { position: fixed; left: -240px; transition: left 0.3s; z-index: 500; }
  .admin-sidebar.open { left: 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.8rem; }
}

/* ─── UTILITY ────────────────────────────────────────────────────────────────── */
.text-blue { color: var(--blue); }
.text-muted { color: var(--grey-3); }
.bg-blue { background: var(--blue); }
.bg-black { background: var(--black); }
.bg-light { background: var(--grey-5); }
.fw-900 { font-weight: 900; }
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.uppercase { text-transform: uppercase; letter-spacing: 0.06em; }
.divider { height: 2px; background: var(--grey-5); margin: 24px 0; }
.divider-blue { height: 3px; background: var(--blue); }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.w-100 { width: 100%; }
.hidden { display: none !important; }