/* ===== FoodieMenu - Glassmorphism Style ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* === CSS Variables === */
:root {
  --primary: #f43f5e;         /* Premium Rose 500 */
  --primary-light: #fb7185;   /* Rose 400 */
  --primary-dark: #e11d48;    /* Rose 600 */
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --green: #10b981;
  --red: #ef4444;
  --orange: #f59e0b;
  --bg-dark: #090d16;         /* Deep modern slate-midnight */
  --bg-card: rgba(17, 24, 39, 0.7);
  --bg-glass: rgba(15, 23, 42, 0.65);
  --bg-glass-hover: rgba(31, 41, 55, 0.75);
  --border-glass: rgba(255, 255, 255, 0.05); /* Soft premium borders */
  --border-glass-hover: rgba(244, 63, 94, 0.2);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --shadow-glass: 0 12px 30px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 30px rgba(244, 63, 94, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  --glass-blur: blur(16px);
}

/* === Light Theme Overrides === */
body.light-theme {
  --primary: #be123c;         /* Sophisticated Rose 700 */
  --primary-light: #e11d48;   /* Rose 600 */
  --primary-dark: #9f1239;    /* Rose 800 */
  --accent: #be123c;          /* Harmonious branding */
  --accent-light: #fda4af;
  --bg-dark: #f8fafc;         /* Premium crisp Slate 50 background */
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --bg-glass-hover: #ffffff;
  --border-glass: #e2e8f0;    /* Ultra thin gray borders */
  --border-glass-hover: #cbd5e1;
  --text-primary: #0f172a;    /* High contrast Slate 900 text */
  --text-secondary: #475569;  /* Slate 600 text */
  --text-muted: #64748b;      /* Slate 500 text */
  --shadow-glass: 0 8px 24px rgba(15, 23, 42, 0.03);
  --shadow-glow: 0 8px 24px rgba(190, 18, 60, 0.04);
  background: #f8fafc !important; /* Crisp clean Slate-50 background */
}
body.light-theme .navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom-color: rgba(15, 23, 42, 0.06) !important;
}
body.light-theme .nav-brand span {
  color: var(--primary-dark) !important;
}
body.light-theme .glass-card {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04) !important;
}
body.light-theme .mascot-tooltip {
  background: #1a1025 !important;
  color: #ffffff !important;
}
body.light-theme .mascot-tooltip::after {
  border-top-color: #1a1025 !important;
}
body.light-theme .modal-content {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0f172a !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}
body.light-theme .modal-close {
  color: #64748b !important;
}
body.light-theme .input, body.light-theme input, body.light-theme textarea, body.light-theme select {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  color: #0f172a !important;
}
body.light-theme .input:focus, body.light-theme input:focus, body.light-theme textarea:focus, body.light-theme select:focus {
  border-color: var(--primary) !important;
  background: rgba(255, 255, 255, 0.8) !important;
}

/* === Theme Ripple Effect === */
.theme-ripple {
  position: fixed;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  z-index: 9999;
}

/* === Reset & Base === */
*,*::before,*::after { margin:0;padding:0;box-sizing:border-box; }
html { scroll-behavior:smooth;font-size:16px; }
body {
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  background: #090d16;
  color:var(--text-primary);
  min-height:100vh;
  line-height:1.6;
  overflow-x:hidden;
}
a { color:var(--primary-light);text-decoration:none;transition:var(--transition); }
a:hover { color:var(--accent-light); }
img { max-width:100%;display:block; }

/* === Glass Utilities === */
.glass {
  background:var(--bg-glass);
  backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur);
  border:1px solid var(--border-glass);
  border-radius:var(--radius);
  box-shadow:var(--shadow-glass);
}
.glass:hover {
  background:var(--bg-glass-hover);
  border-color:var(--border-glass-hover);
}

/* === Container === */
.container { max-width:1280px;margin:0 auto;padding:0 24px; }

