/* ==========================================================================
   CAP STORE ALGERIA — MODERN DARK STREETWEAR DESIGN SYSTEM
   ========================================================================== */
@import "tailwindcss";

:root {
  --bg-main: #050505;
  --bg-card: #0F0F0F;
  --bg-card-hover: #171717;
  --bg-subtle: #121212;
  --border-color: #262626;
  --border-light: #333333;
  --primary: #D71920;
  --primary-hover: #B9151B;
  --primary-glow: rgba(215, 25, 32, 0.25);
  --gold: #E7A927;
  --green: #238636;
  --text-main: #FFFFFF;
  --text-muted: #A3A3A3;
  --text-dim: #737373;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --container-max: 1400px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
}

::selection {
  background: var(--primary);
  color: #FFFFFF;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

input, select, textarea {
  font-family: inherit;
  color: #FFFFFF;
  background-color: #121212;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-glow);
}

/* Typography Helpers */
.font-heading { font-family: var(--font-heading); }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.02em; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.15em; }
.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Top Announcement Bar */
.announcement-bar {
  background-color: #0A0A0A;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 6px 0;
}
.announcement-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.announcement-left, .announcement-center, .announcement-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge-red {
  background-color: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 2px;
}
.announcement-admin-link {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.announcement-admin-link:hover {
  color: var(--primary);
}

/* Main Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  height: 74px;
  display: flex;
  align-items: center;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo-brand {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.logo-row {
  display: flex;
  align-items: baseline;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo-white { color: #FFFFFF; }
.logo-red { color: var(--primary); margin-left: 4px; }
.logo-sub {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  background-color: #121212;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}
.btn-icon:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #171717;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s;
}
.btn-cart:hover {
  border-color: var(--primary);
  background-color: #1f1f1f;
}
.cart-badge {
  background-color: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  font-size: 22px;
  color: #fff;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(215, 25, 32, 0.35);
}
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(215, 25, 32, 0.45);
}
.btn-secondary {
  background-color: #1A1A1A;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background-color: #242424;
  border-color: #444;
}
.btn-sm {
  padding: 8px 14px;
  font-size: 12px;
}

/* Hero Banner */
.hero-section {
  position: relative;
  background-color: #0A0A0A;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  padding: 60px 0 80px 0;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  filter: contrast(110%) brightness(85%);
  pointer-events: none;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(215, 25, 32, 0.15) 0%, transparent 60%),
              linear-gradient(to bottom, transparent 60%, var(--bg-main) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(215, 25, 32, 0.15);
  border: 1px solid rgba(215, 25, 32, 0.35);
  color: #FF5A5F;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 16px;
}
.hero-title .accent {
  color: var(--primary);
  display: block;
}
.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Services Bar */
.services-bar {
  background-color: #0A0A0A;
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.service-icon {
  font-size: 22px;
  color: var(--primary);
  background-color: rgba(215, 25, 32, 0.1);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.service-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.service-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Promotional Highlights Banner */
.promo-highlights {
  padding: 24px 0 10px 0;
}
.promo-banner-card {
  background: linear-gradient(135deg, #1C0A0B 0%, #111111 100%);
  border: 1px solid rgba(215, 25, 32, 0.3);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}
.promo-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.promo-badge {
  background-color: var(--primary);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}
.promo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
}
.promo-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Section Header */
.section-header {
  margin: 40px 0 24px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}
.section-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--primary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/* Category Filters Bar */
.filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.tab-btn {
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  background-color: #121212;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.2s;
}
.tab-btn:hover, .tab-btn.active {
  color: #fff;
  background-color: #1c1c1c;
  border-color: var(--primary);
}
.tab-btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0 60px 0;
}
.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s;
  position: relative;
}
.product-card:hover {
  border-color: #404040;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}
.product-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background-color: #121212;
  overflow: hidden;
  cursor: pointer;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-image {
  transform: scale(1.05);
}
.product-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}
.product-tag.tag-new { background-color: var(--primary); }
.product-tag.tag-pop { background-color: #FF8A00; }
.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-category {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.product-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 10px;
  cursor: pointer;
}
.product-title:hover {
  color: var(--primary);
}
.product-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 14px;
}
.price-current {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 18px;
  color: #FFFFFF;
}
.price-old {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: line-through;
}
.product-sizes {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.size-badge {
  font-size: 10px;
  font-weight: 700;
  background-color: #171717;
  border: 1px solid #292929;
  color: #A3A3A3;
  padding: 2px 6px;
  border-radius: 2px;
}
.product-card-actions {
  display: flex;
  gap: 8px;
}
.btn-card-buy {
  flex: 1;
  background-color: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  padding: 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background-color 0.2s;
}
.btn-card-buy:hover {
  background-color: var(--primary-hover);
}
.btn-card-details {
  background-color: #1A1A1A;
  color: #A3A3A3;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-size: 12px;
  transition: all 0.2s;
}
.btn-card-details:hover {
  color: #fff;
  border-color: #444;
}

/* Modals & Slide-Over */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.modal-box {
  background-color: #111111;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}
.modal-overlay.open .modal-box {
  transform: translateY(0);
}
.modal-box-lg {
  max-width: 820px;
}
.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background-color: #1A1A1A;
  color: #A3A3A3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}
.modal-close-btn:hover {
  color: #fff;
  background-color: var(--primary);
  border-color: var(--primary);
}

/* Slide-over Drawer (Cart) */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background-color: #0E0E0E;
  border-left: 1px solid var(--border-color);
  z-index: 101;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.drawer-overlay.open .drawer-panel {
  transform: translateX(0);
}
.drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  text-transform: uppercase;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background-color: #121212;
}

/* Cart Item */
.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #1C1C1C;
}
.cart-item-img {
  width: 70px;
  height: 85px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background-color: #1A1A1A;
}
.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cart-item-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  color: #fff;
}
.cart-item-meta {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}
.cart-item-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--primary);
  margin-top: 6px;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  background-color: #1C1C1C;
  border: 1px solid var(--border-color);
  color: #fff;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.qty-value {
  font-size: 13px;
  font-weight: bold;
  min-width: 20px;
  text-align: center;
}

