:root {
  --primary: #1c1c1c;
  --accent: #c9a24b;
  --bg: #faf8f5;
  --card-bg: #ffffff;
  --text: #262421;
  --text-muted: #726b60;
  --border: #ece7de;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(28, 24, 16, 0.08);
  --shadow-hover: 0 10px 32px rgba(28, 24, 16, 0.14);
  --header-h: 340px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

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

/* ---------------- Header ---------------- */
.site-header {
  position: relative;
  min-height: var(--header-h);
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 40px;
  color: #fff;
  text-align: center;
}

.site-header__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.7) 100%);
}

.site-header__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.site-header__logo {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.85);
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
  margin-bottom: 4px;
  background: #fff;
}

.site-header__title {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: .3px;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.site-header__desc {
  margin: 0;
  font-size: .98rem;
  opacity: .92;
  max-width: 480px;
}

.site-header__social {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.site-header__social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  transition: background .2s, transform .2s;
}

.site-header__social a:hover { background: rgba(255,255,255,.3); transform: translateY(-2px); }

.lang-switch {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: flex;
  gap: 4px;
  background: rgba(0,0,0,.35);
  border-radius: 999px;
  padding: 4px;
  backdrop-filter: blur(4px);
}

.lang-switch__btn {
  border: none;
  background: transparent;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  opacity: .75;
  transition: background .2s, opacity .2s;
}

.lang-switch__btn.is-active,
.lang-switch__btn:hover { background: var(--accent); color: #1c1c1c; opacity: 1; }

/* ---------------- Category nav ---------------- */
.category-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 248, 245, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.category-nav__scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px;
  scrollbar-width: none;
}
.category-nav__scroll::-webkit-scrollbar { display: none; }

.category-nav__link {
  flex: 0 0 auto;
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}

.category-nav__link.is-active,
.category-nav__link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---------------- Layout ---------------- */
.page-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 10px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.menu-section { margin-bottom: 40px; scroll-margin-top: 68px; }

.menu-section__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.dish-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}

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

.dish-card__image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f0ece3;
  cursor: zoom-in;
}

