:root {
  --bg: #090909;
  --bg-2: #121212;
  --bg-3: #1c1c1c;
  --line: #2c2c2c;
  --text: #f7f3ec;
  --muted: #cbbfb2;
  --red: #ff2b2b;
  --amber: #ffb020;
  --amber-ink: #1a1203;
  --green: #b6f3d0;
  --radius: 18px;
  --sticky-h: 168px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  min-height: 100vh;
}
body.public { padding-top: 3px; }
body.public::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--red);
  z-index: 80;
}
img { max-width: 100%; height: auto; }
a { color: var(--amber); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--amber);
  color: var(--amber-ink);
  padding: 8px 12px;
  z-index: 90;
  border-radius: 8px;
}
.skip:focus { top: 8px; }

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 9, 9, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.top { padding: 10px 14px 0; }
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.logo {
  height: 56px;
  width: auto;
  max-width: min(62vw, 220px);
  object-fit: contain;
  display: block;
}
.lang-form { display: flex; align-items: center; gap: 8px; position: relative; }
.lang-form select, .search-form input, .stack input, .stack select, .stack textarea, .filter-label input, .login-card input {
  background: #101010;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
  min-height: 44px;
  padding: 10px 12px;
}
.lang-form select { max-width: 42vw; }
.js .lang-go {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.lang-go, .admin-nav button, .actions button, .btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  min-height: 44px;
  padding: 8px 14px;
  cursor: pointer;
}
.search-form { padding: 10px 0 12px; }
.search-form input {
  width: 100%;
  background: var(--bg-2) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23cbbfb2' stroke-width='2' viewBox='0 0 24 24'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.5-3.5'/></svg>") no-repeat 12px 50%;
  padding-left: 40px;
}
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 14px 12px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #3a3a3a;
  color: var(--text);
  text-decoration: none;
  background: #141414;
  white-space: nowrap;
}
.chip[aria-current="true"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.wrap { width: min(1120px, calc(100% - 28px)); margin: 0 auto; padding: 16px 0 48px; }
.tagline { margin: 4px 0 18px; color: var(--muted); }
.cat-section { scroll-margin-top: calc(var(--sticky-h) + 12px); margin: 0 0 28px; }
.cat-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  margin: 0 0 12px;
}
.cat-section h2::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--amber);
}
.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
}
.card[hidden], .cat-section[hidden], .prow[hidden] { display: none; }
.card img, .detail img, .preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: #1a1a1a;
  display: block;
}
.card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.card h3, .detail h2 { margin: 0; font-size: 1.08rem; line-height: 1.25; }
.card h3 { flex: 1; min-width: 0; }
.card-top .price { flex: 0 0 auto; }
.card p {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.price { color: var(--amber); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-lg { font-size: 1.6rem; margin: 6px 0 10px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.badge {
  font-size: 0.75rem;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 999px;
  background: #2a2a2a;
  color: var(--text);
}
.badge-popular { background: var(--red); color: #fff; }
.badge-new { background: var(--amber); color: var(--amber-ink); }
.badge-spicy { background: #9a3412; color: #fff; }
.badge-vegetarian, .badge-vegan { background: #143528; color: var(--green); }
.empty { color: var(--muted); padding: 24px 0; }
.site-foot {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 0.92rem;
}
.site-foot p { margin: 0 0 6px; }
.foot-name { color: var(--text); font-weight: 700; }
.disclaimer { margin-top: 10px; }
.disclaimer + .disclaimer { margin-top: 0; }
.credit {
  margin-top: 22px;
  text-align: right;
  font-size: 0.82rem;
  line-height: 1.5;
}
.credit a { color: var(--amber); }
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 4px;
}
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  background: #101010;
}
.socials svg { display: block; flex: 0 0 auto; }

dialog {
  position: fixed;
  border: 0;
  padding: 0;
  color: var(--text);
  background: #121212;
  width: min(560px, 100%);
  max-height: min(92vh, 920px);
  margin: auto 0 0;
  border-radius: 22px 22px 0 0;
  overflow: auto;
}
dialog::backdrop { background: rgba(0, 0, 0, 0.72); }
.sheet-close {
  position: sticky;
  top: 10px;
  float: right;
  margin: 10px 10px 0 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.detail-body { padding: 4px 16px 28px; clear: both; }
.eyebrow { margin: 0; color: var(--amber); font-size: 0.85rem; }
.lead { color: var(--muted); }
.facts { margin: 16px 0 0; }
.facts div { padding: 10px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; }
.item-page .detail {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.item-page .detail img { border-radius: 0; }
.btn, .admin-nav a, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
}
.btn {
  background: var(--red);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}
.btn.danger, button.danger {
  background: transparent;
  color: #ffb4b4;
  border: 1px solid #7f1d1d;
}
.btn-small { min-height: 40px; padding: 6px 12px; font-size: 0.92rem; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid #3a3a3a; }
.text-link { color: var(--text); border: 1px solid #3a3a3a; }

.admin-top, .admin-nav {
  width: min(1100px, calc(100% - 28px));
  margin: 0 auto;
}
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
}
.admin .logo { height: 48px; }
.admin-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 4px;
  scrollbar-width: none;
}
.admin-nav a, .admin-nav button { white-space: nowrap; }
.admin-nav a[aria-current="page"] { background: var(--red); border-color: var(--red); color: #fff; }
.admin-nav form { margin: 0; }
.admin-main h1 { margin: 8px 0 12px; font-size: 1.6rem; }
.page-head, .link-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.hint, small.hint { color: var(--muted); display: block; margin-top: 6px; }
.flash { padding: 12px 14px; border-radius: 12px; }
.flash.ok { background: #123224; color: var(--green); }
.flash.err { background: #3a1212; color: #ffd0d0; }
.stats { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0; }
.stats article {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.stats p { margin: 0; color: var(--muted); }
.stats strong { font-size: 1.8rem; }
.plist { display: grid; gap: 10px; }
.prow {
  display: grid;
  gap: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}
.prow-head { display: none; }
.k { display: block; color: var(--muted); font-size: 0.75rem; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }
.actions form { margin: 0; }
.actions button {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid #3a3a3a;
  background: transparent;
  padding: 6px 10px;
  cursor: pointer;
}
.stack, .login-card form { display: grid; gap: 12px; }
.stack label, .login-card label { display: grid; gap: 6px; }
.stack input, .stack select, .stack textarea, .filter-label input { width: 100%; }
.filter-label { display: block; margin: 0 0 12px; }
.filter-label input { width: 100%; }
fieldset {
  border: 1px solid var(--line);
  border-radius: 16px;
  margin: 0;
  padding: 12px;
}
.price-box input {
  font-size: 2rem;
  font-weight: 800;
  color: var(--amber);
  padding: 12px 14px;
}
.check { display: flex !important; align-items: center; gap: 10px; }
.check input { width: 22px; height: 22px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.lang-block { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 8px 12px 12px; }
.lang-block summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 700; }
.lang-block label { margin-top: 8px; }
.preview { max-width: 280px; margin-bottom: 8px; }
.login-card {
  width: min(420px, 100%);
  margin: 28px auto;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
}
.login-logo { height: 92px; max-width: 100%; margin: 0 auto 8px; }
.login-card h1 { font-size: 1.4rem; }
.narrow { padding-top: 48px; }
.lang-row { grid-template-columns: 1fr; }

@media (min-width: 700px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .prow, .prow.cats {
    grid-template-columns: 1.3fr 1fr 0.8fr 0.8fr 1.5fr;
    align-items: center;
  }
  .prow.cats { grid-template-columns: 1.4fr 0.6fr 0.8fr 1.6fr; }
  .prow-head { display: grid; background: transparent; border: 0; color: var(--muted); font-size: 0.8rem; padding: 0 12px; }
  .k { display: none; }
  .lang-row { grid-template-columns: 0.8fr 1fr 1fr; align-items: center; }
}
@media (min-width: 900px) {
  dialog { margin: auto; border-radius: 22px; }
  .logo { height: 64px; }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 699px) {
  .prow .actions { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.home-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(9, 9, 9, 0.94);
  border-bottom: 1px solid var(--line);
}
.home-actions, .home-links { display: flex; flex-wrap: wrap; gap: 10px; }
.home-hero, .home-block { padding: 22px 16px; }
.home-hero {
  display: grid;
  gap: 18px;
  align-items: center;
}
.home-kicker {
  margin: 0 0 8px;
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.home-hero h1, .home-block h2 { margin: 0 0 10px; line-height: 1.15; }
.home-hero h1 { font-size: clamp(2rem, 8vw, 3.4rem); }
.home-lead, .home-block p { color: var(--muted); margin: 0 0 14px; }
.home-hero img, .offer img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  background: #1a1a1a;
}
.home-logo {
  aspect-ratio: 3 / 2;
  object-fit: contain;
  background: #000;
}
.home-offers, .home-facts { display: grid; gap: 12px; }
.offer, .fact, .map-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.offer h3, .fact strong { margin: 0; }
.offer div, .fact, .map-copy { padding: 12px 14px 14px; }
.offer p, .fact span { margin: 6px 0 0; color: var(--muted); }
.home-offer-lead { max-width: 42rem; }
.offer p:first-of-type { color: var(--text); }
.year-num {
  font-size: 2.4rem;
  line-height: 1;
  color: var(--amber);
  font-weight: 800;
}
.map-frame {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  background: #1a1a1a;
}
.visit-list { list-style: none; padding: 0; margin: 0 0 14px; }
.visit-list li { margin: 0 0 8px; }
.visit-list span { display: block; color: var(--muted); font-size: 0.82rem; }
@media (min-width: 700px) {
  .home-hero { grid-template-columns: 1fr 1fr; padding: 36px 28px; }
  .home-block { padding: 10px 28px 28px; }
  .home-offers { grid-template-columns: 1fr 1fr; }
  .home-facts { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
}
@media (min-width: 1100px) {
  .home-offers { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
