/* ============================================================
   Acqua e Farina — Styles
   Farbwelt: Holzkohle, Creme, Tomatenrot, Basilikum
   ============================================================ */

:root {
  --ink: #1c1713;
  --ink-soft: #4a4038;
  --cream: #faf5ec;
  --cream-2: #f3ead9;
  --paper: #fffdf8;
  --red: #c8402a;
  --red-deep: #a52f1c;
  --green: #3e5c3a;
  --gold: #d9a441;
  --dark: #12100e;
  --dark-2: #1d1915;
  --line: rgba(28, 23, 19, .12);
  --line-light: rgba(250, 245, 236, .14);
  --shadow: 0 10px 30px rgba(20, 15, 10, .10);
  --shadow-lg: 0 24px 60px rgba(20, 15, 10, .22);
  --r: 18px;
  --r-lg: 26px;
  --header-h: 118px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 128px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: min(1180px, 92vw); margin-inline: auto; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 300;
  background: var(--red); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

::selection { background: var(--red); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(200, 64, 42, .35); }
.btn-primary:hover { background: var(--red-deep); box-shadow: 0 10px 26px rgba(200, 64, 42, .45); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-ghost-dark { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost-dark:hover { background: rgba(28,23,19,.05); }
.btn-whatsapp { background: #1faa53; color: #fff; box-shadow: 0 8px 22px rgba(31,170,83,.35); }
.btn-whatsapp:hover { background: #178a43; }
.btn-text { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.btn-lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; font-size: 1.5rem; line-height: 1;
  transition: background .2s;
}
.icon-btn:hover { background: rgba(0,0,0,.06); }

/* ---------- Notice ---------- */
.notice {
  background: var(--gold); color: #2b2109; text-align: center;
  padding: .55rem 2.4rem; font-size: .88rem; font-weight: 500;
  position: relative; z-index: 60;
}
.notice-close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font-size: 1.2rem; opacity: .7;
}
.notice-close:hover { opacity: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 16, 14, .92);
  backdrop-filter: blur(12px);
  color: var(--cream);
}
.topbar {
  border-bottom: 1px solid var(--line-light);
  font-size: .82rem;
}
.topbar-inner { display: flex; align-items: center; gap: 1.2rem; padding: .38rem 0; }
.topbar-hours { color: rgba(250,245,236,.6); }
.topbar-phone { margin-left: auto; font-weight: 600; color: var(--cream); }
.topbar-phone:hover { color: var(--gold); }

.header-inner { display: flex; align-items: center; gap: 2rem; padding: .85rem 0; }
.logo { display: inline-flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.logo-mark { width: 38px; height: 38px; color: var(--gold); }
.logo-text {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
  letter-spacing: .01em;
}
.logo-text em { color: var(--red); font-style: normal; }

.main-nav { display: flex; gap: 1.6rem; margin-inline: auto; font-size: .93rem; font-weight: 500; }
.main-nav a { position: relative; padding: .3rem 0; color: rgba(250,245,236,.85); transition: color .2s; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); transition: width .25s;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }
.lang-toggle {
  display: flex; gap: .35rem; align-items: center;
  font-size: .85rem; font-weight: 600; color: rgba(250,245,236,.55);
  padding: .35rem .6rem; border: 1px solid var(--line-light); border-radius: 999px;
}
.lang-toggle span[data-lang-label] { cursor: pointer; transition: color .2s; }
.lang-toggle .active { color: var(--gold); }
.lang-toggle .sep { opacity: .4; }

.cart-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  box-shadow: 0 6px 16px rgba(200,64,42,.4);
  transition: transform .15s;
}
.cart-btn:hover { transform: translateY(-1px); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--gold); color: #221a06;
  font-size: .72rem; font-weight: 700;
  border-radius: 999px; display: grid; place-items: center;
  border: 2px solid var(--dark);
}

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--cream); border-radius: 2px; }

