/* ==========================================================================
   MORNING BOWL - BRUNCH & POKÉ - DESIGN SYSTEM, ANIMATIONS & DARK MODE
   ========================================================================== */

:root {
  /* Light Theme Colors */
  --primary-dark: #0F2D24;
  --primary-green: #154D3D;
  --primary-light: #22C55E;
  
  --sun-yellow: #FACC15;
  --sun-orange: #F97316;
  --sun-accent: #FF5E13;

  --ocean-blue: #0EA5E9;
  --ocean-dark: #0369A1;

  --bg-cream: #FBF9F4;
  --bg-card: #FFFFFF;
  --bg-dark: #0A1F18;
  --bg-panel: #F1EFE9;

  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #F8FAFC;

  --border-color: #E2E8F0;
  --border-radius-lg: 20px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(21, 77, 61, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(15, 45, 36, 0.15);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-hand: 'Caveat', cursive;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Explicit Dark Mode Trigger Class */
body.dark-mode {
  --bg-cream: #071712 !important;
  --bg-card: #0F2820 !important;
  --bg-panel: #14352A !important;
  --bg-dark: #040D0A !important;
  --text-dark: #F8FAFC !important;
  --text-muted: #94A3B8 !important;
  --border-color: rgba(255, 255, 255, 0.12) !important;
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.7) !important;
}

/* OS Dark Mode Preference (If not forced to light) */
@media (prefers-color-scheme: dark) {
  body:not(.light-mode) {
    --bg-cream: #071712 !important;
    --bg-card: #0F2820 !important;
    --bg-panel: #14352A !important;
    --bg-dark: #040D0A !important;
    --text-dark: #F8FAFC !important;
    --text-muted: #94A3B8 !important;
    --border-color: rgba(255, 255, 255, 0.12) !important;
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.7) !important;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a { text-decoration: none; color: inherit; transition: var(--transition-fast); }
button { font-family: inherit; cursor: pointer; border: none; background: none; outline: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Utility Layouts */
.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }
.hidden { display: none !important; }
.margin-top-10 { margin-top: 10px; }
.margin-top-20 { margin-top: 20px; }
.margin-top-30 { margin-top: 30px; }

.sub-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--sun-orange);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 10px auto 0;
  max-width: 600px;
  text-align: center;
}


.gradient-text {
  background: linear-gradient(135deg, var(--sun-orange), var(--sun-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-highlight {
  color: var(--sun-orange);
  font-weight: 800;
}

.code-pill {
  background: var(--sun-yellow);
  color: var(--primary-dark);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: monospace;
}

/* Splash Screen Entrance */
.splash-screen {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  color: white;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease;
}

.splash-screen.fade-out {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.splash-logo-container {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  animation: pulseLogo 2s infinite ease-in-out;
}

.splash-logo { width: 100%; height: 100%; }

@keyframes pulseLogo {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.splash-brand {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.splash-tagline {
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--sun-yellow);
  margin-top: 4px;
}

.splash-progress {
  width: 160px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  margin: 20px auto 10px;
  overflow: hidden;
}

.splash-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--sun-orange), var(--sun-yellow));
  animation: fillProgress 1.2s ease forwards;
}

@keyframes fillProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

.splash-status-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.splash-action-box {
  margin: 24px 0;
}

.enter-site-btn {
  font-size: 1.1rem;
  padding: 16px 36px;
  letter-spacing: 1px;
  animation: pulse-glow 2s infinite;
  border-radius: 99px;
}

.splash-welcome {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 10px;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--primary-dark);
  color: white;
  padding: 14px 22px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  border-left: 4px solid var(--sun-orange);
}

.toast.toast-exit { animation: toastSlideOut 0.3s ease forwards; }

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(60px) scale(0.9); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastSlideOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(80px); }
}

/* Trust Banner */
.trust-banner {
  padding: 40px 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
}

.trust-card {
  text-align: center;
  padding: 20px;
}

