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

:root {
  --primary: #C0392B;
  --primary-hover: #A93226;
  --accent: #E67E22;
  --background: #FFF8F0;
  --surface: #FFFFFF;
  --dark: #1A1A2E;
  --text: #2C2C2C;
  --text-muted: #555555;
  --border: #F3ECE3;
  --veg: #27AE60;
  --nonveg: #C0392B;
  --radius: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(26, 26, 46, 0.05);
  --shadow-md: 0 12px 30px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 20px 40px rgba(26, 26, 46, 0.12);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 70px;
  --banner-height: 40px;
}

/* ===== GLOBAL RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--primary) var(--background);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ===== ACCESSIBILITY & FOCUS ===== */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* ===== UTILITIES & CONTAINERS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  gap: 8px;
  transition: var(--transition);
  min-height: 44px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--surface);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.3);
}

.btn-outline {
  border: 2px solid var(--surface);
  color: var(--surface);
}

.btn-outline:hover {
  background-color: var(--surface);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--surface);
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-block {
  width: 100%;
}

.veg-badge, .nonveg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 2px solid var(--veg);
  border-radius: 4px;
  padding: 2px;
}

.nonveg-badge {
  border-color: var(--nonveg);
}

.veg-badge::after, .nonveg-badge::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--veg);
}

.nonveg-badge::after {
  background-color: var(--nonveg);
}

/* ===== ANNOUNCEMENT BANNER ===== */
.announcement-banner {
  background-color: var(--primary);
  color: var(--surface);
  height: var(--banner-height);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  padding: 0 40px;
  position: relative;
  z-index: 1001;
  text-align: center;
  transition: margin-top 0.3s ease;
}

.announcement-banner.hidden {
  margin-top: calc(-1 * var(--banner-height));
  pointer-events: none;
}

.announcement-banner button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--surface);
  font-size: 18px;
  opacity: 0.8;
  padding: 5px;
  display: flex;
  align-items: center;
}

.announcement-banner button:hover {
  opacity: 1;
}

/* ===== NAVBAR ===== */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  height: var(--nav-height);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  transition: var(--transition);
}

.header-wrapper.scrolled {
  background-color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.header-wrapper.scrolled .navbar {
  height: calc(var(--nav-height) - 10px);
}

.logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 1003;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hamburger active animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ===== LOADING SCREEN ===== */
.loader-screen {
  position: fixed;
  inset: 0;
  background-color: var(--background);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-pizza {
  font-size: 64px;
  animation: spin 2s linear infinite;
  display: inline-block;
}

.loader-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 80px 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(26, 26, 46, 0.6) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 650px;
}

.hero h1 {
  font-size: 54px;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 18px;
  margin-bottom: 35px;
  opacity: 0.9;
  color: #ffffff;
  text-wrap: balance;
}

.hero .btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.hero .btn-outline:hover {
  background-color: #ffffff;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.trust-badges {
  display: flex;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.trust-badge span:first-child {
  font-size: 20px;
}

/* ===== CATEGORIES QUICK NAV ===== */
.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--dark);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary);
  border-radius: 2px;
}

.categories-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  padding: 12px 4px;
  scrollbar-width: none; /* Firefox */
}

.categories-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 130px;
  height: 130px;
  background-color: var(--surface);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.category-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.category-card span:last-child {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
}

/* ===== PRODUCTS GRID (BEST SELLERS & MENU) ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.product-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #EEE;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-badge {
  background-color: var(--surface);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.product-veg-type {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  padding: 6px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.size-selector {
  width: 100%;
  margin-bottom: 16px;
}

.size-selector label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.size-select-pills {
  display: flex;
  gap: 8px;
}

.size-pill {
  flex: 1;
  text-align: center;
  border: 1px solid var(--border);
  padding: 6px 0;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.size-pill.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--surface);
}

/* Quantity Counter CSS */
.qty-counter {
  display: flex;
  align-items: center;
  background-color: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  height: 44px;
}

.qty-btn {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  transition: var(--transition);
}

.qty-btn:hover {
  background-color: rgba(26, 26, 46, 0.05);
}

