@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* Gourmet Warm Palette */
  --primary: #A31D1D;
  --primary-gradient: linear-gradient(135deg, #A31D1D 0%, #7A1212 100%);
  --primary-hover: #8B0000;
  --secondary: #D98324;
  --secondary-gradient: linear-gradient(135deg, #F4A261 0%, #D98324 100%);
  --accent-green: #2E7D32;
  --whatsapp-btn: #25D366;
  --whatsapp-hover: #1EBE5D;
  
  /* Surface & Backgrounds */
  --bg-page: #FFFBF5;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFF8F0;
  --bg-dark: #1E1917;
  --bg-dark-card: #2A2421;
  
  /* Typography & Colors */
  --text-main: #2C1810;
  --text-muted: #6D584C;
  --text-light: #FBF7F4;
  --border-color: #E8D8C8;
  --border-focus: #D98324;
  
  /* Shadows & Radius */
  --shadow-xs: 0 2px 4px rgba(44, 24, 16, 0.04);
  --shadow-sm: 0 4px 12px rgba(44, 24, 16, 0.08);
  --shadow-md: 0 12px 28px rgba(44, 24, 16, 0.12);
  --shadow-lg: 0 20px 48px rgba(44, 24, 16, 0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--text-main);
}

/* Glassmorphic Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 251, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary);
}

.brand-logo-img {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  object-fit: contain;
  border-radius: var(--radius-full);
  background: #fff;
  padding: 2px;
  box-shadow: 0 4px 12px rgba(163, 29, 29, 0.25);
  border: 2px solid var(--secondary);
  transition: var(--transition);
  display: inline-block;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 6px 18px rgba(163, 29, 29, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--secondary);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cart-toggle-btn {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.cart-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.cart-badge {
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-badge.pulse {
  transform: scale(1.3);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 4rem 5% 5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  min-height: 80vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 2;
}

.advance-notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(217, 131, 36, 0.15);
  border: 1px solid rgba(217, 131, 36, 0.4);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  width: fit-content;
  color: #B56510;
  font-weight: 700;
  font-size: 0.85rem;
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0% { box-shadow: 0 0 0 0 rgba(217, 131, 36, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(217, 131, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 131, 36, 0); }
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--text-main);
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
}

/* Cutoff Countdown Box */
.cutoff-timer-box {
  background: var(--bg-surface);
  border: 2px dashed var(--secondary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  max-width: 520px;
}

.timer-info h4 {
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timer-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.countdown-clock {
  display: flex;
  gap: 0.5rem;
}

.time-unit {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 50px;
}

.time-val {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.time-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #A09088;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(163, 29, 29, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(163, 29, 29, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--border-color);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--text-main);
  background: rgba(44, 24, 16, 0.04);
}

/* Hero Image Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 550px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
  transform: rotate(1.5deg);
  transition: var(--transition);
}

.hero-img-wrapper:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.visual-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(30, 25, 23, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 4px solid var(--secondary);
}

.visual-badge-text h5 {
  font-size: 0.95rem;
  margin: 0;
  font-family: 'Outfit', sans-serif;
  color: var(--secondary);
}

.visual-badge-text p {
  font-size: 0.8rem;
  margin: 0;
  color: #D8CEC8;
}

/* Ordering Mode Switcher */
.ordering-section {
  padding: 4rem 5%;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.mode-switcher-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.mode-switcher {
  background: var(--bg-page);
  border: 1.5px solid var(--border-color);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.04);
}

.mode-btn {
  border: none;
  background: transparent;
  padding: 0.85rem 2.25rem;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 2;
}

.mode-btn.active {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 12px rgba(163, 29, 29, 0.25);
}

.mode-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.2);
  font-weight: 800;
}

.mode-btn:not(.active) .mode-badge {
  background: rgba(163, 29, 29, 0.15);
  color: var(--primary);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background: var(--bg-page);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.product-img-box {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #EFE8DF;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(163, 29, 29, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.product-moq-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(30, 25, 23, 0.85);
  backdrop-filter: blur(4px);
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 131, 36, 0.4);
}

.product-content {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed var(--border-color);
  margin-bottom: 1.25rem;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.price-current {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.price-unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-original {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: -4px;
}

.shelf-life-info {
  font-size: 0.8rem;
  color: var(--accent-green);
  font-weight: 600;
  background: rgba(46, 125, 50, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.qty-controls {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 46px;
}

.qty-btn {
  background: transparent;
  border: none;
  width: 38px;
  height: 100%;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--bg-page);
  color: var(--primary);
}

.qty-input {
  width: 48px;
  height: 100%;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  background: transparent;
}

.btn-add-cart {
  flex: 1;
  background: var(--bg-dark);
  color: #fff;
  border: none;
  height: 46px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-add-cart:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(163, 29, 29, 0.25);
}

/* 1-Day Advance Pre-Order Modal / Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 25, 23, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -550px;
  width: 100%;
  max-width: 520px;
  height: 100%;
  background: var(--bg-page);
  z-index: 2001;
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 1.5rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.close-cart-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.close-cart-btn:hover {
  background: rgba(0,0,0,0.05);
  color: var(--primary);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

/* Advance Date Notice in Cart */
.advance-date-notice {
  background: linear-gradient(135deg, #FFF0E0 0%, #FFE4C4 100%);
  border: 1px solid #D98324;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.notice-icon {
  font-size: 1.5rem;
}

.notice-text h5 {
  font-size: 0.95rem;
  color: #B56510;
  margin-bottom: 0.2rem;
  font-family: 'Outfit', sans-serif;
}

.notice-text p {
  font-size: 0.8rem;
  color: #7A4B1A;
  margin: 0;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cart-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #D32F2F;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.4rem;
  transition: var(--transition);
}

.cart-item-remove:hover {
  transform: scale(1.2);
}

/* Advance Delivery Details Form */
.delivery-form-section {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-label span {
  color: #D32F2F;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--bg-page);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(163, 29, 29, 0.1);
}

.date-picker-input {
  font-weight: 700;
  color: var(--primary);
}

.timeslot-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.timeslot-option {
  position: relative;
}

.timeslot-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.timeslot-label {
  display: block;
  padding: 0.75rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-page);
}

.timeslot-option input:checked + .timeslot-label {
  border-color: var(--primary);
  background: rgba(163, 29, 29, 0.08);
  color: var(--primary);
  font-weight: 700;
}

/* Cart Footer */
.cart-footer {
  padding: 1.5rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.04);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cart-summary-row.total {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  border-top: 1px dashed var(--border-color);
  padding-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.cart-summary-row.total span:last-child {
  color: var(--primary);
}

.btn-whatsapp-order {
  width: 100%;
  background: var(--whatsapp-btn);
  color: #fff;
  border: none;
  padding: 1.1rem;
  border-radius: var(--radius-full);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-order:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

/* Live Kitchen / Supplier Dispatch Board */
.supplier-board-section {
  padding: 5rem 5%;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-color);
}

.board-container {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.board-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.board-title h3 {
  font-size: 1.75rem;
}

.board-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.board-filter-pill {
  background: rgba(163, 29, 29, 0.1);
  color: var(--primary);
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.table-responsive {
  overflow-x: auto;
}

.dispatch-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.dispatch-table th {
  background: var(--bg-page);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 2px solid var(--border-color);
}

.dispatch-table td {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
  vertical-align: middle;
}

.dispatch-table tr:hover {
  background: var(--bg-page);
}

.status-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge.confirmed {
  background: rgba(46, 125, 50, 0.15);
  color: #2E7D32;
}

.status-badge.pending {
  background: rgba(217, 131, 36, 0.15);
  color: #B56510;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 5% 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about h4 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-about p {
  color: #A09088;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links h5 {
  color: var(--secondary);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  font-family: 'Outfit', sans-serif;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #D8CEC8;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #887870;
  font-size: 0.85rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-dark);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 4px solid var(--secondary);
  animation: slideInRight 0.3s forwards;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-content {
    align-items: center;
  }
  .cutoff-timer-box {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 0.8rem 5%;
  }
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .mode-btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Out of Stock Card Styling */
.out-of-stock-card {
  opacity: 0.75;
  filter: grayscale(40%);
}
.out-of-stock-card .product-img {
  filter: grayscale(80%);
}

/* Printable Kitchen Route Slips */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .admin-navbar, .stats-bar, .pin-overlay, .modal-overlay, button {
    display: none !important;
  }
  .admin-section {
    padding: 0 !important;
    margin: 0 !important;
  }
  .admin-panel-card {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  #tabContentRoutes {
    display: block !important;
  }
  #tabContentOrders, #tabContentProducts {
    display: none !important;
  }
}