.trust-icon {
  width: 50px;
  height: 50px;
  background: var(--sun-orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 14px;
  box-shadow: 0 6px 15px rgba(249, 115, 22, 0.3);
}

.trust-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.trust-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Reviews Section */
.reviews-section {
  padding: 90px 0;
  background: var(--bg-card);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.review-card {
  background: var(--bg-panel);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}

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

.stars {
  color: var(--sun-yellow);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.review-text {
  font-style: italic;
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 20px;
}

.reviewer {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Scroll Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.animate-fade-in-up { animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-scale-in { animation: scaleIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 99px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-normal);
}

.btn:active { transform: scale(0.96) !important; }

.btn-primary {
  background: linear-gradient(135deg, var(--sun-orange), var(--sun-accent));
  color: white;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(249, 115, 22, 0.45);
}

.btn-secondary {
  background: var(--primary-green);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-gold {
  background: linear-gradient(135deg, #FACC15, #EAB308);
  color: var(--primary-dark);
  font-weight: 800;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(250, 204, 21, 0.4);
}

.btn-glow { animation: pulse-glow 2.5s infinite; }

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(249, 115, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

.btn-block { width: 100%; }
.btn-lg { padding: 18px 32px; font-size: 1.1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }

/* Top Announcement */
.top-announcement {
  background: var(--primary-dark);
  color: white;
  font-size: 0.85rem;
  padding: 8px 16px;
  text-align: center;
}

.announcement-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.phone-link a {
  color: var(--sun-yellow);
  font-weight: 700;
  transition: var(--transition-fast);
}

.phone-link a:hover { color: var(--sun-orange); }

.phone-link-large {
  color: var(--sun-orange);
  font-size: 1.25rem;
  transition: var(--transition-fast);
  display: inline-block;
}

.phone-link-large:hover {
  transform: scale(1.05);
  color: var(--primary-light);
}

.live-status-pill {
  background: rgba(34, 197, 94, 0.2);
  color: var(--primary-light);
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.live-status-pill.closed {
  background: rgba(239, 68, 68, 0.2);
  color: #EF4444;
}

/* Header Navigation */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-wrapper {
  width: 44px;
  height: 44px;
  transition: transform 0.4s ease;
}

.logo-link:hover .logo-wrapper {
  transform: rotate(15deg) scale(1.08);
}

.logo-sun-bowl { width: 100%; height: 100%; }

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--sun-orange);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sun-orange);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--primary-light); }
.nav-link.highlight { color: var(--sun-orange); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-panel);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--sun-orange);
  color: white;
  transform: rotate(20deg);
}

.order-mode-toggle {
  background: var(--bg-panel);
  padding: 4px;
  border-radius: 99px;
  display: flex;
  gap: 4px;
}

.mode-btn {
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.mode-btn.active {
  background: var(--bg-card);
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.cart-trigger-btn {
  background: var(--primary-dark);
  color: white;
  padding: 10px 18px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  transition: var(--transition-normal);
}

.cart-trigger-btn:hover {
  background: var(--primary-green);
  transform: scale(1.05);
}

.cart-count {
  background: var(--sun-orange);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.cart-count.bump { animation: bump 0.3s ease; }

@keyframes bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.mobile-menu-btn {
  display: none;
  font-size: 1.4rem;
  color: var(--text-dark);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.hero-pills-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.12);
  color: var(--primary-light);
  padding: 8px 18px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.9rem;
}

.halal-pill {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--bg-card);
  padding: 20px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  width: fit-content;
  border: 1px solid var(--border-color);
}

.stat-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-dark);
}

.stat-label { font-size: 0.85rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 35px; background: var(--border-color); }

/* Hero Visual Card */
.hero-image-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.5s ease;
}

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

.floating-badge {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 12px 20px;
  border-radius: 99px;
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
}

.badge-1 { top: 25px; left: -20px; color: var(--sun-orange); }
.badge-2 { bottom: 30px; right: -15px; color: var(--primary-light); animation-delay: 2s; }

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

/* Builder Section (Compose Ton Poké) */
.builder-section {
  padding: 90px 0;
  background: var(--bg-card);
  position: relative;
}

.builder-app { margin-top: 50px; }

