/* ─── 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: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ─── Typography ────────────────────────────────────────────────────────────── */
.display-xl { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.display-lg { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
.display-md { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.2; }
.display-sm { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
.eyebrow    { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.body-lg    { font-size: 1.125rem; line-height: 1.7; }
.body-sm    { font-size: 0.875rem; line-height: 1.5; }
.price      { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; color: var(--primary); }

/* ─── Layout ────────────────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ─── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--normal) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover  { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary:active { transform: translateY(0); }

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover { background: #EA580C; border-color: #EA580C; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--border);
}
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--bg-alt); color: var(--text); }

.btn-sm  { padding: 0.5rem 1rem; font-size: 0.875rem; border-radius: var(--radius-sm); }
.btn-lg  { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-icon { padding: 0.625rem; border-radius: var(--radius-sm); aspect-ratio: 1; }

/* ─── Header ────────────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--normal) var(--ease), box-shadow var(--normal) var(--ease);
}
.site-header.scrolled {
  background: rgba(28, 25, 23, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.15rem;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.header-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: color var(--fast), background var(--fast);
}
.header-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }

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

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #fff;
}
.hamburger svg { display: block; }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #2D1A0E 0%, #1C1917 55%, #0F0D0C 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(249,115,22,0.12) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 8rem 0 6rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow span { color: rgba(255,255,255,0.5); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.25rem;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(22,163,74,0.2);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(22,163,74,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(22,163,74,0.1); }
}
.hero-badge-text { font-size: 0.8rem; color: rgba(255,255,255,0.7); line-height: 1.4; }
.hero-badge-text strong { display: block; color: #fff; font-weight: 600; font-size: 0.875rem; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}
.hero-scroll svg { animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ─── Stats Bar ─────────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--dark);
  padding: 1.25rem 0;
}
.stats-bar .container {
  display: flex;
  justify-content: center;
  gap: 0;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 2.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-item svg { color: var(--accent); flex-shrink: 0; }

/* ─── Section Headers ───────────────────────────────────────────────────────── */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3.5rem; }
.section-header p { color: var(--text-muted); margin-top: 0.875rem; font-size: 1.05rem; }
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--border);
}
.divider-icon { color: var(--accent); font-size: 0.875rem; }

/* ─── Featured Items ────────────────────────────────────────────────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.featured-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--normal) var(--ease), box-shadow var(--normal) var(--ease);
  display: flex;
  flex-direction: column;
}
.featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.featured-card-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.featured-card-img.cat-mains    { background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%); }
.featured-card-img.cat-starters { background: linear-gradient(135deg, #DCFCE7 0%, #BBF7D0 100%); }
.featured-card-img.cat-desserts { background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%); }

.featured-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.featured-card-body h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.5rem; }
.featured-card-body p  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; flex: 1; margin-bottom: 1.25rem; }
.featured-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* ─── Story Section ─────────────────────────────────────────────────────────── */
.story-section { background: var(--bg-alt); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.story-content { max-width: 540px; }
.story-content h2 { margin-bottom: 1.25rem; }
.story-content p  { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.8; }
.story-content p:last-of-type { margin-bottom: 2rem; }

.story-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.story-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
.story-card:first-child {
  grid-column: span 2;
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.story-card-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; margin-bottom: 0.25rem; }
.story-card:first-child .story-card-num { color: var(--accent); }
.story-card-label { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; color: inherit; opacity: 0.7; }
.story-card:first-child .story-card-label { color: rgba(255,255,255,0.7); opacity: 1; }
.story-card-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }

/* ─── Menu Preview ──────────────────────────────────────────────────────────── */
.menu-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.menu-tab {
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--fast) var(--ease);
}
.menu-tab:hover  { border-color: var(--primary); color: var(--primary); }
.menu-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.menu-grid-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: border-color var(--fast), box-shadow var(--fast);
}
.menu-grid-item:hover { border-color: var(--accent-light); box-shadow: var(--shadow-sm); }
.menu-grid-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.menu-grid-item p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.4; }
.menu-item-price   { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--primary); flex-shrink: 0; }

.menu-section-hidden { display: none; }

.view-full-menu { text-align: center; margin-top: 2.5rem; }