/* === NAVBAR === */
.navbar {
  position:fixed;top:0;left:0;width:100%;z-index:1000;
  padding:24px 0;
  background:transparent;
  transition:var(--transition);
}
.navbar.scrolled {
  background: rgba(20, 25, 10, 0.6);
  backdrop-filter: blur(20px);
  padding: 16px 0;
}
.navbar .container { display:flex;align-items:center;justify-content:space-between; }
.nav-brand {
  font-size:1.6rem;font-weight:800;
  color: #fff;
  letter-spacing: 1px;
}
.nav-brand span { font-weight:400;opacity:0.9; color: var(--primary-light); }
.nav-links { display:flex;gap:12px;align-items:center; }
.nav-links a {
  padding:10px 24px;border-radius:40px;font-weight:500;font-size:0.95rem;
  color:#fff; transition:var(--transition);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border:1px solid rgba(255,255,255,0.05);
}
.nav-links a:hover,.nav-links a.active {
  background: rgba(255,255,255,0.3);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.nav-links a:last-child {
  background: #111827;
  color: #fff;
  border-color: #111827;
}
.nav-links a:last-child:hover { background: #000; }

/* === HERO SECTION === */
.hero {
  padding:160px 0 80px;text-align:center;
  position:relative;overflow:hidden;
}
.hero h1 {
  font-size:clamp(2.5rem,6vw,4.5rem);font-weight:800;
  margin-bottom:16px;position:relative;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  animation:heroTitle 1s ease-out;
}
@keyframes heroTitle { from{opacity:0;transform:translateY(30px);} to{opacity:1;transform:translateY(0);} }
.hero p {
  font-size:1.15rem;color:var(--text-secondary);max-width:600px;
  margin:0 auto 40px;position:relative;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  animation:heroTitle 1s ease-out 0.2s both;
}

/* === SEARCH & FILTER BAR === */
.filter-bar {
  display:flex;flex-wrap:wrap;gap:12px;
  padding:20px;margin-bottom:40px;
  align-items:center;justify-content:center;
  animation:heroTitle 1s ease-out 0.4s both;
}
.search-box {
  position:relative;flex:1;min-width:250px;max-width:400px;
}
.search-box input {
  width:100%;padding:12px 16px 12px 44px;
  background:var(--bg-glass);border:1px solid var(--border-glass);
  border-radius:var(--radius-sm);color:var(--text-primary);
  font-size:0.95rem;font-family:inherit;
  backdrop-filter:var(--glass-blur);
  transition:var(--transition);
}
.search-box input:focus {
  outline:none;border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(139,92,246,0.15);
}
.search-box input::placeholder { color:var(--text-muted); }
.search-box .search-icon {
  position:absolute;left:14px;top:50%;transform:translateY(-50%);
  color:var(--text-muted);font-size:1.1rem;pointer-events:none;
}
.filter-select {
  padding:12px 16px;
  background:var(--bg-glass);border:1px solid var(--border-glass);
  border-radius:var(--radius-sm);color:var(--text-primary);
  font-family:inherit;font-size:0.9rem;cursor:pointer;
  backdrop-filter:var(--glass-blur);transition:var(--transition);
  min-width:160px;
}
.filter-select:focus { outline:none;border-color:var(--primary); }
.filter-select option { background:#1a1025;color:var(--text-primary); }

/* === FEATURED SECTION === */
.featured-section {
  margin-bottom: 50px;
}
.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.featured-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.featured-controls {
  display: flex;
  gap: 10px;
}
.btn-scroll {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.btn-scroll:hover {
  background: var(--bg-glass-hover);
  border-color: var(--primary);
  color: var(--primary-light);
}
.featured-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0 20px 0;
  scroll-behavior: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.featured-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Featured Card */
.featured-card {
  min-width: 320px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  animation: none; /* remove initial animation */
}
.featured-card:hover {
  transform: translateY(-5px) scale(1.02);
}
.featured-card .card-image-wrapper {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.featured-card .card-image {
  height: 100%;
  border-radius: var(--radius-sm);
  border-bottom: none;
}
.featured-card .card-body {
  padding: 0;
  flex: 1;
}
.featured-card .card-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-card .card-price {
  font-size: 1.1rem;
  display: block;
}
.badge-hot {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  color: white;
  border: none;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
  z-index: 10;
}

/* === PRODUCT GRID === */
.product-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:24px;padding-bottom:60px;
  min-height:200px;position:relative;
}

/* === GLASS CARD === */
.glass-card {
  background:var(--bg-card);
  backdrop-filter:var(--glass-blur);-webkit-backdrop-filter:var(--glass-blur);
  border:1px solid var(--border-glass);
  border-radius:var(--radius);overflow:hidden;
  transition:var(--transition);cursor:pointer;
  position:relative;
  animation:cardIn 0.5s ease-out both;
}
@keyframes cardIn {
  from{opacity:0;transform:translateY(20px) scale(0.95);}
  to{opacity:1;transform:translateY(0) scale(1);}
}
.glass-card:hover {
  transform:translateY(-8px) scale(1.02);
  border-color:var(--border-glass-hover);
  box-shadow:var(--shadow-glass),var(--shadow-glow);
}
.glass-card::after {
  content:'';position:absolute;top:-50%;left:-50%;
  width:200%;height:200%;
  background:linear-gradient(135deg,transparent 40%,rgba(255,255,255,0.03) 50%,transparent 60%);
  transition:var(--transition);
}
.glass-card:hover::after { transform:translateX(30%) translateY(30%); }
.card-image {
  width:100%;height:200px;object-fit:cover;
  border-bottom:1px solid var(--border-glass);
  transition:var(--transition);
}
.glass-card:hover .card-image { transform:scale(1.05); }
.card-image-wrapper { overflow:hidden;position:relative; }
.card-body { padding:20px;position:relative;z-index:1; }
.card-title {
  font-size:1.1rem;font-weight:600;margin-bottom:8px;
  color:var(--text-primary);
}
.card-category {
  display:inline-block;padding:4px 12px;
  background:rgba(139,92,246,0.15);border:1px solid rgba(139,92,246,0.25);
  border-radius:20px;font-size:0.75rem;font-weight:500;
  color:var(--primary-light);margin-bottom:10px;
}
.card-desc {
  font-size:0.85rem;color:var(--text-secondary);
  margin-bottom:12px;line-height:1.5;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.card-footer {
  display:flex;justify-content:space-between;align-items:center;
}
.card-price {
  font-size:1.2rem;font-weight:700;
  background:linear-gradient(135deg,var(--primary-light),var(--accent));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}

/* === BADGES === */
.badge {
  display:inline-block;padding:4px 10px;border-radius:20px;
  font-size:0.7rem;font-weight:600;text-transform:uppercase;letter-spacing:0.5px;
}
.badge-in { background:rgba(16,185,129,0.15);color:var(--green);border:1px solid rgba(16,185,129,0.3); }
.badge-low { background:rgba(245,158,11,0.15);color:var(--orange);border:1px solid rgba(245,158,11,0.3); }
.badge-out { background:rgba(239,68,68,0.15);color:var(--red);border:1px solid rgba(239,68,68,0.3); }
.card-badge {
  position:absolute;top:12px;right:12px;z-index:2;
}

/* === MODAL === */
.modal-overlay {
  position:fixed;top:0;left:0;width:100%;height:100%;z-index:2000;
  background:rgba(0,0,0,0.6);backdrop-filter:blur(8px);
  display:flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;transition:var(--transition);
  padding:20px;
}
.modal-overlay.active { opacity:1;visibility:visible; }
.modal-content {
  background:rgba(20,15,35,0.9);
  backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px);
  border:1px solid var(--border-glass-hover);
  border-radius:var(--radius-lg);
  max-width:600px;width:100%;max-height:90vh;overflow-y:auto;
  box-shadow:var(--shadow-glass),0 0 60px rgba(139,92,246,0.1);
  transform:scale(0.9) translateY(20px);transition:var(--transition);
}
.modal-overlay.active .modal-content { transform:scale(1) translateY(0); }
.modal-header {
  display:flex;justify-content:space-between;align-items:center;
  padding:24px 24px 0;
}
.modal-header h2 { font-size:1.4rem;font-weight:700; }
.modal-close {
  width:36px;height:36px;border-radius:50%;border:1px solid var(--border-glass);
  background:var(--bg-glass);color:var(--text-primary);font-size:1.2rem;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  transition:var(--transition);
}
.modal-close:hover { background:rgba(239,68,68,0.2);border-color:var(--red); }
.modal-image { width:100%;height:300px;object-fit:cover;margin:20px 0;border-radius:var(--radius-sm); }
.modal-body { padding:0 24px 24px; }
.modal-body .detail-row {
  display:flex;justify-content:space-between;align-items:center;
  padding:12px 0;border-bottom:1px solid var(--border-glass);
}
.modal-body .detail-row:last-child { border-bottom:none; }
.detail-label { color:var(--text-secondary);font-size:0.9rem; }
.detail-value { font-weight:600;font-size:0.95rem; }
.detail-price {
  font-size:1.5rem;font-weight:800;
  background:linear-gradient(135deg,var(--primary-light),var(--accent));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}

/* === ADMIN PAGE === */
.admin-layout {
  padding-top:100px;min-height:100vh;
}
.admin-header {
  text-align:center;margin-bottom:40px;
}
.admin-header h1 {
  font-size:2rem;font-weight:700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.admin-header p { color:var(--text-secondary);margin-top:8px; }
.admin-grid {
  display:grid;grid-template-columns:380px 1fr;gap:30px;
  align-items:start;
}

/* === FORM GLASS === */
.form-glass {
  padding:28px;position:sticky;top:100px;
}
.form-glass h2 {
  font-size:1.2rem;font-weight:600;margin-bottom:20px;
  display:flex;align-items:center;gap:8px;
}
.form-group { margin-bottom:16px;position:relative; }
.form-group label {
  display:block;font-size:0.85rem;font-weight:500;
  color:var(--text-secondary);margin-bottom:6px;
}
.form-group input,.form-group select,.form-group textarea {
  width:100%;padding:11px 14px;
  background:rgba(255,255,255,0.04);border:1px solid var(--border-glass);
  border-radius:var(--radius-sm);color:var(--text-primary);
  font-family:inherit;font-size:0.9rem;transition:var(--transition);
}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus {
  outline:none;border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(139,92,246,0.12);
}
.form-group textarea { resize:vertical;min-height:80px; }
.form-group select option { background:#1a1025; }
.image-preview {
  width:100%;height:160px;border-radius:var(--radius-sm);
  border:2px dashed var(--border-glass);
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;margin-top:8px;
  color:var(--text-muted);font-size:0.85rem;
  transition:var(--transition);
}
.image-preview img { width:100%;height:100%;object-fit:cover; }
.field-error {
  display:block;color:var(--red);font-size:0.78rem;
  margin-top:4px;animation:shakeIn 0.3s ease;
}
@keyframes shakeIn {
  0%{transform:translateX(-5px);opacity:0;}
  50%{transform:translateX(3px);}
  100%{transform:translateX(0);opacity:1;}
}
.input-error { border-color:var(--red) !important;box-shadow:0 0 0 3px rgba(239,68,68,0.1) !important; }
.input-valid { border-color:var(--green) !important; }
.form-actions { display:flex;gap:10px;margin-top:20px; }

/* === BUTTONS === */
.btn {
  padding:11px 24px;border-radius:var(--radius-sm);border:none;
  font-family:inherit;font-size:0.9rem;font-weight:600;
  cursor:pointer;transition:var(--transition);
  display:inline-flex;align-items:center;gap:8px;
}
.btn-primary {
  background:linear-gradient(135deg,var(--primary),var(--accent));
  color:#fff;
}
.btn-primary:hover { transform:translateY(-2px);box-shadow:0 8px 24px rgba(139,92,246,0.3); }
.btn-secondary {
  background:var(--bg-glass);color:var(--text-primary);
  border:1px solid var(--border-glass);
}
.btn-secondary:hover { background:var(--bg-glass-hover); }
.btn-danger { background:rgba(239,68,68,0.15);color:var(--red);border:1px solid rgba(239,68,68,0.3); }
.btn-danger:hover { background:rgba(239,68,68,0.25); }
.btn-sm { padding:6px 14px;font-size:0.8rem; }
.btn-block { width:100%;justify-content:center; }

/* === ADMIN TABLE === */
.table-wrapper { overflow-x:auto; }
.admin-table {
  width:100%;border-collapse:separate;border-spacing:0 8px;
}
.admin-table thead th {
  padding:12px 16px;text-align:left;font-size:0.8rem;font-weight:600;
  color:var(--text-muted);text-transform:uppercase;letter-spacing:0.5px;
}
.admin-table tbody tr {
  background:var(--bg-glass);transition:var(--transition);
}
.admin-table tbody tr:hover { background:var(--bg-glass-hover); }
.admin-table td {
  padding:12px 16px;font-size:0.88rem;
  border-top:1px solid var(--border-glass);
  border-bottom:1px solid var(--border-glass);
}
.admin-table td:first-child { border-left:1px solid var(--border-glass);border-radius:var(--radius-sm) 0 0 var(--radius-sm); }
.admin-table td:last-child { border-right:1px solid var(--border-glass);border-radius:0 var(--radius-sm) var(--radius-sm) 0; }
.table-img { width:50px;height:50px;border-radius:8px;object-fit:cover; }
.table-actions { display:flex;gap:6px; }

/* === TOAST === */
#toast-container {
  position:fixed;top:90px;right:20px;z-index:3000;
  display:flex;flex-direction:column;gap:10px;
}
.toast {
  padding:14px 20px;border-radius:var(--radius-sm);min-width:300px;
  display:flex;align-items:center;gap:10px;
  background:rgba(20,15,35,0.9);backdrop-filter:blur(20px);
  border:1px solid var(--border-glass);box-shadow:var(--shadow-glass);
  transform:translateX(120%);transition:var(--transition);
  font-size:0.9rem;
}
.toast-show { transform:translateX(0); }
.toast-hide { transform:translateX(120%);opacity:0; }
.toast-success { border-left:3px solid var(--green); }
.toast-error { border-left:3px solid var(--red); }
.toast-warning { border-left:3px solid var(--orange); }
.toast-info { border-left:3px solid var(--blue); }
.toast-message { flex:1; }
.toast-close {
  background:none;border:none;color:var(--text-muted);
  font-size:1.2rem;cursor:pointer;padding:0 4px;
}

/* === LOADING === */
.glass-loading {
  position:absolute;top:0;left:0;width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(15,10,26,0.5);backdrop-filter:blur(4px);
  border-radius:var(--radius);z-index:10;
}
.glass-loading.fade-out { opacity:0; }
.glass-spinner { text-align:center; }
.spinner-ring {
  width:40px;height:40px;margin:0 auto 8px;
  border:3px solid var(--border-glass);
  border-top-color:var(--primary);border-radius:50%;
  animation:spin 0.8s linear infinite;
}
.spinner-ring:nth-child(2) { width:30px;height:30px;margin-top:-35px;animation-direction:reverse;border-top-color:var(--accent); }
.spinner-ring:nth-child(3) { width:20px;height:20px;margin-top:-28px;border-top-color:var(--blue); }
@keyframes spin { to{transform:rotate(360deg);} }
.spinner-text { font-size:0.8rem;color:var(--text-muted);margin-top:12px;display:block; }

/* === EMPTY STATE === */
.empty-state {
  grid-column:1/-1;text-align:center;padding:60px 20px;
}
.empty-state .empty-icon { font-size:4rem;margin-bottom:16px;opacity:0.5; }
.empty-state h3 { font-size:1.3rem;font-weight:600;margin-bottom:8px; }
.empty-state p { color:var(--text-secondary);font-size:0.95rem; }

/* === MASCOT PET === */
.mascot-pet {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1500;
  cursor: pointer;
  transition: top 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), left 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease, transform 0.5s ease;
  user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mascot-pet.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0);
}
.mascot-body {
  font-size: 3.5rem;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
  animation: floatMascot 3s ease-in-out infinite;
}
.mascot-pet:hover .mascot-body {
  transform: scale(1.1) rotate(5deg);
  animation-play-state: paused;
}
@keyframes floatMascot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.mascot-pet.jumping .mascot-body {
  animation: jumpMascot 0.4s ease;
}
@keyframes jumpMascot {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.1); }
}
.mascot-tooltip {
  background: rgba(255, 255, 255, 0.95);
  color: #1a1025;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  pointer-events: none;
  position: relative;
}
.mascot-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.95) transparent transparent transparent;
}
.mascot-pet.show-tooltip .mascot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* === COMBO SECTION === */
.combo-section {
  margin-bottom: 50px;
}
.combo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.combo-card {
  transition: var(--transition);
}
.combo-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-glass), 0 0 20px rgba(16, 185, 129, 0.1);
}

