/* ============================================
   PRIMEPLATTER - COMPLETE STYLESHEET
   ============================================ */

/* CSS Variables - Dark Mode (Default) */
:root {
  --bg: #0f0f0f;
  --surface: #1a1a1a;
  --card: #222222;
  --text: #ffffff;
  --text-muted: #aaaaaa;
  --border: rgba(255, 255, 255, 0.08);
  --accent: #C41E3A;
  --accent-secondary: #8B0000;
  --accent-gradient: linear-gradient(135deg, #C41E3A, #8B0000);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.5);
  --success: #22c55e;
  --danger: #ef4444;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-card: 16px;
  --radius-pill: 999px;
  --transition: all 0.3s ease;
}

/* Light Mode */
[data-theme="light"] {
  --bg: #f5f5f5;
  --surface: #ffffff;
  --card: #f0f0f0;
  --text: #111111;
  --text-muted: #555555;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 20px;
  border-radius: 12px;
  color: white;
  font-weight: 500;
  animation: toastSlideIn 0.3s ease, toastFadeOut 0.3s ease 3.2s forwards;
  box-shadow: var(--shadow);
  min-width: 280px;
}

.toast.success {
  background: var(--success);
}

.toast.error {
  background: var(--danger);
}

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

@keyframes toastFadeOut {
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* ============================================
   INSTALL BANNER
   ============================================ */
.install-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow);
  z-index: 9998;
  max-width: 90%;
  width: 400px;
  animation: bannerSlideUp 0.4s ease;
}

@keyframes bannerSlideUp {
  from {
    transform: translateX(-50%) translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.install-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.install-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.install-title {
  font-weight: 600;
  font-size: 14px;
}

.install-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.install-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.install-btn {
  background: var(--accent-gradient);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition);
}

.install-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.dismiss-install-btn {
  color: var(--text-muted);
  font-size: 18px;
  padding: 4px;
  transition: var(--transition);
}

.dismiss-install-btn:hover {
  color: var(--text);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(12px);
}

.navbar.scrolled {
  background: rgba(15, 15, 15, 0.95);
  box-shadow: var(--shadow);
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
}

[data-theme="light"] .nav-title {
  color: #111111;
}

[data-theme="light"] .nav-link {
  color: #333333;
  font-weight: 600;
}

[data-theme="light"] .nav-link:hover {
  color: var(--accent);
}

[data-theme="light"] .icon-btn {
  color: #111111;
}

[data-theme="light"] .icon-btn:hover {
  background: rgba(0, 0, 0, 0.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-right: 16px;
}

.nav-link {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text);
}

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

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

.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text);
  transition: var(--transition);
  position: relative;
}

.icon-btn:hover {
  background: var(--card);
}

.cart-btn {
  position: relative;
}

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

/* Theme Toggle Icons */
.sun-icon,
.moon-icon {
  position: absolute;
  transition: var(--transition);
}

.sun-icon {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}

.moon-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="light"] .sun-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="light"] .moon-icon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

/* Mobile Nav */
.mobile-only {
  display: none;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.mobile-nav.active {
  transform: translateX(0);
}

[data-theme="light"] .mobile-nav {
  background: rgba(245, 245, 245, 0.98);
}

.close-nav {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--text);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  transition: var(--transition);
}

.mobile-nav-link:hover {
  color: var(--accent);
}

/* ============================================
   CART DRAWER
   ============================================ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 100%;
  height: 100vh;
  background: var(--surface);
  z-index: 1600;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
}

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

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

.cart-header h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.cart-count {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 14px;
}

.close-cart {
  color: var(--text-muted);
  transition: var(--transition);
}

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

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--card);
  border-radius: 12px;
  margin-bottom: 12px;
}

.cart-item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

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

.cart-item-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.cart-item-size {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--accent);
  color: white;
}

.cart-item-qty {
  font-weight: 600;
  font-size: 14px;
  min-width: 20px;
  text-align: center;
}

.cart-item-price {
  font-weight: 600;
  color: var(--accent);
}

.cart-item-remove {
  color: var(--text-muted);
  padding: 4px;
  transition: var(--transition);
  align-self: flex-start;
}

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

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-align: center;
  padding: 40px;
}

.cart-empty svg {
  margin-bottom: 16px;
  opacity: 0.5;
}

.cart-empty p {
  font-size: 1.1rem;
  font-weight: 500;
}

.empty-subtitle {
  font-size: 14px !important;
  margin-top: 4px;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.cart-summary {
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.summary-row.total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent-gradient);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 24px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}

.size-modal-card {
  text-align: center;
}

.size-modal-card h3 {
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.size-modal-card img {
  width: 100%;
  max-width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 20px;
}

.size-options {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.size-option {
  flex: 1;
  padding: 12px;
  background: var(--card);
  border: 2px solid transparent;
  border-radius: 12px;
  color: var(--text);
  transition: var(--transition);
}

.size-option:hover {
  border-color: var(--accent);
}

.size-option.selected {
  border-color: var(--accent);
  background: rgba(196, 30, 58, 0.1);
}

.size-option-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.size-option-price {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.size-selected-price {
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.modal-actions button {
  flex: 1;
}

/* Checkout Modal */
.checkout-modal-card {
  max-width: 480px;
}

.checkout-modal-card h2 {
  font-family: var(--font-heading);
  margin-bottom: 20px;
}