.mobile-nav {
  display: none; position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 80vw);
  background: var(--dark-2); z-index: 130; padding: 6rem 2rem 2rem;
  flex-direction: column; gap: .5rem;
}
.mobile-nav a {
  color: var(--cream); font-family: var(--font-display); font-size: 1.4rem;
  padding: .7rem 0; border-bottom: 1px solid var(--line-light);
}
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 860px);
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: var(--dark);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(18,16,14,.55), transparent 55%),
    linear-gradient(100deg, rgba(14,12,10,.88) 0%, rgba(14,12,10,.72) 34%, rgba(14,12,10,.28) 68%, rgba(14,12,10,.15) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 6.5rem 0 5rem; max-width: 640px; }
.hero-eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(217,164,65,.4); border-radius: 999px;
  padding: .4rem 1rem; margin-bottom: 1.6rem;
  background: rgba(217,164,65,.08);
}
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(3rem, 8.5vw, 5.6rem);
  line-height: .98; letter-spacing: -.01em;
  display: flex; flex-direction: column;
}
.hero-title .line:nth-child(2) { margin-left: .35em; }
.hero-title .accent { color: var(--red); font-style: italic; }
.hero-sub {
  margin-top: 1.4rem; font-size: 1.08rem; color: rgba(250,245,236,.88);
  max-width: 46ch;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-usps {
  list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem;
  margin-top: 2.6rem; font-size: .88rem; color: rgba(250,245,236,.75);
}
.hero-usps li { display: flex; align-items: center; gap: .45rem; }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; width: 26px; height: 42px;
  border: 2px solid rgba(250,245,236,.5); border-radius: 14px;
}
.scroll-hint span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px;
  background: var(--cream); border-radius: 2px; transform: translateX(-50%);
  animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint {
  0% { opacity: 1; top: 8px; } 70% { opacity: 0; top: 22px; } 100% { opacity: 0; }
}

/* ---------- Section heads ---------- */
.section-head { text-align: center; margin-bottom: 2.8rem; }
.section-head.light { color: var(--cream); }
.section-eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--red); margin-bottom: .5rem;
}
.section-head.light .section-eyebrow { color: var(--gold); }
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 2.9rem); line-height: 1.08; letter-spacing: -.01em;
}
.section-sub { margin-top: .7rem; color: var(--ink-soft); }
.section-head.light .section-sub { color: rgba(250,245,236,.7); }

/* ---------- Menu ---------- */
.menu-section { padding: 5.5rem 0 4rem; }
.menu-controls {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  position: sticky; top: var(--header-h); z-index: 40;
  background: linear-gradient(var(--cream) 82%, transparent);
  padding: .8rem 0; margin-top: -0.8rem;
}
.cat-tabs {
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none;
  max-width: 100%; padding: 2px;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  flex-shrink: 0; padding: .55rem 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--line); font-weight: 600; font-size: .88rem;
  background: var(--paper); transition: all .2s;
}
.cat-tab:hover { border-color: var(--red); color: var(--red); }
.cat-tab.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.menu-search {
  display: flex; align-items: center; gap: .5rem;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px;
  padding: .5rem 1rem; min-width: 230px; color: var(--ink-soft);
}
.menu-search input { border: 0; outline: 0; background: none; font: inherit; color: var(--ink); width: 100%; }

.cat-block { margin-bottom: 3.2rem; }
.cat-head {
  display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 1.4rem; padding-bottom: .9rem; border-bottom: 2px solid var(--ink);
}
.cat-photo {
  margin-left: auto; width: 148px; height: 66px; border-radius: 14px;
  overflow: hidden; flex-shrink: 0; align-self: center;
  box-shadow: var(--shadow);
}
.cat-photo img { width: 100%; height: 100%; object-fit: cover; }
.cat-title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.cat-title .cat-emoji { margin-right: .4rem; }
.cat-sub { color: var(--ink-soft); font-size: .9rem; font-style: italic; }
.cat-count {
  font-size: .8rem; font-weight: 600; color: var(--ink-soft);
  background: var(--cream-2); border-radius: 999px; padding: .2rem .7rem;
}
.cat-photo + .cat-count { margin-left: 0; }
.cat-photo ~ .cat-count { margin-left: 0; }
.cat-count:last-child { margin-left: auto; }
.cat-photo ~ .cat-count:last-child { margin-left: .8rem; }