/* === FOOTER === */
.footer {
  text-align:center;padding:40px 0;
  border-top:1px solid var(--border-glass);
  color:var(--text-muted);font-size:0.85rem;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width:6px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:var(--border-glass);border-radius:3px; }
::-webkit-scrollbar-thumb:hover { background:var(--primary); }

/* === CART DRAWER SYSTEM === */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2500;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100%;
  z-index: 2600;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
  border-left: 1px solid var(--border-glass);
}
.cart-drawer.active {
  right: 0;
}
.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border-glass);
}
.cart-drawer-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}
.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-glass);
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}
.cart-item-info {
  flex: 1;
}
.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.cart-item-price {
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
}
.cart-item-control {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-qty-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  width: 26px;
  height: 26px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
}
.cart-qty-btn:hover {
  background: var(--primary-light);
  color: #1a1025;
}
.cart-item-del {
  background: none;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  transition: var(--transition);
}
.cart-item-del:hover {
  transform: scale(1.2);
}

@media(max-width: 480px) {
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
}

/* === RESPONSIVE === */
@media(max-width:1024px) {
  .admin-grid { grid-template-columns:1fr; }
  .form-glass { position:static; }
}
@media(max-width:768px) {
  .navbar .container { flex-wrap:wrap;gap:12px; }
  .nav-links { width:100%;justify-content:center; }
  .filter-bar { flex-direction:column; }
  .search-box { max-width:100%;min-width:auto; }
  .product-grid { grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px; }
  .hero h1 { font-size:2rem; }
  .modal-content { max-height:85vh; }
  #toast-container { left:10px;right:10px; }
  .toast { min-width:auto; }
}
@media(max-width:480px) {
  .product-grid { grid-template-columns:1fr; }
  .container { padding:0 16px; }
  .admin-header h1 { font-size:1.5rem; }
}