.qty-val {
  padding: 0 12px;
  font-weight: 600;
  font-size: 15px;
  min-width: 30px;
  text-align: center;
}

.btn-added {
  background-color: var(--veg) !important;
  color: var(--surface) !important;
  animation: green-flash 0.5s ease;
}

@keyframes green-flash {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); background-color: #2ECC71; }
  100% { transform: scale(1); }
}

/* ===== WHY CHOOSE US ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-block {
  text-align: center;
  background-color: var(--surface);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.feature-block:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.feature-block h3 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-block p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== HOW TO ORDER ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.step-card {
  text-align: center;
  position: relative;
  background-color: var(--surface);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: var(--surface);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--background);
  box-shadow: var(--shadow-sm);
}

.step-card h3 {
  font-size: 18px;
  color: var(--dark);
  margin-top: 10px;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== INSTAGRAM STRIP ===== */
.instagram-strip {
  background-color: var(--dark);
  color: var(--surface);
  padding: 80px 0;
}

.instagram-strip h2 {
  color: var(--surface);
}

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

.instagram-box {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: rgba(255,255,255,0.05);
}

.instagram-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(192, 57, 43, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  font-size: 24px;
  color: var(--surface);
}

.instagram-box:hover .instagram-overlay {
  opacity: 1;
}

.instagram-box:hover img {
  transform: scale(1.08);
}

.instagram-strip-btn {
  text-align: center;
}

/* ===== STICKY CATEGORY FILTER BAR ===== */
.category-filter-wrapper {
  position: sticky;
  top: var(--nav-height);
  background-color: var(--background);
  z-index: 99;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-wrapper.scrolled + .category-filter-wrapper {
  top: calc(var(--nav-height) - 10px);
}

.category-filter-bar {
  display: flex;
  gap: 12px;
  padding: 12px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1200px;
  margin: 0 auto;
}

.category-filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  flex: 0 0 auto;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background-color: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.filter-pill:hover, .filter-pill.active {
  background-color: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}

/* ===== FLOATING CART BUTTON ===== */
.floating-cart-btn {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
  font-size: 20px;
}

.floating-cart-btn:hover {
  transform: scale(1.1);
  background-color: var(--primary-hover);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent);
  color: var(--surface);
  font-size: 11px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
}

/* ===== CART SIDEBAR DRAWER ===== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  height: 100%;
  background-color: var(--surface);
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 26, 46, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  font-size: 20px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-close-btn {
  font-size: 24px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 5px;
}

.cart-close-btn:hover {
  color: var(--primary);
}

.clear-cart-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}

.clear-cart-link:hover {
  text-decoration: underline;
}

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  gap: 16px;
}

.cart-empty-icon {
  font-size: 64px;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.cart-empty-text {
  font-size: 15px;
  color: var(--text-muted);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.cart-item-size {
  font-size: 11px;
  color: var(--text-muted);
}

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

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-item .qty-counter {
  height: 32px;
  width: 90px;
}

.cart-item .qty-btn {
  font-size: 14px;
}

.cart-item .qty-val {
  padding: 0 6px;
  font-size: 13px;
  min-width: 20px;
}

.cart-item-remove {
  font-size: 18px;
  color: var(--text-muted);
  padding: 6px;
  display: flex;
  align-items: center;
}

.cart-item-remove:hover {
  color: var(--primary);
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(26,26,46,0.03);
  background-color: var(--surface);
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cart-summary-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.cart-summary-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.delivery-note {
  font-size: 12px;
  color: var(--veg);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.cart-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.form-group input, .form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 8px;
  background-color: var(--background);
  font-size: 13px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary);
  background-color: var(--surface);
}

.form-error {
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  display: none;
}

/* ===== STICKY WHATSAPP & BACK TO TOP BUTTONS ===== */
.sticky-whatsapp-chat {
  position: fixed;
  bottom: 24px;
  left: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25D366;
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
  font-size: 24px;
}

.sticky-whatsapp-chat:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}

