:root {
  --bg: #f2f0ea;
  --surface: #fffefa;
  --surface-strong: #ffffff;
  --ink: #151411;
  --muted: #77736b;
  --line: #ded9cf;
  --line-strong: #c8c1b5;
  --black: #151411;
  --black-soft: #292721;
  --cream: #eee4d4;
  --cream-2: #e5d7c2;
  --orange: #ff8a4c;
  --orange-soft: #fff0e7;
  --danger: #a53e35;
  --success: #275f43;
  --shadow: 0 22px 70px rgba(34, 29, 20, .09);
  --shadow-small: 0 10px 32px rgba(34, 29, 20, .07);
  --radius: 24px;
  --radius-small: 15px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -10%, rgba(255,255,255,.9), transparent 34rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.public-body { background: #ddd9d0; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.display, h1, .restaurant-heading h1, .menu-section h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-weight: 600;
}

.topbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px max(24px, calc((100vw - 1220px)/2));
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(21,20,17,.08);
  background: rgba(242,240,234,.88);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -.04em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 35px;
  height: 35px;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  border-radius: 50%;
  color: white;
  background: var(--black);
  font-family: Georgia, serif;
  font-weight: 700;
}
.brand-dot { color: var(--orange); }
.brand-suffix { color: var(--muted); font-weight: 650; }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-actions a, .link-button { color: var(--ink); font-weight: 720; font-size: 14px; }
.inline-form { display: inline; margin: 0; }
.link-button { border: 0; padding: 0; background: transparent; }