.builder-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.builder-tab {
  background: var(--bg-panel);
  border: 2px solid transparent;
  padding: 12px 22px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.tab-step {
  width: 26px;
  height: 26px;
  background: var(--border-color);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.builder-tab.active {
  background: var(--primary-dark);
  color: white;
  border-color: var(--primary-dark);
  transform: scale(1.05);
}

.builder-tab.active .tab-step {
  background: var(--sun-orange);
  color: white;
}

.builder-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.builder-step-panel {
  background: var(--bg-cream);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  animation: fadeInUp 0.4s ease;
  border: 1px solid var(--border-color);
}

.panel-header { margin-bottom: 24px; }

.panel-header h3 {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  color: var(--text-dark);
}

.panel-counter {
  display: inline-block;
  background: rgba(249, 115, 22, 0.15);
  color: var(--sun-orange);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 6px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.option-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  position: relative;
}

.option-card:hover {
  border-color: var(--sun-orange);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.option-card.selected {
  border-color: var(--primary-light);
  background: rgba(34, 197, 94, 0.08);
  transform: scale(1.03);
}

.option-card.selected::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  background: var(--primary-light);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.option-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-top: 8px;
}

/* Builder Summary Card */
.builder-summary-card {
  background: var(--primary-dark);
  color: white;
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.summary-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bowl-price-tag {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--sun-yellow);
}

.size-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.size-option {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: var(--border-radius-sm);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.size-option input { display: none; }
.size-option.active {
  background: var(--sun-orange);
  color: white;
}

.selected-ingredients-list {
  min-height: 180px;
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 24px;
}

.summary-category { margin-bottom: 12px; }

.summary-cat-title {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.summary-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.summary-tag {
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.82rem;
  animation: fadeInUp 0.3s ease;
}

.summary-empty {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  font-size: 0.9rem;
  text-align: center;
  margin-top: 60px;
}

/* Products Grid System */
.menu-section { padding: 90px 0; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
}

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

.product-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--primary-dark);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
}

.product-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

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

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

.product-price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--sun-orange);
}

.add-cart-btn {
  background: linear-gradient(135deg, #F97316, #EA580C) !important;
  color: #FFFFFF !important;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4) !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.add-cart-btn:hover {
  background: linear-gradient(135deg, #FACC15, #F97316) !important;
  color: #0F172A !important;
  transform: scale(1.18) rotate(90deg);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6) !important;
}


/* Brunch Section */
.brunch-section {
  background: var(--primary-dark);
  color: white;
  padding: 90px 0;
  position: relative;
}

.brunch-banner-header {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
}

.handwritten-tag {
  font-family: var(--font-hand);
  font-size: 2.2rem;
  color: var(--sun-yellow);
  display: block;
}

.brunch-main-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 10px 0 16px;
}

.brunch-signature-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 24px;
  position: relative;
  transition: var(--transition-normal);
}

.brunch-signature-card:hover {
  border-color: var(--sun-yellow);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.sig-badge {
  position: absolute;
  top: -12px;
  left: 30px;
  background: var(--sun-orange);
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: 99px;
}

.sig-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--sun-yellow);
  margin-bottom: 6px;
}

.brunch-signature-card ul { margin: 18px 0 24px; }
.brunch-signature-card li {
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brunch-signature-card li i { color: var(--primary-light); }

.sub-menu-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 16px;
  margin-bottom: 40px;
  overflow-x: auto;
}

.sub-tab {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.sub-tab:hover, .sub-tab.active {
  color: var(--sun-yellow);
  background: rgba(255, 255, 255, 0.08);
}

.brunch-content-area { animation: fadeInUp 0.4s ease; }

/* Drinks Section */
.drinks-section { padding: 90px 0; }

.drinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.drink-card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
  border: 1px solid var(--border-color);
}

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

.drink-title { font-weight: 700; font-size: 1.05rem; }
.drink-price {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--sun-orange);
}

/* Detailed Hours Schedule Box */
.hours-schedule-box {
  background: var(--bg-panel);
  border-radius: var(--border-radius-md);
  padding: 24px;
  margin-top: 24px;
  border: 1px solid var(--border-color);
}

.hours-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.hours-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.live-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--primary-light);
}