.chat-tooltip {
  position: absolute;
  left: 68px;
  background-color: var(--dark);
  color: var(--surface);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: var(--transition);
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.sticky-whatsapp-chat:hover .chat-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  font-size: 18px;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background-color: var(--surface);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-info-icon {
  font-size: 28px;
  background-color: var(--background);
  color: var(--primary);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card h3 {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-info-card a:hover {
  color: var(--primary);
}

.contact-form-panel {
  background-color: var(--surface);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-form-panel h3 {
  font-size: 22px;
  color: var(--dark);
  margin-bottom: 24px;
}

.map-section {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.map-container {
  height: 400px;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.social-links-wrap {
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark);
  color: #ffffff;
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 24px;
  max-width: 250px;
  color: #ffffff;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
  color: #ffffff;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  opacity: 0.8;
  color: #ffffff;
}

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

.footer-hours-list {
  list-style: none;
  font-size: 14px;
  opacity: 0.8;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  opacity: 0.8;
}

.footer-contact-info li {
  display: flex;
  gap: 12px;
}

.footer-contact-info li span:first-child {
  color: var(--primary);
}

.bottom-bar {
  text-align: center;
  padding-top: 30px;
  font-size: 15px;
  opacity: 0.95;
  font-weight: 500;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.bottom-bar a {
  font-size: 16px;
  font-weight: bold;
}

/* ===== 404 PAGE ===== */
.lost-pizza-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.lost-pizza-content {
  max-width: 500px;
  background-color: var(--surface);
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.lost-pizza-emoji {
  font-size: 80px;
  margin-bottom: 24px;
  animation: wobble 2.5s ease-in-out infinite;
  display: inline-block;
}

@keyframes wobble {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-15deg) scale(1.1); }
  30% { transform: rotate(12deg) scale(1.1); }
  45% { transform: rotate(-10deg) scale(1.05); }
  60% { transform: rotate(8deg) scale(1.05); }
  75% { transform: rotate(-3deg); }
}

.lost-pizza-content h1 {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 16px;
}

.lost-pizza-content p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 42px;
  }
  
  .features-grid, .steps-grid {
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* Layout adjustments */
  .section-padding {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  /* Navigation */
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: calc(var(--nav-height) + var(--banner-height));
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - var(--nav-height) - var(--banner-height));
    background-color: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 1002;
    transition: left 0.3s ease;
  }
  
  .announcement-banner.hidden + .header-wrapper .nav-links {
    top: var(--nav-height);
    height: calc(100vh - var(--nav-height));
  }
  
  .nav-links.open {
    left: 0;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
  }
  
  .navbar-overlay {
    position: fixed;
    inset: 0;
    top: calc(var(--nav-height) + var(--banner-height));
    background-color: rgba(26,26,46,0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .announcement-banner.hidden + .header-wrapper .navbar-overlay {
    top: var(--nav-height);
  }
  
  .navbar-overlay.open {
    opacity: 1;
    visibility: visible;
  }
  
  .nav-actions .btn {
    display: none; /* Hide Order Now CTA in header on mobile */
  }
  
  /* Hero */
  .hero {
    min-height: auto;
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 15px;
    margin-bottom: 24px;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 12px;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 16px;
  }
  
  /* Grids */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .product-img-wrapper {
    height: 140px;
  }
  
  .product-body {
    padding: 12px;
  }
  
  .product-title {
    font-size: 15px;
    margin-bottom: 4px;
  }
  
  .product-desc {
    display: none; /* Hide product desc on mobile for layout density */
  }
  
  .product-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .size-pill {
    padding: 4px 0;
    font-size: 11px;
  }
  
  .product-price {
    font-size: 15px;
  }
  
  .qty-counter {
    width: 100%;
    height: 38px;
  }
  
  .features-grid, .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  /* Contact page */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* Cart sidebar */
  .cart-drawer {
    width: 100vw;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr); /* Stay 2-column as per requirements */
    gap: 10px;
  }
  
  .product-img-wrapper {
    height: 120px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== DUAL ADMIN SYSTEM & MODALS ===== */
.admin-navbar-wrapper {
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1001;
  padding: 15px 0;
}
.admin-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-navbar .nav-brand {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}
.admin-navbar nav {
  display: flex;
  gap: 20px;
}
.admin-navbar .nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 6px;
}
.admin-navbar .nav-link:hover, .admin-navbar .nav-link.active {
  color: var(--primary);
  background-color: var(--background);
}
.admin-navbar .nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.role-badge {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: capitalize;
}
.role-badge.owner {
  background-color: var(--primary);
  color: var(--surface);
}
.role-badge.waiter {
  background-color: var(--accent);
  color: var(--surface);
}
.logout-btn {
  background-color: var(--dark);
  color: var(--surface);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.logout-btn:hover {
  background-color: var(--primary);
}

/* Login screen */
.login-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--background);
  padding: 20px;
}
.login-card {
  background-color: var(--surface);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.login-card .logo {
  font-size: 32px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.login-card h2 {
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 24px;
}
.login-role-selector {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.login-role-option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
}
.login-role-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}
.password-input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}
.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  padding: 4px;
  cursor: pointer;
  color: var(--text-muted);
}
.login-error-msg {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  display: none;
}
.back-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.back-link:hover {
  color: var(--primary);
}

/* Stats dashboard */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.stat-card {
  background-color: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Order Board */
.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.order-card {
  background-color: var(--surface);
  border-radius: var(--radius);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  overflow: hidden;
}
.order-card.new-order-pulse {
  border-color: var(--accent);
  animation: pulse-border 1.5s infinite;
}
@keyframes pulse-border {
  0% { border-color: var(--border); }
  50% { border-color: var(--accent); }
  100% { border-color: var(--border); }
}
.order-header {
  padding: 16px 20px;
  background-color: var(--background);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}
.order-time {
  font-size: 12px;
  color: var(--text-muted);
}
.order-body {
  padding: 20px;
  flex-grow: 1;
}
.customer-details {
  font-size: 14px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.customer-details div {
  margin-bottom: 4px;
}
.customer-details strong {
  color: var(--dark);
}
.order-items {
  margin-bottom: 16px;
}
.order-item-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 6px;
}
.order-item-name {
  color: var(--text);
  font-weight: 500;
}
.order-item-price {
  color: var(--text-muted);
}
.order-notes-section {
  background-color: var(--background);
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
}
.note-input-group {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.note-input {
  flex-grow: 1;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
}
.note-btn {
  background-color: var(--dark);
  color: var(--surface);
  border-radius: 4px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
}
.order-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background-color: var(--surface);
}
.order-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.order-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.status-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.status-active { background-color: #E8F4FD; color: #1D9BF0; }
.status-confirmed { background-color: #FEF9E7; color: #F1C40F; }
.status-ready { background-color: #E8F8F5; color: #2ECC71; }
.status-completed { background-color: #EAFAF1; color: #27AE60; }

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  display: flex;
  opacity: 1;
}
.modal-container {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-container {
  transform: translateY(0);
}
.modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 {
  font-size: 20px;
  color: var(--dark);
}
.modal-close-btn {
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-body {
  padding: 30px;
}

/* CMS Page */
.cms-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 8px;
  margin-bottom: 30px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cms-tabs::-webkit-scrollbar {
  display: none;
}
.cms-tab-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 20px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
}
.cms-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.cms-tab-panel {
  display: none;
}
.cms-tab-panel.active {
  display: block;
}
.panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
@media (max-width: 992px) {
  .panel-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
.cms-table-wrapper {
  background-color: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.cms-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.cms-table th, .cms-table td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}
.cms-table th {
  background-color: var(--background);
  font-weight: 600;
  color: var(--dark);
}
.cms-table tr:last-child td {
  border-bottom: none;
}
.cms-table img {
  border-radius: 4px;
  object-fit: cover;
}
.btn-action-group {
  display: flex;
  gap: 8px;
}
.btn-small {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
}
.btn-edit { background-color: var(--background); color: var(--dark); border: 1px solid var(--border); }
.btn-edit:hover { background-color: var(--border); }
.btn-delete { background-color: #FDEDEC; color: var(--primary); }
.btn-delete:hover { background-color: #FADBD8; }
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .toggle-slider {
  background-color: var(--primary);
}
input:checked + .toggle-slider:before {
  transform: translateX(24px);
}
.chip-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.table-chip {
  padding: 6px 12px;
  border-radius: 20px;
  background-color: var(--background);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.table-chip-remove {
  cursor: pointer;
  color: var(--primary);
  font-weight: 700;
}

/* ===== ORDER OPTIONS SECTION ===== */
.order-options {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--background);
}

.order-options h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--dark);
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 48px;
}

.order-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.order-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px 30px;
  width: 280px;
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.order-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Featured card (Dine In) */
.order-card.featured {
  border-top-color: var(--accent);
  background: linear-gradient(135deg, var(--background), var(--surface));
}

.card-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.order-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--dark);
  margin-bottom: 10px;
}

.order-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
  flex-grow: 1;
}

.btn-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--surface);
  padding: 12px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 15px;
  transition: var(--transition);
  min-height: 44px;
  width: 100%;
}

.btn-order:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 57, 43, 0.2);
}

.order-card.featured .btn-order:hover {
  background-color: var(--primary);
}

/* Mobile */
@media (max-width: 768px) {
  .order-cards {
    flex-direction: column;
    align-items: center;
  }
  .order-card {
    width: 100%;
    max-width: 340px;
  }
}

/* Cart Order Mode Selector */
.order-mode-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  width: 100%;
}
.mode-pill {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: var(--transition);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.mode-pill.active {
  background-color: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.2);
}

/* Customizer Modal Styles */
.cust-section {
  margin-bottom: 24px;
}
.cust-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark);
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 6px;
}
.cust-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cust-option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.cust-option-card:hover {
  border-color: var(--primary);
}
.cust-option-card.active {
  background-color: var(--surface);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.05);
}
.cust-option-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.cust-option-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}
.cust-option-input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Customizer Size Pill Styling overrides */
.cust-size-pill {
  background-color: var(--background) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}
