/* ==========================================================================
   Kitchen Royale — style.css
   ========================================================================== */

:root {
  --cream: #F8F5EF;
  --warm-white: #FFFDF9;
  --charcoal: #191916;
  --deep-green: #29451F;
  --deep-green-dark: #1D3216;
  --olive: #61704A;
  --orange: #D96A21;
  --orange-dark: #B7551A;
  --gold: #B58A50;
  --border: #E6E0D6;
  --muted: #77736C;
  --white: #FFFFFF;

  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', 'Inter', -apple-system, sans-serif;

  --radius-s: 6px;
  --radius-m: 10px;
  --radius-l: 16px;
  --shadow-card: 0 4px 18px rgba(25, 25, 22, 0.07);
  --shadow-pop: 0 12px 32px rgba(25, 25, 22, 0.16);
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-s);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-secondary { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-secondary:hover { background: var(--charcoal); color: var(--white); }
.btn-green { background: var(--deep-green); color: var(--white); }
.btn-green:hover { background: var(--deep-green-dark); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.8rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Top info bar ---------- */
.topbar {
  background: var(--charcoal);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 13px; height: 13px; flex-shrink: 0; }
.topbar-socials { display: flex; gap: 10px; }
.topbar-socials a svg { width: 14px; height: 14px; }
.topbar-hours { color: rgba(255,255,255,0.65); }

@media (max-width: 860px) {
  .topbar { display: none; }
}

/* ---------- Header ---------- */
.site-header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--deep-green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-size: 0.86rem; font-weight: 600; color: var(--charcoal);
  padding-bottom: 4px; border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--orange); border-color: var(--orange); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.cart-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--white); transition: border-color .15s ease;
}
.cart-btn:hover { border-color: var(--orange); }
.cart-btn svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute; top: -6px; right: -6px; background: var(--orange); color: var(--white);
  font-size: 0.66rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.hamburger-btn {
  display: none; width: 40px; height: 40px; border: none; background: transparent;
  align-items: center; justify-content: center;
}
.hamburger-btn svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-actions .btn-secondary.book-desktop { display: none; }
  .hamburger-btn { display: flex; }
}

.mobile-nav {
  position: fixed; inset: 0; z-index: 200; display: none;
}
.mobile-nav.open { display: block; }
.mobile-nav-backdrop { position: absolute; inset: 0; background: rgba(25,25,22,0.45); }
.mobile-nav-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(320px, 86vw);
  background: var(--warm-white); padding: 22px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-pop);
}
.mobile-nav-close {
  align-self: flex-end; width: 36px; height: 36px; border: none; background: var(--cream);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.mobile-nav-close svg { width: 18px; height: 18px; }
.mobile-nav-panel a {
  padding: 14px 6px; font-size: 1rem; font-weight: 600; border-bottom: 1px solid var(--border);
}
.mobile-nav-panel .btn { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.hero-eyebrow { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 14px; }
.hero-heading { font-size: clamp(2.3rem, 4.2vw, 3.4rem); }
.hero-heading .accent { color: var(--orange); font-style: italic; font-weight: 500; }
.hero-copy { margin-top: 18px; color: var(--muted); font-size: 1.02rem; max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 9px; font-size: 0.82rem; font-weight: 600; color: var(--charcoal); }
.hero-badge svg { width: 20px; height: 20px; color: var(--deep-green); }

.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-l); }
.hero-tag {
  position: absolute; top: -18px; right: 20px; background: var(--white); border-radius: 50%;
  width: 108px; height: 108px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: var(--shadow-pop); font-family: var(--font-display);
}
.hero-tag strong { font-size: 1.3rem; color: var(--orange); line-height: 1; }
.hero-tag span { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-top: 4px; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 30px; }
  .hero-media { order: 2; }
  .hero-content { order: 1; }
  .hero { padding: 30px 0 44px; }
  .hero-media img { aspect-ratio: 4/3; }
}

