/* Ristorante da Santi - dark, warm, Sicilian.
   Palette: near-black paper, gold (#d9a868, the original theme accent),
   the red of the cart-wheel logo, off-white ink. Josefin Sans (theme body),
   Satisfy (theme script headings), Cormorant Garamond for quotes. */

:root {
  --paper: #0b0a09;
  --paper-2: #14120f;
  --paper-3: #1c1915;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #efe9df;
  --ink-2: rgba(239, 233, 223, 0.72);
  --ink-3: rgba(239, 233, 223, 0.5);
  --gold: #d9a868;
  --gold-2: #e8c28a;
  --gold-dim: rgba(217, 168, 104, 0.18);
  --red: #d9262b;
  --red-2: #f04a4f;
  --green: #7fc79a;
  --sans: "Josefin Sans", "Segoe UI", system-ui, sans-serif;
  --script: "Satisfy", "Brush Script MT", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --wrap: 1180px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65; font-weight: 300;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.nav-open, body.lb-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-2); }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
code { font-family: ui-monospace, Menlo, monospace; font-size: .9em; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.small { font-size: .85rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: .5rem 1rem; z-index: 999; }
.skip:focus { left: 1rem; top: 1rem; }
.ico { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.15em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---- type */
.script { font-family: var(--script); font-weight: 400; color: var(--gold); letter-spacing: 0; }
.kicker { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 .25rem; line-height: 1.2; }
.big-script { font-size: clamp(2.6rem, 6vw, 4.5rem); margin: 0 0 1rem; line-height: 1.1; }
.h1, .h2, .h3 { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.1; margin: 0 0 1rem; }
.h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.h3 { font-size: clamp(1.05rem, 1.6vw, 1.25rem); letter-spacing: .12em; }
.h2 small { font-size: .55em; font-weight: 300; letter-spacing: .04em; text-transform: none; color: var(--ink-3); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.5rem); }
.section-head .h2::after { content: ""; display: block; width: 56px; height: 1px; background: var(--gold); margin: 1rem auto 0; opacity: .7; }

/* ---- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.8rem .8rem; border: 1px solid var(--gold); border-radius: var(--radius);
  font-family: var(--sans); font-weight: 600; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); background: transparent; cursor: pointer; transition: all .25s var(--ease); line-height: 1;
}
.btn:hover { background: var(--gold-dim); color: var(--gold-2); border-color: var(--gold-2); transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #120d06; }
.btn-primary:hover { background: var(--gold-2); color: #120d06; }
.btn-ghost { border-color: rgba(217, 168, 104, .5); }
.btn-lg { padding: 1.15rem 2.4rem 1rem; font-size: .88rem; }
.btn-sm { padding: .55rem .9rem .45rem; font-size: .7rem; letter-spacing: .12em; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.big-link { font-size: 1.35rem; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.big-link:hover { color: var(--gold); }

/* ---- pills, tags, alerts */
.pill { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem .35rem; border-radius: 999px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; border: 1px solid var(--line-strong); background: rgba(0,0,0,.35); backdrop-filter: blur(6px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; }
.pill-open, .is-open .dot, .topbar-status.is-open { color: var(--green); }
.pill-open .dot { animation: pulse 2s infinite; }
.pill-closed, .topbar-status.is-closed { color: var(--red-2); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127,199,154,.6);} 70% { box-shadow: 0 0 0 8px rgba(127,199,154,0);} 100% { box-shadow: 0 0 0 0 rgba(127,199,154,0);} }
.tag { display: inline-block; vertical-align: middle; margin-left: .4rem; padding: .22rem .5rem .14rem; border-radius: 3px; font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
.tag-vege { color: var(--green); border: 1px solid rgba(127,199,154,.45); }
.tag-new { color: #120d06; background: var(--gold); }
.tag-feat { color: var(--red-2); border: 1px solid rgba(240,74,79,.5); }
.alert { padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.25rem; border: 1px solid; font-weight: 400; }
.alert-ok { border-color: rgba(127,199,154,.5); background: rgba(127,199,154,.08); color: #cfe9d8; }
.alert-err { border-color: rgba(240,74,79,.5); background: rgba(240,74,79,.08); color: #f4c2c4; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.chip { padding: .55rem .95rem .45rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink-2); font-family: var(--sans); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: #120d06; }

/* ---- header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
/* blur lives on a pseudo-element: a backdrop-filter on the header itself would make it the
   containing block for the position:fixed mobile nav and trap the menu inside the header */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11,10,9,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.is-scrolled { box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.topbar { border-bottom: 1px solid var(--line); font-size: .74rem; letter-spacing: .06em; color: var(--ink-3); }
.topbar-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 34px; }
.topbar-item { display: inline-flex; align-items: center; gap: .4rem; color: inherit; white-space: nowrap; }
.topbar-item:hover { color: var(--gold); }
.topbar-status { display: inline-flex; align-items: center; gap: .45rem; margin-left: auto; text-transform: uppercase; font-weight: 600; letter-spacing: .12em; white-space: nowrap; }
.topbar-langs { display: flex; gap: .15rem; }
.topbar-langs .lang { padding: .25rem .45rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--ink-3); border-radius: 3px; }
.topbar-langs .lang.is-active, .nav-langs .lang.is-active { color: var(--gold); }
.topbar-langs .lang:hover { color: var(--ink); }
.navbar-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); }
.brand img { width: 52px; height: 52px; filter: drop-shadow(0 0 12px rgba(217,38,43,.25)); transition: transform .4s var(--ease); }
.brand:hover img { transform: rotate(18deg); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-script { font-family: var(--script); color: var(--gold); font-size: 1.05rem; margin-bottom: .1rem; }
.brand-name { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .95rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; }
.nav > a:not(.btn) { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); padding: .4rem 0; position: relative; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav > a:not(.btn):hover, .nav > a.is-active { color: var(--gold); }
.nav > a.is-active::after, .nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { margin-left: .5rem; }
.nav-langs { display: none; }
.icon-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--gold); cursor: pointer; }
.burger { flex-direction: column; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; margin: 2.5px 0; transition: transform .3s var(--ease), opacity .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .topbar-item:first-child, .topbar-status { display: none; }
  .topbar-langs { margin-left: auto; }
  .navbar-inner { min-height: 68px; gap: .75rem; }
  .brand img { width: 44px; height: 44px; }
  .icon-btn { display: inline-flex; }
  .phone-btn { margin-left: auto; }
  .nav { position: fixed; inset: 102px 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 2rem; margin: 0; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; border-top: 1px solid var(--line); }
  .nav.is-open { transform: none; }
  .nav > a:not(.btn) { font-size: 1.1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after { display: none; }
  .nav-cta { margin: 1.5rem 0 0; }
  .nav-langs { display: flex; gap: .5rem; margin-top: 1.5rem; }
  .nav-langs .lang { padding: .5rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .8rem; color: var(--ink-2); }
  .nav-langs .lang.is-active { border-color: var(--gold); }
}

/* ---- hero */
.hero { position: relative; min-height: calc(100svh - 112px); display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero-bg, .hero-bg img, .page-hero-bg, .page-hero-bg img, .lunch-bg, .lunch-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg img { animation: kenburns 24s ease-out both; object-position: center 60%; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,10,9,.85) 0%, rgba(11,10,9,.55) 40%, rgba(11,10,9,.35) 70%, var(--paper) 100%); }
.hero-inner { position: relative; text-align: center; padding: 6rem 0 7rem; max-width: 900px; }
.hero-script { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .5rem; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.hero-title { font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(2.4rem, 7.5vw, 5.4rem); line-height: 1; margin: 0 0 1.4rem; text-shadow: 0 4px 30px rgba(0,0,0,.65); }
.hero-lead { font-size: clamp(1rem, 2vw, 1.3rem); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); max-width: 640px; margin: 0 auto 2.2rem; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.hero-cta { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero-status { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin: 0; }
.hero-next { color: var(--ink-3); font-size: .85rem; letter-spacing: .06em; }
.scroll-hint { position: absolute; left: 50%; bottom: 2rem; width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: hint 1.8s infinite; }
@keyframes hint { 0% { transform: translateY(0); opacity: 1;} 100% { transform: translateY(14px); opacity: 0;} }

/* ---- page hero */
.page-hero { position: relative; min-height: 46vh; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.page-hero-bg img { object-position: center 55%; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,10,9,.75), rgba(11,10,9,.35) 45%, var(--paper) 100%); }
.page-hero-inner { position: relative; z-index: 1; text-align: center; padding: 5rem 0 2.5rem; }
.page-hero-meta { color: var(--ink-2); letter-spacing: .06em; max-width: 640px; margin: 0 auto; }
.page-hero .hero-status { margin-top: 1rem; }

/* ---- reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-delay: .1s; }
.js .hero .reveal:nth-child(2) { transition-delay: .25s; }
.js .hero .reveal:nth-child(3) { transition-delay: .4s; }
.js .hero .reveal:nth-child(4) { transition-delay: .55s; }
.js .hero .reveal:nth-child(5) { transition-delay: .7s; }

/* ---- about */
.about { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-text p { color: var(--ink-2); font-size: 1.05rem; }
.about-text .h2 { margin-bottom: 1.5rem; }
.about-photo { margin: 0; position: relative; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-photo::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); opacity: .45; border-radius: var(--radius); z-index: -1; }
.about-photo figcaption { margin-top: .9rem; font-family: var(--script); color: var(--gold); font-size: 1.2rem; text-align: right; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { order: -1; } }

/* ---- tiles */
.tastes { background: var(--paper-2); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2.5rem; }
.tile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); display: block; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85) brightness(.85); }
.tile:hover img { transform: scale(1.07); filter: saturate(1) brightness(.95); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,10,9,.9)); }
.tile-label { position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 1; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .95rem; color: var(--ink); }
.tile-label::before { content: ""; display: block; width: 32px; height: 1px; background: var(--gold); margin-bottom: .6rem; transition: width .4s var(--ease); }
.tile:hover .tile-label::before { width: 64px; }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, 1fr); gap: .6rem; } .tile-label { font-size: .78rem; left: .9rem; bottom: .8rem; } }

