:root {
  --bg: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F5F2EB;
  --border: #E5E0D8;
  --border-gold: #D4AF37;
  --gold: #B8860B;
  --gold-light: #D4AF37;
  --burgundy: #7A1C28;
  --text-main: #1C1917;
  --text-muted: #57534E;
  --text-light: #78716C;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

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

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

/* LAYOUT CONTAINER */
.app-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px 120px 24px;
}

/* NAVBAR - ELEGANT & BRIGHT */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-icon {
  font-size: 24px;
  background: #FFF;
  border: 1px solid var(--border-gold);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.brand-title {
  font-size: 21px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-btn {
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.nav-btn:hover, .nav-btn.active {
  color: var(--text-main);
  background: #FFF;
  border-color: var(--border);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.nav-btn.highlight {
  background: var(--burgundy);
  color: #FFF;
  border-color: var(--burgundy);
}
.nav-btn.highlight:hover {
  background: #621520;
}

/* HERO BANNER - LITE CLASSY EDITORIAL */
.hero-banner {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px 40px;
  margin: 32px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  position: relative;
}

.hero-banner-title {
  font-size: clamp(28px, 4vw, 44px);
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-banner-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
}

/* MODE TOGGLE CARD */
.mode-toggle-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.mode-toggle-group {
  display: flex;
  gap: 6px;
  background: var(--bg);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid var(--border);
}

.mode-tab {
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  transition: all 0.2s;
}

.mode-tab.active {
  background: var(--text-main);
  color: #FFF;
}

.mode-info-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-main);
  background: var(--bg);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid var(--border);
}

/* CATEGORY TABS */
.category-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 32px;
  scrollbar-width: none;
}
.category-bar::-webkit-scrollbar { display: none; }

.cat-chip {
  white-space: nowrap;
  padding: 10px 22px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.cat-chip:hover, .cat-chip.active {
  background: var(--text-main);
  color: #FFFFFF;
  border-color: var(--text-main);
}

/* MENU GRID */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.dish-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
}

.dish-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-color: var(--border-gold);
}

.dish-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.dish-title {
  font-size: 19px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-main);
}

.dish-price {
  font-size: 19px;
  font-weight: 700;
  color: var(--burgundy);
  white-space: nowrap;
}

.dish-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  background: rgba(184, 134, 11, 0.1);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.dish-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.dish-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.dish-allergens {
  font-size: 11.5px;
  color: var(--text-light);
}

.btn-add {
  background: var(--text-main);
  color: #FFFFFF;
  border: none;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-add:hover {
  background: var(--burgundy);
  transform: scale(1.02);
}

/* OTO MODAL POPUP */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(28, 25, 23, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.oto-box {
  background: #FFFFFF;
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  text-align: center;
}

.oto-badge {
  background: rgba(184, 134, 11, 0.1);
  color: var(--gold);
  border: 1px solid var(--border-gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
}

.oto-title {
  font-size: 24px;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.oto-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.oto-price-tag {
  font-size: 26px;
  font-weight: 800;
  color: var(--burgundy);
  margin-bottom: 24px;
}

.oto-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-oto-accept {
  background: var(--text-main);
  color: #FFFFFF;
  padding: 14px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-oto-accept:hover {
  background: var(--burgundy);
}

.btn-oto-skip {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: 30px;
  font-size: 13px;
  cursor: pointer;
}

/* FLOATING CART BAR */
.floating-cart {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 620px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 14px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 500;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.cart-summary {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-count-badge {
  background: var(--burgundy);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-total-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.btn-checkout {
  background: var(--text-main);
  color: #FFFFFF;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
}
.btn-checkout:hover {
  background: var(--burgundy);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar { flex-direction: column; gap: 14px; padding: 16px; }
  .nav-links { width: 100%; justify-content: center; flex-wrap: wrap; }
  .mode-toggle-card { flex-direction: column; align-items: stretch; }
  .hero-banner { padding: 32px 24px; }
}
