/* Saját tárhelyről kiszolgált betűtípusok (Bebas Neue, Inter – SIL Open Font License 1.1).
   A latin-ext rész kell az ő/ű betűkhöz. Az Inter változó betűtípus: egy fájl adja a 400–800 vastagságot. */
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/bebas-neue-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/bebas-neue-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #0d0d0d;
  --bg-2: #151515;
  --panel: #1b1b1b;
  --panel-2: #232323;
  --line: #2f2f2f;
  --text: #f2f2f2;
  --muted: #a8a8a8;
  --red: #d7191f;
  --red-2: #ff2a30;
  --red-dark: #8f0f13;
  --ok: #2fa84f;
  --warn: #e7a316;
  --info: #3b82f6;
  --radius: 10px;
  --head: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.55;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,.035), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,.03), transparent 45%);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; letter-spacing: .02em; line-height: 1.05; margin: 0 0 .4em; }
h1 { font-size: clamp(3rem, 9vw, 6.5rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h3 { font-size: 1.6rem; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.red { color: var(--red-2); }
.hidden { display: none !important; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.hero.has-photo { background:
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.78) 60%, var(--bg) 100%),
    url('/img/platter.jpg') center / cover no-repeat; }
.card-img { width: calc(100% + 44px); margin: -22px -22px 14px; height: 200px; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.item-img { grid-column: 1 / -1; order: 10; width: 100%; height: 170px; object-fit: cover; border-radius: 8px; margin-top: 6px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 10px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; transition: transform .25s, filter .25s; }
.gallery img:hover { transform: scale(1.02); filter: saturate(1.2); }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }
.promo { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; border-radius: 14px; border: 2px solid #b8932e;
  background: radial-gradient(circle at 80% 0%, rgba(184,147,46,.25), transparent 50%), linear-gradient(135deg, #3a0709, #120203 70%); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.promo picture { display: contents; }
.house-rules { margin: 4px 0 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
.house-rules summary { cursor: pointer; font-weight: 600; } .house-rules ul { margin: 8px 0 0; padding-left: 20px; }
.promo-img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.promo-body { padding: clamp(22px, 4vw, 44px); align-self: center; }
.promo-body h2 { color: #f4d27a; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.promo-body p { color: #f1e6e6; font-size: 1.05rem; }
.promo-body .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.promo-snow { color: #f4d27a; letter-spacing: .5em; font-size: .9rem; margin-bottom: 8px; opacity: .8; }
@media (max-width: 760px) { .promo { grid-template-columns: 1fr; } .promo-img { min-height: 200px; max-height: 240px; } }
.promo-strip { background: linear-gradient(90deg, #3a0709, #5a0d10); border: 1px solid #b8932e; color: #f8eada; border-radius: 8px; padding: 10px 14px; margin-bottom: 18px; font-size: .93rem; }
.promo-strip strong { color: #f4d27a; }
.brand-logo { width: 52px; height: 52px; mix-blend-mode: lighten; }
.hero-logo { width: min(380px, 78vw); margin: 0 auto; mix-blend-mode: lighten; filter: drop-shadow(0 6px 24px rgba(0,0,0,.6)); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.map { width: 100%; height: 260px; border: 0; border-radius: 8px; margin-top: 14px; filter: grayscale(.4) invert(.9) hue-rotate(180deg); }
.brand-badge { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-family: var(--head); font-size: 1.05rem; position: relative; }
.brand-badge::after { content: '+'; position: absolute; top: -9px; background: var(--bg); color: #fff; font-weight: 700; font-family: var(--body); font-size: .8rem; padding: 0 3px; line-height: 1; }
.brand-name { font-family: var(--head); font-size: 2rem; letter-spacing: .04em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: .95rem; color: #ddd; }
.nav a:hover, .nav a.active { color: #fff; background: var(--panel-2); }
.nav .btn { margin-left: 6px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: #fff; border-radius: 6px; padding: 8px 10px; font-size: 1.1rem; cursor: pointer; }
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #0d0d0d; border-bottom: 1px solid var(--line); padding: 10px 16px 16px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 6px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem var(--body); padding: 12px 22px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .08s, background .15s, border-color .15s; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-dark { background: var(--panel-2); color: #fff; border-color: var(--line); }
.btn-dark:hover { border-color: #555; }
.btn-sm { padding: 7px 12px; font-size: .88rem; border-radius: 6px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Red brush banner ---------- */
.banner { position: relative; display: inline-block; font-family: var(--head); color: #fff; padding: .12em .5em .02em; margin-bottom: .5em;
  background: linear-gradient(100deg, transparent 0 1%, var(--red) 1.5% 97%, transparent 98%);
  clip-path: polygon(0 12%, 3% 0, 30% 6%, 60% 0, 98% 4%, 100% 40%, 97% 100%, 60% 94%, 25% 100%, 2% 92%);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(70px, 12vw, 140px) 0 clamp(60px, 10vw, 110px); text-align: center;
  background:
    linear-gradient(180deg, rgba(13,13,13,.2), var(--bg)),
    radial-gradient(ellipse at 50% 120%, rgba(215,25,31,.55), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.015) 0 2px, transparent 2px 9px),
    #101010; }
.hero .est { font-weight: 700; letter-spacing: .4em; font-size: .85rem; color: #ccc; }
.hero h1 { margin: .15em 0 .05em; text-shadow: 0 4px 0 rgba(0,0,0,.6); }
.hero .slogan { font-family: var(--head); font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: .25em; color: var(--red-2); }
.hero p.lead { max-width: 640px; margin: 18px auto 30px; color: #d6d6d6; font-size: 1.1rem; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head p { color: var(--muted); max-width: 640px; margin: 0 auto; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feature .ico { font-size: 2rem; }
.feature h3 { margin-top: 10px; }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.card .price { font-family: var(--head); font-size: 1.7rem; color: var(--red-2); }
.card p { color: #cfcfcf; font-size: .95rem; flex: 1; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--red); color: #fff; padding: 3px 8px; border-radius: 4px; }

/* ---------- Menu ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 26px; }
.tab { background: var(--panel); border: 1px solid var(--line); color: #ddd; padding: 9px 16px; border-radius: 999px; cursor: pointer; font: 600 .95rem var(--body); }
.tab.active, .tab:hover { background: var(--red); border-color: var(--red); color: #fff; }
.menu-board { background: #0a0a0a; border: 2px solid var(--red-dark); border-radius: var(--radius); padding: 10px 24px; }
.menu-note { color: #ddd; background: var(--panel); border-left: 4px solid var(--red); padding: 10px 14px; border-radius: 6px; margin: 14px 0 6px; }
.menu-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.menu-row:last-child { border-bottom: 0; }
.menu-row h4 { font-size: 1.6rem; margin: 0; }
.menu-row .price { font-family: var(--head); font-size: 1.6rem; color: var(--red-2); white-space: nowrap; }
.menu-row .desc { grid-column: 1 / -1; color: #d0d0d0; font-size: .95rem; margin: 0; }
.menu-row .allergen { grid-column: 1 / -1; color: #ff5a5f; font-size: .8rem; margin: 0; }
.drink-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0 34px; }
.drink-group h4 { color: var(--red-2); font-size: 1.5rem; margin: 18px 0 6px; }
.drink-line { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.drink-line span:last-child { font-weight: 700; white-space: nowrap; }

/* ---------- Info ---------- */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours tr.today td { color: var(--red-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; }
.site-footer a { color: #ddd; }
.socials { display: flex; gap: 14px; }

/* ---------- Forms ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 30px); }
.step { margin-bottom: 26px; }
.step-title { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 1.7rem; margin-bottom: 12px; }
.step-title .num { width: 32px; height: 32px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: .92rem; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
input, select, textarea { font: inherit; color: var(--text); background: #111; border: 1px solid #3a3a3a; border-radius: 8px; padding: 11px 12px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
textarea { min-height: 80px; resize: vertical; }
.hint { font-size: .82rem; color: var(--muted); }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .box { display: block; height: 100%; padding: 14px; border-radius: 8px; border: 2px solid #333; background: #121212; }
.choice .box strong { display: block; font-size: 1rem; }
.choice .box small { color: var(--muted); }
.choice input:checked + .box { border-color: var(--red); background: #1e0b0c; }
.choice input:disabled + .box { opacity: .4; cursor: not-allowed; }
.choice input:focus-visible + .box { outline: 2px solid #fff; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { padding: 10px 0; border-radius: 8px; border: 2px solid #333; background: #121212; color: #fff; font: 700 1rem var(--body); cursor: pointer; }
.slot:hover:not([disabled]) { border-color: #777; }
.slot.selected { background: var(--red); border-color: var(--red); }
.slot[disabled] { opacity: .3; text-decoration: line-through; cursor: not-allowed; }

.alert { padding: 12px 14px; border-radius: 8px; margin: 10px 0; font-size: .95rem; border: 1px solid; }
.alert-err { background: #2a0d0e; border-color: #6b1a1d; color: #ffb3b5; }
.alert-ok { background: #0d2414; border-color: #1f5b30; color: #a8f0bd; }
.alert-info { background: #0f1a2c; border-color: #1f3b66; color: #b6d0ff; }
.alert-warn { background: #2a210b; border-color: #6b5313; color: #ffe0a0; }

/* ---------- Order page ---------- */
.order-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.cart { position: sticky; top: 88px; }
@media (max-width: 960px) { .order-layout { grid-template-columns: 1fr; } .cart { position: static; } }
.order-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-item h4 { font-size: 1.4rem; margin: 0; }
.order-item p { grid-column: 1; margin: 0; color: #c9c9c9; font-size: .9rem; }
.order-item .side { grid-row: 1 / span 2; grid-column: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.order-item .price { font-family: var(--head); font-size: 1.5rem; color: var(--red-2); }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.cart-line .opts { color: var(--muted); font-size: .82rem; grid-column: 1 / -1; }
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #444; background: #111; color: #fff; cursor: pointer; font-weight: 700; }
.cart-total { display: flex; justify-content: space-between; font-family: var(--head); font-size: 1.8rem; margin: 14px 0; }
.mobile-cart-bar { display: none; }
@media (max-width: 960px) {
  .mobile-cart-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; padding: 12px 16px; background: #0a0a0a; border-top: 1px solid var(--line); justify-content: space-between; align-items: center; }
  body.has-cart-bar { padding-bottom: 72px; }
}

/* ---------- Modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; width: min(560px, 100%); max-height: 90vh; overflow: auto; padding: 24px; }
.modal h3 { font-size: 2rem; }
.modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }

/* ---------- Status ---------- */
.status-badge { display: inline-block; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; font-size: .8rem; padding: 5px 10px; border-radius: 999px; }
.st-pending, .st-new { background: #3a2c08; color: #ffd36b; }
.st-confirmed, .st-accepted, .st-ready { background: #0e3319; color: #8ef0ab; }
.st-preparing { background: #102542; color: #9cc2ff; }
.st-rejected, .st-cancelled, .st-noshow { background: #3a0e10; color: #ff9da0; }
.st-completed, .st-collected { background: #2a2a2a; color: #cfcfcf; }
.progress { display: flex; gap: 6px; margin: 18px 0; }
.progress div { flex: 1; height: 6px; border-radius: 3px; background: #333; }
.progress div.on { background: var(--red); }

/* Robotcsapda mező: embernek nem látszik */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px;
  background: #151515 repeating-linear-gradient(45deg, #171717 0 12px, #141414 12px 24px); border: 1px solid var(--line); filter: none; }

/* Jogi oldalak */
.legal { max-width: 860px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.legal h2 { font-size: 1.9rem; margin-top: 34px; color: var(--red-2); }
.legal h3 { font-size: 1.35rem; margin-top: 22px; }
.legal p, .legal li { color: #dcdcdc; }
.legal ol, .legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: #fff; }
.kv { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: .95rem; }
.kv td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.kv td:first-child { width: 32%; color: var(--muted); font-weight: 600; }
@media (max-width: 600px) { .kv td { display: block; width: auto !important; padding: 4px 0; } .kv td:first-child { padding-top: 10px; border-bottom: 0; } }
mark.todo { background: #f4d27a; color: #111; padding: 0 4px; border-radius: 3px; font-weight: 700; }
mark.decide { background: #e7a316; color: #111; padding: 0 4px; border-radius: 3px; }
.draft-note { background: #2a210b; border: 1px solid #6b5313; color: #ffe0a0; padding: 12px 14px; border-radius: 8px; margin: 14px 0 24px; font-size: .92rem; }
.accept { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 6px 0 14px; cursor: pointer; }
.accept input { width: auto; margin-top: 3px; }
.accept a { color: #fff; }
.menu-row.soldout h4, .menu-row.soldout .desc { opacity: .6; }
.menu-row.soldout .price { opacity: .45; text-decoration: line-through; }
.menu-row.soldout .tag { vertical-align: middle; font-family: var(--body); margin-left: 6px; }