/* === MODERN DASHBOARD SYSTEM === */
.dashboard-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: start;
  padding-bottom: 50px;
}
.dashboard-sidebar {
  padding: 24px;
  position: sticky;
  top: 100px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  z-index: 10;
}
.sidebar-brand h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-tab {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.sidebar-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.03);
}
.sidebar-tab.active {
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-light);
  border-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.05);
}
.dashboard-content {
  min-width: 0;
}
.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}
.tab-pane.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.stat-card {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glass), var(--shadow-glow);
}
.stat-card.warning:hover {
  box-shadow: var(--shadow-glass), 0 0 20px rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
}
.stat-icon {
  font-size: 2.2rem;
  line-height: 1;
}
.stat-info h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.stat-info p {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}
.admin-grid-two-col {
  display: grid;
  grid-template-columns: 0px 1fr;
  gap: 0px;
  align-items: start;
  transition: var(--transition);
}
.admin-grid-two-col.show-form {
  grid-template-columns: 380px 1fr;
  gap: 30px;
}
.form-container-side {
  position: sticky;
  top: 100px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-20px);
  visibility: hidden;
  transition: var(--transition);
  width: 0;
  min-width: 0;
}
.admin-grid-two-col.show-form .form-container-side {
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  width: auto;
  min-width: 380px;
}
.form-container-side .form-glass {
  position: static;
  padding: 24px;
}

/* === GLOWING STATS CARDS === */
.stat-card.dishes-glow { border-left: 4px solid #10b981; }
.stat-card.combos-glow { border-left: 4px solid #f59e0b; }
.stat-card.categories-glow { border-left: 4px solid #3b82f6; }
.stat-card.stock-glow { border-left: 4px solid #ef4444; }

.stat-card.dishes-glow:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: var(--shadow-glass), 0 0 25px rgba(16, 185, 129, 0.15);
}
.stat-card.combos-glow:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: var(--shadow-glass), 0 0 25px rgba(245, 158, 11, 0.15);
}
.stat-card.categories-glow:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow-glass), 0 0 25px rgba(59, 130, 246, 0.15);
}
.stat-card.stock-glow:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: var(--shadow-glass), 0 0 25px rgba(239, 68, 68, 0.15);
}

/* === COMBO DISH LIST BALANCED LAYOUT === */
.combo-dish-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  user-select: none;
}
.combo-dish-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.combo-dish-item input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
  flex-shrink: 0;
}
.combo-dish-item .dish-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}
.combo-dish-item .dish-price {
  margin-left: auto;
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
}

@media(max-width: 1200px) {
  .dashboard-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dashboard-sidebar {
    position: static;
  }
  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sidebar-tab {
    flex: 1;
    min-width: 150px;
    justify-content: center;
  }
}
@media(max-width: 1024px) {
  .admin-grid-two-col {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .form-container-side {
    position: static;
    width: 100% !important;
    min-width: 0 !important;
    opacity: 0;
    height: 0;
    overflow: hidden;
  }
  .admin-grid-two-col.show-form .form-container-side {
    opacity: 1;
    height: auto;
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* === PROGRESS STEPPER & REAL-TIME TRACKING === */
.order-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}
.order-card:hover {
  border-color: rgba(16, 185, 129, 0.2);
  background: rgba(255, 255, 255, 0.03);
}
.order-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.85rem;
}
.order-id {
  font-weight: 700;
  color: var(--primary-light);
}
.order-time {
  color: var(--text-muted);
}
.order-dishes-summary {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: var(--text-secondary);
}
.order-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 30px 10px 10px;
}
.order-stepper::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
  border-radius: 2px;
}
.stepper-progress-bar {
  position: absolute;
  top: 15px;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 1;
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}
.step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
}
.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1e1b29;
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.step-node.active .step-circle {
  border-color: var(--primary-light);
  color: var(--primary-light);
  box-shadow: 0 0 15px rgba(52, 211, 153, 0.4);
}
.step-node.completed .step-circle {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}
.step-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 8px;
  white-space: nowrap;
  transition: var(--transition);
}
.step-node.active .step-label {
  color: var(--text-primary);
  font-weight: 600;
}
.step-node.completed .step-label {
  color: var(--primary-light);
}

/* === BLINKING LED INDICATOR === */
.led-blink {
  width: 8px;
  height: 8px;
  background-color: var(--primary-light);
  border-radius: 50%;
  position: absolute;
  top: -4px;
  right: -4px;
  box-shadow: 0 0 8px var(--primary-light);
  animation: ledPulse 1.2s infinite alternate;
}
@keyframes ledPulse {
  from {
    transform: scale(0.8);
    opacity: 0.5;
    box-shadow: 0 0 4px var(--primary-light);
  }
  to {
    transform: scale(1.2);
    opacity: 1;
    box-shadow: 0 0 12px var(--primary-light);
  }
}

/* === VOUCHER & PRICE TAG STYLES === */
.original-price-tag {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-right: 8px;
}
.discount-price-tag {
  color: var(--primary-light);
  font-weight: 700;
}
.card-price-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

/* Responsive details for tracking */
@media (max-width: 400px) {
  .step-label {
    font-size: 0.65rem;
  }
  .step-circle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
}

/* === LUCKY WHEEL STYLES === */
#wheel-spin-btn:disabled {
  background: var(--text-muted);
  cursor: not-allowed;
  transform: translate(-50%, -50%) scale(1) !important;
}

/* === MASCOT CHAT WIDGET === */
#mascot-chat-box {
  animation: slideInUp 0.3s ease-out;
}
@keyframes slideInUp {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.mascot-chat-btn {
  transition: all 0.2s ease;
}
.mascot-chat-btn:hover {
  background: var(--bg-glass-hover) !important;
  border-color: var(--primary-light) !important;
  color: var(--primary-light) !important;
  transform: translateX(4px);
}

/* === DIY COMBO BUILDER === */
.diy-step {
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
}
.diy-step.active {
  background: rgba(16,185,129,0.1) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 10px rgba(16,185,129,0.2);
}
.diy-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.diy-item-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}
.diy-item-card.selected {
  background: rgba(16, 185, 129, 0.08) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

/* === TABLE BOOKING FLOOR GRID === */
.booking-table-item {
  aspect-ratio: 1;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-glass);
}
.booking-table-item.empty {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--primary-light);
}
.booking-table-item.empty:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: var(--primary-light);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}
.booking-table-item.booked {
  background: rgba(239, 68, 68, 0.06);
  border-color: rgba(239, 68, 68, 0.25);
  color: var(--red);
  cursor: not-allowed;
}
.booking-table-item.selected {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* === ANIMATED STEPPER PROGRESS === */
.step-node.active .step-circle {
  animation: pulseShadow 2s infinite;
}
@keyframes pulseShadow {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* === UI REFRESH 2026 === */
:root {
  --primary: #ef4444;         /* Soft red-orange accent */
  --primary-light: #f87171;
  --primary-dark: #b91c1c;
  --accent: #f59e0b;
  --accent-light: #fcd34d;
  --bg-dark: #0f0913;
  --bg-card: rgba(26, 18, 38, 0.76);
  --bg-glass: rgba(20, 14, 30, 0.68);
  --bg-glass-hover: rgba(32, 22, 48, 0.82);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-hover: rgba(239, 68, 68, 0.28);
  --shadow-glass: 0 18px 45px rgba(0, 0, 0, 0.34);
  --shadow-glow: 0 18px 45px rgba(239, 68, 68, 0.16);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
}

body {
  background: #090d16;
}

body.light-theme {
  background: #f8fafc !important;
}

.container {
  width: min(100%, 1280px);
}

.navbar {
  padding: 18px 0;
  background: rgba(4, 14, 12, 0.48);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar.scrolled {
  background: rgba(5, 18, 15, 0.88);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.nav-brand,
.footer-logo {
  letter-spacing: 0;
}

.nav-links {
  gap: 10px !important;
}

.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.nav-links a:last-child {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(110, 231, 183, 0.34);
  color: #ffffff;
}

#theme-toggle-btn {
  border-radius: 999px !important;
}

.hero {
  padding: 150px 0 72px;
}

.hero h1 {
  margin-bottom: 14px;
  letter-spacing: 0;
}

.hero p {
  color: #d8e4dc;
  max-width: 720px;
}

.filter-bar {
  max-width: 960px;
  margin: 0 auto 44px;
  padding: 16px;
  border-radius: 14px;
}

.search-box input,
.filter-select,
.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 8px;
}

.search-box input,
.filter-select {
  min-height: 46px;
  background: rgba(255, 255, 255, 0.07);
}

.featured-section,
.combo-section {
  margin-bottom: 56px;
}

.featured-header {
  gap: 16px;
}

.featured-header h2 {
  position: relative;
  padding-left: 14px;
  letter-spacing: 0;
}

.featured-header h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 4px;
  height: 1.05em;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary-light), var(--accent));
}