/* ---- novità */
.novita-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.novita-card { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); color: var(--ink); transition: border-color .3s, transform .3s var(--ease); }
.novita-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.novita-cat { font-family: var(--script); color: var(--gold); font-size: 1.1rem; }
.novita-card h3 { margin: .2rem 0 .5rem; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.novita-card p { color: var(--ink-3); font-size: .9rem; flex: 1; }
.novita-price { font-weight: 600; color: var(--gold); letter-spacing: .06em; }

/* ---- lunch banner */
.lunch-banner { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; isolation: isolate; overflow: hidden; text-align: center; }
.lunch-bg img { filter: brightness(.35) saturate(.9); }
.lunch-banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 50%, rgba(11,10,9,.2), rgba(11,10,9,.85)); z-index: -1; }
.lunch-inner { max-width: 680px; }
.lunch-body { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 2rem; }

/* ---- hungry */
.hungry { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) 0; }
.hungry-inner { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.hungry .big-script { margin: 0; }

/* ---- gallery teaser */
.gallery-teaser { background: var(--paper-2); }
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: .6rem; grid-auto-flow: dense; }
.teaser-photo { overflow: hidden; border-radius: var(--radius); display: block; }
.teaser-photo.is-wide { grid-column: span 2; }
.teaser-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.teaser-photo:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; } }