.cust-size-pill.active {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--surface) !important;
}


/* ===== DARK MODE OVERRIDES ===== */
body.dark-mode {
  --background: #0D0D12;
  --surface: #181822;
  --dark: #FFFFFF;
  --text: #F0F0F5;
  --text-muted: #9AA0B0;
  --border: #252535;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Specific component fixes for dark mode */
body.dark-mode .header-wrapper {
  background-color: rgba(24, 24, 34, 0.95);
  border-bottom-color: var(--border);
}
body.dark-mode .category-filter-wrapper {
  background-color: rgba(24, 24, 34, 0.95);
  border-bottom-color: var(--border);
}
body.dark-mode .product-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
body.dark-mode .product-card:hover {
  box-shadow: var(--shadow-md);
}
body.dark-mode .size-pill {
  background-color: #252535;
  color: var(--text);
  border-color: #252535;
}
body.dark-mode .size-pill.active {
  background-color: var(--primary);
  color: var(--surface);
  border-color: var(--primary);
}
body.dark-mode .cust-option-card {
  background-color: #12121A;
  border-color: var(--border);
}
body.dark-mode .cust-option-card.active {
  background-color: var(--surface);
  border-color: var(--primary);
}
body.dark-mode .cart-drawer {
  background-color: var(--surface);
  border-left-color: var(--border);
  color: var(--text);
}
body.dark-mode .cart-header,
body.dark-mode .cart-footer {
  border-color: var(--border);
}
body.dark-mode .cart-item {
  border-bottom-color: var(--border);
}
body.dark-mode .cart-form-group input,
body.dark-mode .cart-form-group select,
body.dark-mode .cart-form-group textarea {
  background-color: #12121A;
  border-color: var(--border);
  color: var(--text);
}
body.dark-mode .cart-form-group input:focus,
body.dark-mode .cart-form-group select:focus,
body.dark-mode .cart-form-group textarea:focus {
  border-color: var(--accent);
}
body.dark-mode .modal-container {
  background-color: var(--surface);
  color: var(--text);
}
body.dark-mode .modal-header,
body.dark-mode .modal-footer {
  border-color: var(--border);
}
body.dark-mode footer {
  background-color: #07070A;
  border-top-color: var(--border);
}
body.dark-mode .footer-social-btn {
  background-color: #181822;
  color: var(--text);
}
body.dark-mode .footer-social-btn:hover {
  background-color: var(--primary);
  color: #fff;
}
body.dark-mode .contact-card {
  background-color: var(--surface);
  border-color: var(--border);
}
body.dark-mode .contact-form-group input,
body.dark-mode .contact-form-group textarea {
  background-color: #12121A;
  border-color: var(--border);
  color: var(--text);
}
body.dark-mode .order-card {
  background-color: var(--surface);
  border-color: var(--border);
}
body.dark-mode .order-card:hover {
  box-shadow: var(--shadow-md);
}
body.dark-mode .announcement-banner {
  background-color: #22222E;
  color: var(--text);
}

/* Theme Toggle Button Styling */
.theme-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: #F3ECE3;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
  font-size: 18px;
  margin-left: 12px;
}
.theme-toggle-btn:hover {
  background-color: #E7DEC0;
  transform: scale(1.05);
}
body.dark-mode .theme-toggle-btn {
  background-color: #252535;
  color: #ffffff;
}
body.dark-mode .theme-toggle-btn:hover {
  background-color: #35354A;
}