.live-badge.closed {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.day-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.day-row.today {
  background: var(--sun-orange);
  color: white;
  font-weight: 700;
}

.day-row.today .highlight-day { color: var(--sun-yellow); }
.highlight-day { color: var(--sun-orange); font-weight: 700; }

/* Location Section */
.location-section { padding: 90px 0; }

.location-card {
  background: var(--bg-card);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.location-info { padding: 40px; }

.location-info h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.address-text {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item { display: flex; gap: 16px; }

.info-item i {
  width: 40px;
  height: 40px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--sun-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Google QR Code Card */
.google-qr-card {
  background: var(--bg-panel);
  border: 2px dashed var(--sun-orange);
  border-radius: var(--border-radius-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 750px;
  margin: 40px auto 0;
  box-shadow: var(--shadow-md);
}

.qr-wrapper {
  background: white;
  padding: 12px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.qr-img {
  width: 140px;
  height: 140px;
  display: block;
}

.qr-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 8px 0 6px;
}

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

.qr-badge {
  background: var(--sun-orange);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  display: inline-block;
}

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  color: var(--text-dark);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

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

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

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

.close-cart-btn {
  font-size: 1.8rem;
  color: var(--text-muted);
}

.cart-mode-selector {
  background: var(--bg-panel);
  padding: 10px 24px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.current-mode-badge {
  background: var(--primary-dark);
  color: white;
  padding: 2px 10px;
  border-radius: 99px;
  font-weight: 700;
}

.cart-items-container {
  flex: 1 1 auto;
  min-height: 200px;
  max-height: 42vh;
  overflow-y: auto;
  padding: 16px 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--sun-orange) transparent;
}

.cart-items-container::-webkit-scrollbar {
  width: 6px;
}

.cart-items-container::-webkit-scrollbar-thumb {
  background: var(--sun-orange);
  border-radius: 10px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-bottom: 12px;
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  animation: fadeInUp 0.3s ease;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-details { flex: 1; min-width: 0; }

.cart-item-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-weight: 800;
  color: var(--sun-orange);
  font-size: 0.95rem;
  margin-top: 2px;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  background: var(--bg-card);
  border: 1px solid var(--sun-orange);
  color: var(--sun-orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

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

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

.promo-code-box { display: flex; gap: 8px; margin-bottom: 16px; }

.promo-code-box input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--bg-card);
  color: var(--text-dark);
  font-size: 0.85rem;
}

.promo-code-box button {
  background: var(--primary-dark);
  color: white;
  padding: 0 16px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.promo-code-box button:hover { background: var(--primary-green); }

.cart-totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.total-row { display: flex; justify-content: space-between; }

.grand-total {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
}

/* Modal Tracking */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: var(--bg-card);
  color: var(--text-dark);
  border-radius: 30px;
  max-width: 500px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.8rem;
  color: var(--text-muted);
}

.success-icon-animation {
  font-size: 3.5rem;
  color: var(--primary-light);
  margin-bottom: 16px;
  animation: scaleIn 0.5s ease;
}

.order-id-badge {
  background: rgba(14, 165, 233, 0.15);
  color: var(--ocean-blue);
  padding: 6px 16px;
  border-radius: 99px;
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
}

.tracker-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-panel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.step-item.active .step-icon { background: var(--sun-orange); color: white; }
.step-item.completed .step-icon { background: var(--primary-light); color: white; }

.step-line { flex: 1; height: 3px; background: var(--border-color); }
.step-line.active { background: var(--primary-light); }

/* Footer */
.main-footer {
  background: var(--bg-dark);
  color: white;
  padding: 70px 0 30px;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin: 16px 0 20px;
  font-size: 0.9rem;
}

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

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-links a:hover { background: var(--sun-orange); transform: translateY(-3px); }

.footer-links h4, .footer-hours h4, .footer-newsletter h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--sun-yellow);
}

.footer-links li { margin-bottom: 10px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }

.newsletter-form { display: flex; margin-top: 14px; }

.newsletter-form input {
  padding: 10px 14px;
  border-radius: 8px 0 0 8px;
  border: none;
  font-size: 0.85rem;
  flex: 1;
}

.newsletter-form button {
  background: var(--sun-orange);
  color: white;
  padding: 0 16px;
  border-radius: 0 8px 8px 0;
  transition: var(--transition-fast);
}

.newsletter-form button:hover { background: var(--sun-accent); }

.google-badge-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(66, 133, 244, 0.12);
  color: #4285F4;
  padding: 6px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.google-icon { font-size: 1rem; }

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.verified-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 8px;
  border-radius: 99px;
}

body.dark-mode .verified-tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-container, .builder-layout, .location-card, .brunch-banner-header {
    grid-template-columns: 1fr;
  }
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .google-qr-card { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.4rem; }
  .footer-container { grid-template-columns: 1fr; }
  .order-mode-toggle { display: none; }
}

/* Customer Details Form in Cart Drawer */
.customer-info-section {
  padding: 16px 24px;
  background: var(--bg-panel);
  border-top: 1px solid var(--border-color);
}

.customer-info-section .form-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.customer-info-section .form-row {
  margin-bottom: 10px;
}

.customer-info-section input,
.customer-info-section select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--bg-card);
  color: var(--text-dark);
  font-size: 0.88rem;
  font-family: inherit;
}