.menu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.1rem;
}
.dish {
  display: flex; flex-direction: column; gap: .55rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.1rem 1.2rem;
  transition: transform .18s ease, box-shadow .25s ease, border-color .2s;
  animation: dishIn .35s ease both;
}
.dish:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(200,64,42,.35); }
@keyframes dishIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; } }

.dish-top { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.dish-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; line-height: 1.25; }
.dish-dots {
  flex: 1; border-bottom: 2px dotted rgba(28,23,19,.25);
  transform: translateY(-4px); min-width: 14px;
}
.dish-badge {
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .18rem .55rem; border-radius: 999px; flex-shrink: 0;
}
.badge-bestseller { background: #f7e8c8; color: #7a5410; }
.badge-signature { background: #e4ead9; color: var(--green); }
.dish-desc { color: var(--ink-soft); font-size: .88rem; }
.dish-note { color: var(--gold); font-size: .85rem; font-weight: 600; font-style: italic; }
.dish-actions { display: flex; gap: .55rem; margin-top: auto; padding-top: .35rem; flex-wrap: wrap; }
.dish-actions .add-btn { justify-content: center; }

.add-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--ink); color: var(--cream);
  border-radius: 999px; padding: .5rem 1rem; font-size: .87rem; font-weight: 600;
  transition: background .2s, transform .15s;
}
.add-btn:hover { background: var(--red); transform: translateY(-1px); }
.add-btn.added { background: var(--green); }
.add-btn .price { font-weight: 700; }

.menu-empty { text-align: center; padding: 2.5rem 0; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- How ---------- */
.how-section { background: var(--dark); color: var(--cream); padding: 5.5rem 0; position: relative; overflow: hidden; }
.how-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(200,64,42,.14), transparent 50%);
}
.how-grid {
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem; position: relative;
}
.how-card {
  background: var(--dark-2); border: 1px solid var(--line-light);
  border-radius: var(--r-lg); padding: 2rem 1.6rem;
  position: relative; transition: transform .2s;
}
.how-card:hover { transform: translateY(-4px); }
.how-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 900;
  color: transparent; -webkit-text-stroke: 1.5px var(--red);
  display: block; margin-bottom: .8rem; line-height: 1;
}
.how-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: .5rem; }
.how-card p { color: rgba(250,245,236,.68); font-size: .92rem; }