.button {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  border: 1px solid var(--black);
  border-radius: 999px;
  color: white;
  background: var(--black);
  box-shadow: 0 9px 24px rgba(21,20,17,.14);
  font-weight: 780;
  letter-spacing: -.01em;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.button:hover { background: #000; transform: translateY(-1px); box-shadow: 0 12px 28px rgba(21,20,17,.19); }
.button-secondary { color: var(--ink); background: transparent; border-color: var(--line-strong); box-shadow: none; }
.button-secondary:hover { background: var(--surface); }
.button-small { min-height: 38px; padding: 8px 14px; font-size: 13px; }
.button-wide { width: 100%; }
.button-accent { color: var(--ink); background: var(--orange); border-color: var(--orange); }
.button-accent:hover { background: #ff7b36; }

.landing { max-width: 1220px; margin: 0 auto; padding: 64px 24px 92px; }
.hero {
  min-height: 630px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 80px;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  max-width: 760px;
  margin: 15px 0 24px;
  font-size: clamp(52px, 7vw, 88px);
  line-height: .94;
  letter-spacing: -.062em;
}
.hero h1 em { color: var(--orange); font-style: normal; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 860;
  letter-spacing: .14em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.lead { max-width: 680px; margin: 0; color: var(--muted); font-size: 20px; line-height: 1.55; }
.hero-actions, .header-actions, .form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-actions { margin-top: 31px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 24px; color: var(--muted); font-size: 13px; font-weight: 650; }
.hero-facts span::before { content: "✓"; margin-right: 7px; color: var(--success); font-weight: 900; }

.preview-stage { position: relative; min-height: 570px; display: grid; place-items: center; }
.preview-orbit { position: absolute; inset: 8% 0 2%; border-radius: 48%; background: var(--cream); transform: rotate(-7deg); }
.phone-preview {
  position: relative;
  z-index: 2;
  width: min(358px, 91%);
  padding: 9px;
  border-radius: 48px;
  background: #0f0f0f;
  box-shadow: 0 40px 90px rgba(15,15,15,.25);
  transform: rotate(2.5deg);
}
.phone-screen { overflow: hidden; min-height: 550px; border-radius: 40px; background: #fbfaf7; }
.phone-top { width: 92px; height: 24px; margin: 0 auto -23px; position: relative; z-index: 3; border-radius: 0 0 16px 16px; background: #0f0f0f; }
.demo-content { padding: 38px 15px 17px; }
.demo-greeting { color: #8b877f; font-size: 11px; }
.demo-title { display: block; margin-top: -2px; font-family: Georgia, serif; font-size: 29px; line-height: 1; }
.demo-location { margin: 6px 0 15px; color: #726e67; font-size: 10px; }
.demo-search { height: 39px; display: flex; align-items: center; padding: 0 13px; border: 1px solid #ddd8cf; border-radius: 13px; color: #aaa59c; font-size: 10px; background: white; }
.demo-tabs { display: flex; gap: 7px; overflow: hidden; margin: 11px 0; }
.demo-tabs span { padding: 7px 11px; border: 1px solid #dedbd4; border-radius: 999px; background: white; white-space: nowrap; font-size: 9px; }
.demo-tabs span:first-child { color: white; background: var(--black); border-color: var(--black); }
.demo-cover { min-height: 117px; display: flex; flex-direction: column; justify-content: center; padding: 17px; border-radius: 16px; background: linear-gradient(120deg,#ede2cf,#f7f2e9 65%,#dfc7a4); }
.demo-cover small { color: #8c8172; font-size: 8px; text-transform: uppercase; }
.demo-cover strong { max-width: 160px; margin: 5px 0; font-family: Georgia, serif; font-size: 23px; line-height: 1; }
.demo-cover em { width: max-content; margin-top: 7px; padding: 7px 10px; border-radius: 8px; color: white; background: var(--black); font-size: 8px; font-style: normal; }
.demo-section-title { display: flex; justify-content: space-between; margin: 14px 1px 7px; font-size: 11px; }
.demo-section-title b { font-size: 13px; }
.demo-item { display: grid; grid-template-columns: 55px 1fr 28px; align-items: center; gap: 10px; margin-top: 6px; padding: 6px; border: 1px solid #e5e1da; border-radius: 13px; background: white; }
.demo-item i { width: 55px; height: 55px; border-radius: 10px; background: linear-gradient(135deg,#e4c99a,#ad704b); }
.demo-item:nth-of-type(2) i { background: linear-gradient(135deg,#f3d7a7,#c99045); }
.demo-item:nth-of-type(3) i { background: linear-gradient(135deg,#90a672,#d6c26f); }
.demo-item b { display: block; font-size: 10px; }
.demo-item em { display: block; margin-top: 6px; font-size: 10px; font-style: normal; font-weight: 850; }
.demo-plus { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 9px; color: white; background: var(--black); font-size: 15px; }
.demo-cart { height: 50px; display: flex; align-items: center; justify-content: space-between; margin-top: 11px; padding: 8px 12px; border-radius: 16px; color: white; background: var(--black); font-size: 10px; }
.demo-cart strong { font-size: 13px; }
.floating-note { position: absolute; z-index: 3; max-width: 205px; padding: 15px 17px; border: 1px solid rgba(21,20,17,.12); border-radius: 17px; background: rgba(255,254,250,.94); box-shadow: var(--shadow-small); backdrop-filter: blur(10px); }
.floating-note b { display: block; margin-bottom: 4px; font-size: 13px; }
.floating-note span { color: var(--muted); font-size: 11px; }
.note-one { top: 12%; left: -2%; transform: rotate(-4deg); }
.note-two { right: -3%; bottom: 15%; transform: rotate(4deg); }
.note-two b { color: var(--success); }

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 56px; }
.feature-grid article, .panel, .stats-grid article { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,254,250,.92); box-shadow: var(--shadow-small); }
.feature-grid article { min-height: 220px; padding: 27px; display: flex; flex-direction: column; }
.feature-number { color: var(--orange); font-family: Georgia, serif; font-size: 38px; line-height: 1; }
.feature-grid h2 { margin: auto 0 8px; font-family: Georgia, serif; font-size: 25px; line-height: 1.05; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 14px; }
.footer { padding: 31px; text-align: center; color: var(--muted); font-size: 13px; }

.auth-page { min-height: calc(100vh - 138px); display: grid; place-items: center; padding: 52px 20px; }
.auth-card { width: min(470px,100%); padding: 36px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); }
.auth-card h1 { margin: 10px 0 25px; font-size: 43px; line-height: .98; letter-spacing: -.045em; }
label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 17px; font-size: 13px; font-weight: 760; }
input, textarea, select {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  outline: none;
  color: var(--ink);
  background: #fff;
  transition: border .18s ease, box-shadow .18s ease;
}
input::placeholder, textarea::placeholder { color: #aaa59c; }
input:focus, textarea:focus, select:focus { border-color: var(--black); box-shadow: 0 0 0 3px rgba(21,20,17,.09); }
textarea { min-height: 116px; resize: vertical; }
input[type="file"] { padding: 9px; background: #faf8f3; }
small { color: var(--muted); font-weight: 500; }
.center { text-align: center; }
.muted { color: var(--muted); }
.flash { max-width: 1180px; margin: 0 auto 18px; padding: 13px 16px; border-radius: 14px; font-weight: 670; font-size: 14px; }
.flash-success { color: #1e573b; background: #e6f0e9; border: 1px solid #bfd7c6; }
.flash-error { color: #87352f; background: #f8e8e5; border: 1px solid #e8c1bb; }

.dashboard-shell { max-width: 1180px; min-height: calc(100vh - 137px); margin: 0 auto; padding: 46px 24px 76px; }
.dashboard-shell.narrow { max-width: 830px; }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.page-header h1 { margin: 9px 0 5px; font-size: clamp(38px,5vw,57px); line-height: .96; letter-spacing: -.05em; }
.page-header p { margin: 0; color: var(--muted); }
.back-link { display: inline-block; margin-bottom: 12px; color: var(--muted); font-size: 14px; font-weight: 720; }
.panel { padding: 25px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.span-2 { grid-column: span 2; }
.checkbox { flex-direction: row; align-items: center; font-weight: 630; }
.checkbox input { width: auto; min-height: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-bottom: 20px; }
.stats-grid article { position: relative; overflow: hidden; padding: 20px; }
.stats-grid article::after { content: ""; position: absolute; width: 65px; height: 65px; right: -25px; bottom: -30px; border-radius: 50%; background: var(--cream); }
.stats-grid span { display: block; color: var(--muted); font-size: 12px; font-weight: 680; }
.stats-grid strong { display: block; margin-top: 5px; font-family: Georgia, serif; font-size: 36px; line-height: 1; }
.settings-panel summary { cursor: pointer; font-family: Georgia, serif; font-weight: 650; font-size: 22px; }
.details-body { padding-top: 23px; }
.two-columns { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: start; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 19px; }
.panel-head h2 { margin: 5px 0 0; font-family: Georgia, serif; font-size: 29px; line-height: 1; }
.counter { padding: 6px 10px; border-radius: 999px; color: var(--ink); background: var(--cream); font-weight: 830; font-size: 12px; }
.row-form { display: flex; gap: 8px; margin-bottom: 18px; }
.row-form input { min-width: 0; }
.category-list, .item-list { display: flex; flex-direction: column; gap: 9px; }
.category-row, .item-row { border: 1px solid var(--line); border-radius: 16px; background: #fbfaf6; }
.category-row { padding: 10px; }
.category-edit { display: grid; grid-template-columns: 1fr 112px 38px; gap: 7px; }
.category-edit input, .category-edit select { min-height: 39px; padding: 7px 9px; }
.category-meta { display: flex; justify-content: flex-end; align-items: center; gap: 5px; margin-top: 7px; color: var(--muted); font-size: 12px; }
.category-meta span { margin-right: auto; }
.icon-button { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: white; text-decoration: none; font-weight: 850; }
.icon-button:hover { background: var(--cream); }
.icon-button.danger { color: var(--danger); }
.item-row { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 9px; }
.item-row img, .image-placeholder { width: 58px; height: 58px; border-radius: 13px; object-fit: cover; background: var(--cream); }
.image-placeholder { display: grid; place-items: center; color: #8f897f; font-size: 11px; }
.item-main { min-width: 0; }
.item-main strong, .item-main span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-main strong { font-size: 14px; }
.item-main span { color: var(--muted); font-size: 12px; }
.item-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.item-actions form, .category-meta form { margin: 0; }
.item-disabled { opacity: .49; filter: grayscale(.55); }
.empty-state { padding: 38px 17px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 18px; color: var(--muted); background: #faf8f3; }
.empty-state strong { display: block; color: var(--ink); font-family: Georgia, serif; font-size: 22px; }
.qr-panel { display: flex; flex-direction: column; align-items: center; text-align: center; }
.qr-panel img { width: min(360px,100%); padding: 14px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.qr-panel strong { margin-top: 15px; font-family: Georgia, serif; font-size: 27px; }
.menu-link { word-break: break-all; margin: 5px 0 21px; color: var(--muted); }

/* Публичное меню */
.public-menu { max-width: 760px; min-height: 100vh; margin: 0 auto; overflow: hidden; color: var(--ink); background: #fbfaf7; box-shadow: 0 0 80px rgba(0,0,0,.13); }
.menu-hero { min-height: 250px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px 23px 24px; background: linear-gradient(145deg,#eee3d2,#f8f3ea 67%,#d9c19e); background-size: cover; background-position: center; }
.menu-hero.has-cover { min-height: 335px; color: white; }
.menu-kicker { display: block; margin-bottom: 10px; color: inherit; opacity: .7; font-size: 12px; }
.restaurant-heading { display: flex; align-items: center; gap: 14px; }
.restaurant-heading h1 { margin: 0; font-size: clamp(42px,9vw,60px); line-height: .9; letter-spacing: -.055em; }
.restaurant-heading p { max-width: 520px; margin: 10px 0 0; opacity: .78; font-size: 14px; }
.restaurant-logo { width: 72px; height: 72px; border: 2px solid rgba(255,255,255,.7); border-radius: 22px; object-fit: cover; background: white; box-shadow: var(--shadow-small); }
.restaurant-meta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 22px; font-size: 12px; }
.restaurant-meta span, .restaurant-meta a { padding: 7px 10px; border: 1px solid rgba(21,20,17,.13); border-radius: 999px; color: inherit; background: rgba(255,255,255,.48); backdrop-filter: blur(9px); }
.menu-hero.has-cover .restaurant-meta span, .menu-hero.has-cover .restaurant-meta a { border-color: rgba(255,255,255,.28); background: rgba(0,0,0,.24); }
.menu-tools { padding: 16px 18px 0; background: #fbfaf7; }
.menu-search { position: relative; }
.menu-search::before { content: "⌕"; position: absolute; left: 15px; top: 50%; transform: translateY(-53%); color: #8e887f; font-size: 21px; }
.menu-search input { min-height: 49px; padding-left: 43px; border-radius: 15px; background: white; }
.category-tabs { position: sticky; top: 0; z-index: 10; display: flex; gap: 8px; overflow-x: auto; padding: 12px 18px 13px; border-bottom: 1px solid #e7e2da; background: rgba(251,250,247,.94); backdrop-filter: blur(15px); scrollbar-width: none; }
.category-tabs::-webkit-scrollbar { display: none; }
.category-tabs a { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: white; font-size: 12px; font-weight: 730; }
.category-tabs a:first-child { color: white; background: var(--black); border-color: var(--black); }
.category-tabs a:hover { border-color: var(--black); }
.menu-body { padding: 8px 18px 42px; }
.menu-section { scroll-margin-top: 76px; padding-top: 28px; }
.menu-section h2 { margin: 0 0 14px; font-size: 32px; line-height: 1; letter-spacing: -.035em; }
.menu-items { display: flex; flex-direction: column; gap: 9px; }
.menu-card { min-height: 130px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; padding: 10px; border: 1px solid #e3ded5; border-radius: 18px; background: white; box-shadow: 0 7px 24px rgba(34,29,20,.035); transition: transform .17s ease, border .17s ease; }
.menu-card:hover { transform: translateY(-1px); border-color: #c9c1b4; }
.menu-card h3 { margin: 2px 0 6px; font-size: 17px; line-height: 1.2; }
.menu-card p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.menu-card-text { display: flex; flex-direction: column; padding: 5px 4px; }
.menu-card-bottom { display: flex; align-items: baseline; gap: 9px; margin-top: auto; padding-top: 12px; }
.menu-card-bottom strong { font-size: 16px; }
.menu-card-bottom span { color: var(--muted); font-size: 11px; }
.menu-card img { width: 112px; height: 112px; border-radius: 14px; object-fit: cover; }
.menu-card.no-image { grid-template-columns: 1fr; min-height: 108px; }
.menu-no-results { display: none; margin: 28px 0; }
.menu-footer { padding: 25px; text-align: center; color: var(--muted); background: #f0ece4; font-size: 12px; }
.menu-footer a { font-weight: 800; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 35px; text-align: center; }
  .hero h1, .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .preview-stage { min-height: 610px; }
  .feature-grid, .two-columns { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .note-one { left: 8%; }
  .note-two { right: 7%; }
}
@media (max-width: 650px) {
  .topbar { min-height: 66px; padding: 10px 15px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 32px; height: 32px; }
  .nav-actions > a:not(.button), .link-button { display: none; }
  .landing { padding: 38px 17px 64px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 50px; }
  .lead { font-size: 17px; }
  .preview-stage { min-height: 575px; margin: 0 -12px; }
  .phone-preview { width: 310px; }
  .phone-screen { min-height: 510px; }
  .floating-note { max-width: 160px; padding: 11px 12px; }
  .note-one { left: 0; top: 11%; }
  .note-two { right: 0; bottom: 9%; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 185px; }
  .dashboard-shell { padding: 31px 14px 58px; }
  .page-header { align-items: flex-start; flex-direction: column; }
  .page-header h1 { font-size: 43px; }
  .header-actions { width: 100%; }
  .header-actions .button, .header-actions form { flex: 1; }
  .header-actions form .button { width: 100%; }
  .stats-grid { gap: 8px; }
  .stats-grid article { padding: 15px; }
  .stats-grid strong { font-size: 30px; }
  .panel { padding: 16px; border-radius: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: span 1; }
  .category-edit { grid-template-columns: 1fr 102px 36px; }
  .item-row { grid-template-columns: 50px 1fr; }
  .item-row img, .image-placeholder { width: 50px; height: 50px; }
  .item-actions { grid-column: 1 / -1; justify-content: flex-end; padding-top: 8px; border-top: 1px solid var(--line); }
  .auth-card { padding: 27px 20px; border-radius: 25px; }
  .menu-hero { padding: 25px 18px 21px; }
  .menu-hero.has-cover { min-height: 290px; }
  .restaurant-heading { align-items: flex-start; }
  .restaurant-logo { width: 61px; height: 61px; border-radius: 18px; }
  .restaurant-heading h1 { font-size: 42px; }
  .menu-card { min-height: 113px; padding: 9px; }
  .menu-card img { width: 94px; height: 94px; }
  .menu-card h3 { font-size: 15px; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 44px; }
  .phone-preview { width: 286px; }
  .floating-note { display: none; }
  .menu-card img { width: 84px; height: 84px; }
}

/* ===== Klikki navigation ===== */
.topbar-klikki {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding: 0 6vw;
  color: #fff;
  background:
    radial-gradient(circle at 75% 0%, rgba(112, 76, 65, .24), transparent 35%),
    #11100f;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.brand-klikki {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand-symbol {
  display: inline-flex;
  width: 36px;
  height: 31px;
}

.brand-symbol svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.brand-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -.7px;
}

.brand-name strong {
  font-weight: 800;
}

.brand-name span {
  color: rgba(255, 255, 255, .55);
  font-weight: 600;
}

.topbar-klikki .nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar-klikki .nav-actions > a,
.topbar-klikki .link-button {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.topbar-klikki .nav-actions > a:hover,
.topbar-klikki .link-button:hover {
  color: #fff;
}

.topbar-klikki .nav-main-button {
  padding: 14px 23px;
  color: #111 !important;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

@media (max-width: 700px) {
  .topbar-klikki {
    min-height: 70px;
    padding: 0 20px;
  }

  .brand-name {
    font-size: 20px;
  }

  .topbar-klikki .nav-actions {
    gap: 14px;
  }

  .topbar-klikki .nav-main-button {
    padding: 11px 15px;
  }
}

/* KLIKKI_PUBLIC_MENU_V2_START */

/*
  Public menu foundation.
  Mobile-first and ready for future themes through CSS variables.
*/

.public-body {
  margin: 0;
  min-width: 320px;
  background: #e9e5de;
  color: #171512;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.public-body,
.public-body * {
  box-sizing: border-box;
}

.public-body html {
  scroll-behavior: smooth;
}

.public-menu {
  --menu-background: #f4f1ea;
  --menu-surface: #fffdf9;
  --menu-text: #171512;
  --menu-muted: #716c64;
  --menu-line: rgba(23, 21, 18, 0.1);
  --menu-accent: #f2793d;
  --menu-hero: #171512;
  --menu-radius-large: 28px;
  --menu-radius-card: 20px;

  width: 100%;
  min-height: 100svh;
  margin: 0;
  color: var(--menu-text);
  background: var(--menu-background);
  overflow: visible;
}

.public-menu-shell {
  width: 100%;
  min-height: 100svh;
  margin: 0 auto;
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.restaurant-heading {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding:
    calc(28px + env(safe-area-inset-top))
    18px
    24px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 10%, rgba(242, 121, 61, 0.28), transparent 40%),
    linear-gradient(145deg, #26221e 0%, #121110 100%);
  overflow: hidden;
}

.restaurant-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-cover-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(10, 9, 8, 0.15) 0%,
      rgba(10, 9, 8, 0.35) 40%,
      rgba(10, 9, 8, 0.93) 100%
    );
}

.restaurant-heading:not(.has-cover) .restaurant-cover-overlay {
  background:
    radial-gradient(circle at 85% 10%, rgba(242, 121, 61, 0.2), transparent 42%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.12));
}

.restaurant-heading-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.restaurant-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.restaurant-logo,
.restaurant-logo-placeholder {
  flex: 0 0 66px;
  width: 66px;
  height: 66px;
  border-radius: 21px;
}

.restaurant-logo {
  display: block;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

.restaurant-logo-placeholder {
  display: grid;
  place-items: center;
  color: #171512;
  background: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

.restaurant-heading-text {
  min-width: 0;
}

.restaurant-eyebrow {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.restaurant-heading h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(33px, 9vw, 50px);
  line-height: 0.96;
  font-weight: 700;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.restaurant-description {
  max-width: 580px;
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.48;
}

.restaurant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.restaurant-meta-item {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
  backdrop-filter: blur(12px);
}

.restaurant-phone:active {
  transform: scale(0.98);
}

.menu-navigation {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 12px 14px 10px;
  background: rgba(244, 241, 234, 0.94);
  border-bottom: 1px solid rgba(23, 21, 18, 0.06);
  backdrop-filter: blur(18px);
}

.menu-tools {
  margin: 0;
}

.menu-search {
  position: relative;
  display: block;
}

.menu-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px 0 44px;
  color: var(--menu-text);
  background: var(--menu-surface);
  border: 1px solid var(--menu-line);
  border-radius: 16px;
  outline: none;
  font: inherit;
  font-size: 15px;
  box-shadow: 0 8px 24px rgba(23, 21, 18, 0.04);
  -webkit-appearance: none;
}

.menu-search input::placeholder {
  color: #99938b;
}

.menu-search input:focus {
  border-color: rgba(242, 121, 61, 0.75);
  box-shadow: 0 0 0 4px rgba(242, 121, 61, 0.12);
}

.menu-search-icon {
  position: absolute;
  top: 50%;
  left: 17px;
  z-index: 1;
  width: 15px;
  height: 15px;
  border: 2px solid #756f67;
  border-radius: 50%;
  transform: translateY(-58%);
  pointer-events: none;
}

.menu-search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 6px;
  height: 2px;
  border-radius: 2px;
  background: #756f67;
  transform: rotate(45deg);
  transform-origin: left center;
}

.category-tabs {
  display: flex;
  gap: 8px;
  margin: 10px -14px 0;
  padding: 0 14px 2px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs a {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: var(--menu-text);
  background: var(--menu-surface);
  border: 1px solid var(--menu-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
}

.category-tabs a:first-child {
  color: #fff;
  background: var(--menu-text);
  border-color: var(--menu-text);
}

.category-tabs a:active {
  transform: scale(0.97);
}

.menu-body {
  padding: 10px 14px 0;
}

.menu-section {
  scroll-margin-top: 125px;
  padding: 22px 0 5px;
}

.menu-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.menu-section h2 {
  margin: 0;
  color: var(--menu-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.menu-section-count {
  flex: 0 0 auto;
  color: var(--menu-muted);
  font-size: 11px;
  font-weight: 700;
}

.menu-items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.menu-card {
  position: relative;
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 94px;
  gap: 13px;
  align-items: stretch;
  padding: 13px;
  color: var(--menu-text);
  background: var(--menu-surface);
  border: 1px solid var(--menu-line);
  border-radius: var(--menu-radius-card);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 10px 28px rgba(23, 21, 18, 0.045);
  overflow: hidden;
}

.menu-card.no-image {
  grid-template-columns: minmax(0, 1fr);
  min-height: 118px;
}

.menu-card-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-card-copy {
  min-width: 0;
}

.menu-card h3 {
  margin: 0;
  color: var(--menu-text);
  font-size: 16px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.018em;
  overflow-wrap: anywhere;
}

.menu-card p {
  display: -webkit-box;
  margin: 6px 0 0;
  color: var(--menu-muted);
  font-size: 12.5px;
  line-height: 1.4;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.menu-card-bottom {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.menu-card-bottom strong {
  color: var(--menu-text);
  font-size: 16px;
  line-height: 1;
  font-weight: 850;
}

.menu-card-bottom span {
  color: var(--menu-muted);
  font-size: 11px;
  line-height: 1;
}

.menu-card-media {
  width: 94px;
  height: 100%;
  min-height: 86px;
  border-radius: 15px;
  overflow: hidden;
  background: #e9dfd2;
}

.menu-card-media img {
  width: 100%;
  height: 100%;
  min-height: 86px;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.menu-card:active .menu-card-media img {
  transform: scale(1.025);
}

.public-menu-empty,
.menu-no-results {
  margin-top: 25px;
  padding: 30px 22px;
  text-align: center;
  color: var(--menu-text);
  background: var(--menu-surface);
  border: 1px solid var(--menu-line);
  border-radius: var(--menu-radius-card);
}

.public-menu-empty strong,
.menu-no-results strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.public-menu-empty p,
.menu-no-results p {
  margin: 8px 0 0;
  color: var(--menu-muted);
  font-size: 13px;
}

.menu-no-results[hidden] {
  display: none !important;
}

.menu-footer {
  padding: 34px 14px 8px;
}

.menu-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  color: var(--menu-muted);
  font-size: 11px;
}

.menu-footer-brand a {
  color: var(--menu-text);
  font-weight: 800;
  text-decoration: none;
}

.public-body .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 370px) {
  .restaurant-heading {
    min-height: 255px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .restaurant-logo,
  .restaurant-logo-placeholder {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .restaurant-heading h1 {
    font-size: 31px;
  }

  .menu-card {
    grid-template-columns: minmax(0, 1fr) 82px;
    gap: 10px;
    padding: 11px;
  }

  .menu-card-media {
    width: 82px;
    border-radius: 13px;
  }
}

@media (min-width: 700px) {
  .public-menu {
    width: min(100%, 760px);
    margin: 24px auto;
    min-height: calc(100vh - 48px);
    border-radius: 32px;
    box-shadow: 0 28px 90px rgba(23, 21, 18, 0.16);
    overflow: hidden;
  }

  .public-menu-shell {
    min-height: calc(100vh - 48px);
  }

  .restaurant-heading {
    min-height: 370px;
    padding: 42px 32px 32px;
  }

  .restaurant-logo,
  .restaurant-logo-placeholder {
    flex-basis: 78px;
    width: 78px;
    height: 78px;
    border-radius: 23px;
  }

  .restaurant-description {
    font-size: 15px;
  }

  .menu-navigation {
    padding-right: 22px;
    padding-left: 22px;
  }

  .category-tabs {
    margin-right: -22px;
    margin-left: -22px;
    padding-right: 22px;
    padding-left: 22px;
  }

  .menu-body {
    padding-right: 22px;
    padding-left: 22px;
  }

  .menu-section {
    scroll-margin-top: 127px;
  }

  .menu-section h2 {
    font-size: 34px;
  }

  .menu-card {
    min-height: 134px;
    grid-template-columns: minmax(0, 1fr) 118px;
    padding: 16px;
    border-radius: 22px;
  }

  .menu-card h3 {
    font-size: 18px;
  }

  .menu-card p {
    font-size: 13.5px;
  }

  .menu-card-bottom strong {
    font-size: 18px;
  }

  .menu-card-media {
    width: 118px;
    min-height: 102px;
    border-radius: 17px;
  }

  .menu-card-media img {
    min-height: 102px;
  }
}

/* KLIKKI_PUBLIC_MENU_V2_END */


/* KLIKKI_MENU_DESIGN_STUDIO_START */

.menu-template-studio {
  margin-bottom: 20px;
  overflow: hidden;
}

.menu-template-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.menu-template-header h2 {
  margin: 5px 0 7px;
}

.menu-template-header p {
  max-width: 710px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.template-count {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f0e9dd;
  font-size: 11px;
  font-weight: 800;
}

.menu-template-form {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.template-gallery {
  display: grid;
  grid-template-columns:
    repeat(5, minmax(0, 1fr));
  gap: 11px;
}

.template-choice {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 6px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.template-choice:hover {
  transform: translateY(-3px);
}

.template-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.template-choice:has(input:checked) {
  border-color: #171512;
  box-shadow: 0 0 0 2px #171512;
}

.template-choice strong {
  font-size: 12px;
  line-height: 1.2;
}

.template-choice small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.template-thumbnail {
  position: relative;
  height: 104px;
  display: block;
  padding: 12px;
  overflow: hidden;
  border-radius: 11px;
}

.template-thumbnail i,
.template-thumbnail b,
.template-thumbnail em,
.template-thumbnail u {
  position: relative;
  display: block;
  border-radius: 999px;
  text-decoration: none;
}

.template-thumbnail i {
  width: 48%;
  height: 9px;
}

.template-thumbnail b {
  width: 76%;
  height: 5px;
  margin-top: 6px;
}

.template-thumbnail em,
.template-thumbnail u {
  width: 100%;
  height: 23px;
  margin-top: 9px;
}

.thumb-noir {
  background: #111;
}

.thumb-noir i {
  background: #e9dfca;
}

.thumb-noir b {
  background: #777;
}

.thumb-noir em,
.thumb-noir u {
  border-radius: 0;
  background: #292929;
}

.thumb-noir u {
  background: #d2ad68;
}

.thumb-bistro {
  background: #f1dfc4;
}

.thumb-bistro i {
  background: #4b3223;
}

.thumb-bistro b {
  background: #b99778;
}

.thumb-bistro em,
.thumb-bistro u {
  border-radius: 12px;
  background: #fff8eb;
}

.thumb-bistro u {
  background: #bd633f;
}

.thumb-nordic {
  background: #f4f4f0;
}

.thumb-nordic i {
  background: #191919;
}

.thumb-nordic b {
  background: #aaa;
}

.thumb-nordic em,
.thumb-nordic u {
  border-radius: 0;
  border-top: 1px solid #aaa;
  background: transparent;
}

.thumb-tokyo {
  background: #ece7dc;
}

.thumb-tokyo i {
  width: 68%;
  background: #111;
}

.thumb-tokyo b {
  width: 34%;
  background: #d52f28;
}

.thumb-tokyo em,
.thumb-tokyo u {
  width: 48%;
  display: inline-block;
  border-radius: 0;
  background: #fff;
}

.thumb-italian {
  background: #efe0cb;
}

.thumb-italian i {
  width: 70%;
  background: #9e2a22;
}

.thumb-italian b {
  background: #5f4637;
}

.thumb-italian em {
  border-radius: 8px;
  background: #9e2a22;
}

.thumb-italian u {
  border-radius: 8px;
  background: #fff5e8;
}

.thumb-botanical {
  background: #e3eadb;
}

.thumb-botanical i {
  background: #284332;
}

.thumb-botanical b {
  background: #799166;
}

.thumb-botanical em,
.thumb-botanical u {
  border-radius: 20px 8px 20px 8px;
  background: #fbfcf7;
}

.thumb-street {
  background: #f1e338;
}

.thumb-street i {
  width: 82%;
  height: 12px;
  background: #0d0d0d;
}

.thumb-street b {
  background: #ff4c1f;
}

.thumb-street em,
.thumb-street u {
  border: 2px solid #111;
  border-radius: 0;
  background: #fffcee;
}

.thumb-patisserie {
  background: #f3e3e9;
}

.thumb-patisserie i {
  background: #8e5368;
}

.thumb-patisserie b {
  background: #d792aa;
}

.thumb-patisserie em,
.thumb-patisserie u {
  border-radius: 18px;
  background: #fffafb;
}

.thumb-night {
  background: #0c0c12;
}

.thumb-night i {
  background: #efe9ff;
}

.thumb-night b {
  background: #9d70ff;
}

.thumb-night em,
.thumb-night u {
  border: 1px solid #6d55a6;
  border-radius: 8px;
  background: #191824;
}

.thumb-chef {
  background: #efebe1;
}

.thumb-chef i {
  width: 65%;
  background: #24211d;
}

.thumb-chef b {
  width: 30%;
  background: #806e4d;
}

.thumb-chef em,
.thumb-chef u {
  border-radius: 0;
  border-top: 1px solid #8d877c;
  background: transparent;
}

.template-options {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.template-switch {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.template-switch input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #171512;
}

.template-switch span {
  display: grid;
  gap: 3px;
}

.template-switch strong {
  font-size: 12px;
}

.template-switch small {
  color: var(--muted);
  font-size: 10px;
}

.template-workspace {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(280px, 360px);
  gap: 28px;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.template-workspace h3 {
  margin: 5px 0 7px;
  font-size: 28px;
}

.template-workspace > div:first-child > p {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.5;
}

.menu-template-preview {
  --preview-bg: #f5f5f1;
  --preview-surface: #fff;
  --preview-text: #171817;
  --preview-accent: #71806b;
  --preview-radius: 0px;

  position: relative;
  width: min(100%, 330px);
  justify-self: center;
  padding: 9px;
  border-radius: 39px;
  background: #151515;
  color: var(--preview-text);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.22);
}

.template-preview-speaker {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 5;
  width: 82px;
  height: 21px;
  border-radius: 999px;
  background: #151515;
  transform: translateX(-50%);
}

.template-preview-screen {
  min-height: 600px;
  overflow: hidden;
  border-radius: 31px;
  background: var(--preview-bg);
}

.template-preview-hero {
  min-height: 175px;
  padding: 46px 17px 18px;
  background:
    linear-gradient(
      145deg,
      var(--preview-text),
      var(--preview-accent)
    );
  color: #fff;
}

.template-preview-hero small {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.68;
}

.template-preview-hero h4 {
  margin: 6px 0 0;
  font-family: Georgia, serif;
  font-size: 27px;
  line-height: 1;
}

.template-preview-hero p {
  margin: 7px 0 0;
  font-size: 9px;
  line-height: 1.4;
  opacity: 0.75;
}

.template-preview-promo {
  margin: 10px;
  padding: 13px;
  border-radius: var(--preview-radius);
  background: var(--preview-accent);
  color: #fff;
}

.template-preview-promo span {
  display: block;
  font-size: 7px;
  opacity: 0.72;
}

.template-preview-promo strong {
  display: block;
  margin-top: 4px;
  font-size: 11px;
}

.template-preview-body {
  padding: 10px;
}

.template-preview-search {
  padding: 10px;
  border-radius: calc(var(--preview-radius) * 0.55);
  background: var(--preview-surface);
  font-size: 8px;
  opacity: 0.65;
}

.template-preview-tabs {
  display: flex;
  gap: 5px;
  margin: 8px 0 13px;
}

.template-preview-tabs span {
  padding: 6px 8px;
  border-radius: 999px;
  background: var(--preview-surface);
  font-size: 7px;
  font-weight: 700;
}

.template-preview-tabs span:first-child {
  background: var(--preview-accent);
  color: #fff;
}

.template-preview-body h5 {
  margin: 0 0 8px;
  font-family: Georgia, serif;
  font-size: 18px;
}

.template-preview-dish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px;
  gap: 8px;
  min-height: 86px;
  margin-bottom: 7px;
  padding: 9px;
  border-radius: var(--preview-radius);
  background: var(--preview-surface);
}

.template-preview-dish > div {
  display: flex;
  flex-direction: column;
}

.template-preview-dish strong {
  font-size: 10px;
}

.template-preview-dish p {
  margin: 4px 0;
  font-size: 7px;
  line-height: 1.3;
  opacity: 0.55;
}

.template-preview-dish b {
  margin-top: auto;
  font-size: 10px;
}

.template-preview-dish i {
  min-height: 66px;
  border-radius: calc(var(--preview-radius) * 0.6);
  background:
    radial-gradient(
      circle at 35% 40%,
      #f1d093 0 15%,
      transparent 16%
    ),
    linear-gradient(145deg, #d28b50, #673726);
}

.template-preview-dish:nth-of-type(2) i {
  background:
    radial-gradient(
      circle at 45% 42%,
      #d3e881 0 18%,
      transparent 19%
    ),
    linear-gradient(145deg, #9abd67, #3d632c);
}

.preview-images-off
.template-preview-dish {
  grid-template-columns: 1fr;
}

.preview-images-off
[data-template-preview-image] {
  display: none;
}

.preview-promos-off
[data-template-preview-promo] {
  display: none;
}

/* Preview presets */

.menu-template-preview.template-noir-editorial {
  --preview-bg: #0e0e0f;
  --preview-surface: #171719;
  --preview-text: #f3eee5;
  --preview-accent: #d2ad68;
  --preview-radius: 0px;
}

.menu-template-preview.template-warm-bistro {
  --preview-bg: #f3e9d9;
  --preview-surface: #fff9ef;
  --preview-text: #392b20;
  --preview-accent: #bd633f;
  --preview-radius: 22px;
}

.menu-template-preview.template-nordic-minimal {
  --preview-bg: #f5f5f1;
  --preview-surface: #fff;
  --preview-text: #171817;
  --preview-accent: #71806b;
  --preview-radius: 0px;
}

.menu-template-preview.template-tokyo-grid {
  --preview-bg: #eeeae1;
  --preview-surface: #fffdf7;
  --preview-text: #111;
  --preview-accent: #d52f28;
  --preview-radius: 0px;
}

.menu-template-preview.template-italian-cinema {
  --preview-bg: #f2e8d8;
  --preview-surface: #fff9ef;
  --preview-text: #302219;
  --preview-accent: #a72d24;
  --preview-radius: 12px;
}

.menu-template-preview.template-botanical {
  --preview-bg: #edf1e7;
  --preview-surface: #fbfcf7;
  --preview-text: #22362a;
  --preview-accent: #6c8e50;
  --preview-radius: 22px;
}

.menu-template-preview.template-street-bold {
  --preview-bg: #f1e338;
  --preview-surface: #fffcee;
  --preview-text: #0d0d0d;
  --preview-accent: #ff4c1f;
  --preview-radius: 0px;
}

.menu-template-preview.template-patisserie {
  --preview-bg: #f6ebef;
  --preview-surface: #fffafb;
  --preview-text: #493039;
  --preview-accent: #d77d9d;
  --preview-radius: 23px;
}

.menu-template-preview.template-night-bar {
  --preview-bg: #0b0b10;
  --preview-surface: #161620;
  --preview-text: #f4efff;
  --preview-accent: #9d70ff;
  --preview-radius: 12px;
}

.menu-template-preview.template-chefs-table {
  --preview-bg: #f2efe7;
  --preview-surface: #f2efe7;
  --preview-text: #1b1a18;
  --preview-accent: #806e4d;
  --preview-radius: 0px;
}

/* Общие правила публичных шаблонов */

.public-menu {
  background: var(--menu-background);
  color: var(--menu-text);
}

.public-menu .menu-navigation {
  background: color-mix(
    in srgb,
    var(--menu-background) 94%,
    transparent
  );
}

.public-menu .category-tabs a:first-child {
  background: var(--menu-accent);
  border-color: var(--menu-accent);
  color: var(--template-tab-text, #fff);
}

.public-menu.images-off .menu-card {
  grid-template-columns: minmax(0, 1fr);
}

.public-menu.images-off .menu-card-media {
  display: none;
}

/* 1 — Noir Editorial */

.public-menu.template-noir-editorial {
  --template-tab-text: #111;
  color-scheme: dark;
}

.public-menu.template-noir-editorial
.restaurant-heading:not(.has-cover) {
  min-height: 360px;
  background: #090909;
}

.public-menu.template-noir-editorial
.restaurant-heading h1 {
  font-size: clamp(42px, 12vw, 72px);
}

.public-menu.template-noir-editorial
.menu-card {
  padding: 0 0 22px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.public-menu.template-noir-editorial
.menu-card-media {
  width: 100%;
  min-height: 220px;
  border-radius: 0;
}

.public-menu.template-noir-editorial
.menu-card-content {
  padding-top: 14px;
}

/* 2 — Warm Bistro */

.public-menu.template-warm-bistro
.menu-card {
  border: 0;
  box-shadow: 0 14px 34px rgba(83, 51, 27, 0.09);
}

.public-menu.template-warm-bistro
.restaurant-heading:not(.has-cover) {
  color: var(--menu-text);
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(189, 99, 63, 0.2),
      transparent 44%
    ),
    var(--menu-surface);
}

.public-menu.template-warm-bistro
.restaurant-heading:not(.has-cover)
.restaurant-heading-content,
.public-menu.template-warm-bistro
.restaurant-heading:not(.has-cover) h1 {
  color: var(--menu-text);
}

/* 3 — Nordic Minimal */

.public-menu.template-nordic-minimal
.restaurant-heading:not(.has-cover) {
  min-height: 265px;
  color: var(--menu-text);
  background: var(--menu-surface);
  border-bottom: 1px solid var(--menu-line);
}

.public-menu.template-nordic-minimal
.restaurant-heading:not(.has-cover)
.restaurant-heading-content,
.public-menu.template-nordic-minimal
.restaurant-heading:not(.has-cover) h1 {
  color: var(--menu-text);
}

.public-menu.template-nordic-minimal
.menu-card {
  padding: 16px 0;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* 4 — Tokyo Grid */

.public-menu.template-tokyo-grid
.restaurant-heading h1,
.public-menu.template-tokyo-grid
.menu-section h2 {
  font-family: Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.public-menu.template-tokyo-grid
.menu-card {
  border: 2px solid var(--menu-text);
  box-shadow: 5px 5px 0 var(--menu-accent);
}

.public-menu.template-tokyo-grid
.category-tabs a {
  border-radius: 0;
}

/* 5 — Italian Cinema */

.public-menu.template-italian-cinema
.restaurant-heading:not(.has-cover) {
  background:
    linear-gradient(
      145deg,
      #6f1713,
      var(--menu-accent)
    );
}

.public-menu.template-italian-cinema
.restaurant-heading h1,
.public-menu.template-italian-cinema
.menu-section h2 {
  font-style: italic;
}

.public-menu.template-italian-cinema
.menu-card {
  border-color: rgba(167, 45, 36, 0.18);
  box-shadow: 0 13px 30px rgba(92, 39, 24, 0.08);
}

/* 6 — Botanical */

.public-menu.template-botanical
.restaurant-heading:not(.has-cover) {
  color: var(--menu-text);
  background:
    radial-gradient(
      ellipse at 95% 10%,
      #c8d8b8 0 22%,
      transparent 23%
    ),
    var(--menu-surface);
}

.public-menu.template-botanical
.restaurant-heading:not(.has-cover)
.restaurant-heading-content,
.public-menu.template-botanical
.restaurant-heading:not(.has-cover) h1 {
  color: var(--menu-text);
}

.public-menu.template-botanical
.menu-card {
  border-radius: 30px 12px 30px 12px;
  box-shadow: 0 12px 28px rgba(43, 73, 49, 0.07);
}

/* 7 — Street Bold */

.public-menu.template-street-bold {
  --template-tab-text: #111;
}

.public-menu.template-street-bold
.restaurant-heading:not(.has-cover) {
  background: var(--menu-text);
}

.public-menu.template-street-bold
.restaurant-heading h1,
.public-menu.template-street-bold
.menu-section h2,
.public-menu.template-street-bold
.menu-card h3 {
  font-family: Arial, sans-serif;
  font-weight: 950;
  text-transform: uppercase;
}

.public-menu.template-street-bold
.menu-card {
  border: 3px solid var(--menu-text);
  box-shadow: 6px 6px 0 var(--menu-text);
}

.public-menu.template-street-bold
.category-tabs a,
.public-menu.template-street-bold
.menu-search input {
  border: 2px solid var(--menu-text);
  border-radius: 0;
}

/* 8 — Patisserie */

.public-menu.template-patisserie
.restaurant-heading:not(.has-cover) {
  color: var(--menu-text);
  background:
    radial-gradient(
      circle at 85% 10%,
      #efc9d5,
      transparent 38%
    ),
    var(--menu-surface);
}

.public-menu.template-patisserie
.restaurant-heading:not(.has-cover)
.restaurant-heading-content,
.public-menu.template-patisserie
.restaurant-heading:not(.has-cover) h1 {
  color: var(--menu-text);
}

.public-menu.template-patisserie
.menu-card {
  border: 0;
  box-shadow: 0 14px 36px rgba(119, 66, 84, 0.08);
}

/* 9 — Night Bar */

.public-menu.template-night-bar {
  color-scheme: dark;
}

.public-menu.template-night-bar
.restaurant-heading:not(.has-cover) {
  background:
    radial-gradient(
      circle at 80% 18%,
      rgba(157, 112, 255, 0.38),
      transparent 42%
    ),
    #09090e;
}

.public-menu.template-night-bar
.menu-card {
  border-color: rgba(157, 112, 255, 0.18);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.01)
    ),
    var(--menu-surface);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.24);
}

/* 10 — Chef’s Table */

.public-menu.template-chefs-table
.restaurant-heading:not(.has-cover) {
  min-height: 330px;
  color: var(--menu-text);
  background: var(--menu-background);
  border-bottom: 1px solid rgba(27, 26, 24, 0.14);
}

.public-menu.template-chefs-table
.restaurant-heading:not(.has-cover)
.restaurant-heading-content,
.public-menu.template-chefs-table
.restaurant-heading:not(.has-cover) h1 {
  color: var(--menu-text);
}

.public-menu.template-chefs-table
.menu-section h2 {
  font-size: clamp(34px, 9vw, 54px);
  font-weight: 400;
}

.public-menu.template-chefs-table
.menu-card {
  padding: 20px 0 28px;
  border-width: 0 0 1px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.public-menu.template-chefs-table
.menu-card h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}

/* Mobile-first layout */

@media (min-width: 560px) {
  .public-menu.template-tokyo-grid
  .menu-items {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1050px) {
  .template-gallery {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .template-gallery {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .template-workspace {
    grid-template-columns: 1fr;
  }

  .menu-template-preview {
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .menu-template-header {
    align-items: stretch;
    flex-direction: column;
  }

  .template-count {
    align-self: flex-start;
  }

  .template-gallery {
    grid-template-columns: 1fr;
  }

  .template-choice {
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: center;
  }

  .template-thumbnail {
    grid-row: 1 / span 2;
  }

  .template-options {
    grid-template-columns: 1fr;
  }

  .menu-design-actions {
    display: grid;
  }

  .menu-design-actions .button {
    width: 100%;
    text-align: center;
  }
}

/* KLIKKI_MENU_DESIGN_STUDIO_END */


/* KLIKKI_PROMOS_START */

.promo-entry-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}

.promo-entry-panel h2 {
  margin: 4px 0 6px;
}

.promo-entry-panel p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.promo-admin-page {
  display: grid;
  gap: 20px;
}

.promo-create-panel {
  overflow: hidden;
}

.promo-limit {
  min-width: 50px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f1eadf;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.promo-admin-list {
  display: grid;
  gap: 14px;
}

.promo-admin-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 20px;
}

.promo-admin-card > img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}

.promo-admin-content {
  min-width: 0;
}

.promo-admin-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.promo-admin-title h2 {
  margin: 5px 0 0;
}

.promo-admin-content > p {
  color: var(--muted);
  line-height: 1.5;
}

.promo-status {
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eee9e1;
  font-size: 10px;
  font-weight: 800;
}

.promo-status.is-active {
  color: #25623a;
  background: #e5f3e9;
}

.promo-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.promo-stats-grid > div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
}

.promo-stats-grid span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.promo-stats-grid strong {
  display: block;
  margin-top: 5px;
  font-size: 21px;
}

.promo-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.promo-carousel {
  position: relative;
  width: 100%;
  padding: 14px 14px 2px;
  background: var(--menu-background);
  overflow: hidden;
}

.promo-carousel-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 22px;
}

.promo-carousel-track::-webkit-scrollbar {
  display: none;
}

.promo-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 210px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border-radius: 22px;
  overflow: hidden;
  background: #201d19;
  color: #fff;
}

.promo-slide picture,
.promo-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.promo-slide img {
  object-fit: cover;
}

.promo-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(10, 9, 8, 0.88) 0%,
      rgba(10, 9, 8, 0.56) 56%,
      rgba(10, 9, 8, 0.08) 100%
    );
}

.promo-slide-content {
  position: relative;
  z-index: 2;
  width: min(76%, 430px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 23px;
}

.promo-slide-content > span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.promo-slide-content h2 {
  margin: 7px 0 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 7vw, 42px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.promo-slide-content p {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.4;
  opacity: 0.82;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.promo-slide-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #171512;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.promo-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #171512;
  font-size: 25px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  transform: translateY(-50%);
  cursor: pointer;
}

.promo-carousel-prev {
  left: 23px;
}

.promo-carousel-next {
  right: 23px;
}

.promo-carousel-dots {
  position: absolute;
  right: 28px;
  bottom: 15px;
  z-index: 4;
  display: flex;
  gap: 5px;
}

.promo-carousel-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  transition: width 0.2s ease;
}

.promo-carousel-dots button.is-active {
  width: 18px;
  background: #fff;
}

@media (max-width: 700px) {
  .promo-entry-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .promo-entry-panel .button {
    width: 100%;
    text-align: center;
  }

  .promo-admin-card {
    grid-template-columns: 1fr;
  }

  .promo-admin-card > img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .promo-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-carousel {
    padding-right: 12px;
    padding-left: 12px;
  }

  .promo-slide {
    min-height: 200px;
  }

  .promo-slide-content {
    width: 84%;
    padding: 19px;
  }

  .promo-carousel-arrow {
    display: none;
  }

  .promo-carousel-dots {
    right: 22px;
    bottom: 11px;
  }
}

@media (max-width: 390px) {
  .promo-slide {
    min-height: 190px;
  }

  .promo-slide-content h2 {
    font-size: 25px;
  }

  .promo-slide-content p {
    font-size: 11px;
  }

  .promo-slide-button {
    min-height: 34px;
    margin-top: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-carousel-track {
    scroll-behavior: auto;
  }
}

/* KLIKKI_PROMOS_END */

/* KLIKKI_NOIR_EDITORIAL_V1_START */

/* ================================
   Dashboard — real live preview
   ================================ */

.noir-studio-panel {
  display: grid;
  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(390px, 1.1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: clamp(24px, 4vw, 54px);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 90% 8%,
      rgba(242, 121, 61, 0.13),
      transparent 34%
    ),
    #fffdf9;
}

.noir-studio-copy {
  min-width: 0;
}

.noir-studio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.noir-studio-label strong {
  color: var(--muted);
  font-weight: 600;
}

.noir-studio-copy h2 {
  max-width: 520px;
  margin: 9px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 6vw, 78px);
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -0.055em;
}

.noir-studio-lead {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.noir-studio-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 25px 0;
}

.noir-studio-features span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.noir-studio-form {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.noir-studio-roadmap {
  max-width: 500px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.noir-live-preview {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.noir-preview-toolbar {
  width: min(100%, 430px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}

.noir-preview-toolbar > div {
  display: flex;
  gap: 5px;
}

.noir-preview-toolbar i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: #d6cec2;
}

.noir-preview-device {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 390 / 844;
  padding: 11px;
  border-radius: 48px;
  background: #111;
  box-shadow:
    0 45px 95px rgba(22, 18, 14, 0.24),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.noir-preview-island {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 4;
  width: 95px;
  height: 25px;
  border-radius: 999px;
  background: #090909;
  transform: translateX(-50%);
  pointer-events: none;
}

.noir-preview-device iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: 37px;
  background: #080808;
}

/* ================================
   Public template — Noir Editorial
   ================================ */

.noir-body {
  margin: 0;
  min-width: 320px;
  background: #080808;
  color: #f4efe6;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.noir-body,
.noir-body * {
  box-sizing: border-box;
}

.noir-body html {
  scroll-behavior: smooth;
}

.noir-menu {
  --noir-bg: #080808;
  --noir-surface: #101010;
  --noir-text: #f4efe6;
  --noir-muted: rgba(244, 239, 230, 0.56);
  --noir-line: rgba(244, 239, 230, 0.15);
  --noir-gold: #caae70;

  width: 100%;
  min-height: 100svh;
  margin: 0 auto;
  background: var(--noir-bg);
  color: var(--noir-text);
  overflow: clip;
}

.noir-hero {
  position: relative;
  min-height: 82svh;
  display: flex;
  align-items: flex-end;
  padding:
    calc(24px + env(safe-area-inset-top))
    18px
    72px;
  overflow: hidden;
  isolation: isolate;
}

.noir-hero.no-cover {
  background:
    radial-gradient(
      circle at 85% 18%,
      rgba(202, 174, 112, 0.18),
      transparent 38%
    ),
    linear-gradient(145deg, #151515, #050505);
}

.noir-hero-image {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: noirHeroZoom 16s ease-out both;
}

.noir-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.25) 0%,
      rgba(0, 0, 0, 0.12) 30%,
      rgba(0, 0, 0, 0.88) 86%,
      #080808 100%
    );
}

.noir-hero-noise {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    repeating-radial-gradient(
      circle at 0 0,
      transparent 0,
      rgba(255, 255, 255, 0.08) 1px,
      transparent 2px
    );
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
}

.noir-topbar {
  position: absolute;
  top: calc(18px + env(safe-area-inset-top));
  right: 18px;
  left: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.noir-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.noir-brand img,
.noir-brand-letter {
  width: 37px;
  height: 37px;
  border-radius: 50%;
}

.noir-brand img {
  object-fit: cover;
  background: #fff;
}

.noir-brand-letter {
  display: grid;
  place-items: center;
  background: #f4efe6;
  color: #080808;
  font-family: Georgia, serif;
  font-size: 17px;
}

.noir-call {
  min-height: 37px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #fff;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.noir-hero-content {
  width: 100%;
  position: relative;
  z-index: 2;
}

.noir-kicker {
  margin: 0 0 13px;
  color: var(--noir-gold);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.noir-hero h1 {
  max-width: 830px;
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(53px, 15vw, 108px);
  line-height: 0.82;
  font-weight: 400;
  letter-spacing: -0.065em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.noir-description {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.6;
}

.noir-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.noir-meta div {
  display: grid;
  gap: 5px;
}

.noir-meta span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.noir-meta strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  line-height: 1.4;
  font-weight: 500;
}

.noir-scroll-cue {
  position: absolute;
  right: 18px;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.noir-scroll-cue i {
  width: 36px;
  height: 1px;
  display: block;
  background: rgba(255, 255, 255, 0.5);
}

/* Promo */

.noir-promos {
  position: relative;
  padding: 18px 14px 24px;
  background: var(--noir-bg);
}

.noir-promo-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.noir-promo-track::-webkit-scrollbar {
  display: none;
}

.noir-promo-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 340px;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: #161616;
}

.noir-promo-slide picture,
.noir-promo-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.noir-promo-slide img {
  object-fit: cover;
}

.noir-promo-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.83)
    );
}

.noir-promo-number {
  position: absolute;
  top: 15px;
  right: 17px;
  z-index: 2;
  font-family: Georgia, serif;
  font-size: 32px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.64);
}

.noir-promo-content {
  position: absolute;
  right: 18px;
  bottom: 20px;
  left: 18px;
  z-index: 2;
}

.noir-promo-content > span {
  color: var(--noir-gold);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.noir-promo-content h2 {
  max-width: 560px;
  margin: 9px 0 0;
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(35px, 10vw, 62px);
  line-height: 0.91;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.noir-promo-content p {
  max-width: 460px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  line-height: 1.55;
}

.noir-promo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 17px;
  color: #fff;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.noir-promo-link i {
  font-size: 18px;
  font-style: normal;
  color: var(--noir-gold);
}

.noir-promo-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 13px;
}

.noir-promo-controls > button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--noir-line);
  border-radius: 50%;
  background: transparent;
  color: var(--noir-text);
  font-size: 16px;
}

.noir-promo-dots {
  display: flex;
  gap: 6px;
}

.noir-promo-dots button {
  width: 18px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.24);
}

.noir-promo-dots button.is-active {
  background: var(--noir-gold);
}

/* Navigation */

.noir-navigation {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 14px 10px;
  background: rgba(8, 8, 8, 0.92);
  border-bottom: 1px solid var(--noir-line);
  backdrop-filter: blur(18px);
}

.noir-search {
  position: relative;
  display: block;
}

.noir-search > span {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translateY(-60%);
  pointer-events: none;
}

.noir-search > span::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
}

.noir-search input {
  width: 100%;
  min-height: 45px;
  padding: 0 15px 0 41px;
  border: 1px solid var(--noir-line);
  border-radius: 0;
  outline: none;
  background: #0d0d0d;
  color: var(--noir-text);
  font: inherit;
  font-size: 12px;
  -webkit-appearance: none;
}

.noir-search input::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.noir-search input:focus {
  border-color: var(--noir-gold);
}

.noir-categories {
  display: flex;
  gap: 18px;
  margin: 11px -14px 0;
  padding: 0 14px 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.noir-categories::-webkit-scrollbar {
  display: none;
}

.noir-categories a {
  flex: 0 0 auto;
  position: relative;
  padding: 5px 0 8px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.noir-categories a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--noir-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.noir-categories a.is-active {
  color: var(--noir-text);
}

.noir-categories a.is-active::after {
  transform: scaleX(1);
}

/* Menu sections */

.noir-content {
  padding: 0 14px 60px;
}

.noir-section {
  scroll-margin-top: 112px;
  padding: 52px 0 5px;
}

.noir-section-header {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 23px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--noir-line);
}

.noir-section-index {
  color: var(--noir-gold);
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
}

.noir-section-header h2 {
  margin: 0;
  color: var(--noir-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 11vw, 68px);
  line-height: 0.86;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.noir-section-total {
  padding-bottom: 3px;
  color: var(--noir-muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.noir-dishes {
  display: grid;
  gap: 34px;
}

.noir-dish {
  min-width: 0;
  padding-bottom: 27px;
  border-bottom: 1px solid var(--noir-line);
}

.noir-dish-media {
  position: relative;
  margin: 0 0 17px;
  overflow: hidden;
  background: #141414;
}

.noir-dish-media::before {
  content: "";
  display: block;
  padding-top: 112%;
}

.noir-dish-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
}

.noir-dish-media span {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.76);
  color: var(--noir-gold);
  font-family: Georgia, serif;
  font-size: 11px;
  font-style: italic;
  backdrop-filter: blur(8px);
}

.noir-dish-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
}

.noir-dish h3 {
  margin: 0;
  color: var(--noir-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 7.5vw, 42px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.noir-dish-heading strong {
  color: var(--noir-gold);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.noir-dish-content > p {
  max-width: 580px;
  margin: 12px 0 0;
  color: var(--noir-muted);
  font-size: 12px;
  line-height: 1.55;
}

.noir-dish-weight {
  display: inline-block;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.noir-dish.without-image {
  padding-top: 5px;
}

.noir-empty {
  padding: 80px 10px;
  text-align: center;
}

.noir-empty > span {
  color: var(--noir-gold);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.noir-empty h2 {
  margin: 12px 0 0;
  font-family: Georgia, serif;
  font-size: clamp(40px, 11vw, 70px);
  line-height: 0.9;
  font-weight: 400;
}

.noir-empty p {
  max-width: 380px;
  margin: 16px auto 0;
  color: var(--noir-muted);
  font-size: 12px;
  line-height: 1.55;
}

.noir-no-results[hidden] {
  display: none !important;
}

/* Footer */

.noir-footer {
  display: grid;
  gap: 28px;
  padding:
    45px
    18px
    calc(30px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--noir-line);
  background: #050505;
}

.noir-footer > div:first-child {
  display: grid;
  gap: 6px;
}

.noir-footer span {
  color: var(--noir-gold);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.noir-footer strong {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
}

.noir-footer p {
  margin: 5px 0;
  color: var(--noir-muted);
  font-size: 11px;
}

.noir-footer > a {
  color: rgba(255, 255, 255, 0.37);
  font-size: 9px;
  text-decoration: none;
}

/* Larger screens */

@media (min-width: 700px) {
  .noir-menu {
    width: min(100%, 900px);
  }

  .noir-hero {
    min-height: 760px;
    padding:
      40px
      44px
      90px;
  }

  .noir-topbar {
    top: 30px;
    right: 44px;
    left: 44px;
  }

  .noir-meta {
    width: min(100%, 610px);
  }

  .noir-scroll-cue {
    right: 44px;
    bottom: 34px;
  }

  .noir-promos {
    padding: 32px 30px 38px;
  }

  .noir-promo-slide {
    min-height: 510px;
  }

  .noir-promo-content {
    right: 34px;
    bottom: 34px;
    left: 34px;
  }

  .noir-navigation {
    padding-right: 30px;
    padding-left: 30px;
  }

  .noir-categories {
    margin-right: -30px;
    margin-left: -30px;
    padding-right: 30px;
    padding-left: 30px;
  }

  .noir-content {
    padding-right: 30px;
    padding-left: 30px;
  }

  .noir-dishes {
    gap: 46px;
  }

  .noir-dish.has-image:not(.is-featured) {
    display: grid;
    grid-template-columns:
      minmax(0, 0.95fr)
      minmax(0, 1.05fr);
    gap: 28px;
    align-items: end;
  }

  .noir-dish.has-image:nth-child(even) {
    grid-template-columns:
      minmax(0, 1.05fr)
      minmax(0, 0.95fr);
  }

  .noir-dish.has-image:nth-child(even)
  .noir-dish-media {
    grid-column: 2;
  }

  .noir-dish.has-image:nth-child(even)
  .noir-dish-content {
    grid-column: 1;
    grid-row: 1;
  }

  .noir-dish.is-featured
  .noir-dish-media::before {
    padding-top: 62%;
  }

  .noir-dish.has-image:not(.is-featured)
  .noir-dish-media {
    margin-bottom: 0;
  }

  .noir-footer {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);
    padding-right: 44px;
    padding-left: 44px;
  }

  .noir-footer > a {
    grid-column: 1 / -1;
  }
}

/* Dashboard responsive */

@media (max-width: 1050px) {
  .noir-studio-panel {
    grid-template-columns: 1fr;
  }

  .noir-live-preview {
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .noir-studio-panel {
    padding: 22px 15px;
  }

  .noir-studio-copy h2 {
    font-size: 47px;
  }

  .noir-studio-form {
    display: grid;
  }

  .noir-studio-form .button {
    width: 100%;
    text-align: center;
  }

  .noir-preview-device {
    width: 100%;
    max-width: 390px;
    border-radius: 40px;
  }
}

@media (hover: hover) {
  .noir-dish:hover
  .noir-dish-media img {
    transform: scale(1.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .noir-hero-image {
    animation: none;
  }

  .noir-dish-media img {
    transition: none;
  }
}

@keyframes noirHeroZoom {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1);
  }
}

/* KLIKKI_NOIR_EDITORIAL_V1_END */

/* KLIKKI_PREVIEW_FRAME_FIX_START */

.noir-live-preview {
  min-width: 0;
  overflow: hidden;
}

.noir-preview-device {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
}

.noir-preview-device::before,
.noir-preview-device::after {
  content: none !important;
  display: none !important;
}

.noir-preview-device iframe {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.noir-preview-island {
  z-index: 3;
}

/* KLIKKI_PREVIEW_FRAME_FIX_END */

/* KLIKKI_NOIR_EMPTY_HERO_FIX_START */

/*
  Без фотографии первый экран становится компактным.
  С фотографией сохраняется полноэкранная арт-композиция.
*/

.noir-hero.no-cover {
  min-height: clamp(440px, 58svh, 520px);
  padding-bottom: 52px;
}

.noir-hero.no-cover .noir-hero-content {
  padding-top: 88px;
}

.noir-hero.no-cover .noir-scroll-cue {
  bottom: 17px;
}

.noir-body {
  scrollbar-width: none;
}

.noir-body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

@media (min-width: 700px) {
  .noir-hero.no-cover {
    min-height: 610px;
  }
}

/* KLIKKI_NOIR_EMPTY_HERO_FIX_END */

/* KLIKKI_STUDIO_V2_START */

.studio-v2 {
  display: grid;
  gap: 28px;
  padding: clamp(22px, 4vw, 46px);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 92% 5%,
      rgba(242, 121, 61, 0.12),
      transparent 29%
    ),
    #fffdf9;
}

.studio-v2-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.studio-v2-header h2 {
  margin: 7px 0;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(39px, 5vw, 66px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.studio-v2-header p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.studio-v2-progress {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.studio-v2-form {
  display: grid;
  gap: 30px;
}

.studio-v2-gallery {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.studio-v2-card {
  position: relative;
  min-width: 0;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.studio-v2-card:hover {
  transform: translateY(-3px);
}

.studio-v2-card > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.studio-v2-card:has(input:checked) {
  border-color: #171512;
  box-shadow: 0 0 0 2px #171512;
}

.studio-v2-mini-preview {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #eee;
}

.studio-v2-mini-preview iframe {
  width: 390px;
  height: 844px;
  border: 0;
  pointer-events: none;
  transform:
    scale(.255)
    translateZ(0);
  transform-origin: top left;
}

.studio-v2-mini-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.studio-v2-card-copy {
  display: grid;
  gap: 5px;
  padding: 12px;
}

.studio-v2-card-copy > span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.studio-v2-card-copy strong {
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 400;
}

.studio-v2-card-copy p {
  min-height: 40px;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.studio-v2-workspace {
  display: grid;
  grid-template-columns:
    minmax(0, .9fr)
    minmax(390px, 1.1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding-top: 27px;
  border-top: 1px solid var(--line);
}

.studio-v2-description h3 {
  margin: 8px 0 13px;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: clamp(47px, 6vw, 76px);
  line-height: .88;
  font-weight: 400;
  letter-spacing: -.055em;
}

.studio-v2-description > p {
  max-width: 500px;
  color: var(--muted);
  line-height: 1.6;
}

.studio-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.studio-v2-live {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 11px;
  overflow: hidden;
}

.studio-v2-toolbar {
  width: min(100%, 430px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}

.studio-v2-toolbar > div {
  display: flex;
  gap: 5px;
}

.studio-v2-toolbar i {
  width: 7px;
  height: 7px;
  display: block;
  border-radius: 50%;
  background: #d6cec2;
}

.studio-v2-device {
  position: relative;
  width: min(100%, 430px);
  aspect-ratio: 390 / 844;
  padding: 11px;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  border-radius: 48px;
  background: #111;
  box-shadow:
    0 45px 95px rgba(22,18,14,.24),
    inset 0 0 0 2px rgba(255,255,255,.06);
}

.studio-v2-island {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 4;
  width: 95px;
  height: 25px;
  border-radius: 999px;
  background: #090909;
  transform: translateX(-50%);
  pointer-events: none;
}

.studio-v2-device iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: 37px;
  background: #080808;
}

.studio-v2-logo-note {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.noir-menu.images-off .noir-dish-media {
  display: none;
}

.noir-menu.images-off .noir-dish.has-image {
  display: block;
}

@media (max-width: 1100px) {
  .studio-v2-gallery {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .studio-v2-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .studio-v2 {
    padding: 20px 14px;
  }

  .studio-v2-header {
    flex-direction: column;
  }

  .studio-v2-gallery {
    grid-template-columns: 1fr;
  }

  .studio-v2-card {
    grid-template-columns: 120px 1fr;
  }

  .studio-v2-mini-preview {
    height: 170px;
  }

  .studio-v2-mini-preview iframe {
    transform: scale(.205);
  }

  .studio-v2-actions {
    display: grid;
  }

  .studio-v2-actions .button {
    width: 100%;
    text-align: center;
  }

  .studio-v2-device {
    max-width: 390px;
    border-radius: 40px;
  }
}

/* KLIKKI_STUDIO_V2_END */

/* KLIKKI_STUDIO_PHONE_CLEAN_START */

.studio-v2-workspace,
.studio-v2-live {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

.studio-v2-live {
  position: relative;
  padding: 0 !important;
  overflow: visible !important;
  isolation: isolate;
}

.studio-v2-live::before,
.studio-v2-live::after,
.studio-v2-device::before,
.studio-v2-device::after {
  content: none !important;
  display: none !important;
}

.studio-v2-device {
  position: relative;
  overflow: hidden !important;
  outline: 0 !important;
  border: 0 !important;
  filter: none !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.15) !important;
  contain: paint;
}

.studio-v2-device iframe {
  display: block;
  background: #ffffff !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.studio-v2-island {
  box-shadow: none !important;
}

/* KLIKKI_STUDIO_PHONE_CLEAN_END */
