@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #FF6B00;
  --primary-dark: #e05500;
  --primary-light: #ff8c33;
  --gold: #FFD700;
  --bg-dark: #0A0A0A;
  --bg-surface: #111111;
  --bg-navbar: rgba(10, 10, 10, 0.95);
  --bg-card: #1A1A1A;
  --bg-card-hover: #222222;
  --border: #2a2a2a;
  --border-light: #333333;
  --text-primary: #FFFFFF;
  --text-secondary: #B0B0B0;
  --text-muted: #666666;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.7);
  --shadow-orange: 0 4px 20px rgba(255,107,0,0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---- Light Theme Overrides ---- */
[data-theme="light"] {
  --bg-dark: #F0F2F5;
  --bg-surface: #FFFFFF;
  --bg-navbar: rgba(255, 255, 255, 0.95);
  --bg-card: #FFFFFF;
  --bg-card-hover: #E4E6E9;
  --border: #D8DADF;
  --border-light: #E4E6E9;
  --text-primary: #050505;
  --text-secondary: #444444;
  --text-muted: #65676B;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.text-primary-color { color: var(--primary) !important; }
.text-gold { color: var(--gold) !important; }
.text-muted { color: var(--text-muted) !important; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-dark:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  color: var(--primary);
}
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255,107,0,0.15);
}
.card-body { padding: 20px; }
.card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }

/* ---- Product Card ---- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}
.product-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(255,107,0,0.2);
  transform: translateY(-6px);
}
.product-card .badge-sale {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}
.product-card .badge-new {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #000;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}
.product-card .product-img {
  height: 220px;
  background: var(--bg-surface);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-card .product-img img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.08);
}
.product-card .product-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  transition: bottom 0.3s ease;
}
.product-card:hover .product-actions {
  bottom: 0;
}
.product-card .action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.product-card .action-btn:hover {
  background: var(--primary);
  color: #fff;
}
.product-info {
  padding: 20px;
}
.product-category {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.product-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
}
.product-price .current {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}
.product-price .old {
  font-size: 0.9rem;
  text-decoration: line-through;
  color: var(--text-muted);
}

/* ---- Category Card ---- */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  background: var(--bg-card-hover);
}
.category-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}
.category-card:hover i {
  transform: scale(1.15);
}
.category-card span {
  font-weight: 600;
  font-size: 1.05rem;
}

/* ---- Top Bar ---- */
.top-bar {
  background: var(--primary);
  color: #fff;
  padding: 8px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 0.5px;
}

/* ---- Navbar ---- */
.navbar {
  background: var(--bg-navbar);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 70px;
  max-width: 1400px;
  margin: 0 auto;
}
.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}
.navbar-brand span { color: var(--primary); }
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.navbar-nav a {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 0.88rem;
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--primary);
  background: rgba(255,107,0,0.1);
}
.nav-dropdown-wrapper:hover .nav-dropdown {
  display: block !important;
}
.nav-dropdown {
  margin-top: 2px;
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.search-bar input {
  background: transparent;
  border: none;
  padding: 10px 16px;
  color: var(--text-primary);
  outline: none;
  width: 250px;
}
.search-bar button {
  background: transparent;
  border: none;
  padding: 0 16px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.search-bar button:hover { color: var(--primary); }
.cart-icon {
  position: relative;
  color: var(--text-primary);
  font-size: 1.2rem;
  transition: color 0.2s;
}
.cart-icon:hover { color: var(--primary); }
.cart-count {
  position: absolute;
  top: -8px;
  right: -12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-navbar);
}

/* ---- Hero Section ---- */
.hero-slider {
  position: relative;
  height: 540px;
  background: var(--bg-surface);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 40px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}
.hero-slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}
.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
}
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
}
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-surface); }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

/* ---- Grids ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---- Feature Highlights ---- */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.stat-item h4 { font-size: 1.2rem; margin-bottom: 8px; }
.stat-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ---- Form Controls ---- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23B0B0B0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