/* ---- reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-bottom: 2rem; }
.review { margin: 0; padding: 2rem 1.8rem 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); position: relative; }
.review::before { content: "“"; position: absolute; top: .4rem; left: 1.2rem; font-family: var(--serif); font-size: 4rem; color: var(--gold); opacity: .35; line-height: 1; }
.review p { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.55; color: var(--ink); margin-bottom: 1.2rem; }
.review footer { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* ---- visit */
.visit { background: var(--paper-2); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.visit-card, .info-card, .form-card { padding: clamp(1.5rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.visit-address { font-style: normal; margin: 1rem 0 1.4rem; color: var(--ink-2); }
.visit-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.visit-events { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 360px; display: grid; align-items: end; }
.visit-events img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); transition: transform 1.2s var(--ease); }
.visit-events:hover img { transform: scale(1.04); }
.visit-events-text { position: relative; padding: 2rem; background: linear-gradient(180deg, transparent, rgba(11,10,9,.95)); }
.visit-events-text p { color: var(--ink-2); }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }

/* ---- hours table */
.hours-table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.hours-table th { text-align: left; font-weight: 400; color: var(--ink-3); padding: .38rem 0; }
.hours-table td { text-align: right; padding: .38rem 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours-table tr + tr { border-top: 1px dashed var(--line); }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--gold); font-weight: 600; }