/* ---------- Section shell ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 48px 0; }
.section-label { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 10px; }
.section-heading { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head .link-more { font-size: 0.84rem; font-weight: 700; color: var(--deep-green); border-bottom: 1px solid var(--deep-green); padding-bottom: 2px; }

/* ---------- About / welcome section ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1fr 0.7fr; gap: 44px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-l); }
.about-badge {
  position: absolute; bottom: -18px; left: 18px; background: var(--orange); color: var(--white);
  border-radius: var(--radius-m); padding: 16px 18px; text-align: center; box-shadow: var(--shadow-pop);
  font-family: var(--font-display); min-width: 96px;
}
.about-badge strong { display: block; font-size: 1.3rem; }
.about-badge span { display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.about-copy p { color: var(--muted); margin-top: 14px; max-width: 48ch; }
.about-benefits { display: flex; flex-direction: column; gap: 22px; }
.about-benefit { display: flex; align-items: flex-start; gap: 12px; }
.about-benefit .icon-circle { width: 42px; height: 42px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-benefit .icon-circle svg { width: 19px; height: 19px; color: var(--deep-green); }
.about-benefit h4 { font-size: 0.95rem; margin-bottom: 2px; }
.about-benefit p { font-size: 0.84rem; color: var(--muted); }

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media img { aspect-ratio: 16/10; }
  .about-badge { position: static; margin-top: -30px; margin-left: 18px; display: inline-block; }
}

/* ---------- Dish / menu cards ---------- */
.dish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dish-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-m);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease;
}
.dish-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.dish-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cream); }
.dish-media img { width: 100%; height: 100%; object-fit: cover; }
.dish-media .sold-out-badge {
  position: absolute; inset: 0; background: rgba(25,25,22,0.55); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.dish-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dish-category { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--olive); font-weight: 700; }
.dish-name { font-size: 1.04rem; font-family: var(--font-display); font-weight: 600; }
.dish-desc { font-size: 0.83rem; color: var(--muted); flex: 1; }
.dish-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.dish-price { font-weight: 700; color: var(--orange); font-family: var(--font-display); font-size: 1.05rem; }
.add-btn {
  width: 36px; height: 36px; border-radius: 50%; background: var(--deep-green); color: var(--white);
  border: none; display: flex; align-items: center; justify-content: center; transition: background .15s ease;
}
.add-btn:hover { background: var(--deep-green-dark); }
.add-btn svg { width: 17px; height: 17px; }
.add-btn.pill { width: auto; border-radius: 999px; padding: 8px 16px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; gap: 6px; }

.qty-stepper { display: flex; align-items: center; gap: 10px; background: var(--cream); border-radius: 999px; padding: 4px 6px; }
.qty-stepper button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.qty-stepper span { min-width: 16px; text-align: center; font-weight: 700; font-size: 0.88rem; }

@media (max-width: 1080px) { .dish-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .dish-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .dish-body { padding: 12px; } }
@media (max-width: 480px) { .dish-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Promo strip ---------- */
.promo {
  background: var(--deep-green); color: var(--white); border-radius: var(--radius-l);
  display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
}
.promo-copy { padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.promo-label { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: #C9D6BE; font-weight: 700; }
.promo-heading { font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 16ch; }
.promo-copy p.body { color: rgba(255,255,255,0.8); max-width: 34ch; }
.promo-media { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2px; }
.promo-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .promo { grid-template-columns: 1fr; }
  .promo-media { grid-template-columns: 1fr 1fr; height: 200px; }
  .promo-copy { padding: 30px; }
}

/* ---------- Reservation block ---------- */
.reservation-section { background: var(--warm-white); }
.reservation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.reservation-form {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-l);
  padding: 30px; box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.78rem; font-weight: 700; color: var(--charcoal); }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--border); border-radius: var(--radius-s); padding: 11px 13px; background: var(--cream);
  color: var(--charcoal); width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--orange); background: var(--white); }