/* ---- Auth Pages ---- */
.auth-page {
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 80px 20px;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 480px;
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo h2 { font-family: var(--font-heading); font-size: 1.8rem; }
.auth-logo span { color: var(--primary); }
.auth-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.auth-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.auth-divider { text-align: center; color: var(--text-muted); margin: 20px 0; font-size: 0.85rem; position: relative; }
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* ---- Dashboard Layout ---- */
.dashboard-wrapper {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 24px 0;
}
.sidebar-menu { display: flex; flex-direction: column; gap: 4px; padding: 0 16px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: var(--transition);
}
.sidebar-link i { font-size: 1.1rem; width: 20px; text-align: center; }
.sidebar-link:hover, .sidebar-link.active { background: var(--primary); color: #fff; }
.dashboard-content { padding: 32px 40px; background: var(--bg-surface); }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 40px; }
.stat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; align-items: center; gap: 20px; transition: var(--transition); }
.stat-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.stat-card-icon { width: 60px; height: 60px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.stat-card-icon.orange { background: rgba(255,107,0,0.1); color: var(--primary); }
.stat-card-icon.blue { background: rgba(59,130,246,0.1); color: var(--info); }
.stat-card-icon.green { background: rgba(34,197,94,0.1); color: var(--success); }
.stat-card-icon.gold { background: rgba(255,215,0,0.1); color: var(--gold); }
.stat-card-info h3 { font-size: 1.8rem; margin-bottom: 4px; line-height: 1; }
.stat-card-info p { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ---- Data Tables ---- */
.table-responsive { overflow-x: auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.data-table th { background: var(--bg-surface); padding: 16px 20px; text-align: left; font-weight: 600; font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid var(--border); }
.data-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-pending { background: rgba(245, 158, 11, 0.1); color: var(--warning); }
.badge-processing { background: rgba(59, 130, 246, 0.1); color: var(--info); }
.badge-completed { background: rgba(34, 197, 94, 0.1); color: var(--success); }
.badge-cancelled { background: rgba(239, 68, 68, 0.1); color: var(--danger); }

/* ---- Status Track (User Orders) ---- */
.status-track { display: flex; align-items: center; justify-content: space-between; margin: 30px 0; position: relative; }
.status-track::before { content: ''; position: absolute; top: 15px; left: 0; right: 0; height: 3px; background: var(--border); z-index: 1; }
.status-step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 80px; }
.step-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-card); border: 3px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); }
.status-step.active .step-icon { border-color: var(--primary); background: var(--primary); color: #fff; }
.status-step.done .step-icon { border-color: var(--success); background: var(--success); color: #fff; }
.step-text { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-align: center; line-height: 1.2; text-transform: uppercase; }
.status-step.active .step-text, .status-step.done .step-text { color: var(--text-primary); }

/* ---- Modals ---- */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.modal-content { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; max-width: 500px; padding: 32px; box-shadow: var(--shadow-lg); position: relative; animation: modalFadeIn 0.3s ease; }
@keyframes modalFadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.modal-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; transition: color 0.2s; }
.modal-close:hover { color: var(--danger); }
.modal-header { margin-bottom: 24px; }
.modal-title { font-size: 1.4rem; }

/* ---- Footer ---- */
.footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 80px 0 24px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-col h5 { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; color: var(--text-secondary); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.85rem; color: var(--text-muted); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 0.9rem;
}
.social-link:hover { border-color: var(--primary); color: var(--primary); }

/* ---- Toast Notification ---- */
.toast-container {
  position: fixed;
  top: 90px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s ease;
}
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--danger); }
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ---- Pagination ---- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
  font-weight: 500;
}
.page-btn:hover, .page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---- Order Timeline ---- */
.order-timeline { position: relative; padding-left: 40px; }
.order-timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  margin-bottom: 28px;
}
.timeline-dot {
  position: absolute;
  left: -34px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
}
.timeline-dot.active { background: var(--primary); }
.timeline-dot.done { background: var(--success); }
.timeline-content h5 { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.timeline-content p { font-size: 0.8rem; color: var(--text-muted); }

/* ---- Admin Chart Area ---- */
.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.chart-card canvas { max-height: 300px; }

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-grid, .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }
  .dashboard-wrapper { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .hero-content h1 { font-size: 2.5rem; }
  .stats-bar .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  /* Mobile Navbar Fixes */
  .top-bar { font-size: 0.75rem; padding: 8px 12px; text-align: center; line-height: 1.4; display: block; }
  .navbar-inner { height: auto; flex-direction: column; padding: 12px; gap: 16px; }
  .navbar-nav { flex-wrap: wrap; justify-content: center; width: 100%; gap: 6px; }
  .navbar-nav a { padding: 4px 8px; font-size: 0.8rem; }
  .navbar-actions { width: 100%; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
  .search-bar { flex: 1 1 100%; order: -1; margin-bottom: 8px; }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card { border-radius: 12px !important; }
  .product-img { height: 120px !important; }
  .product-img-wrapper { padding: 8px !important; }
  .product-info { padding: 10px !important; }
  .product-name { font-size: 0.85rem !important; min-height: 38px !important; margin-bottom: 4px !important; }
  .price-current { font-size: 1rem !important; }
  .price-original { font-size: 0.75rem !important; }
  
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .category-card { padding: 16px 8px !important; }
  .category-card i, .category-card .cat-icon { padding: 10px !important; font-size: 1.5rem !important; }
  
  .hero-content h1 { font-size: 2rem; }
  .hero-content { padding: 0 16px; }
  .hero-slider { height: 420px; }
  .stats-bar .stats-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid, .dashboard-stats { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 16px; }
  
  /* Further Mobile Fixes */
  .hide-on-mobile { display: none !important; }
  .tb-item { display: block; margin-bottom: 4px; }
  .navbar-brand { font-size: 1.2rem; }
  .btn { padding: 6px 12px !important; font-size: 0.75rem !important; }
  .search-bar input { padding: 8px 12px; font-size: 0.8rem; }
  .container { padding: 0 12px; }
}

/* ---- Utility ---- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.fw-bold { font-weight: 700; }
.fw-600 { font-weight: 600; }
.fs-sm { font-size: 0.85rem; }
.w-100 { width: 100%; }
.overflow-hidden { overflow: hidden; }
.rounded { border-radius: var(--radius); }