/* ─── Hours & Location ──────────────────────────────────────────────────────── */
.hours-section { background: var(--dark); color: #fff; }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.hours-card { background: rgba(255,255,255,0.05); border-radius: var(--radius-lg); padding: 2.5rem; border: 1px solid rgba(255,255,255,0.08); }
.hours-card h3 { font-family: var(--font-display); font-size: 1.375rem; color: #fff; margin-bottom: 1.75rem; }
.hours-table { width: 100%; }
.hours-table tr { border-bottom: 1px solid rgba(255,255,255,0.06); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 0.625rem 0; font-size: 0.9rem; }
.hours-table td:first-child { color: rgba(255,255,255,0.5); font-weight: 500; }
.hours-table td:last-child  { color: rgba(255,255,255,0.85); text-align: right; }
.hours-table .today td { color: var(--accent); font-weight: 600; }
.hours-table .today td:first-child { color: var(--accent); }

.location-details { display: flex; flex-direction: column; gap: 1.25rem; }
.location-item { display: flex; align-items: flex-start; gap: 1rem; }
.location-icon { width: 36px; height: 36px; border-radius: var(--radius-sm); background: rgba(249,115,22,0.15); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.location-item-text { color: rgba(255,255,255,0.7); font-size: 0.9375rem; line-height: 1.5; }
.location-item-text strong { display: block; color: #fff; margin-bottom: 0.125rem; }

/* ─── Footer ────────────────────────────────────────────────────────────────── */
.site-footer { background: #0D0B0A; padding: 3.5rem 0 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}
.footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.9rem; margin-top: 0.75rem; max-width: 260px; line-height: 1.6; }
.footer-col h4 { color: rgba(255,255,255,0.3); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col ul a { color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: color var(--fast); }
.footer-col ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.25); font-size: 0.8rem; }

/* ─── Order Page Layout ─────────────────────────────────────────────────────── */
.order-header {
  background: var(--dark);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.order-header .container { display: flex; align-items: center; justify-content: space-between; }

.cart-btn {
  position: relative;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  color: #fff;
  padding: 0.625rem 1.125rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition: background var(--fast);
}
.cart-btn:hover { background: rgba(255,255,255,0.14); }
.cart-btn svg   { flex-shrink: 0; }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  width: 18px; height: 18px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.cart-count.visible { display: flex; }

.category-nav-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 60px;
  z-index: 90;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-nav-bar::-webkit-scrollbar { display: none; }
.category-nav-bar .container { display: flex; gap: 0; }
.cat-nav-btn {
  padding: 1rem 1.25rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--fast);
}
.cat-nav-btn:hover  { color: var(--primary); }
.cat-nav-btn.active { color: var(--primary); border-bottom-color: var(--primary); }

.order-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0 4rem;
}

/* Menu panel */
.menu-panel { min-width: 0; }
.menu-section { margin-bottom: 3rem; }
.menu-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-light);
}

.order-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--fast);
}
.order-item:last-child { border-bottom: none; }
.order-item-emoji {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  flex-shrink: 0;
}
.order-item-info { flex: 1; min-width: 0; }
.order-item-info h4 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.2rem; }
.order-item-info p  { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }
.order-item-right { display: flex; align-items: center; gap: 0.875rem; flex-shrink: 0; }
.order-item-price { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--dark); }

.add-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--fast);
  flex-shrink: 0;
}
.add-btn:hover { background: var(--primary); color: #fff; }

/* Modifier modal */
.modifier-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--normal);
}
.modifier-modal.open { opacity: 1; pointer-events: auto; }
.modifier-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  transform: scale(0.96);
  transition: transform var(--normal) var(--ease);
}
.modifier-modal.open .modifier-box { transform: scale(1); }
.modifier-box h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 0.25rem; }
.modifier-box p  { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; }
.modifier-group h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.modifier-options { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.modifier-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--fast), background var(--fast);
  font-size: 0.9375rem;
}
.modifier-option input { accent-color: var(--primary); }
.modifier-option:has(input:checked) { border-color: var(--primary); background: var(--accent-pale); }

/* Cart Panel */
.cart-panel {
  position: sticky;
  top: 120px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.cart-panel-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-panel-header h3 { font-family: var(--font-display); font-size: 1.125rem; }

.order-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 3px;
  margin: 1rem 1.5rem;
}
.order-type-btn {
  padding: 0.5rem 0;
  border: none;
  border-radius: 5px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--fast);
}
.order-type-btn.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-xs); }

.cart-items { padding: 0 1.5rem; max-height: 320px; overflow-y: auto; scrollbar-width: thin; }

.cart-empty {
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
}
.cart-empty-icon { font-size: 2.5rem; margin-bottom: 0.75rem; opacity: 0.4; }
.cart-empty p { font-size: 0.9rem; }

.cart-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-line:last-child { border-bottom: none; }
.cart-line-name { flex: 1; font-size: 0.9rem; font-weight: 500; line-height: 1.3; }
.cart-line-name small { display: block; font-size: 0.75rem; color: var(--text-muted); font-weight: 400; margin-top: 0.1rem; }
.qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.qty-btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--fast);
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-val { font-size: 0.875rem; font-weight: 600; min-width: 1rem; text-align: center; }
.cart-line-price { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 600; flex-shrink: 0; }