.form-error { font-size: 0.76rem; color: #B3261E; min-height: 16px; }
.field-invalid { border-color: #B3261E !important; }
.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-chip {
  border: 1px solid var(--border); border-radius: 999px; padding: 9px 15px; font-size: 0.82rem; font-weight: 600;
  cursor: pointer; background: var(--cream); transition: all .12s ease; display: flex; align-items: center; gap: 6px;
}
.radio-chip input { accent-color: var(--orange); }
.radio-chip.selected { background: var(--deep-green); color: var(--white); border-color: var(--deep-green); }

@media (max-width: 900px) {
  .reservation-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Services strip ---------- */
.services-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.service-item { display: flex; align-items: center; gap: 12px; padding: 26px 24px; border-right: 1px solid var(--border); }
.service-item:last-child { border-right: none; }
.service-item svg { width: 26px; height: 26px; color: var(--deep-green); flex-shrink: 0; }
.service-item h4 { font-size: 0.92rem; margin-bottom: 2px; }
.service-item p { font-size: 0.78rem; color: var(--muted); }
@media (max-width: 760px) {
  .services-strip { grid-template-columns: 1fr 1fr; }
  .service-item { border-bottom: 1px solid var(--border); padding: 20px; }
  .service-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .service-item:nth-child(2n) { border-right: none; }
}

/* ---------- Bakery section ---------- */
.bakery-section { background: var(--cream); }
.bakery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.bakery-card { text-align: center; }
.bakery-card .bakery-media { aspect-ratio: 1/1; border-radius: 50%; overflow: hidden; margin: 0 auto 12px; width: 84%; }
.bakery-card .bakery-media img { width: 100%; height: 100%; object-fit: cover; }
.bakery-card h4 { font-size: 0.92rem; }
@media (max-width: 900px) { .bakery-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 10px; } }
@media (max-width: 560px) { .bakery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Contact section ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-row .icon-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-row .icon-circle svg { width: 18px; height: 18px; color: var(--deep-green); }
.contact-row h4 { font-size: 0.9rem; margin-bottom: 2px; }
.contact-row p { font-size: 0.88rem; color: var(--muted); }
.contact-map { border-radius: var(--radius-l); overflow: hidden; min-height: 260px; }
.contact-map img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.75); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 34px; padding: 56px 0 32px; }
.footer-col h4 { color: var(--white); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-col p { font-size: 0.86rem; line-height: 1.6; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.86rem; }
.footer-col ul a:hover { color: var(--orange); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-name { color: var(--white); }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-socials svg { width: 15px; height: 15px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; font-size: 0.78rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; padding: 40px 0 24px; } }

/* ---------- Page header (interior pages) ---------- */
.page-hero { background: var(--warm-white); border-bottom: 1px solid var(--border); padding: 40px 0; text-align: center; }
.page-hero .section-label { justify-content: center; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.breadcrumb { font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
.breadcrumb a { color: var(--deep-green); font-weight: 600; }

/* ---------- Menu page ---------- */
.menu-page-layout { padding: 40px 0 80px; }
.menu-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.menu-tab {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--white);
  font-size: 0.84rem; font-weight: 700; transition: all .12s ease;
}
.menu-tab.active { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.menu-category-block { margin-bottom: 46px; }
.menu-category-title { font-size: 1.4rem; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }

/* ---------- Modal / bottom sheet ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(25,25,22,0.5); z-index: 300;
  display: none; align-items: flex-end; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal-panel {
  background: var(--white); width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto;
  border-radius: var(--radius-l) var(--radius-l) 0 0; padding: 26px;
  animation: slideUp .22s ease;
}
@media (min-width: 640px) {
  .modal-overlay { align-items: center; }
  .modal-panel { border-radius: var(--radius-l); max-height: 88vh; }
}
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream); border: none; display: flex; align-items: center; justify-content: center;
}
.modal-close svg { width: 16px; height: 16px; }
.modal-panel { position: relative; }
.modal-header { display: flex; gap: 16px; margin-bottom: 20px; padding-right: 30px; }
.modal-header img { width: 90px; height: 90px; border-radius: var(--radius-m); object-fit: cover; flex-shrink: 0; }
.modal-header h3 { font-size: 1.2rem; margin-bottom: 4px; }
.modal-header .base-price { color: var(--orange); font-weight: 700; }
.customize-group { margin-bottom: 22px; }
.customize-group-title { font-size: 0.86rem; font-weight: 700; margin-bottom: 10px; display: flex; justify-content: space-between; }
.customize-group-title .req-tag { font-size: 0.68rem; color: var(--muted); font-weight: 500; text-transform: none; }
.customize-option {
  display: flex; align-items: center; justify-content: space-between; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-s); margin-bottom: 8px; cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}
.customize-option:hover { border-color: var(--gold); }
.customize-option.selected { border-color: var(--deep-green); background: #F1F5EC; }
.customize-option-left { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; }
.customize-option-price { font-size: 0.82rem; color: var(--muted); font-weight: 600; }
.modal-footer { position: sticky; bottom: -26px; background: var(--white); margin: 20px -26px -26px; padding: 16px 26px; border-top: 1px solid var(--border); }
.modal-footer .btn { width: 100%; }

/* ---------- Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; padding: 40px 0 90px; }
.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.cart-item img { width: 72px; height: 72px; border-radius: var(--radius-s); object-fit: cover; }
.cart-item-name { font-weight: 700; font-size: 0.96rem; }
.cart-item-meta { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.cart-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item-price { font-weight: 700; color: var(--orange); }
.cart-item-remove { font-size: 0.74rem; color: var(--muted); text-decoration: underline; background: none; border: none; padding: 0; }
.cart-summary {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-l);
  padding: 24px; position: sticky; top: 100px;
}
.summary-row { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 12px; color: var(--muted); }
.summary-row.total { color: var(--charcoal); font-weight: 700; font-size: 1.08rem; border-top: 1px solid var(--border); padding-top: 14px; margin-top: 4px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state svg { width: 56px; height: 56px; margin-bottom: 16px; color: var(--border); }
.empty-state h3 { color: var(--charcoal); margin-bottom: 8px; }

@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } .cart-summary { position: static; } }

.sticky-cart-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--charcoal); color: var(--white);
  padding: 14px 18px; display: none; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
}
.sticky-cart-bar.show { display: flex; }
.sticky-cart-bar .info { font-size: 0.86rem; }
.sticky-cart-bar strong { display: block; font-size: 0.98rem; }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; padding: 40px 0 90px; align-items: start; }
.checkout-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 26px; margin-bottom: 20px; }
.checkout-card h3 { font-size: 1.05rem; margin-bottom: 16px; }
.order-line { display: flex; justify-content: space-between; font-size: 0.86rem; padding: 8px 0; border-bottom: 1px dashed var(--border); }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } }

/* Success page */
.success-panel { max-width: 560px; margin: 60px auto; text-align: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 46px 30px; }
.success-icon { width: 68px; height: 68px; border-radius: 50%; background: #F1F5EC; color: var(--deep-green); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.success-icon svg { width: 32px; height: 32px; }
.order-id-badge { display: inline-block; background: var(--cream); border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px; font-weight: 700; margin: 14px 0 22px; letter-spacing: 0.03em; }
.status-track { display: flex; justify-content: space-between; margin: 28px 0; gap: 4px; }
.status-track .step { flex: 1; text-align: center; font-size: 0.68rem; color: var(--muted); position: relative; padding-top: 24px; }
.status-track .step::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; border-radius: 50%; background: var(--border); }
.status-track .step.done::before { background: var(--deep-green); }
.status-track .step.done { color: var(--deep-green); font-weight: 700; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--charcoal); color: var(--white); padding: 13px 22px; border-radius: 999px;
  font-size: 0.86rem; font-weight: 600; z-index: 500; opacity: 0; transition: all .25s ease; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Badges ---------- */
.status-badge { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.status-badge.Pending { background: #FCEFD9; color: #92640B; }
.status-badge.Confirmed { background: #E3EEFB; color: #1E5A9C; }
.status-badge.Preparing { background: #FCE9D6; color: var(--orange-dark); }
.status-badge.Ready { background: #E4F1DC; color: var(--deep-green); }
.status-badge.Out.for.Delivery, .status-badge.OutForDelivery { background: #EFE3FB; color: #6A3D9C; }
.status-badge.Completed { background: #E4F1DC; color: var(--deep-green); }
.status-badge.Cancelled { background: #FBE3E3; color: #B3261E; }

@media (max-width: 480px) {
  .hero-actions .btn, .btn-block-mobile { width: 100%; }
}