.product-grid {
  gap: 26px;
  padding-bottom: 72px;
}

.glass,
.glass-card,
.stat-card,
.order-card,
.combo-card,
.diy-item-card {
  border-radius: 8px;
}

.glass-card {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25);
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(110, 231, 183, 0.34);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.32), var(--shadow-glow);
}

.card-image {
  height: 210px;
}

.featured-card .card-image {
  height: 100%;
}

.card-body {
  padding: 18px;
}

.card-title {
  line-height: 1.35;
}

.card-category {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(110, 231, 183, 0.22);
  color: var(--primary-light);
}

.card-desc {
  min-height: 2.55em;
}

.btn,
.btn-scroll,
.cart-qty-btn,
.modal-close {
  border-radius: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #059669, #f59e0b);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.2);
}

.btn-add-to-cart:hover {
  transform: translateY(-2px) scale(1.06);
  filter: brightness(1.08);
}

.auth-tab {
  min-height: 42px;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.auth-tab:hover,
.auth-tab.active {
  color: #ffffff;
  border-color: rgba(110, 231, 183, 0.34);
  background: rgba(16, 185, 129, 0.18);
}

.admin-layout {
  padding-top: 112px;
}

.dashboard-sidebar,
.form-glass,
.table-wrapper,
.admin-table tbody tr,
.cart-drawer,
.modal-content {
  border-color: rgba(255, 255, 255, 0.1);
}

.dashboard-sidebar {
  padding: 20px;
}

.cart-drawer {
  border-radius: 0;
}

.modal-content {
  border-radius: 14px;
}

.sidebar-tab {
  border-radius: 8px;
}

.stat-card {
  min-height: 112px;
}

.admin-table {
  border-spacing: 0 10px;
}

.table-img {
  border-radius: 8px;
}

.footer.site-footer {
  margin-top: 40px;
  padding: 0;
  text-align: left;
  color: var(--text-secondary);
  background:
    linear-gradient(180deg, rgba(6, 17, 14, 0.24), rgba(5, 13, 11, 0.92)),
    rgba(5, 13, 11, 0.9);
  border-top: 1px solid rgba(110, 231, 183, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(160px, 1fr));
  gap: 34px;
  padding-top: 44px;
  padding-bottom: 32px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
}

.footer-logo span {
  color: var(--primary-light);
  font-weight: 500;
}

.footer-brand-block p,
.footer-col p,
.footer-col a {
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-brand-block p {
  max-width: 430px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-badges span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #d1fae5;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(110, 231, 183, 0.18);
  font-size: 0.78rem;
  font-weight: 600;
}

.footer-col h3 {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 9px;
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--accent-light);
  transform: translateX(3px);
}

.footer-contact strong {
  color: #ffffff;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--primary-light);
  font-weight: 600;
}

body.light-theme .footer.site-footer {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-secondary);
  border-top-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .navbar {
  background: rgba(255, 255, 255, 0.84) !important;
  border-bottom-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

body.light-theme .nav-brand,
body.light-theme .hero h1,
body.light-theme .featured-header h2,
body.light-theme .admin-header h1 {
  color: var(--text-primary);
  text-shadow: none;
}

body.light-theme .hero p {
  color: var(--text-secondary);
  text-shadow: none;
}

body.light-theme .nav-links a {
  color: var(--text-primary);
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .nav-links a:hover,
body.light-theme .nav-links a.active {
  color: var(--primary-dark);
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.22);
}

body.light-theme .footer-logo,
body.light-theme .footer-col h3,
body.light-theme .footer-contact strong {
  color: var(--text-primary);
}

body.light-theme .footer-badges span {
  color: var(--primary-dark);
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.18);
}

body.light-theme .auth-tab {
  color: var(--text-secondary);
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}

body.light-theme .auth-tab:hover,
body.light-theme .auth-tab.active {
  color: var(--primary-dark);
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.22);
}

body.light-theme .footer-bottom {
  border-top-color: rgba(15, 23, 42, 0.08);
}

@media(max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media(max-width: 768px) {
  .navbar {
    padding: 14px 0;
  }

  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 13px;
    font-size: 0.86rem;
  }

  .hero {
    padding: 150px 0 56px;
  }

  .filter-bar {
    align-items: stretch;
  }

  .featured-header {
    align-items: flex-start;
  }

  .footer-grid {
    gap: 24px;
  }
}

@media(max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-badges span {
    width: 100%;
    text-align: center;
  }
}

/* =========================================================
   === CLEAN UI REDESIGN REFRESH (2026) ===
   ========================================================= */

/* --- Main Header --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
}

.main-header.scrolled {
  background: rgba(15, 9, 19, 0.95);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

body.light-theme .main-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(15, 23, 42, 0.05);
}

body.light-theme .main-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* --- Header Top Row --- */
.header-top {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

body.light-theme .header-top {
  border-bottom-color: rgba(15, 23, 42, 0.03);
}

.header-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-top .nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.header-top .nav-brand .logo-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 5px rgba(239, 68, 68, 0.2));
}

.header-top .nav-brand span span {
  font-weight: 400;
  color: var(--primary-light);
}

/* --- Search Box with Integrated Filter Button --- */
.header-search-container {
  position: relative;
  flex-grow: 1;
  max-width: 500px;
}

.header-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border-glass);
  border-radius: 99px;
  padding: 4px 6px 4px 16px;
  transition: var(--transition);
}

body.light-theme .header-search-box {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.header-search-box .search-icon {
  margin-right: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.header-search-box input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  color: var(--text-primary);
  font-size: 0.92rem;
  padding: 6px 0;
}

.header-search-box input::placeholder {
  color: var(--text-muted);
  opacity: 0.85;
}

.header-search-box .filter-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: var(--primary);
  border: none;
  border-radius: 99px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

body.light-theme .header-search-box .filter-toggle-btn {
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.15);
}

.header-search-box .filter-toggle-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.03);
}

.header-search-box:focus-within {
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-glow);
}

body.light-theme .header-search-box:focus-within {
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(185, 28, 28, 0.06);
}

/* --- Animated Popover Filter Panel --- */
.header-filter-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 100%;
  padding: 20px;
  border-radius: var(--radius);
  z-index: 10;
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: var(--shadow-glass);
}

.header-filter-popover.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

body.light-theme .header-filter-popover {
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.header-filter-popover .filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header-filter-popover .filter-group label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Quick Actions (Theme, Account, Cart) --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition);
  font-size: 1rem;
}

body.light-theme .header-actions .action-btn {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.header-actions .action-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.05);
}

body.light-theme .header-actions .action-btn:hover {
  background: #e2e8f0;
}

/* --- Account Dropdown --- */
.account-dropdown-container {
  position: relative;
}

.account-dropdown-container .account-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
}

body.light-theme .account-dropdown-container .account-btn {
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.account-dropdown-container .account-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.light-theme .account-dropdown-container .account-btn:hover {
  background: #e2e8f0;
}

.account-dropdown-container .account-btn .caret {
  font-size: 0.65rem;
  opacity: 0.7;
}

.account-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 200px;
  padding: 8px 0;
  border-radius: var(--radius-sm);
  display: none;
  flex-direction: column;
  z-index: 100;
  box-shadow: var(--shadow-glass);
  border: 1px solid var(--border-glass);
}