.cart-totals {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background: var(--bg-alt);
}
.total-row { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--text-muted); padding: 0.3rem 0; }
.total-row.grand { font-size: 1rem; font-weight: 700; color: var(--text); padding-top: 0.75rem; border-top: 1px solid var(--border); margin-top: 0.25rem; }

.cart-actions { padding: 1.25rem 1.5rem; }

/* ─── Checkout Modal ────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--normal);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal-box {
  background: var(--surface);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--normal) var(--ease);
}
.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-header {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 1;
}
.modal-header h2 { font-family: var(--font-display); font-size: 1.5rem; }
.modal-close {
  background: var(--bg-alt);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: background var(--fast), color var(--fast);
}
.modal-close:hover { background: var(--border); color: var(--text); }

.modal-body { padding: 1.75rem 2rem; display: flex; flex-direction: column; gap: 1.5rem; }

/* ─── Forms ─────────────────────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.03em; text-transform: uppercase; }
.form-input {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--fast), box-shadow var(--fast);
  width: 100%;
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,45,18,0.1);
}
.form-input::placeholder { color: var(--stone); }
textarea.form-input { resize: vertical; min-height: 80px; }

.form-section-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

/* Demo card input */
.demo-card-input {
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.demo-card-input span { font-family: monospace; letter-spacing: 0.1em; color: var(--text); }
.card-icons { display: flex; gap: 0.375rem; }
.card-icon { background: var(--border); border-radius: 3px; padding: 2px 6px; font-size: 0.65rem; font-weight: 700; color: var(--text-muted); }

/* Order summary in checkout */
.checkout-summary { background: var(--bg-alt); border-radius: var(--radius-md); padding: 1.25rem; }
.checkout-summary h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.875rem; }
.summary-items { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.875rem; }
.summary-item { display: flex; justify-content: space-between; font-size: 0.875rem; }
.summary-item span:first-child { color: var(--text-muted); }
.summary-totals { border-top: 1px solid var(--border); padding-top: 0.875rem; display: flex; flex-direction: column; gap: 0.375rem; }
.summary-total-row { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--text-muted); }
.summary-total-row.grand { font-weight: 700; color: var(--text); font-size: 1rem; padding-top: 0.5rem; border-top: 1px dashed var(--border); margin-top: 0.25rem; }

/* ─── Confirmation ──────────────────────────────────────────────────────────── */
.confirmation-panel {
  text-align: center;
  padding: 2rem;
  display: none;
}
.confirmation-panel.show { display: block; }
.confirm-icon {
  width: 72px; height: 72px;
  background: var(--green-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}
.confirmation-panel h2 { font-family: var(--font-display); font-size: 1.75rem; margin-bottom: 0.5rem; }
.confirmation-panel p  { color: var(--text-muted); margin-bottom: 0.5rem; }
.order-num { display: inline-block; background: var(--bg-alt); border-radius: var(--radius-sm); padding: 0.375rem 0.875rem; font-family: monospace; font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; margin: 0.5rem 0 1.5rem; }

.status-track { display: flex; align-items: center; justify-content: center; gap: 0; margin: 1.5rem 0; }
.status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  flex: 1;
}
.status-step + .status-step::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.status-step.done + .status-step::before { background: var(--green); }
.status-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  position: relative;
  z-index: 1;
  transition: all var(--slow);
}
.status-step.done .status-dot  { border-color: var(--green); background: var(--green); }
.status-step.active .status-dot { border-color: var(--accent); background: var(--accent); }
.status-step span { font-size: 0.7rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; text-align: center; }
.status-step.done span   { color: var(--green); }
.status-step.active span { color: var(--accent); }

/* ─── Loading spinner ───────────────────────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Alerts ────────────────────────────────────────────────────────────────── */
.alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  display: none;
}
.alert.show { display: block; }
.alert-error { background: var(--red-bg); color: var(--red); border: 1px solid rgba(220,38,38,0.2); }
.alert-success { background: var(--green-bg); color: var(--green); border: 1px solid rgba(22,163,74,0.2); }

/* ─── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hours-grid { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .cart-panel { position: fixed; bottom: 0; left: 0; right: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; z-index: 150; transform: translateY(calc(100% - 72px)); transition: transform var(--normal) var(--ease); }
  .cart-panel.open { transform: translateY(0); }
  .cart-panel-header { cursor: pointer; }
  .cart-mobile-bar { display: flex; }
}
@media (max-width: 768px) {
  .featured-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .stat-item { padding: 0.5rem 1.25rem; }
  .stat-item span { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content { padding-top: 6rem; }
  .stats-bar .container { flex-wrap: wrap; justify-content: flex-start; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .modal-body { padding: 1.25rem; }
  .modal-header { padding: 1.25rem; }
}