/* Form Groups */
.form-group {
  margin-bottom: 16px;
}
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.radio-card {
  border: 1px solid var(--border-color);
  background-color: #141414;
  border-radius: var(--radius-sm);
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.radio-card.selected {
  border-color: var(--primary);
  background-color: rgba(215, 25, 32, 0.08);
}
.radio-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.radio-card-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.radio-card-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 6px;
}

/* Checkout Summary */
.checkout-summary-box {
  background-color: #171717;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 16px 0;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.summary-line.total {
  border-top: 1px solid #292929;
  padding-top: 8px;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 900;
  color: #FFFFFF;
}

/* Footer */
.site-footer {
  background-color: #070707;
  border-top: 1px solid var(--border-color);
  padding: 50px 0 20px 0;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid #1C1C1C;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   ADMIN CONSOLE STYLING (Used in admin index.html)
   ========================================================================== */
.admin-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background-color: #080808;
}
.admin-sidebar {
  width: 260px;
  background-color: #0B0B0B;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.admin-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}
.admin-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.admin-nav-item:hover {
  background-color: #141414;
  color: #fff;
}
.admin-nav-item.active {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(215, 25, 32, 0.35);
}
.admin-main {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
  background-color: #050505;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}
.admin-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 24px;
  text-transform: uppercase;
  color: #fff;
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.kpi-card {
  background-color: #111111;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
}
.kpi-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}
.kpi-value {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 26px;
  color: #FFFFFF;
  margin-top: 6px;
}

/* Data Tables */
.data-table-wrap {
  background-color: #0F0F0F;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
.data-table th {
  background-color: #141414;
  padding: 12px 16px;
  font-family: var(--font-heading);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}
.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #1C1C1C;
  color: #E5E5E5;
}
.data-table tr:hover td {
  background-color: #141414;
}
.status-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-pending { background-color: rgba(231, 169, 39, 0.15); color: #E7A927; border: 1px solid rgba(231, 169, 39, 0.3); }
.status-confirmed { background-color: rgba(59, 130, 246, 0.15); color: #60A5FA; border: 1px solid rgba(59, 130, 246, 0.3); }
.status-shipped { background-color: rgba(168, 85, 247, 0.15); color: #C084FC; border: 1px solid rgba(168, 85, 247, 0.3); }
.status-delivered { background-color: rgba(35, 134, 54, 0.15); color: #4ADE80; border: 1px solid rgba(35, 134, 54, 0.3); }
.status-cancelled { background-color: rgba(215, 25, 32, 0.15); color: #F87171; border: 1px solid rgba(215, 25, 32, 0.3); }

/* Responsive adjustments */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-layout { flex-direction: column; height: auto; }
  .admin-sidebar { width: 100%; height: auto; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-row, .radio-group { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
}