.account-dropdown-menu.active {
  display: flex;
  animation: slideInDown 0.25s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

body.light-theme .account-dropdown-menu {
  background: #ffffff;
  border-color: #cbd5e1;
}

.account-dropdown-menu a {
  padding: 10px 20px;
  font-size: 0.85rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-dropdown-menu a:hover {
  background: rgba(239, 68, 68, 0.08);
  color: var(--primary-light);
}

body.light-theme .account-dropdown-menu a:hover {
  background: rgba(185, 28, 28, 0.05);
  color: var(--primary);
}

/* --- Redesigned Cart Button --- */
.header-cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition);
  position: relative;
}

body.light-theme .header-cart-btn {
  background: rgba(185, 28, 28, 0.05);
  border-color: rgba(185, 28, 28, 0.15);
  color: var(--primary);
}

.header-cart-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

body.light-theme .header-cart-btn:hover {
  background: rgba(185, 28, 28, 0.1);
}

.header-cart-btn .cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.7rem;
  background: var(--primary);
  color: white;
  font-weight: 700;
  border: 2px solid var(--bg-dark);
  animation: badgePulse 2s infinite;
}

body.light-theme .header-cart-btn .cart-badge {
  background: #b91c1c;
  border-color: #ffffff;
}

@keyframes badgePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* --- Header Bottom (Horizontal Navigation & Categories) --- */
.header-bottom {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

body.light-theme .header-bottom {
  border-top-color: rgba(15, 23, 42, 0.03);
}

.header-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-tabs-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-tabs-scroll::-webkit-scrollbar {
  display: none;
}

.category-tab {
  padding: 8px 18px;
  border-radius: 99px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.category-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

body.light-theme .category-tab:hover {
  background: #f1f5f9;
}

.category-tab.active {
  color: var(--primary-light);
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.15);
}

body.light-theme .category-tab.active {
  color: var(--primary);
  background: rgba(185, 28, 28, 0.06);
  border-color: rgba(185, 28, 28, 0.15);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.05);
}

/* --- Special Navigation Highlight Links --- */
.special-nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.special-nav-item {
  padding: 7px 14px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.special-nav-item.booking-btn {
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

body.light-theme .special-nav-item.booking-btn {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
  color: #059669;
}

.special-nav-item.booking-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  transform: translateY(-1.5px);
}

.special-nav-item.order-btn {
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

body.light-theme .special-nav-item.order-btn {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
  color: #d97706;
}

.special-nav-item.order-btn:hover {
  background: rgba(245, 158, 11, 0.2);
  transform: translateY(-1.5px);
}

.special-nav-item .order-badge {
  padding: 1px 5px;
  border-radius: 8px;
  font-size: 0.65rem;
  background: var(--accent);
  color: #111;
  font-weight: 800;
}

body.light-theme .special-nav-item .order-badge {
  background: #d97706;
  color: white;
}

/* --- Slogan Hero Card Banner --- */
.hero {
  padding: 170px 0 60px;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 9, 19, 0.8), rgba(15, 9, 19, 0.65)), 
              url('../img/hero_bg.jpg') center/cover;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-glass);
}

body.light-theme .hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.45)), 
              url('../img/hero_bg.jpg') center/cover;
  border-bottom-color: #cbd5e1;
}

.hero-card {
  max-width: 550px;
  padding: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  text-align: left;
  animation: slideInLeft 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

body.light-theme .hero-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

.hero-card .hero-brand {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.hero-card .hero-brand span {
  font-weight: 400;
  color: var(--primary-light);
}

body.light-theme .hero-card .hero-brand span {
  color: var(--primary);
}

.hero-card .hero-slogan {
  font-family: 'Outfit', 'Georgia', cursive, serif;
  font-style: italic;
  font-size: 1.8rem;
  color: var(--primary-light);
  margin-bottom: 18px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

body.light-theme .hero-card .hero-slogan {
  color: var(--primary);
}

.hero-card .hero-description {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.hero-card .hero-btn {
  padding: 12px 28px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25);
}

body.light-theme .hero-card .hero-btn {
  background: #b91c1c;
  box-shadow: 0 8px 24px rgba(185, 28, 28, 0.2);
}

.hero-card .hero-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.35);
}

body.light-theme .hero-card .hero-btn:hover {
  background: #991b1b;
  box-shadow: 0 12px 30px rgba(185, 28, 28, 0.3);
}

/* --- Dynamic Features Services Grid --- */
.services-features {
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  text-align: left;
  transition: var(--transition);
}

body.light-theme .feature-card {
  background: #ffffff;
  border-color: #cbd5e1;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glass);
  border-color: var(--border-glass-hover);
}

body.light-theme .feature-card:hover {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  border-color: #94a3b8;
}

.feature-icon {
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.08);
}

body.light-theme .feature-icon {
  background: rgba(185, 28, 28, 0.06);
}

.feature-info h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 4px;
  letter-spacing: 0.3px;
}

.feature-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

/* =========================================================
   === RESPONSIVE MEDIA QUERIES FOR CLEAN REFRESH ===
   ========================================================= */

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-top .container {
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .header-search-container {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  
  .header-actions {
    order: 2;
  }
  
  .header-bottom .container {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  
  .category-tabs-scroll {
    justify-content: flex-start;
  }
  
  .special-nav-links {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 240px 0 40px;
  }
  
  .hero-card {
    padding: 24px;
  }
  
  .hero-card .hero-brand {
    font-size: 2.2rem;
  }
  
  .hero-card .hero-slogan {
    font-size: 1.4rem;
  }
}

/* --- Filter Dropdown Mismatch Fixes --- */
.header-filter-popover select {
  width: 100%;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-primary) !important;
  font-size: 0.88rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.header-filter-popover select option {
  background: #111827 !important; /* Dark solid color to match dark mode popover */
  color: #ffffff !important;
  padding: 8px;
}

.header-filter-popover select:focus {
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-glow);
}

/* Light Theme overrides for filter selects - ensuring crisp matching slate/rose tones */
body.light-theme .header-filter-popover {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

body.light-theme .header-filter-popover select {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

body.light-theme .header-filter-popover select option {
  background: #ffffff !important;
  color: #0f172a !important;
}

body.light-theme .header-filter-popover select:focus {
  border-color: var(--primary) !important;
  background: #ffffff !important;
  box-shadow: 0 0 10px rgba(190, 18, 60, 0.05) !important;
}

/* --- Vector Icons & Centering Fixes --- */
.main-header .nav-brand i {
  color: var(--primary-light);
  font-size: 1.6rem;
  margin-right: 4px;
}

body.light-theme .main-header .nav-brand i {
  color: var(--primary);
}

.header-actions .action-btn i,
.header-actions .account-btn i,
.header-cart-btn i,
.special-nav-item i {
  font-size: 1rem;
}

.special-nav-item i {
  font-size: 0.95rem;
}

.features-grid .feature-icon i {
  font-size: 1.6rem;
  color: var(--primary-light);
}

body.light-theme .features-grid .feature-icon i {
  color: var(--primary);
}

.btn-scroll i {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Refined UI Overrides to remove plastic Neon Glows */
.glass {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-glass);
}

.glass:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glass-hover);
}

body.light-theme .glass {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.02) !important;
}

body.light-theme .glass:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04) !important;
}

/* Stepper progress modern adjustments */
.step-circle {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 2px solid var(--border-glass) !important;
  color: var(--text-secondary) !important;
}

body.light-theme .step-circle {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
}

.step-node.active .step-circle {
  background: rgba(244, 63, 94, 0.1) !important;
  border-color: var(--primary) !important;
  color: var(--primary-light) !important;
}