.customer-info-section input:focus,
.customer-info-section select:focus {
  border-color: var(--sun-orange);
  outline: none;
}

.sms-info-pill {
  background: rgba(14, 165, 233, 0.12);
  color: var(--ocean-blue);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}


/* Thermal Kitchen Ticket Preview Box */
.thermal-ticket-container {
  background: #FFFDF9;
  color: #111827;
  font-family: 'Courier New', Courier, monospace;
  padding: 20px;
  border-radius: 8px;
  border: 2px dashed #9CA3AF;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 16px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.05);
}

.ticket-header h3 {
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.ticket-mode-badge {
  font-weight: 900;
  font-size: 1rem;
  color: #DC2626;
  margin-top: 4px;
}

.ticket-divider {
  text-align: center;
  color: #6B7280;
  margin: 8px 0;
  letter-spacing: -1px;
}

.ticket-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 900;
  margin-top: 6px;
}

/* Print CSS for Thermal Ticket Printer */
@media print {
  body * { visibility: hidden; }
  #thermal-ticket-preview, #thermal-ticket-preview * {
    visibility: visible;
  }
  #thermal-ticket-preview {
    position: absolute;
    left: 0;
    top: 0;
    width: 80mm;
    border: none;
    padding: 0;
    box-shadow: none;
    background: white;
    color: black;
  }
}

/* Dietary Filters Bar */
.diet-filters-bar {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.filter-chip {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 8px 18px;
  border-radius: 99px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition-fast);
  cursor: pointer;
}

.filter-chip:hover, .filter-chip.active {
  background: var(--primary-dark);
  color: white;
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Live Order Tracker Bar */
.live-tracker-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: white;
  padding: 12px 24px;
  z-index: 1500;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 0.4s ease;
}

.tracker-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.tracker-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.tracker-info i { color: var(--sun-yellow); }

/* Favorite System Buttons */
.builder-actions-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.save-fav-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--sun-yellow);
  border: 1px dashed var(--sun-yellow);
  padding: 10px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.save-fav-btn:hover {
  background: var(--sun-yellow);
  color: var(--primary-dark);
}

.favorite-reorder-banner {
  margin-bottom: 20px;
}

/* Back To Top Floating Button */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sun-orange);
  color: white;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 900;
  transition: var(--transition-fast);
}

.back-to-top-btn:hover {
  transform: translateY(-4px) scale(1.1);
  background: var(--sun-accent);
}