/* ---------- About ---------- */
.about-section { padding: 6rem 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.about-media { position: relative; }
.about-media img {
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.6; object-fit: cover; width: 100%;
}
.about-stamp {
  position: absolute; bottom: -18px; right: -10px;
  background: var(--red); color: #fff; font-family: var(--font-display);
  padding: .8rem 1.3rem; border-radius: 999px; transform: rotate(-4deg);
  box-shadow: var(--shadow); font-size: .95rem; font-style: italic;
}
.about-copy .section-title { margin-bottom: 1.2rem; }
.about-copy p { color: var(--ink-soft); margin-bottom: 1rem; }
.about-points { list-style: none; margin-top: 1.4rem; display: grid; gap: .6rem; }
.about-points li { display: flex; gap: .6rem; align-items: baseline; font-weight: 500; }
.about-points li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* ---------- Visit ---------- */
.visit-section { background: var(--cream-2); padding: 5.5rem 0; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.visit-card {
  background: var(--paper); border-radius: var(--r-lg); padding: 2.2rem;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.visit-card h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 1.2rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table td { padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.hours-table tr.today td { font-weight: 700; color: var(--red); }
.hours-table tr.closed td:last-child { color: #b3a58f; font-style: italic; }
.hours-note { margin-top: .9rem; font-size: .82rem; color: var(--ink-soft); font-style: italic; }

.address { font-style: normal; line-height: 1.7; margin-bottom: 1.2rem; font-size: 1.02rem; }
.contact-links { display: grid; gap: .55rem; }
.contact-link {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .6rem .9rem; border-radius: 12px; background: var(--cream);
  font-weight: 500; transition: background .2s, transform .15s;
}
.contact-link:hover { background: var(--cream-2); transform: translateX(3px); }
.delivery-note { margin-top: 1.1rem; font-size: .88rem; color: var(--green); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red-deep), var(--red) 55%, #d9541f);
  color: #fff; padding: 4.2rem 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 4vw, 2.6rem); }
.cta-band .btn-primary { background: #fff; color: var(--red-deep); box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.cta-band .btn-primary:hover { background: var(--cream); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(250,245,236,.7); padding: 3rem 0 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }
.logo-footer .logo-mark { width: 30px; height: 30px; }
.logo-footer .logo-text { font-size: 1.1rem; color: var(--cream); }
.footer-nav { display: flex; gap: 1.4rem; margin-inline: auto; font-size: .9rem; flex-wrap: wrap; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { width: 100%; text-align: center; font-size: .8rem; margin-top: 1.4rem; color: rgba(250,245,236,.45); }

/* ---------- Scrim / Drawer / Modal ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 140;
  background: rgba(10, 8, 6, .6); backdrop-filter: blur(3px);
  animation: fadeIn .25s;
}
@keyframes fadeIn { from { opacity: 0; } }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 150;
  width: min(430px, 94vw); background: var(--paper);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideIn .3s cubic-bezier(.2,.8,.25,1);
}
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-family: var(--font-display); font-size: 1.35rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: grid; gap: .9rem; align-content: start; }

.cart-line {
  display: grid; grid-template-columns: 1fr auto; gap: .3rem .8rem;
  background: var(--cream); border-radius: 14px; padding: .85rem 1rem;
}
.cart-line-name { font-weight: 600; font-size: .95rem; }
.cart-line-size { font-size: .8rem; color: var(--ink-soft); }
.cart-line-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.cart-line-ctrls { display: flex; align-items: center; gap: .7rem; margin-top: .3rem; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line);
  font-weight: 700; font-size: .95rem; line-height: 1;
  transition: all .15s;
}
.qty-btn:hover { background: var(--ink); color: var(--cream); }
.qty-val { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.line-remove { margin-left: auto; font-size: .78rem; color: #b3a58f; text-decoration: underline; text-underline-offset: 2px; }
.line-remove:hover { color: var(--red); }

.cart-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; color: var(--ink-soft); padding: 2rem; text-align: center;
}
.cart-empty span { font-size: 3rem; }

.drawer-foot { border-top: 1px solid var(--line); padding: 1.2rem 1.5rem 1.5rem; display: grid; gap: .4rem; }
.drawer-foot .row { display: flex; justify-content: space-between; font-size: .95rem; }
.drawer-foot .row.muted { color: var(--ink-soft); font-size: .85rem; }
.drawer-foot .row.total {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .7rem;
}
.min-warning { color: var(--red-deep); font-size: .85rem; font-weight: 600; }

.modal {
  position: fixed; inset: 0; z-index: 160;
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: safe center;
  align-items: safe center; overflow-y: auto; padding: 1rem;
}
.modal-card {
  position: relative; width: min(560px, calc(100vw - 2rem)); max-width: 100%; min-width: 0;
  background: var(--paper); border-radius: var(--r-lg);
  padding: 2.2rem; box-shadow: var(--shadow-lg);
  max-height: none; overflow: visible;
  animation: popIn .3s cubic-bezier(.2,.8,.25,1);
}
@keyframes popIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.modal-close { position: absolute; top: 14px; right: 14px; }

.checkout-step h2 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 1.2rem; }

.mode-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--cream-2); padding: 4px; border-radius: 999px; margin-bottom: 1.4rem;
}
.mode-btn {
  padding: .6rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
  color: var(--ink-soft); transition: all .2s;
}
.mode-btn.active { background: var(--ink); color: var(--cream); }

.field { margin-bottom: .95rem; }
.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .3rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
  padding: .68rem .85rem; font: inherit; background: #fff; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,64,42,.14);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.field-row .field:only-child, .field-row .field:first-child:last-child { grid-column: 1 / -1; }

.pay-options { display: grid; gap: .45rem; }
.pay-opt input { position: absolute; opacity: 0; }
.pay-opt span {
  display: flex; align-items: center; gap: .5rem;
  border: 1.5px solid var(--line); border-radius: 12px; padding: .6rem .85rem;
  font-size: .9rem; cursor: pointer; transition: all .15s; background: #fff;
}
.pay-opt input:checked + span { border-color: var(--red); background: rgba(200,64,42,.06); font-weight: 600; }
.pay-opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(200,64,42,.2); }

.co-summary {
  background: var(--cream); border-radius: 14px; padding: .9rem 1.1rem;
  margin: 1.1rem 0; font-size: .9rem;
}
.co-summary .sum-line { display: flex; justify-content: space-between; gap: 1rem; padding: .18rem 0; }
.co-summary .sum-total { font-weight: 700; border-top: 1px dashed var(--line); margin-top: .4rem; padding-top: .5rem; }
.co-summary .sum-note { color: var(--ink-soft); font-size: .8rem; margin-top: .35rem; }

.form-error {
  background: #fbe4de; color: var(--red-deep); border-radius: 12px;
  padding: .7rem 1rem; font-size: .88rem; font-weight: 600; margin-bottom: .9rem;
}
.co-hint { text-align: center; font-size: .8rem; color: var(--ink-soft); margin-top: .8rem; }

#stepDone { text-align: center; }
.done-icon { font-size: 3.4rem; margin-bottom: .4rem; }
.done-summary {
  background: var(--cream); border-radius: 14px; padding: 1rem 1.2rem;
  text-align: left; font-size: .92rem; margin: 1.2rem 0;
  white-space: pre-line; max-height: 200px; overflow-y: auto;
}
.done-actions { display: grid; gap: .6rem; }
.done-note { margin-top: 1rem; font-size: .82rem; color: var(--ink-soft); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--ink); color: var(--cream); border-radius: 999px;
  padding: .75rem 1.5rem; font-size: .9rem; font-weight: 500;
  box-shadow: var(--shadow-lg); z-index: 200; opacity: 0;
  transition: transform .3s cubic-bezier(.2,.8,.25,1), opacity .3s;
  pointer-events: none; max-width: 92vw; text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------- Status chip ---------- */
.status-chip { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.status-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #58c472; box-shadow: 0 0 0 3px rgba(88,196,114,.2); }
.status-chip.closed .dot { background: #e0654a; box-shadow: 0 0 0 3px rgba(224,101,74,.2); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root { --header-h: 106px; }
  .main-nav { display: none; }
  .nav-burger { display: flex; }
  .cat-photo { display: none; }
  .cat-count:last-child { margin-left: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-media img { aspect-ratio: 4/3; }
  .visit-grid { grid-template-columns: 1fr; }
  .topbar-hours { display: none; }
  .hero-content { padding: 5rem 0 4.5rem; }
}
@media (max-width: 560px) {
  .menu-grid { grid-template-columns: 1fr; }
  .menu-controls { flex-direction: column; align-items: stretch; }
  .menu-search { min-width: 0; }
  .field-row { grid-template-columns: 1fr; }
  .modal-card { padding: 1.6rem 1.2rem; }
  .cta-inner { flex-direction: column; text-align: center; }
  .hero-usps { flex-direction: column; gap: .6rem; }
  .topbar-phone { margin-left: auto; }
  .dish-actions .add-btn { flex: 1 1 46%; justify-content: center; }
  .status-chip { max-width: 62%; min-width: 0; }
  .status-chip #statusText { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-inner { gap: .6rem; }
}