body.light-theme .step-node.active .step-circle {
  background: rgba(190, 18, 60, 0.06) !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

.step-line-fill {
  background: var(--primary) !important;
}

/* ==========================================================================
   PREMIUM BRAND LOGO & DUAL-COLUMN HERO REDESIGN
   ========================================================================== */

/* Brand Logo Layout */
.nav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
}

.nav-brand .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(245, 158, 11, 0.15)) !important;
  border: 1px solid rgba(244, 63, 94, 0.25) !important;
  border-radius: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.25rem !important;
  color: var(--primary-light) !important;
  transition: var(--transition) !important;
  box-shadow: 0 4px 10px rgba(244, 63, 94, 0.1) !important;
  filter: none !important;
}

body.light-theme .nav-brand .logo-icon {
  background: linear-gradient(135deg, rgba(190, 18, 60, 0.08), rgba(245, 158, 11, 0.08)) !important;
  border-color: rgba(190, 18, 60, 0.2) !important;
  color: var(--primary) !important;
}

.nav-brand:hover .logo-icon {
  transform: rotate(15deg) scale(1.08) !important;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.25), rgba(245, 158, 11, 0.25)) !important;
  border-color: rgba(244, 63, 94, 0.4) !important;
  box-shadow: 0 6px 15px rgba(244, 63, 94, 0.15) !important;
}

.nav-brand .logo-text {
  font-family: 'Outfit', 'Inter', sans-serif !important;
  font-weight: 800 !important;
  font-size: 1.45rem !important;
  letter-spacing: -0.5px !important;
  background: linear-gradient(135deg, var(--text-primary) 60%, var(--text-secondary)) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: flex !important;
  align-items: center !important;
}

.nav-brand .logo-text .logo-accent {
  font-weight: 300 !important;
  color: var(--primary-light) !important;
  -webkit-text-fill-color: var(--primary-light) !important;
}

body.light-theme .nav-brand .logo-text {
  background: linear-gradient(135deg, #0f172a 60%, #475569) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.light-theme .nav-brand .logo-text .logo-accent {
  color: var(--primary) !important;
  -webkit-text-fill-color: var(--primary) !important;
}

/* Dual Column Hero Layout */
.hero .container {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 40px !important;
  align-items: center !important;
}

@media(max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    padding-top: 40px !important;
  }
  .hero-card {
    margin: 0 auto !important;
  }
  .hero-interactive-showcase {
    display: none !important;
  }
}

.hero-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  border-radius: 99px !important;
  background: rgba(244, 63, 94, 0.12) !important;
  border: 1px solid rgba(244, 63, 94, 0.25) !important;
  color: var(--primary-light) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.05) !important;
  animation: pulse-badge 2s infinite !important;
}

body.light-theme .hero-badge {
  background: rgba(190, 18, 60, 0.06) !important;
  border-color: rgba(190, 18, 60, 0.15) !important;
  color: var(--primary) !important;
}

@keyframes pulse-badge {
  0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.3); }
  70% { box-shadow: 0 0 0 8px rgba(244, 63, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

.hero-interactive-showcase {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  height: 100% !important;
}

.showcase-plate-wrapper {
  position: relative !important;
  width: 280px !important;
  height: 280px !important;
  animation: float-plate 6s ease-in-out infinite !important;
}

.showcase-plate {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
  border: 4px solid var(--border-glass) !important;
}

body.light-theme .showcase-plate {
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12) !important;
  border-color: #ffffff !important;
}

.showcase-badge-floating {
  position: absolute !important;
  padding: 12px 16px !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-glass) !important;
  backdrop-filter: var(--glass-blur) !important;
  border: 1px solid var(--border-glass) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  z-index: 10 !important;
  font-size: 0.8rem !important;
}

.showcase-badge-floating.badge-1 {
  bottom: 0px !important;
  left: -20px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  animation: hover-floating-1 4s ease-in-out infinite !important;
}

.showcase-badge-floating.badge-2 {
  top: 10px !important;
  right: -25px !important;
  background: rgba(15, 23, 42, 0.75) !important;
  animation: hover-floating-2 4s ease-in-out infinite 2s !important;
}

body.light-theme .showcase-badge-floating {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: #0f172a !important;
}

@keyframes float-plate {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes hover-floating-1 {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes hover-floating-2 {
  0% { transform: translateY(0); }
  50% { transform: translateY(6px); }
  100% { transform: translateY(0); }
}

/* ==========================================================================
   LIGHT/DARK THEME UNIFICATION & REMOVAL OF GREEN HIGHLIGHTS
   ========================================================================== */

/* Active Sidebar Navigation in Admin */
.sidebar-tab.active {
  background: rgba(244, 63, 94, 0.12) !important;
  color: var(--primary-light) !important;
  border-color: rgba(244, 63, 94, 0.25) !important;
  box-shadow: 0 4px 15px rgba(244, 63, 94, 0.05) !important;
}

body.light-theme .sidebar-tab.active {
  background: rgba(190, 18, 60, 0.06) !important;
  color: var(--primary) !important;
  border-color: rgba(190, 18, 60, 0.15) !important;
  box-shadow: 0 4px 12px rgba(190, 18, 60, 0.04) !important;
}

/* Overview Stat Card - Dishes Glow */
.stat-card.dishes-glow {
  border-left: 4px solid var(--primary) !important;
}

.stat-card.dishes-glow:hover {
  background: rgba(244, 63, 94, 0.06) !important;
  border-color: rgba(244, 63, 94, 0.2) !important;
  box-shadow: var(--shadow-glass), 0 5px 20px rgba(244, 63, 94, 0.05) !important;
}

body.light-theme .stat-card.dishes-glow:hover {
  background: rgba(190, 18, 60, 0.03) !important;
  border-color: rgba(190, 18, 60, 0.12) !important;
  box-shadow: var(--shadow-glass), 0 5px 20px rgba(190, 18, 60, 0.02) !important;
}

/* Active Login Tab Buttons */
.auth-tab:hover,
.auth-tab.active {
  color: #ffffff !important;
  border-color: rgba(244, 63, 94, 0.34) !important;
  background: rgba(244, 63, 94, 0.18) !important;
}

body.light-theme .auth-tab:hover,
body.light-theme .auth-tab.active {
  color: var(--primary-dark) !important;
  background: rgba(190, 18, 60, 0.06) !important;
  border-color: rgba(190, 18, 60, 0.15) !important;
}

/* Login Page Body Backdrop */
.login-body-bg {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 9, 19, 0.8), rgba(15, 9, 19, 0.65)), 
              url('../img/hero_bg.jpg') center/cover fixed !important;
}

body.light-theme.login-body-bg {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.88), rgba(248, 250, 252, 0.95)), 
              url('../img/hero_bg.jpg') center/cover fixed !important;
}

/* Navbar Link Hover and Active states in Light Theme */
body.light-theme .nav-links a:hover,
body.light-theme .nav-links a.active {
  color: var(--primary-dark) !important;
  background: rgba(190, 18, 60, 0.06) !important;
  border-color: rgba(190, 18, 60, 0.15) !important;
}

/* ==========================================================================
   TOASTS IMPROVEMENTS
   ========================================================================= */
body.light-theme .toast {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #0f172a !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

body.light-theme .toast-close {
  color: #64748b !important;
}

.toast i {
  font-size: 1.1rem;
}

/* ==========================================================================
   GLASSMORPHIC MULTI-TONE FEATURE CARDS ROW
   ========================================================================== */
.features-grid {
  gap: 24px !important;
}

.feature-card {
  position: relative !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
  backdrop-filter: blur(8px) !important;
  padding: 24px 20px !important;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
  overflow: hidden !important;
}

body.light-theme .feature-card {
  background: rgba(255, 255, 255, 0.8) !important;
  border-color: rgba(15, 23, 42, 0.06) !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02) !important;
}

