/* ============================================================
   Γιαννιώτικο Σουβλάκι — public site styles
   ============================================================ */

:root {
  --red: #b3121a;
  --red-dark: #8f0d14;
  --red-soft: #fdecec;
  --charcoal: #1d1d1f;
  --ink: #2b2b30;
  --muted: #6b6b74;
  --line: #e6e6ea;
  --bg: #faf7f4;
  --card: #ffffff;
  --gold: #c8a24a;
  --green: #1f9d55;
  --amber: #b97a00;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(20, 12, 8, 0.08);
  --shadow-lg: 0 18px 50px rgba(20, 12, 8, 0.16);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Rubik', var(--font);
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.site {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--charcoal); margin: 0 0 .5em; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.1rem; }

.muted { color: var(--muted); }
.small { font-size: .82rem; }
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--red); color: #fff;
  padding: .6rem 1rem; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ── Topbar ──────────────────────────────────────────────── */
.topbar { background: var(--charcoal); color: #e9e9ec; font-size: .82rem; }
.topbar-inner { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: .45rem 1.1rem; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar-item.status.open { color: #7ee2a8; }
.topbar-item.status.closed { color: #ff9d9d; }

/* ── Navbar ──────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 200; background: #fff; box-shadow: 0 1px 0 var(--line); }
.navbar-inner { display: flex; align-items: center; gap: 1rem; padding: .7rem 1.1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand-text strong { display: block; color: var(--charcoal); font-family: var(--font-head); font-size: 1.05rem; }
.brand-text small { color: var(--muted); font-size: .76rem; }

.nav-links { display: flex; gap: .3rem; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav-links a {
  display: block; padding: .5rem .8rem; border-radius: 999px; color: var(--ink);
  font-weight: 500; font-size: .95rem;
}
.nav-links a:hover { background: var(--red-soft); color: var(--red); text-decoration: none; }
.nav-links a.active { background: var(--red); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: .5rem; }
.lang { font-weight: 700; color: var(--charcoal); padding: .35rem .55rem; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; }
.lang:hover { text-decoration: none; background: var(--bg); }
.icon-btn { font-size: 1.15rem; padding: .35rem .5rem; border-radius: 999px; }
.icon-btn:hover { background: var(--bg); text-decoration: none; }
.cart-btn {
  position: relative; font-size: 1.2rem; background: none; border: 0; cursor: pointer;
  padding: .35rem .5rem; border-radius: 999px;
}
.cart-btn:hover { background: var(--bg); }
.cart-count {
  position: absolute; top: -2px; right: -4px; background: var(--red); color: #fff;
  font-size: .68rem; min-width: 18px; height: 18px; line-height: 18px; border-radius: 999px;
  text-align: center; padding: 0 4px; font-weight: 700;
}
.nav-toggle { display: none; font-size: 1.5rem; background: none; border: 0; cursor: pointer; }

.pause-banner { background: var(--amber); color: #fff; text-align: center; padding: .5rem 1rem; font-size: .9rem; font-weight: 600; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border: 1px solid transparent; border-radius: 999px; padding: .62rem 1.15rem;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: transform .06s ease, background .15s ease, box-shadow .15s ease;
  line-height: 1.1;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { background: #fff; border-color: var(--red); color: var(--red); }
.btn-outline:hover { background: var(--red-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn-ghost:hover { background: var(--bg); }
.btn-danger { background: #c0222b; color: #fff; }
.danger { color: var(--red); }
.btn.danger:hover { background: #fdecec; color: #a1161d; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1.05rem; }
.btn-sm { padding: .42rem .8rem; font-size: .85rem; }
.btn-xs { padding: .28rem .55rem; font-size: .78rem; }
.btn-block { width: 100%; }

/* ── Cards / sections ────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; box-shadow: var(--shadow); margin-bottom: 1.1rem;
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .8rem; }
.card-head h2, .card-head h3 { margin: 0; }
.section-title { margin: 1.6rem 0 .8rem; font-size: 1.3rem; }

.page { padding: 1.6rem 1.1rem 3rem; }
.page.narrow { max-width: 760px; }
.page-head { margin-bottom: 1.4rem; }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .3rem; }
.page-sub { color: var(--muted); margin: 0; }
.breadcrumbs { font-size: .9rem; margin-bottom: 1rem; }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.45); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.6)); }
.hero-inner { position: relative; padding: 3.5rem 1.1rem 3.8rem; }
.hero-copy { max-width: 640px; }
.hero-logo { height: 92px; width: auto; margin-bottom: 1rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .3rem; }
.hero-tagline { font-size: 1.2rem; color: var(--gold); font-weight: 600; margin: 0 0 .6rem; }
.hero-sub { color: #eee; max-width: 560px; margin-bottom: 1.4rem; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.hero-actions .btn-outline { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,.25); }
.hero-status { display: flex; gap: .6rem; flex-wrap: wrap; }
.pill { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: .35rem .8rem; border-radius: 999px; font-size: .85rem; }
.pill-open { background: rgba(31,157,85,.35); border-color: #7ee2a8; }
.pill-closed { background: rgba(192,34,43,.4); border-color: #ff9d9d; }

/* ── Info strip ──────────────────────────────────────────── */
.info-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: -2.2rem; position: relative; z-index: 3; }
.info-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.1rem; text-align: center; }
.info-card h3 { margin: .2rem 0; font-size: 1rem; }
.info-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.info-ico { font-size: 1.8rem; }

.home-section { padding: 2.4rem 1.1rem 0; }

/* ── Product grid ────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.1rem; }

.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card.is-soldout { opacity: .72; }
.pc-img { position: relative; aspect-ratio: 4 / 3; background: #efe9e2; overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-img-placeholder { display: grid; place-items: center; height: 100%; font-size: 2.4rem; opacity: .5; }
.badge { position: absolute; top: .6rem; left: .6rem; padding: .2rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; color: #fff; }
.badge-offer { background: var(--red); }
.badge-soldout { background: var(--charcoal); left: auto; right: .6rem; }
.badge-veg { top: auto; bottom: .6rem; background: var(--green); }

.pc-body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.pc-name { margin: 0; font-size: 1.02rem; }
.pc-desc { margin: 0; color: var(--muted); font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-allergens { margin: 0; font-size: .76rem; color: var(--muted); }
.allergen-label { font-weight: 600; }
.pc-controls { display: flex; gap: .5rem; align-items: center; margin-top: auto; }
.pc-half { flex: 1; }
.pc-half select, .pc-qty { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .4rem .5rem; font: inherit; background: #fff; }
.pc-qty { width: 62px; text-align: center; }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .3rem; }
.pc-price { font-weight: 700; font-size: 1.1rem; color: var(--charcoal); }
.pc-ing-hint { margin: .1rem 0 0; font-size: .74rem; color: var(--muted); }

/* ── Menu layout ─────────────────────────────────────────── */
.menu-layout { display: grid; grid-template-columns: 250px 1fr; gap: 1.6rem; align-items: start; }
.menu-side { position: sticky; top: 90px; }
.menu-search input { width: 100%; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; margin-bottom: .8rem; }
.menu-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.menu-cats a { display: block; padding: .5rem .7rem; border-radius: var(--radius-sm); color: var(--ink); font-size: .92rem; }
.menu-cats a:hover { background: var(--red-soft); text-decoration: none; }
.menu-cats a.active { background: var(--red); color: #fff; }
.menu-cat { scroll-margin-top: 100px; margin-bottom: 2rem; }
.cat-head h2 { margin: 0 0 .2rem; font-size: 1.4rem; }
.cat-note { color: var(--muted); margin: 0 0 .8rem; font-size: .9rem; }

/* ── Cart drawer ─────────────────────────────────────────── */
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100vw);
  background: #fff; box-shadow: var(--shadow-lg); transform: translateX(105%);
  transition: transform .25s ease; z-index: 400; display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.cart-drawer-head h3 { margin: 0; }
.cart-close { background: none; border: 0; font-size: 1.3rem; cursor: pointer; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.2rem; }
.cart-drawer-foot { padding: 1rem 1.2rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .55rem; }
.cart-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 390; }
.cart-backdrop[hidden] { display: none; }

.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .7rem; padding: .6rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.cart-item .ci-name { font-weight: 600; font-size: .92rem; margin: 0; }
.cart-item .ci-meta { color: var(--muted); font-size: .78rem; }
.ci-qty { display: inline-flex; align-items: center; gap: .35rem; margin-top: .3rem; }
.ci-qty button { width: 26px; height: 26px; border: 1px solid var(--line); background: #fff; border-radius: 8px; cursor: pointer; font-size: 1rem; line-height: 1; }
.ci-price { font-weight: 700; white-space: nowrap; }
.ci-remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .8rem; text-decoration: underline; padding: 0; }
.cart-item .ci-note { color: var(--amber); }
.ci-note-edit { margin-top: .25rem; }
.ci-edit-note { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; font-size: .76rem; text-decoration: underline; }
.ci-edit-note:hover { color: var(--ink); }
.ci-note-input { width: 100%; margin-top: .25rem; border: 1px solid var(--line); border-radius: 8px; padding: .35rem .5rem; font: inherit; font-size: .82rem; }
.oi-custom { display: block; font-size: .78rem; font-weight: 600; }
.oi-removed { color: var(--red); }
.oi-added { color: var(--green); }

/* ── Item customisation modal ────────────────────────────── */
body.modal-open { overflow: hidden; }
.item-modal { position: fixed; inset: 0; z-index: 600; display: flex; align-items: flex-end; justify-content: center; }
.item-modal[hidden] { display: none; }
.item-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.item-modal-card {
  position: relative; background: #fff; width: min(520px, 100vw); max-height: 90vh;
  border-radius: 16px 16px 0 0; box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
  animation: im-up .18s ease;
}
@keyframes im-up { from { transform: translateY(16px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
.im-head { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.im-head h3 { margin: 0; font-size: 1.1rem; }
.im-close { background: none; border: 0; font-size: 1.2rem; cursor: pointer; line-height: 1; color: var(--muted); }
.im-body { overflow-y: auto; padding: .6rem 1.1rem 0; }
.im-section { padding: .6rem 0; }
.im-section h4 { margin: 0 0 .35rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.im-list { display: flex; flex-direction: column; gap: .1rem; }
.im-check { display: flex; align-items: center; gap: .6rem; padding: .5rem .4rem; border-radius: 10px; cursor: pointer; font-size: .95rem; }
.im-check:hover { background: var(--bg); }
.im-check input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.im-check input:not(:checked) + span { text-decoration: line-through; color: var(--muted); }
.im-delta { margin-left: auto; color: var(--muted); font-size: .82rem; }
.im-note { display: block; padding: .6rem 0 1rem; font-size: .85rem; color: var(--muted); }
.im-note textarea { display: block; width: 100%; margin-top: .35rem; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .55rem .7rem; font: inherit; resize: vertical; }
.im-foot { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-top: 1px solid var(--line); }
.im-qty { display: inline-flex; align-items: center; gap: .5rem; }
.im-qty button { width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; border-radius: 9px; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.im-qty span { min-width: 1.4rem; text-align: center; font-weight: 700; }
.im-foot [data-im-add] { flex: 1; }
@media (min-width: 560px) {
  .item-modal { align-items: center; }
  .item-modal-card { border-radius: 16px; }
}
.cart-line { display: flex; justify-content: space-between; font-size: .95rem; }
.cart-line.total { font-weight: 700; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: .5rem; }
.cart-note { color: var(--amber); font-size: .82rem; margin: 0; }
.cart-page { display: grid; grid-template-columns: 1fr 320px; gap: 1.4rem; align-items: start; }
.cart-page-summary, .cart-page-items { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); }
.cart-page-summary h3 { margin-top: 0; }
.cart-page-actions { display: flex; flex-direction: column; gap: .5rem; margin: .8rem 0; }

/* ── Checkout ────────────────────────────────────────────── */
.checkout { display: grid; grid-template-columns: 1fr 340px; gap: 1.4rem; align-items: start; }
.checkout-main .card { margin-bottom: 1rem; }
fieldset.card { border: 1px solid var(--line); }
fieldset legend { font-weight: 700; padding: 0 .4rem; font-family: var(--font-head); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.span-2 { grid-column: 1 / -1; }
label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: .6rem; }
label input, label select, label textarea, .card input:not([type=checkbox]):not([type=radio]), .card select, .card textarea {
  width: 100%; margin-top: .25rem; padding: .6rem .7rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm); font: inherit; font-weight: 400; background: #fff; color: var(--ink);
}
label input:focus, label select:focus, label textarea:focus { outline: 2px solid var(--red-soft); border-color: var(--red); }
.segmented, .pay-options { display: flex; gap: .6rem; flex-wrap: wrap; }
.seg, .pay { flex: 1; min-width: 140px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .7rem .9rem; cursor: pointer; font-weight: 600; margin: 0; }
.seg input, .pay input { display: none; }
.seg:has(input:checked), .pay:has(input:checked) { border-color: var(--red); background: var(--red-soft); color: var(--red-dark); }
.check { display: flex; align-items: flex-start; gap: .5rem; font-weight: 500; }
.check input { width: auto; margin: .2rem 0 0; }
.checks { display: flex; flex-direction: column; gap: .4rem; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem; margin-bottom: .8rem; }
.checks legend { font-weight: 700; }
.allergen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .3rem; }
.checkout-side .summary { position: sticky; top: 90px; }

.alert { padding: .8rem 1rem; border-radius: var(--radius-sm); margin: .8rem 0; font-weight: 500; }
.alert-error { background: #fdecec; color: #a1161d; border: 1px solid #f3c3c5; }
.alert-ok { background: #e9f8ef; color: #14683a; border: 1px solid #b7e6c9; }
.alert-warn { background: #fff5e0; color: #8a5a00; border: 1px solid #f2dca4; }

/* ── Order tracking ──────────────────────────────────────── */
.order-head { position: relative; }
.order-code-box { display: inline-flex; flex-direction: column; background: var(--red); color: #fff; padding: .7rem 1.2rem; border-radius: var(--radius); margin: .6rem 0; }
.order-code-box span { font-size: .8rem; opacity: .9; }
.order-code-box strong { font-size: 1.4rem; letter-spacing: .04em; }
.order-layout { display: grid; grid-template-columns: 1fr 320px; gap: 1.4rem; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; align-items: center; gap: .8rem; padding: .55rem 0; color: var(--muted); position: relative; }
.timeline .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--line); flex: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done .dot { background: var(--green); }
.timeline li.current { color: var(--red-dark); font-weight: 700; }
.timeline li.current .dot { background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.eta { font-weight: 600; color: var(--charcoal); margin-top: 1rem; }
.order-items { list-style: none; margin: 0 0 .8rem; padding: 0; }
.order-items li { display: grid; grid-template-columns: 42px 1fr auto; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.order-items small { display: block; color: var(--muted); font-size: .78rem; }
.oi-qty { font-weight: 700; color: var(--red); }
.oi-price { font-weight: 600; }
.totals { display: flex; flex-direction: column; gap: .3rem; }
.events { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.events li { display: flex; gap: .7rem; padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.ev-time { color: var(--muted); font-variant-numeric: tabular-nums; }
.driver-map { height: 280px; border-radius: var(--radius); margin: .7rem 0; background: #e9e6e1; }
.driver-map[hidden] { display: none; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--charcoal); color: #cfcfd4; margin-top: 3rem; padding-top: 2.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 1.6rem; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: .7rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; }
.footer-col a { color: #cfcfd4; }
.footer-col a:hover { color: #fff; }
.footer-logo { height: 60px; width: auto; margin-bottom: .6rem; }
.social { display: flex; gap: .8rem; margin-top: .6rem; }
.footer-bottom { border-top: 1px solid #34343a; margin-top: 2rem; padding: 1rem 1.1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; }
.legal-note a { color: var(--gold); }

/* ── Cookie banner ───────────────────────────────────────── */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 500;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 1rem 1.2rem; display: flex; gap: 1rem;
  align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 1000px; margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .88rem; }
.cookie-actions { display: flex; gap: .5rem; }

/* ── Tables (public + account) ───────────────────────────── */
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th, .table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.table tbody tr:hover { background: var(--bg); }

.status-pill { display: inline-block; padding: .18rem .6rem; border-radius: 999px; font-size: .76rem; font-weight: 700; background: #eee; color: #444; }
.status-pending { background: #fff1d6; color: #8a5a00; }
.status-confirmed { background: #dde9ff; color: #1b4ba0; }
.status-preparing { background: #ffe6d1; color: #a34b00; }
.status-ready { background: #e0f5e6; color: #14683a; }
.status-on_the_way { background: #e6e0ff; color: #4b2fb0; }
.status-delivered { background: #e2f5ea; color: #14683a; }
.status-cancelled { background: #fdecec; color: #a1161d; }

/* ── About / contact / FAQ ───────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow); }
.fact-list { list-style: none; padding: 0; }
.fact-list li { padding: .3rem 0; border-bottom: 1px dashed var(--line); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; margin-top: 1.6rem; }
.gallery img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.contact-list, .hours-list, .zones-list { list-style: none; padding: 0; }
.contact-list li, .hours-list li, .zones-list li { padding: .35rem 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.map-embed { text-align: center; margin-top: 1.4rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; margin-bottom: .6rem; }
.faq summary { font-weight: 600; cursor: pointer; }
.legal-content h2 { margin-top: 1.4rem; }
.legal-content ul { padding-left: 1.2rem; }
.error-page { text-align: center; padding: 3rem 1rem; }
.error-code { font-size: 4rem; color: var(--red); margin: 0; }
.error-actions { display: flex; gap: .6rem; justify-content: center; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 940px) {
  .menu-layout { grid-template-columns: 1fr; }
  .menu-side { position: static; }
  .menu-cats { flex-direction: row; overflow-x: auto; gap: .3rem; padding-bottom: .4rem; }
  .cart-page, .checkout, .order-layout { grid-template-columns: 1fr; }
  .about-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column;
    padding: .6rem 1rem 1rem; box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem .8rem; }
  .brand-text { display: none; }
  .hero-inner { padding: 2.4rem 1.1rem; }
  .grid-2, .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .info-strip { grid-template-columns: 1fr 1fr; }
  .checkout-side .summary, .menu-side { position: static; }
}
@media (max-width: 460px) {
  .info-strip, .gallery { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}