/* ---- menu */
.menu-toolbar { position: sticky; top: 112px; z-index: 40; background: rgba(11,10,9,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.menu-toolbar-inner { display: flex; align-items: center; gap: 1rem; padding: .8rem 0; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: .6rem; flex: 1 1 260px; padding: .55rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-3); }
.search input { flex: 1; background: none; border: 0; color: var(--ink); font-family: var(--sans); font-size: .95rem; outline: none; min-width: 0; }
.search:focus-within { border-color: var(--gold); color: var(--gold); }
.cat-nav { border-top: 1px solid var(--line); }
.cat-nav-inner { display: flex; gap: 1.4rem; overflow-x: auto; scrollbar-width: none; padding: .6rem 0; white-space: nowrap; -webkit-overflow-scrolling: touch; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-inner a { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); padding: .3rem 0; border-bottom: 1px solid transparent; flex: 0 0 auto; }
.cat-nav-inner a:hover, .cat-nav-inner a.is-active { color: var(--gold); border-color: var(--gold); }
@media (max-width: 1023px) { .menu-toolbar { top: 102px; } }
.menu-section { padding: 2.5rem 0 1rem; scroll-margin-top: 150px; }
.menu-section + .menu-section { border-top: 1px solid var(--line); }
.menu-section-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.menu-section-head .h2 { margin: 0; }
.menu-section-head .h2::after { content: ""; display: block; width: 48px; height: 1px; background: var(--gold); margin-top: .7rem; }
.menu-section-img { width: 110px; height: 76px; object-fit: cover; border-radius: var(--radius); margin-left: auto; opacity: .85; }
.dishes { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; row-gap: 1.4rem; }
@media (max-width: 860px) { .dishes { grid-template-columns: 1fr; } .menu-section-img { display: none; } }
.dish { padding-bottom: .2rem; scroll-margin-top: 160px; }
.dish.is-highlight { animation: highlight 2.4s ease-out; border-radius: var(--radius); }
@keyframes highlight { 0%, 40% { background: var(--gold-dim); box-shadow: 0 0 0 10px var(--gold-dim); } 100% { background: transparent; box-shadow: none; } }
.dish-head { display: flex; align-items: baseline; gap: .6rem; }
.dish-name { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.dish-num { color: var(--gold); font-weight: 400; }
.dish-dots { flex: 1; border-bottom: 1px dotted var(--line-strong); min-width: 1.5rem; transform: translateY(-.35em); }
.dish-price { font-weight: 600; color: var(--gold); white-space: nowrap; letter-spacing: .04em; font-variant-numeric: tabular-nums; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.dish-price small { font-weight: 300; color: var(--ink-3); font-size: .72rem; letter-spacing: .06em; white-space: normal; text-align: right; max-width: 12rem; }
.dish-desc { margin: .35rem 0 0; color: var(--ink-3); font-size: .9rem; line-height: 1.5; }
.dish.is-featured .dish-name { color: var(--gold-2); }
.cat-note { margin: 1.4rem 0 0; font-size: .82rem; color: var(--ink-3); font-style: italic; }
.menu-empty { text-align: center; padding: 3rem 0; color: var(--ink-3); font-size: 1.1rem; }

/* print menu */
.print-menu { padding: 2rem 0; }
.print-head { text-align: center; margin-bottom: 2rem; }
.print-head img { margin: 0 auto .5rem; }
.print-head h1 { text-transform: uppercase; letter-spacing: .2em; margin: 0; }
.print-section { margin-bottom: 2rem; }
.print-section h2 { text-transform: uppercase; letter-spacing: .12em; font-size: 1.1rem; border-bottom: 1px solid var(--gold); padding-bottom: .3rem; }
.print-section .dish { margin-bottom: .6rem; break-inside: avoid; }
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header, .site-footer, .btn, .tag-feat { display: none !important; }
  .print-section h2, .dish-price, .dish-num { color: #000; }
  .dish-desc { color: #333; }
  .dish-dots { border-color: #999; }
  .dishes { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .cat-note { color: #444; }
  .print-head img { filter: none; }
  a { color: inherit; }
}

/* ---- lunch */
.lunch-formula { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.formula-box { display: flex; flex-direction: column; align-items: center; padding: 1.2rem 2rem; border: 1px solid var(--line-strong); border-radius: var(--radius); min-width: 170px; background: var(--paper-2); }
.formula-n { font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.formula-l { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); margin-top: .6rem; font-weight: 600; }
.formula-plus, .formula-eq { font-size: 2rem; color: var(--ink-3); }
.formula-price { border-color: var(--gold); background: var(--gold-dim); }
.lunch-cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem, 5vw, 4rem); }
.lunch-col .dishes { grid-template-columns: 1fr; }
.lunch-col .h2 { margin-bottom: 1.5rem; }
.lunch-col .h2::after { content: ""; display: block; width: 48px; height: 1px; background: var(--gold); margin-top: .7rem; }
.lunch-ctas { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 3rem; }
@media (max-width: 860px) { .lunch-cols { grid-template-columns: 1fr; } }

/* ---- gallery */
.gallery-group { margin-bottom: 3rem; }
.gallery-month { font-size: 1.4rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; margin: 0 0 1.2rem; display: flex; align-items: baseline; gap: .6rem; }
.gallery-month .script { font-size: 1.9rem; text-transform: none; letter-spacing: 0; }
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: .7rem; }
.masonry-item { overflow: hidden; border-radius: var(--radius); display: block; position: relative; }
.masonry-item.is-wide { grid-column: span 2; }
.masonry-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.masonry-item:hover img { transform: scale(1.05); filter: brightness(1.08); }
.masonry-item::after { content: "+"; position: absolute; right: .8rem; bottom: .6rem; color: var(--gold); font-size: 1.6rem; opacity: 0; transition: opacity .3s; }
.masonry-item:hover::after { opacity: 1; }
@media (max-width: 1023px) { .masonry { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 640px) { .masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: .4rem; } }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,4,3,.95); display: grid; place-items: center; animation: fade .25s; }
.lightbox[hidden], [hidden] { display: none !important; }
@keyframes fade { from { opacity: 0; } }
.lb-figure { margin: 0; max-width: min(1400px, 94vw); max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-width: 100%; max-height: 84vh; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow); }
.lb-figure figcaption { margin-top: .8rem; color: var(--ink-3); font-size: .8rem; letter-spacing: .12em; }
.lb-close, .lb-nav { position: absolute; background: none; border: 0; color: var(--ink); font-size: 2.6rem; cursor: pointer; padding: 1rem; line-height: 1; opacity: .7; transition: opacity .2s; }
.lb-close:hover, .lb-nav:hover { opacity: 1; color: var(--gold); }
.lb-close { top: .5rem; right: 1rem; }
.lb-prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .5rem; top: 50%; transform: translateY(-50%); }

/* ---- contact / reservations */
.contact-grid, .res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.res-grid { grid-template-columns: 1.4fr 1fr; }
.contact-info, .res-aside { display: grid; gap: 1rem; }
.info-card .h3 { margin-bottom: .9rem; }
.info-card .h3 + .h3 { margin-top: 1.4rem; }
.info-card p { color: var(--ink-2); }
.socials { display: flex; gap: .8rem; }
.socials a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 .8rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.map-wrap { margin-top: 2rem; }
.map { aspect-ratio: 16 / 7; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); filter: grayscale(.6) contrast(1.05) invert(.92) hue-rotate(180deg); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) { .contact-grid, .res-grid { grid-template-columns: 1fr; } .map { aspect-ratio: 4 / 3; } }

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: .85rem 1rem .75rem; background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--ink); font-family: var(--sans); font-size: 1rem; font-weight: 300; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.field [aria-invalid="true"] { border-color: var(--red-2); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.8) sepia(1) saturate(3) hue-rotate(-10deg); cursor: pointer; }
.field-err { margin: 0; font-size: .82rem; color: #f4c2c4; }
.field-hint { margin: 0; font-size: .82rem; color: var(--gold); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-row.three { grid-template-columns: 1.3fr 1fr 1fr; }
@media (max-width: 560px) { .field-row, .field-row.three { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.success-box { text-align: center; padding: 1.6rem; }
.success-title { font-size: 1.05rem; font-weight: 400; }
.success-ref { font-size: 1.3rem; letter-spacing: .06em; }
.success-ref strong { color: var(--gold); font-size: 1.6rem; letter-spacing: .12em; }

/* ---- prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; margin: 2rem 0 .6rem; color: var(--gold); }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; }

/* ---- admin */
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.stat-row { display: flex; gap: 1rem; }
.stat { padding: 1rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); min-width: 120px; text-align: center; }
.stat-n { display: block; font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-l { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.admin-section { margin-bottom: 3.5rem; }
.admin-section-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 900px; }
.admin-table th { text-align: left; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); padding: .8rem; background: var(--paper-2); }
.admin-table td { padding: .8rem; border-top: 1px solid var(--line); vertical-align: top; }
.admin-table tr.is-today td { background: rgba(217,168,104,.05); }
.admin-table tr.status-cancelled td { opacity: .5; }
.admin-table .notes { max-width: 240px; font-size: .85rem; color: var(--ink-2); }
.admin-table .actions form { display: flex; gap: .4rem; flex-wrap: wrap; }
.badge { display: inline-block; padding: .3rem .6rem .2rem; border-radius: 999px; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; border: 1px solid; }
.badge-pending { color: var(--gold); border-color: var(--gold); }
.badge-confirmed { color: var(--green); border-color: var(--green); }
.badge-cancelled { color: var(--ink-3); border-color: var(--line-strong); }
.msg-list { display: grid; gap: .8rem; }
.msg { padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.msg.is-unread { border-left: 3px solid var(--gold); }
.msg header { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .6rem; }
.msg header form { margin-left: auto; }
.msg p { margin: 0; white-space: pre-wrap; color: var(--ink-2); }

/* ---- 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; }
.notfound .h1 { margin-bottom: .5rem; }
.notfound .btn { margin-top: 1.5rem; }

/* ---- footer */
.site-footer { background: #070605; border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { margin-bottom: 1rem; }
.footer-about { color: var(--ink-3); max-width: 340px; }
.footer-h { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: .4rem 0 1rem; font-weight: 700; }
.footer-address { font-style: normal; color: var(--ink-2); }
.footer-address p { margin-bottom: .6rem; }
.footer-address a { color: var(--ink-2); }
.footer-address a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links a { color: var(--ink-2); letter-spacing: .06em; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .78rem; letter-spacing: .06em; }
.footer-tag { font-family: var(--script); color: var(--gold); font-size: 1.1rem; letter-spacing: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ======================================================================
   Cart, virtual waiter, checkout
   ====================================================================== */
.info-board { background: var(--gold); color: #120d06; text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .06em; padding: .4rem 1rem; }
.cart-fab { position: fixed; right: 1.2rem; bottom: 5.6rem; z-index: 60; display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid var(--gold); background: var(--paper-2); color: var(--gold); font-weight: 600; letter-spacing: .06em; font-size: .85rem; cursor: pointer; box-shadow: var(--shadow); }
.cart-fab.bump { animation: bump .4s var(--ease); }
@keyframes bump { 30% { transform: scale(1.12); } }
.cart-drawer { position: fixed; inset: 0; z-index: 90; background: rgba(5,4,3,.7); display: flex; justify-content: flex-end; }
.cart-panel { width: min(420px, 100%); background: var(--paper-2); border-left: 1px solid var(--line); padding: 1.5rem; overflow-y: auto; display: flex; flex-direction: column; gap: 1rem; animation: slidein .35s var(--ease); }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head .lb-close { position: static; padding: 0 .4rem; font-size: 2rem; }
.cart-lines { display: grid; gap: .5rem; }
.cart-line { display: grid; grid-template-columns: 1fr auto auto; gap: .8rem; align-items: center; padding: .6rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.cart-line-price { color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; }
.qty button { background: none; border: 0; color: var(--gold); font-size: 1.1rem; padding: .2rem .7rem; cursor: pointer; }
.qty b { min-width: 1.4rem; text-align: center; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.1rem; margin: .5rem 0 0; }
.cart-total strong { color: var(--gold); }
.cart-actions { display: grid; gap: .6rem; }
.cart-actions .is-disabled { pointer-events: none; opacity: .4; }
.dish-add { margin-top: .5rem; }
.dish-add.in-cart { background: var(--gold-dim); border-color: var(--gold); }
.radio-row { display: flex; gap: 1.2rem; }
.radio { display: inline-flex; align-items: center; gap: .5rem; font-size: 1rem; text-transform: none; letter-spacing: 0; }
.radio input { accent-color: var(--gold); width: 18px; height: 18px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); margin-bottom: .4rem; }
.wrap.narrow { max-width: 640px; }
.order-number { font-size: 1.2rem; }
.order-number strong { color: var(--gold); font-size: 1.6rem; }
.order-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; text-align: left; }
.order-table td { padding: .4rem .3rem; border-bottom: 1px dashed var(--line); }
.order-table .num { text-align: right; color: var(--gold); font-variant-numeric: tabular-nums; }
.order-table .order-total td { border: 0; font-weight: 700; padding-top: .8rem; }

.chat { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80; }
.chat-launcher { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1.1rem .5rem .5rem; border-radius: 999px; border: 1px solid var(--gold); background: var(--gold); color: #120d06; font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher img { width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.chat-panel { position: fixed; right: 1rem; bottom: 1rem; width: min(400px, calc(100vw - 2rem)); height: min(640px, calc(100vh - 2rem)); display: flex; flex-direction: column; background: #f7f3ec; color: #22201b; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); overflow: hidden; animation: slideup .3s var(--ease); }
@keyframes slideup { from { transform: translateY(20px); opacity: 0; } }
.chat-head { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; background: #fff; border-bottom: 1px solid rgba(0,0,0,.08); }
.chat-head img { border-radius: 50%; }
.chat-head div { flex: 1; line-height: 1.2; display: flex; flex-direction: column; }
.chat-head small { color: #6b6559; font-size: .72rem; }
.chat-head .lb-close, .chat-reset { position: static; color: #6b6559; font-size: 1.6rem; padding: .2rem .4rem; background: none; border: 0; cursor: pointer; }
.chat-reset { font-size: 1.2rem; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; font-size: .93rem; line-height: 1.45; }
.msg { max-width: 88%; padding: .6rem .85rem; border-radius: 12px; white-space: pre-wrap; }
.msg-assistant { background: #fff; align-self: flex-start; border-bottom-left-radius: 3px; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.msg-user { background: var(--gold); color: #120d06; align-self: flex-end; border-bottom-right-radius: 3px; }
.msg.error { background: #fde8e8; color: #8a1f1f; }
.msg.typing { display: flex; gap: 4px; padding: .8rem 1rem; }
.msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: #b3ab9d; animation: blink 1.2s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .2s; } .msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat-log .chip { align-self: flex-start; color: #5a4a2a; border-color: rgba(0,0,0,.2); }
.cards { display: grid; gap: .5rem; width: 100%; }
.card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 10px; padding: .7rem .8rem; }
.card-head { display: flex; justify-content: space-between; gap: .6rem; align-items: baseline; font-size: .9rem; }
.card-price { color: #a8762e; font-weight: 700; white-space: nowrap; }
.card p { margin: .3rem 0 .5rem; font-size: .78rem; color: #6b6559; font-style: italic; }
.card .btn { padding: .5rem .9rem .4rem; }
.card .btn.in-cart { background: #e7dcc4; border-color: #c9a86a; color: #4d3a14; }
.chat-chips { padding: .3rem 1rem .6rem; gap: .4rem; }
.chat-chips .chip { color: #5a4a2a; border-color: rgba(0,0,0,.2); font-size: .68rem; }
.chat-chips .chip:hover { border-color: var(--gold); background: var(--gold-dim); }
.chat-form { display: flex; gap: .5rem; padding: .6rem .8rem; background: #fff; border-top: 1px solid rgba(0,0,0,.08); }
.chat-form textarea { flex: 1; resize: none; border: 1px solid rgba(0,0,0,.15); border-radius: 10px; padding: .6rem .8rem; font-family: var(--sans); font-size: .95rem; background: #fbf9f5; color: #22201b; outline: none; }
.chat-form textarea:focus { border-color: var(--gold); }
.chat-privacy { margin: 0; padding: .3rem 1rem .6rem; font-size: .66rem; color: #8a8375; background: #fff; }
body.chat-open .cart-fab { display: none; }
@media (max-width: 560px) { .chat-panel { width: 100vw; height: 100dvh; right: 0; bottom: 0; border-radius: 0; } .cart-fab { bottom: 5rem; right: .8rem; } .chat { right: .8rem; bottom: .8rem; } .chat-launcher span { display: none; } .chat-launcher { padding: .4rem; } }

/* ======================================================================
   Operator panel
   ====================================================================== */
.page-admin main, .page-kitchen main { background: #f4f1ea; color: #22201b; }
.page-admin .site-footer, .page-kitchen .site-footer, .page-admin .site-header .topbar, .page-kitchen .site-header .topbar { display: none; }
.admin { display: grid; grid-template-columns: 220px 1fr; min-height: 80vh; }
.admin-side { background: #fff; border-right: 1px solid rgba(0,0,0,.08); padding: 1.4rem 1rem; position: sticky; top: 78px; height: calc(100vh - 78px); overflow-y: auto; }
.admin-brand { display: flex; align-items: center; gap: .7rem; color: #22201b; margin-bottom: 1.5rem; }
.admin-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.admin-brand small { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #8a8375; }
.admin-nav { display: flex; flex-direction: column; gap: .15rem; }
.admin-nav a { padding: .6rem .8rem; border-radius: 8px; color: #4a453c; font-weight: 600; font-size: .88rem; }
.admin-nav a:hover { background: rgba(217,168,104,.15); color: #7a5a22; }
.admin-nav a.is-active { background: #c98b3e; color: #fff; }
.admin-nav-ext { margin-top: .4rem; font-size: .8rem !important; color: #8a8375 !important; }
.admin-main { padding: 1.6rem clamp(1rem, 3vw, 2.5rem) 4rem; min-width: 0; }
.admin-main .h2, .admin-main .h3 { color: #22201b; text-transform: none; letter-spacing: 0; }
.admin-main .h3 { font-size: 1rem; font-weight: 700; margin-bottom: .8rem; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.admin-head .h2 { margin: 0; }
.admin-main .chip { color: #4a453c; border-color: rgba(0,0,0,.18); background: #fff; }
.admin-main .chip.is-active { background: #c98b3e; border-color: #c98b3e; color: #fff; }
.admin-main .btn-ghost { color: #7a5a22; border-color: rgba(201,139,62,.5); background: #fff; }
.admin-main .btn-primary { background: #c98b3e; border-color: #c98b3e; color: #fff; }
.admin-main .btn-primary:hover { background: #b07a33; }
.admin-main .alert-ok { background: #e6f2ea; border-color: #9fcdb0; color: #1f5a37; }
.admin-main .muted { color: #8a8375; }
.admin-main a { color: #7a5a22; }
.demo-note { margin: 0 0 1rem; padding: .6rem .9rem; border-radius: 6px; background: #fff3d6; color: #6b4a0e; font-size: .85rem; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; margin-bottom: 1.2rem; }
.admin-main .stat { background: #fff; border-color: rgba(0,0,0,.08); text-align: left; padding: .9rem 1rem; }
.admin-main .stat-n { color: #22201b; font-size: 1.5rem; }
.admin-main .stat-l { color: #8a8375; font-size: .64rem; }
.admin-main .stat.is-warn .stat-n { color: #c0392b; }
.admin-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 10px; padding: 1.2rem 1.3rem; margin-bottom: 1.2rem; }
.admin-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 960px) { .admin { grid-template-columns: 1fr; } .admin-side { position: static; height: auto; border-right: 0; border-bottom: 1px solid rgba(0,0,0,.08); padding: .8rem 1rem; } .admin-brand { display: none; } .admin-nav { flex-direction: row; overflow-x: auto; gap: .3rem; } .admin-nav a { white-space: nowrap; } .admin-grid2 { grid-template-columns: 1fr; } }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 160px; }
.bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; min-width: 0; }
.bar span { display: block; width: 100%; background: #c98b3e; border-radius: 3px 3px 0 0; min-height: 2px; transition: height .4s var(--ease); }
.bar.is-full span { background: #c0392b; }
.bar small { font-size: .58rem; color: #8a8375; margin-top: .3rem; white-space: nowrap; overflow: hidden; max-width: 100%; }
.hbars { display: grid; gap: .5rem; }
.hbar { display: grid; grid-template-columns: 220px 1fr 130px; gap: .8rem; align-items: center; font-size: .85rem; }
.hbar-l { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar-t { height: 10px; background: #f0ebe1; border-radius: 5px; overflow: hidden; }
.hbar-t i { display: block; height: 100%; background: #c98b3e; }
.hbar-v { text-align: right; color: #8a8375; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .hbar { grid-template-columns: 1fr; gap: .2rem; } }
.admin-main .admin-table th { background: #faf8f3; color: #8a8375; }
.admin-main .admin-table td { border-color: rgba(0,0,0,.06); }
.admin-main .table-wrap { border-color: rgba(0,0,0,.08); background: #fff; }
.admin-main .admin-table { min-width: 720px; }
.admin-main .badge-pending { color: #a8762e; border-color: #c98b3e; }
.admin-main .badge-confirmed, .admin-main .badge-completed, .admin-main .badge-ready { color: #1f7a45; border-color: #1f7a45; }
.admin-main .badge-cancelled { color: #8a8375; border-color: #c9c2b2; }
.admin-main .badge-accepted, .admin-main .badge-preparing { color: #2c5aa0; border-color: #2c5aa0; }
.badge-src { color: #8a8375; border-color: #c9c2b2; }
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.ticket { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 10px; padding: 1rem 1.1rem; font-size: .9rem; border-top: 4px solid #c98b3e; }
.ticket.status-pending { border-top-color: #e0a72f; }
.ticket.status-preparing, .ticket.status-accepted { border-top-color: #2c5aa0; }
.ticket.status-ready { border-top-color: #1f7a45; }
.ticket.status-completed, .ticket.status-cancelled { opacity: .55; }
.ticket.is-sim::after { content: "sim"; font-size: .6rem; color: #b3ab9d; float: right; }
.ticket header { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.ticket header strong { font-size: 1.15rem; }
.ticket-meta { color: #4a453c; margin: 0 0 .5rem; }
.ticket-meta .big { font-size: 1.4rem; }
.ticket-lines { width: 100%; border-collapse: collapse; }
.ticket-lines td { padding: .25rem .2rem; border-bottom: 1px dashed rgba(0,0,0,.08); }
.ticket-lines .num { text-align: right; font-variant-numeric: tabular-nums; }
.ticket-lines .order-total td { border: 0; font-weight: 700; }
.ticket-notes { margin: .5rem 0; font-style: italic; color: #6b4a0e; background: #fff8e6; padding: .4rem .6rem; border-radius: 6px; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.ticket-history { margin-top: .6rem; font-size: .78rem; color: #8a8375; }
.ticket-history ul { padding-left: 1rem; margin: .3rem 0 0; }
.ticket-timer { margin-left: auto; font-weight: 700; color: #8a8375; }
.ticket-timer.is-late { color: #c0392b; }
.form-inline { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; }
.form-inline label { display: flex; flex-direction: column; gap: .3rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #8a8375; font-weight: 600; }
.form-inline label.wide { flex: 1 1 240px; }
.form-inline input, .form-inline select, .admin-main .field input, .admin-main .field select, .admin-main .field textarea, .menu-edit input { background: #faf8f3; border: 1px solid rgba(0,0,0,.15); color: #22201b; border-radius: 6px; padding: .5rem .7rem; font-family: var(--sans); font-size: .9rem; }
.admin-main .field label { color: #8a8375; }
.admin-main .field input:focus, .admin-main .field textarea:focus, .admin-main .field select:focus, .menu-edit input:focus { border-color: #c98b3e; box-shadow: 0 0 0 3px rgba(201,139,62,.2); }
.admin-main .field select { background-image: none; padding-right: .7rem; }
.switch-row { display: flex; align-items: center; gap: .7rem; padding: .4rem 0; font-size: .95rem; }
.switch-row input { width: 20px; height: 20px; accent-color: #c98b3e; }
.chip-row { display: grid; grid-template-columns: 30px 1fr 1fr 1fr; gap: .4rem; align-items: center; margin-bottom: .4rem; }
.chip-row input { min-width: 0; }
.menu-edit td { vertical-align: middle; }
.menu-edit .in-name { width: 100%; min-width: 180px; }
.menu-edit .in-num { width: 90px; }
.menu-edit tr.is-hidden td { opacity: .5; }
.switch { display: inline-block; position: relative; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #d9d2c4; border-radius: 24px; cursor: pointer; transition: .2s; }
.switch span::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: #1f7a45; }
.switch input:checked + span::before { transform: translateX(20px); }
.log { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: .85rem; }
.log time { color: #8a8375; font-variant-numeric: tabular-nums; margin-right: .5rem; }
.live-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.live-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 8px; padding: .7rem 1rem; font-size: .9rem; }
.live-dot { background: #1f7a45; box-shadow: 0 0 0 4px rgba(31,122,69,.2); }
.convo .msg { max-width: 80%; margin-bottom: .5rem; }
.convo .msg-assistant { background: #f4f1ea; }
.convo .msg small { display: block; font-size: .66rem; color: #8a8375; margin-top: .3rem; }
.convo .tool { font-family: ui-monospace, monospace; font-size: .72rem; color: #2c5aa0; margin-top: .3rem; white-space: pre-wrap; }
.msg-card { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: 8px; padding: 1rem 1.2rem; }
.msg-card.is-unread { border-left: 3px solid #c98b3e; }
.msg-card header { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .5rem; }
.msg-card header form { margin-left: auto; }
.msg-card p { margin: 0; white-space: pre-wrap; color: #4a453c; }
.msg-list { display: grid; gap: .7rem; }
.kitchen { padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 4rem; }
.kitchen-head { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.2rem; }
.kitchen-head .h2 { margin: 0; color: #22201b; text-transform: none; }
.kitchen-clock { margin-left: auto; font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.kitchen-grid .ticket { font-size: 1.05rem; }
.kitchen-grid .ticket-lines td { font-size: 1.1rem; padding: .4rem .2rem; }
.kitchen .btn { font-size: .9rem; padding: .9rem 1.4rem; }