.feature-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 12px !important;
  font-size: 1.6rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: var(--transition) !important;
  flex-shrink: 0 !important;
  border: 1px solid transparent !important;
}

.feature-info h3 {
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  margin-bottom: 5px !important;
}

.feature-info p {
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
  line-height: 1.4 !important;
}

/* Card Specific Colors and Hover Effects */

/* Thẻ 1: Rose (Giao Món Siêu Tốc) */
.feature-card.card-rose .feature-icon {
  background: rgba(244, 63, 94, 0.1) !important;
  color: #fb7185 !important;
  border-color: rgba(244, 63, 94, 0.15) !important;
}
body.light-theme .feature-card.card-rose .feature-icon {
  background: rgba(190, 18, 60, 0.05) !important;
  color: #be123c !important;
  border-color: rgba(190, 18, 60, 0.1) !important;
}
.feature-card.card-rose:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(244, 63, 94, 0.3) !important;
  box-shadow: 0 12px 30px rgba(244, 63, 94, 0.15), var(--shadow-glass) !important;
}
body.light-theme .feature-card.card-rose:hover {
  border-color: rgba(190, 18, 60, 0.25) !important;
  box-shadow: 0 12px 30px rgba(190, 18, 60, 0.08), 0 4px 15px rgba(0,0,0,0.01) !important;
}

/* Thẻ 2: Gold (Nguyên Liệu 5 Sao) */
.feature-card.card-gold .feature-icon {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #fbbf24 !important;
  border-color: rgba(245, 158, 11, 0.15) !important;
}
body.light-theme .feature-card.card-gold .feature-icon {
  background: rgba(217, 119, 6, 0.05) !important;
  color: #d97706 !important;
  border-color: rgba(217, 119, 6, 0.1) !important;
}
.feature-card.card-gold:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.15), var(--shadow-glass) !important;
}
body.light-theme .feature-card.card-gold:hover {
  border-color: rgba(217, 119, 6, 0.25) !important;
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.08), 0 4px 15px rgba(0,0,0,0.01) !important;
}

/* Thẻ 3: Blue (Đầu Bếp Michelin) */
.feature-card.card-blue .feature-icon {
  background: rgba(59, 130, 246, 0.1) !important;
  color: #60a5fa !important;
  border-color: rgba(59, 130, 246, 0.15) !important;
}
body.light-theme .feature-card.card-blue .feature-icon {
  background: rgba(29, 78, 216, 0.05) !important;
  color: #1d4ed8 !important;
  border-color: rgba(29, 78, 216, 0.1) !important;
}
.feature-card.card-blue:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(59, 130, 246, 0.3) !important;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15), var(--shadow-glass) !important;
}
body.light-theme .feature-card.card-blue:hover {
  border-color: rgba(29, 78, 216, 0.25) !important;
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.08), 0 4px 15px rgba(0,0,0,0.01) !important;
}

/* Thẻ 4: Green (Dịch Vụ Hoàn Hảo) */
.feature-card.card-green .feature-icon {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #34d399 !important;
  border-color: rgba(16, 185, 129, 0.15) !important;
}
body.light-theme .feature-card.card-green .feature-icon {
  background: rgba(5, 150, 105, 0.05) !important;
  color: #059669 !important;
  border-color: rgba(5, 150, 105, 0.1) !important;
}
.feature-card.card-green:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.15), var(--shadow-glass) !important;
}
body.light-theme .feature-card.card-green:hover {
  border-color: rgba(5, 150, 105, 0.25) !important;
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.08), 0 4px 15px rgba(0,0,0,0.01) !important;
}

/* ==========================================================================
   PREMIUM SITE FOOTER REDESIGN
   ========================================================================== */
.footer.site-footer {
  margin-top: 60px !important;
  padding: 0 !important;
  text-align: left !important;
  color: var(--text-secondary) !important;
  background: linear-gradient(180deg, rgba(9, 13, 22, 0.6), rgba(9, 13, 22, 0.95)) !important;
  border-top: 1px solid rgba(244, 63, 94, 0.15) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
}

body.light-theme .footer.site-footer {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.7), rgba(248, 250, 252, 0.95)) !important;
  border-top-color: rgba(190, 18, 60, 0.12) !important;
}

.footer-brand-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.footer-logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
  text-decoration: none !important;
  color: var(--text-primary) !important;
}

.footer-badges span {
  padding: 7px 14px !important;
  border-radius: 999px !important;
  color: var(--primary-light) !important;
  background: rgba(244, 63, 94, 0.08) !important;
  border: 1px solid rgba(244, 63, 94, 0.15) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

body.light-theme .footer-badges span {
  color: var(--primary) !important;
  background: rgba(190, 18, 60, 0.04) !important;
  border-color: rgba(190, 18, 60, 0.1) !important;
}

.footer-badges span:hover {
  background: rgba(244, 63, 94, 0.15) !important;
  border-color: rgba(244, 63, 94, 0.3) !important;
  transform: translateY(-1px) !important;
}

.footer-socials {
  display: flex !important;
  gap: 12px !important;
  margin-top: 20px !important;
}

.footer-socials a {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--text-secondary) !important;
  transition: var(--transition) !important;
  font-size: 0.95rem !important;
}

body.light-theme .footer-socials a {
  background: rgba(15, 23, 42, 0.04) !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  color: #475569 !important;
}

.footer-socials a:hover {
  color: #ffffff !important;
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.2) !important;
}

body.light-theme .footer-socials a:hover {
  color: #ffffff !important;
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 12px rgba(190, 18, 60, 0.25) !important;
}

.footer-col h3 {
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  color: var(--text-primary) !important;
  letter-spacing: 0.3px !important;
  border-bottom: 2px solid rgba(244, 63, 94, 0.2) !important;
  padding-bottom: 6px !important;
  display: inline-block !important;
  margin-bottom: 18px !important;
}

body.light-theme .footer-col h3 {
  border-bottom-color: rgba(190, 18, 60, 0.15) !important;
}

.footer-col a {
  text-decoration: none !important;
  transition: var(--transition) !important;
}

.footer-col a:hover {
  color: var(--primary-light) !important;
  transform: translateX(4px) !important;
}

body.light-theme .footer-col a:hover {
  color: var(--primary) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding-top: 24px !important;
  padding-bottom: 28px !important;
}

body.light-theme .footer-bottom {
  border-top-color: rgba(15, 23, 42, 0.06) !important;
}

.footer-bottom a {
  text-decoration: none !important;
  color: var(--primary-light) !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

body.light-theme .footer-bottom a {
  color: var(--primary) !important;
}

.footer-bottom a:hover {
  opacity: 0.8 !important;
  text-shadow: 0 0 10px rgba(244, 63, 94, 0.15) !important;
}

/* Redefine Primary Buttons Globally to Rose & Gold Gradient */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.2) !important;
  color: #ffffff !important;
  border: none !important;
  transition: var(--transition) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-light)) !important;
  box-shadow: 0 10px 25px rgba(244, 63, 94, 0.3) !important;
  transform: translateY(-2px) !important;
}

body.light-theme .btn-primary {
  background: linear-gradient(135deg, #be123c, #f59e0b) !important; /* Crimson to Amber */
  box-shadow: 0 6px 18px rgba(190, 18, 60, 0.15) !important;
}

body.light-theme .btn-primary:hover {
  background: linear-gradient(135deg, #9f1239, #fbbf24) !important;
  box-shadow: 0 10px 24px rgba(190, 18, 60, 0.25) !important;
}

/* Stepper Node shadows */
.step-node.completed .step-circle {
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.25) !important;
}

.step-node.active .step-circle {
  box-shadow: 0 0 15px rgba(244, 63, 94, 0.3) !important;
}