.dish-card__image { width: 100%; height: 100%; object-fit: cover; }

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.badge--new { background: #2f8a52; }
.badge--popular { background: var(--accent); left: auto; right: 10px; top: 10px; color: #1c1c1c; }
.badge--new + .badge--popular { top: 10px; }

.dish-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }

.dish-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.dish-card__name { margin: 0; font-size: 1.05rem; font-weight: 700; }
.dish-card__price { font-weight: 700; color: var(--accent); font-size: 1.05rem; white-space: nowrap; }

.dish-card__desc { margin: 0; font-size: .87rem; color: var(--text-muted); }
.dish-card__ingredients { margin: 0; font-size: .78rem; color: #948c7d; font-style: italic; }

.dish-card__tags { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.tag { font-size: .68rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.tag--veg { background: #e4f3e6; color: #2f8a52; }
.tag--spicy { background: #fbe6e2; color: #c0432b; }

.empty-state { color: var(--text-muted); padding: 40px 0; text-align: center; }

/* ---------------- Info sidebar ---------------- */
.info-column { position: sticky; top: 70px; }

.info-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px 20px;
}

.info-card__title {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: .92rem;
}
.info-row:first-of-type { border-top: none; }
.info-row__icon { color: var(--accent); flex: 0 0 auto; margin-top: 1px; }

.hours-table { width: 100%; display: flex; flex-direction: column; gap: 3px; }
.hours-table__row { display: flex; justify-content: space-between; font-size: .85rem; gap: 8px; }
.hours-table__row span:first-child { color: var(--text-muted); }

.info-card__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.info-card__social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--primary);
  transition: background .2s, color .2s;
}
.info-card__social a:hover { background: var(--accent); color: #1c1c1c; }

/* ---------------- Footer ---------------- */
.site-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: .82rem;
  padding: 30px 16px 40px;
}

/* ---------------- Lightbox ---------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 6, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__image { max-width: 100%; max-height: 90vh; border-radius: var(--radius-md); }
.lightbox__close {
  position: absolute;
  top: 18px; right: 22px;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .info-column { position: static; order: 2; }
  .menu-column { order: 1; }
}

@media (max-width: 560px) {
  :root { --header-h: 260px; }
  .site-header { padding: 54px 16px 30px; }
  .site-header__logo { width: 68px; height: 68px; }
  .page-layout { padding: 18px 14px 6px; gap: 22px; }
  .dish-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dish-card__body { padding: 10px 12px 14px; }
  .dish-card__name { font-size: .95rem; }
  .lang-switch { top: 10px; right: 10px; }
}

@media (max-width: 400px) {
  .dish-grid { grid-template-columns: 1fr; }
}

/* ---------------- Ordering / Cart ---------------- */
.add-cart-btn { margin-top: auto; width: 100%; border: 0; border-radius: 10px; padding: 10px 12px; background: var(--primary); color: #fff; font-weight: 700; cursor: pointer; transition: opacity .2s, transform .2s; }
.add-cart-btn:hover { opacity: .9; transform: translateY(-1px); }
.cart-fab { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--accent); color: #1c1c1c; box-shadow: 0 8px 26px rgba(0,0,0,.22); cursor: pointer; font-size: 22px; }
.cart-fab__count { position: absolute; top: -3px; right: -3px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px; background: #e84852; color: #fff; font-size: 12px; line-height: 22px; font-weight: 700; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100vw); background: #fff; z-index: 90; box-shadow: -10px 0 35px rgba(0,0,0,.16); transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; }
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__head { display:flex; justify-content:space-between; align-items:center; padding:20px; border-bottom:1px solid var(--border); }
.cart-drawer__head h2 { margin:0; font-size:1.15rem; }
.cart-drawer__head button { border:0; background:transparent; font-size:28px; cursor:pointer; color:var(--text-muted); }
.cart-drawer__items { flex:1; overflow:auto; padding:14px 18px; }
.cart-item { display:grid; grid-template-columns:64px 1fr auto; gap:10px; padding:12px 0; border-bottom:1px solid var(--border); align-items:center; }
.cart-item img { width:64px; height:64px; border-radius:10px; object-fit:cover; }
.cart-item__name { font-weight:700; font-size:.9rem; }
.cart-item__price { color:var(--text-muted); font-size:.8rem; margin-top:3px; }
.cart-item__controls { display:flex; align-items:center; gap:5px; margin-top:7px; }
.cart-item__controls button { width:28px; height:28px; border:1px solid var(--border); background:#fff; border-radius:7px; cursor:pointer; }
.cart-item__remove { border:0 !important; background:transparent !important; color:#c0432b; }
.cart-drawer__bottom { border-top:1px solid var(--border); padding:16px 18px 20px; }
.cart-line { display:flex; justify-content:space-between; margin-bottom:14px; }
.cart-checkout, .checkout-submit { display:block; width:100%; text-align:center; border:0; border-radius:9px; padding:14px; background:#e84852; color:#fff; font-weight:800; cursor:pointer; }
.cart-overlay { position:fixed; inset:0; background:rgba(0,0,0,.35); z-index:85; }
.cart-empty { padding:40px 10px; text-align:center; color:var(--text-muted); }

/* ---------------- Checkout ---------------- */
.checkout-page { background:#fafafa; }
.checkout-shell { max-width:1120px; margin:0 auto; padding:30px 20px 50px; }
.checkout-back { display:inline-block; margin-bottom:18px; color:var(--text-muted); font-weight:600; }
.checkout-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr); gap:30px; align-items:start; }
.checkout-main { background:#fff; border:1px solid var(--border); border-radius:8px; padding:28px 32px; }
.checkout-section { padding-bottom:28px; margin-bottom:28px; border-bottom:1px solid var(--border); }
.checkout-section:last-child { border-bottom:0; margin-bottom:0; padding-bottom:0; }
.checkout-section__marker { display:flex; align-items:center; gap:18px; margin-bottom:22px; text-transform:uppercase; font-size:1rem; }
.checkout-section__marker span { font-size:3.2rem; line-height:1; color:#eee; font-weight:800; }
.service-options { display:grid; gap:12px; }
.service-option { display:flex; align-items:center; gap:12px; border:1px solid #d9d9d9; border-radius:9px; padding:14px 16px; cursor:pointer; font-weight:600; }
.service-option:has(input:checked) { border-color:#e84852; color:#e84852; }
.service-option input { accent-color:#e84852; }
.service-option__icon { font-size:22px; }
.checkout-form { display:grid; gap:8px; }
.checkout-form label { display:flex; flex-direction:column; gap:7px; font-size:.86rem; color:var(--text-muted); }
.checkout-form input { width:100%; padding:14px 15px; border:1px solid #d8d8d8; border-radius:9px; font:inherit; background:#fff; }
.tip-block { margin-top:16px; }
.tip-block h3 { font-size:.95rem; margin:0 0 9px; }
.tip-input-wrap { display:flex; align-items:center; border:1px solid #d8d8d8; border-radius:9px; overflow:hidden; }
.tip-input-wrap input { border:0; flex:1; outline:0; }
.tip-input-wrap span { padding-right:14px; color:var(--text-muted); }
.tip-quick { display:flex; gap:7px; flex-wrap:wrap; margin-top:9px; }
.tip-quick button { border:1px solid var(--border); background:#fff; border-radius:999px; padding:7px 12px; cursor:pointer; }
.checkout-summary { background:#fff; border:1px solid var(--border); border-radius:8px; padding:22px; position:sticky; top:20px; }
.checkout-summary h2 { margin:0 0 18px; font-size:1.05rem; text-transform:uppercase; }
.summary-item { display:grid; grid-template-columns:68px 1fr auto; gap:10px; align-items:center; padding:12px 0; border-bottom:1px dashed var(--border); }
.summary-item img { width:68px; height:68px; object-fit:cover; border-radius:9px; }
.summary-item__info { min-width:0; }
.summary-item__info strong { display:block; font-size:.88rem; }
.summary-item__info span { display:block; color:var(--text-muted); font-size:.78rem; margin-top:4px; }
.summary-item__qty { color:var(--text-muted); }
.summary-lines { margin-top:18px; }
.summary-lines > div { display:flex; justify-content:space-between; padding:7px 0; }
.summary-total { margin-top:8px; padding-top:14px !important; border-top:1px solid var(--border); font-size:1.05rem; }
.checkout-errors { background:#fff0f0; border:1px solid #f1c6c6; color:#b72d35; border-radius:8px; padding:12px 14px; margin-bottom:16px; }
.order-success { background:#f2f8f3; border:1px solid #cfe4d2; border-radius:10px; padding:24px; text-align:center; }
.order-success h2 { margin-top:0; }
.order-success .checkout-submit { margin-top:20px; text-decoration:none; }
.empty-checkout { text-align:center; color:var(--text-muted); padding:25px; }
.empty-checkout a { color:var(--accent); font-weight:700; }

@media (max-width: 800px) { .checkout-grid { grid-template-columns:1fr; } .checkout-summary { position:static; order:-1; } .checkout-main { padding:22px 18px; } }
@media (max-width: 560px) { .cart-fab { right:14px; bottom:14px; } }