/* Brunch Delivery Mode Notice */
.brunch-delivery-notice {
  background: rgba(245, 158, 11, 0.18);
  color: #F59E0B;
  border-left: 4px solid #F59E0B;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Glassmorphism System */
.glass-card, .glassmorphism-header, .glass-panel, .glass-drawer, .glass-modal {
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

body.dark-mode .glass-card, 
body.dark-mode .glassmorphism-header, 
body.dark-mode .glass-panel, 
body.dark-mode .glass-drawer, 
body.dark-mode .glass-modal {
  background: rgba(15, 40, 32, 0.7) !important;
  backdrop-filter: blur(16px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.glass-btn, .glass-chip, .glass-subtab, .glass-pill {
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: var(--text-dark) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

body.dark-mode .glass-btn, 
body.dark-mode .glass-chip, 
body.dark-mode .glass-subtab, 
body.dark-mode .glass-pill {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: white !important;
  box-shadow: none !important;
}


.glass-btn-primary {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.9), rgba(255, 94, 19, 0.9)) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.glass-btn-gold {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.9), rgba(234, 179, 8, 0.9)) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

/* Category Smooth Fade Swap Animation */
.fade-swap {
  animation: fadeSwap 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeSwap {
  0% { opacity: 0; transform: translateY(12px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Real-Time Simulated Phone SMS Notification Popover */
.sms-phone-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 4000;
  width: 360px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  color: #0F172A;
  animation: slideDownSMS 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.dark-mode .sms-phone-notification {
  background: rgba(15, 23, 42, 0.95);
  color: white;
  border-color: rgba(255, 255, 255, 0.15);
}

.sms-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.sms-icon-app {
  width: 32px;
  height: 32px;
  background: #22C55E;
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.sms-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sms-meta strong {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: var(--sun-orange);
}

.sms-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.close-sms-btn {
  font-size: 1.4rem;
  color: var(--text-muted);
  line-height: 1;
}

.sms-body {
  line-height: 1.45;
  font-size: 0.88rem;
}

/* SMS Gateway Pill & Config Modal */
.sms-gateway-pill {
  margin-top: 12px;
  background: rgba(14, 165, 233, 0.12);
  color: #0284C7;
  border: 1px dashed #0284C7;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sms-gateway-pill:hover {
  background: #0284C7;
  color: white;
}

.sms-config-icon {
  width: 60px;
  height: 60px;
  background: var(--sun-orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 16px auto;
}

.sms-help-info {
  background: rgba(245, 158, 11, 0.15);
  color: #D97706;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.4;
}


.promo-applied-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #16A34A;
  border: 1px solid rgba(34, 197, 94, 0.4);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

/* Continuous Infinite Marquee Ticker Banner */
.marquee-ticker-container {
  background: linear-gradient(90deg, #F97316, #FB923C, #FACC15);
  color: #0F172A;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25);
  position: relative;
  z-index: 99;
}

.marquee-ticker-track {
  display: inline-flex;
  gap: 40px;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-ticker-track:hover {
  animation-play-state: paused;
}

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

.marquee-item .highlight-text {
  background: #0F172A;
  color: #FACC15;
  padding: 2px 8px;
  border-radius: 4px;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Multi-Page Tab Router System */
.pages-wrapper {
  position: relative;
  min-height: 70vh;
}

.page-view {
  display: block;
}

.page-view.hidden {
  display: none !important;
}

.page-tab-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.footer-page-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  padding: 0;
  text-align: left;
}

.cart-closed-notice {
  background: rgba(239, 68, 68, 0.15);
  color: #DC2626;
  border: 1px dashed #EF4444;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.cart-closed-notice i {
  font-size: 1.4rem;
  margin-top: 2px;
}

/* Owner Panel & Delivery Address System */
.owner-panel-trigger-btn {
  background: rgba(250, 204, 21, 0.2);
  color: var(--sun-yellow);
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.owner-panel-trigger-btn:hover {
  background: var(--sun-yellow);
  color: var(--primary-dark);
}

.owner-footer-link {
  color: var(--sun-yellow) !important;
  font-weight: 700;
}

.owner-modal-card {
  max-width: 780px !important;
  width: 92% !important;
}

.owner-icon-badge {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--sun-yellow), var(--sun-orange));
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px auto;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.owner-login-box {
  padding: 20px 10px;
}

.owner-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.dash-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.owner-toggles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.toggle-card {
  padding: 20px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.toggle-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.toggle-icon {
  font-size: 1.5rem;
  color: var(--sun-orange);
  margin-top: 2px;
}

.toggle-info h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.toggle-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.status-toggle-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
  cursor: pointer;
}

.status-toggle-btn[data-status="enabled"] {
  background: rgba(34, 197, 94, 0.15);
  color: #166534;
  border: 1px solid #22C55E;
}

.status-toggle-btn[data-status="disabled"] {
  background: rgba(239, 68, 68, 0.15);
  color: #991B1B;
  border: 1px solid #EF4444;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.orders-table-wrapper {
  max-height: 340px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 12px;
  background: var(--bg-cream);
}

.owner-order-card {
  background: var(--bg-card);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.owner-order-card:last-child {
  margin-bottom: 0;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.order-pin-tag {
  background: var(--sun-orange);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.85rem;
}

.order-delivery-address-box {
  background: rgba(14, 165, 233, 0.1);
  color: #0369A1;
  border: 1px solid #0EA5E9;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 8px;
  font-size: 0.88rem;
}

.delivery-address-row input {
  border-color: var(--ocean-blue) !important;
  background: rgba(14, 165, 233, 0.05);
}

/* Customer-Friendly Free Delivery Progress Incentive Banner */
.delivery-progress-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(34, 197, 94, 0.12));
  border: 1px solid var(--ocean-blue);
  color: #0369A1;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

/* Interactive FAQ Accordion Section */
.faq-section {
  padding: 80px 0;
  background: var(--bg-cream);
}

.faq-grid {
  max-width: 840px;
  margin: 0 auto;
  padding: 24px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item[open] {
  box-shadow: var(--shadow-sm);
  border-color: var(--sun-orange);
}

.faq-question {
  padding: 16px 20px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question i.fa-solid {
  color: var(--sun-orange);
  margin-right: 8px;
}

.faq-arrow {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
  color: var(--sun-orange);
}

.faq-answer {
  padding: 0 20px 18px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Payment Methods & Titres Restaurant Banner Strip */
.payment-methods-strip {
  background: var(--bg-panel);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.strip-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.payment-icons-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pay-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pay-chip i {
  color: var(--sun-orange);
}

/* Tip / Pourboire Options Box in Cart Drawer */
.tip-selector-box {
  background: rgba(249, 115, 22, 0.06);
  border: 1px dashed var(--sun-orange);
  padding: 12px;
  border-radius: 12px;
  margin: 16px 0;
}

.tip-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tip-title i {
  color: var(--sun-orange);
}

.tip-options {
  display: flex;
  gap: 6px;
}

.tip-btn {
  flex: 1;
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tip-btn.active {
  background: var(--sun-orange);
  color: white;
  border-color: var(--sun-orange);
}

.prep-eta-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--sun-orange);
  background: rgba(249, 115, 22, 0.12);
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: auto;
}

/* Official Logo Branding */
.splash-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 16px auto;
  width: 100%;
}

.official-splash-logo {
  max-width: 220px;
  width: 180px;
  height: auto;
  margin: 0 auto 14px auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.3));
}

.official-nav-logo {
  max-height: 58px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-fast);
}

.official-nav-logo:hover {
  transform: scale(1.04);
}

.official-footer-logo {
  max-height: 70px;
  width: auto;
  object-fit: contain;
}

/* Mobile App Floating Bottom Navigation Bar */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    z-index: 1400;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none;
    background: none;
    border: none;
    padding: 6px 12px;
    border-radius: 12px;
    transition: var(--transition-fast);
    cursor: pointer;
  }

  .mobile-nav-item i {
    font-size: 1.25rem;
  }

  .mobile-nav-item.active, .mobile-nav-item:hover {
    color: var(--sun-orange);
  }

  .mobile-nav-item.highlight-nav {
    color: #FACC15;
  }

  .mobile-cart-icon-wrapper {
    position: relative;
    display: inline-block;
  }

  .mobile-cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--sun-orange);
    color: white;
    font-size: 0.68rem;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Padding adjustment for mobile body to accommodate bottom nav bar */
  body {
    padding-bottom: 70px;
  }

  /* Compact Mobile Header */
  .main-header {
    padding: 8px 12px;
  }

  .official-nav-logo {
    max-height: 44px;
  }

  .hero-section {
    padding: 40px 16px 30px;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.15;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cart-drawer {
    width: 100vw;
    max-width: 100%;
  }

  .cart-items-container {
    max-height: 46vh;
    padding: 12px 14px;
  }
}

/* Photorealistic Layered Image Bowl Visualizer */
.poke-image-visualizer-card {
  grid-column: span 1;
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  padding: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.visualizer-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.visualizer-badge {
  background: linear-gradient(135deg, #F97316, #EA580C);
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}

.hint-3d {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.real-bowl-composition-container {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0;
}

.bowl-frame {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(0,0,0,0.3);
  border: 4px solid var(--sun-orange);
  margin: 0 auto;
}

.bowl-base-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1;
}

.layered-food-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  border-radius: 50%;
  z-index: 2;
  animation: popInFood 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popInFood {
  0% { transform: scale(0.7) rotate(-5deg); opacity: 0; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.ingredients-layered-display {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  gap: 4px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  z-index: 10;
}

.empty-bowl-hint {
  width: 100%;
  text-align: center;
  color: rgba(255,255,255,0.9);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.ingredient-photo-chip {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: white;
  border: 1px solid rgba(249, 115, 22, 0.7);
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}