/* Specific Admin Panel Dark Mode Overrides */
body.dark-mode .admin-navbar-wrapper {
  background-color: var(--surface);
  border-bottom-color: var(--border);
}
body.dark-mode .admin-navbar .nav-link {
  color: var(--text-muted);
}
body.dark-mode .admin-navbar .nav-link:hover,
body.dark-mode .admin-navbar .nav-link.active {
  color: var(--primary);
  background-color: #252535;
}
body.dark-mode .logout-btn {
  background-color: #252535;
  color: #ffffff;
}
body.dark-mode .logout-btn:hover {
  background-color: var(--primary);
}
body.dark-mode .dashboard-stats,
body.dark-mode .stat-card,
body.dark-mode .order-list-section,
body.dark-mode .orders-grid,
body.dark-mode .cms-tabs-nav,
body.dark-mode .cms-tab-content,
body.dark-mode .cms-card,
body.dark-mode .item-card,
body.dark-mode .login-card {
  background-color: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
body.dark-mode .stat-card h3,
body.dark-mode .stat-card p,
body.dark-mode .order-card h3,
body.dark-mode .order-card p,
body.dark-mode .item-card h4,
body.dark-mode .item-card p,
body.dark-mode .login-card h2,
body.dark-mode .login-card p {
  color: var(--text);
}
body.dark-mode table,
body.dark-mode th,
body.dark-mode td {
  border-color: var(--border);
  color: var(--text);
}
body.dark-mode th {
  background-color: #252535;
}
body.dark-mode tr:hover {
  background-color: #1a1a26;
}
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background-color: #12121A !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}
body.dark-mode .login-role-selector label span {
  color: var(--text-muted);
}
body.dark-mode .login-role-selector input:checked + span {
  color: var(--primary);
}
body.dark-mode .role-badge.owner {
  background-color: var(--primary);
  color: #ffffff;
}
body.dark-mode .role-badge.waiter {
  background-color: var(--accent);
  color: #ffffff;
}
/* ===== SCROLL REVEAL MOTION ANIMATIONS ===== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BROADCAST TOAST & PWA PROMPTER ===== */
.broadcast-toast {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 99999;
  transition: top 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.5s ease;
  opacity: 0;
}

.broadcast-toast.visible {
  top: 24px;
  opacity: 1;
}

.toast-icon {
  font-size: 24px;
}

.toast-body {
  flex-grow: 1;
}

.toast-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.toast-text {
  font-size: 13px;
  color: #ffffff;
  line-height: 1.4;
}

body.dark-mode .toast-text {
  color: #ffffff;
}

.toast-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s ease;
}

.toast-close-btn:hover {
  color: var(--primary);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-120%) translateY(0);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-120%) translateY(0);
  }
}