.checkout-form {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--danger);
}

.error-message {
  display: block;
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
}

.checkout-summary {
  background: var(--card);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.checkout-summary h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  margin-bottom: 12px;
}

.checkout-items {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.checkout-totals .summary-row {
  margin-bottom: 4px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent-gradient);
  color: white;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--accent);
  transition: var(--transition);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  background: var(--accent);
  color: white;
  text-shadow: none;
}

[data-theme="light"] .btn-secondary {
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border-color: var(--accent);
}

[data-theme="light"] .btn-secondary:hover {
  background: var(--accent);
  color: white;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('images/hero.jpg') center/cover no-repeat;
  padding: 80px 20px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
}

.hero-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--text-muted);
  margin-bottom: 32px;
  min-height: 2rem;
}

.typing-cursor {
  color: var(--accent);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Typing Animation Classes */
.type-animate {
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  animation: typingReveal 0.8s steps(30, end) forwards;
}

@keyframes typingReveal {
  from { width: 0; }
  to { width: 100%; }
}

.type-animate-delay-1 {
  animation-delay: 0.3s;
  width: 0;
}

.type-animate-delay-2 {
  animation-delay: 0.6s;
  width: 0;
}

.type-animate-delay-3 {
  animation-delay: 0.9s;
  width: 0;
}

.type-animate-delay-4 {
  animation-delay: 1.2s;
  width: 0;
}

/* Hero Button Typing Container */
.hero-buttons {
  opacity: 0;
  animation: fadeInButtons 0.5s ease 1.5s forwards;
}

@keyframes fadeInButtons {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Navbar typing animation */
.nav-brand {
  opacity: 0;
  animation: fadeInNav 0.6s ease 0.2s forwards;
}

.nav-links {
  opacity: 0;
  animation: fadeInNav 0.6s ease 0.4s forwards;
}

.nav-controls {
  opacity: 0;
  animation: fadeInNav 0.6s ease 0.5s forwards;
}

@keyframes fadeInNav {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section title typing */
.section-title.type-section {
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  width: 0;
  animation: typeSectionTitle 1s steps(20, end) forwards;
}

@keyframes typeSectionTitle {
  from { width: 0; }
  to { width: 100%; }
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ============================================
   SECTIONS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 3px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 16px;
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu-section {
  padding: 80px 0;
  background: var(--surface);
}

.search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto 24px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 15px;
  transition: var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
}

.category-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 32px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}

.category-pill:hover {
  border-color: var(--accent);
}

.category-pill.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: white;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.no-results svg {
  margin-bottom: 16px;
  opacity: 0.5;
}

.no-results-subtitle {
  font-size: 14px;
  margin-top: 4px;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.menu-card {
  background: var(--card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.menu-card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.menu-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.menu-card:hover .menu-card-image img {
  transform: scale(1.05);
}

.menu-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent-gradient);
  color: white;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
}

.menu-card-availability {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.menu-card-availability.available {
  background: var(--success);
  color: white;
}

.menu-card-availability.unavailable {
  background: var(--danger);
  color: white;
}

.menu-card-body {
  padding: 20px;
}

.menu-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.menu-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: #ffc107;
  font-size: 14px;
}

.star.empty {
  color: var(--border);
}

.rating-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-card-price {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.add-to-cart-btn {
  padding: 8px 16px;
  background: var(--accent-gradient);
  color: white;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.add-to-cart-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

.add-to-cart-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   DEALS SECTION
   ============================================ */
.deals-section {
  padding: 80px 0;
  background: var(--bg);
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.deal-card {
  background: var(--card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.deal-card.unavailable::after {
  content: 'Unavailable';
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--danger);
}

.deal-card-image {
  position: relative;
  height: 180px;
}

.deal-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-save-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-gradient);
  color: white;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
}

.deal-card-body {
  padding: 20px;
}

.deal-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.deal-items {
  margin-bottom: 16px;
}

.deal-item {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
  padding-left: 16px;
  position: relative;
}

.deal-item::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--accent);
}

.deal-price-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.deal-original-price {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.deal-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.order-deal-btn {
  width: 100%;
  padding: 12px;
  background: var(--accent-gradient);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.order-deal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: 80px 0;
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-content .section-title {
  text-align: left;
}

.about-content .section-title::after {
  left: 0;
  transform: none;
}

.about-description {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.badge {
  display: inline-flex;
  padding: 8px 16px;
  background: var(--card);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
}

.about-tagline {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: 80px 0;
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-item a:hover {
  color: var(--accent);
}

.directions-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  margin-top: 8px;
  transition: var(--transition);
}

.directions-btn:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.contact-card {
  background: var(--card);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

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

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: #25d366;
  color: white;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #128c7e;
  transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--surface);
  padding: 40px 0 20px;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 4px;
}

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

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

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border-radius: 50%;
  color: var(--text);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.developer-credit {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 4px;
}

.copyright {
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
  }

  .navbar {
    padding: 0 16px;
  }

  .cart-drawer {
    width: 100%;
  }

  .install-banner {
    width: 95%;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image img {
    height: 250px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .toast-container {
    left: 20px;
    right: 20px;
    top: auto;
    bottom: 20px;
  }

  .toast {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .menu-grid,
  .deals-grid {
    grid-template-columns: 1fr;
  }

  .size-options {
    flex-direction: column;
  }

  .modal-actions {
    flex-direction: column;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}