/* MURPH — фирменные токены по брендбуку: Eerie Black #1e1e1e, Coffee & Milk #b69664.
   Шрифт бренда — Gilroy (коммерческий). Здесь — Jost как бесплатная замена с кириллицей;
   после покупки лицензии Gilroy достаточно поменять --font. */
:root {
  --paper: #fbfaf8;
  --concrete: #efede9;
  --line: #dedad3;
  --ink: #1e1e1e;
  --muted: #6d685f;
  --gold: #b69664;
  --gold-soft: #eee4d4;
  --on-gold: #1e1e1e;
  --night: #040404;
  --on-night: #f4f2ee;
  --ok: #3d7a4f;
  --warn: #9a5b1c;
  --font: "Jost", "Gilroy", "Futura PT", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(30, 30, 30, .35);
  --wrap: 1240px;
  --logo: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='172.5 258.1 496.8 78.3' fill='%23000'><path d='M 207.25 316.75 L 182.52 258.14 L 172.46 258.14 L 172.46 334.85 L 182.45 334.85 L 182.45 282.10 L 202.67 329.12 L 211.83 329.12 L 232.05 281.77 L 232.05 334.85 L 241.99 334.85 L 241.99 258.14 L 231.83 258.14 Z M 207.25 316.75 '/><path d='M 342.99 307.91 C 342.99 313.54 341.31 318.09 338 321.44 C 334.69 324.78 330.19 326.47 324.63 326.47 C 319.00 326.47 314.48 324.78 311.21 321.44 C 307.93 318.10 306.26 313.55 306.26 307.91 L 306.26 258.13 L 295.62 258.13 L 295.62 307.71 C 295.62 313.28 296.84 318.32 299.24 322.67 C 301.66 327.05 305.11 330.47 309.52 332.84 C 313.90 335.21 318.98 336.41 324.63 336.41 C 333.24 336.41 340.31 333.76 345.64 328.53 C 350.98 323.30 353.68 316.36 353.68 307.91 L 353.68 258.13 L 342.99 258.13 Z M 342.99 307.91 '/><path d='M 417.71 267.97 L 433.46 267.97 C 438.07 267.97 441.72 269.17 444.30 271.53 C 446.85 273.87 448.15 277.35 448.15 281.86 C 448.15 286.13 446.92 289.31 444.40 291.58 C 441.89 293.84 438.07 294.99 433.05 294.99 L 417.71 294.99 Z M 454.91 295.35 C 457.72 291.76 459.14 287.01 459.14 281.21 C 459.14 278.12 458.65 275.20 457.67 272.52 C 456.69 269.83 455.23 267.38 453.31 265.23 C 451.37 263.06 448.73 261.32 445.49 260.04 C 442.26 258.78 438.57 258.13 434.51 258.13 L 406.91 258.13 L 406.91 334.85 L 417.71 334.85 L 417.71 304.83 L 434.93 304.83 L 448.81 334.85 L 461.09 334.85 L 445.58 302.56 C 449.22 301.02 452.35 298.60 454.91 295.35 '/><path d='M 521.56 267.97 L 538.26 267.97 C 542.69 267.97 546.13 269.21 548.51 271.65 C 550.89 274.09 552.10 277.63 552.10 282.16 C 552.10 284.15 551.91 285.91 551.55 287.41 C 551.20 288.84 550.62 290.07 549.84 291.08 C 549.04 292.11 548.13 292.96 547.12 293.62 C 546.11 294.28 544.83 294.79 543.32 295.14 C 541.72 295.52 540.03 295.80 538.31 295.98 C 536.57 296.16 534.55 296.25 532.28 296.25 L 521.56 296.25 Z M 538.57 258.13 L 510.76 258.13 L 510.76 334.85 L 521.56 334.85 L 521.56 306.09 L 538.57 306.09 C 545.84 306.09 551.81 303.88 556.30 299.52 C 560.81 295.16 563.09 289.32 563.09 282.16 C 563.09 275.01 560.81 269.15 556.31 264.75 C 551.81 260.36 545.84 258.13 538.57 258.13 '/><path d='M 658.61 258.13 L 658.61 290.16 L 621.99 290.16 L 621.99 258.13 L 611.20 258.13 L 611.20 334.85 L 621.99 334.85 L 621.99 300.00 L 658.61 300.00 L 658.61 334.85 L 669.31 334.85 L 669.31 258.13 Z M 658.61 258.13 '/></svg>");
  --gutter: clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #111110; --concrete: #1a1918; --line: #2d2b28; --ink: #f1efeb; --muted: #a39d93;
    --gold: #c6a878; --gold-soft: #2c2519; --on-gold: #151412; --ok: #7cc493; --warn: #e0a46a;
    --shadow: 0 18px 50px -20px rgba(0, 0, 0, .8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111110; --concrete: #1a1918; --line: #2d2b28; --ink: #f1efeb; --muted: #a39d93;
  --gold: #c6a878; --gold-soft: #2c2519; --on-gold: #151412; --ok: #7cc493; --warn: #e0a46a;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .8);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.tabnum { font-variant-numeric: tabular-nums; }
.label { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; font-weight: 500; }
.muted { color: var(--muted); }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; }
h3 { font-size: 20px; font-weight: 500; }
em.p { font-style: italic; font-weight: 300; }

/* логотип — векторный словесный знак из файла бренда, красится через currentColor */
.logo { display: block; aspect-ratio: 496.85 / 78.28; background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }

/* ——— кнопки ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 500; letter-spacing: .02em; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: color-mix(in srgb, var(--gold) 85%, #fff); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: color-mix(in srgb, var(--ink) 85%, var(--gold)); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ——— шапка ——— */
.bar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.bar .logo { width: 118px; color: var(--ink); flex: none; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { text-decoration: none; font-size: 14px; letter-spacing: .06em; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.dot.closed { background: var(--warn); box-shadow: 0 0 0 4px color-mix(in srgb, var(--warn) 20%, transparent); }
.cart-btn { position: relative; min-height: 42px; padding: 0 18px; font-size: 14px; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: var(--gold); color: var(--on-gold); font-size: 12px; font-weight: 600; }
@media (max-width: 860px) { .nav, .status { display: none; } .bar-in { justify-content: space-between; } }

/* ——— hero: живое фото зала на всю ширину ——— */
.hero { position: relative; isolation: isolate; background: var(--night); color: var(--on-night); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4,4,4,.72) 0%, rgba(4,4,4,.28) 38%, rgba(4,4,4,.35) 62%, rgba(4,4,4,.86) 100%); }
.hero-mark { padding-top: clamp(40px, 7vw, 96px); }
.hero-mark .logo { width: 100%; color: #fff; animation: rise 1.1s .1s cubic-bezier(.2,.7,.2,1) both; filter: drop-shadow(0 2px 24px rgba(0,0,0,.25)); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: clamp(120px, 22vw, 300px); }
.hero-copy { padding-block: 24px 40px; display: grid; gap: 20px; max-width: 560px; }
.hero-copy .label { color: var(--gold); }
.hero-copy p.lead { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; font-weight: 400; margin: 0; max-width: 30ch; text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-line { color: var(--on-night); background: rgba(4,4,4,.25); backdrop-filter: blur(6px); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; border-top: 1px solid rgba(255,255,255,.18); padding-block: 18px; font-size: 13px; color: #d6d1c9; }
.hero-facts b { color: var(--on-night); font-weight: 500; }
@media (max-width: 700px) { .hero-bg { object-position: 50% 30%; } .hero-grid { padding-top: 56vw; } }

/* ——— два действия ——— */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.path { background: var(--paper); padding: clamp(28px, 4vw, 48px) var(--gutter); display: grid; gap: 10px; text-decoration: none; transition: background .25s; }
.path:hover { background: var(--concrete); }
.path .label { color: var(--muted); }
.path h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 400; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.path h3 span { font-size: 22px; transition: transform .25s; }
.path:hover h3 span { transform: translateX(6px); }
.path p { margin: 0; color: var(--muted); max-width: 44ch; }
@media (max-width: 700px) { .paths { grid-template-columns: 1fr; } }

/* ——— секции ——— */
.section { padding-block: clamp(64px, 9vw, 120px); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 44px; }
.sec-head p { margin: 0; color: var(--muted); font-size: 17px; max-width: 48ch; }
.sec-head .label { color: var(--muted); display: block; margin-bottom: 18px; }
@media (max-width: 800px) { .sec-head { grid-template-columns: 1fr; } }

.steps { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 18px 0 0; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.steps li { display: inline-flex; align-items: center; gap: 10px; }
.steps i { font-style: normal; display: inline-grid; place-items: center; width: 34px; height: 20px; border: 1px solid currentColor; border-radius: 50%; font-size: 10px; letter-spacing: 0; }

/* ——— заказ ——— */
.order-grid > * { min-width: 0; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
@media (max-width: 1000px) { .order-grid { grid-template-columns: 1fr; } .cart-side { display: none; } }
.cats { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 68px); z-index: 20; background: var(--paper); display: flex; gap: 8px; overflow-x: auto;
  padding-block: 14px; margin-bottom: 8px; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.cats::-webkit-scrollbar { display: none; }
.cat { flex: none; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--muted); transition: all .2s; }
.cat:hover { color: var(--ink); border-color: var(--ink); }
.cat[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.search { position: relative; margin: 18px 0 8px; }
.search input { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 12px 0 12px 30px; font-size: 16px; outline: none; }
.search input:focus { border-color: var(--ink); }
.search svg { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }

.menu-cat { padding-top: 36px; }
.menu-cat header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.menu-cat h3 { font-size: 26px; font-weight: 400; }
.menu-cat header small { color: var(--muted); font-size: 13px; text-align: right; }
.items { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
@media (max-width: 640px) { .items { grid-template-columns: 1fr; } }
.item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.thumb { width: 76px; height: 76px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--concrete); display: grid; place-items: center; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.thumb:hover img { transform: scale(1.06); }
.ph { width: 100%; height: 100%; display: grid; place-items: center; color: color-mix(in srgb, var(--ink) 22%, var(--concrete)); }
.ph .logo { width: 52px; }
.item-body { display: grid; gap: 3px; min-width: 0; }
.item-name { all: unset; cursor: pointer; font-size: 16px; font-weight: 500; line-height: 1.3; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.item-name:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.item-name:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.item-desc { font-size: 14px; color: var(--muted); line-height: 1.4; }
.item-meta { font-size: 13px; color: var(--muted); }
.item-buy { display: flex; align-items: center; gap: 12px; }
.is-bar .price { color: var(--muted); }
@media (max-width: 420px) { .item { grid-template-columns: 64px minmax(0, 1fr); } .thumb { width: 64px; height: 64px; } .item-buy { grid-column: 2; } }
.price { font-variant-numeric: tabular-nums; font-size: 15px; white-space: nowrap; }
.add { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; display: grid; place-items: center; font-size: 20px; line-height: 1; transition: all .2s; }
.add:hover { background: var(--ink); color: var(--paper); }
.add.in { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-size: 13px; font-weight: 600; }
.tag { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.tag.hit { border-color: var(--gold); color: var(--ink); background: var(--gold-soft); }
.empty-search { padding: 40px 0; color: var(--muted); }
.bar-note { margin-top: 28px; padding: 18px 20px; background: var(--concrete); border-radius: var(--radius); font-size: 14px; color: var(--muted); }

/* корзина */
.cart-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); }
.cart { background: var(--concrete); border-radius: 20px; padding: 24px; display: grid; gap: 18px; }
.cart-head { display: flex; justify-content: space-between; align-items: baseline; }
.cart-head h3 { font-size: 22px; font-weight: 400; }
.cart-empty { color: var(--muted); font-size: 14px; padding: 12px 0 4px; }
.lines { display: grid; gap: 14px; max-height: 34vh; overflow-y: auto; padding-right: 4px; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; font-size: 14px; }
.line-n { font-weight: 500; }
.line-o { color: var(--muted); font-size: 12.5px; grid-column: 1; }
.line-r { grid-row: 1 / span 2; grid-column: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); }
.qty button { width: 28px; height: 28px; border: 0; background: none; font-size: 16px; }
.qty span { min-width: 18px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 11px 12px; font-size: 15px; outline: none; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 44px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; font-size: 15px; }
.total b { font-size: 24px; font-weight: 500; }
.warn { font-size: 13px; color: var(--warn); }
.fine { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 0; }
.slots { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.slot { flex: none; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; padding: 8px 11px; font-size: 14px; font-variant-numeric: tabular-nums; }
.slot[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.slot[disabled] { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

/* мобильная плашка корзины */
.mobile-cart { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 45; display: none; }
.mobile-cart .btn { width: 100%; justify-content: space-between; box-shadow: var(--shadow); min-height: 56px; padding: 0 22px; }
@media (max-width: 1000px) { .mobile-cart.has { display: block; } }

/* ——— бронь ——— */
.book { background: var(--ink); color: var(--paper); }
.book .sec-head p, .book .sec-head .label { color: color-mix(in srgb, var(--paper) 62%, var(--ink)); }
.book-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.book-photo { border-radius: 20px; overflow: hidden; min-height: 320px; position: relative; }
.book-photo img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.book-photo figcaption { position: absolute; left: 20px; bottom: 18px; right: 20px; color: #fff; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.book-form { display: grid; gap: 26px; }
.book-form .field > span, .book-form .fine { color: color-mix(in srgb, var(--paper) 60%, var(--ink)); }
.book-form .field input, .book-form .field textarea { background: transparent; border-color: color-mix(in srgb, var(--paper) 22%, var(--ink)); color: var(--paper); }
.book-form .field input:focus, .book-form .field textarea:focus { border-color: var(--gold); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-width: 64px; border: 1px solid color-mix(in srgb, var(--paper) 22%, var(--ink)); background: transparent; color: var(--paper); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; text-align: center; transition: all .2s; }
.chip small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.chip b { font-weight: 500; font-size: 17px; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--paper); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.chip[disabled] { opacity: .3; cursor: not-allowed; }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.times .chip { min-width: 0; padding: 9px 4px; }
.guests { display: flex; align-items: center; gap: 18px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid color-mix(in srgb, var(--paper) 22%, var(--ink)); border-radius: 99px; }
.stepper button { width: 46px; height: 46px; background: none; border: 0; color: var(--paper); font-size: 20px; }
.stepper output { min-width: 34px; text-align: center; font-size: 20px; font-variant-numeric: tabular-nums; }
.deposit { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-top: 1px solid color-mix(in srgb, var(--paper) 18%, var(--ink)); padding-top: 22px; }
.deposit .sum { font-size: 32px; font-weight: 400; font-variant-numeric: tabular-nums; }
.deposit .sum small { display: block; font-size: 13px; letter-spacing: .04em; color: color-mix(in srgb, var(--paper) 60%, var(--ink)); }
@media (max-width: 860px) { .book-grid { grid-template-columns: 1fr; } .book-photo { min-height: 260px; } }

/* ——— о нас ——— */
.motto { font-size: clamp(34px, 6.4vw, 88px); line-height: 1.05; letter-spacing: -.02em; font-weight: 400; max-width: 16ch; }
.motto em { font-weight: 300; color: var(--gold); }
.ritual { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 36px 0 0; padding: 0; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; }
.ritual li { display: inline-flex; align-items: center; gap: 12px; }
.ritual i { font-style: normal; display: inline-grid; place-items: center; width: 38px; height: 22px; border: 1px solid var(--ink); border-radius: 50%; font-size: 11px; letter-spacing: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 56px; }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--concrete); aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.03); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 28px; }
.facts b { display: block; font-size: 30px; font-weight: 400; font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .facts { grid-template-columns: 1fr; } }

/* ——— контакты ——— */
.contacts { background: var(--concrete); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.sign { font-size: clamp(22px, 3vw, 34px); letter-spacing: .24em; text-transform: uppercase; font-weight: 400; margin: 0 0 30px; }
.sign small { display: block; font-size: 14px; letter-spacing: .3em; color: var(--muted); margin-top: 10px; }
.dl { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px 20px; margin: 0 0 32px; font-size: 17px; }
.dl dt { color: var(--muted); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding-top: 5px; }
.dl dd { margin: 0; }
.dl a { text-decoration: none; border-bottom: 1px solid var(--line); }
.dl a:hover { border-color: var(--ink); }
.door { border-radius: 20px; overflow: hidden; min-height: 360px; position: relative; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } .dl { grid-template-columns: 1fr; gap: 4px; } .dl dd { margin-bottom: 12px; } }

footer.foot { background: var(--night); color: #8f8a82; padding-block: 44px calc(44px + env(safe-area-inset-bottom, 0px)); font-size: 13px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.foot .logo { width: 110px; color: #fff; }
.foot a { color: #cfcac2; text-decoration: none; }
.theme-toggle { background: none; border: 1px solid #333; color: #cfcac2; border-radius: 99px; padding: 6px 14px; font-size: 12px; }

/* ——— диалоги ——— */
dialog { border: 0; padding: 0; background: var(--paper); color: var(--ink); border-radius: 22px; width: min(460px, calc(100vw - 24px)); max-height: calc(100vh - 24px); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(10, 10, 10, .55); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .28s cubic-bezier(.2,.7,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.dlg { padding: 26px; display: grid; gap: 20px; }
#itemForm { padding: 0; gap: 0; }
.dlg-in { padding: 24px 26px 26px; display: grid; gap: 18px; }
.dlg-photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--concrete); }
.dlg-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kbju { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.kbju div { background: var(--paper); padding: 10px 8px; text-align: center; }
.kbju dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kbju dd { margin: 2px 0 0; font-size: 18px; font-variant-numeric: tabular-nums; }
.dlg-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.dlg-head h3 { font-size: 24px; font-weight: 400; }
.x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 18px; flex: none; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 15px; }
.opt:has(input:checked) { border-color: var(--ink); background: var(--concrete); }
.opt input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0 10px 0 0; }
.opt label, .opt > span:first-child { display: flex; align-items: center; }
.seg { display: flex; gap: 6px; background: var(--concrete); padding: 4px; border-radius: 99px; }
.seg label { flex: 1; text-align: center; padding: 9px 10px; border-radius: 99px; cursor: pointer; font-size: 14px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--paper); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--gold); }

/* мобильная корзина-шторка */
dialog.drawer { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: 22px 22px 0 0; max-height: 92vh; }
dialog.drawer .cart { background: transparent; padding: 22px var(--gutter) calc(22px + env(safe-area-inset-bottom, 0px)); }
dialog.drawer .lines { max-height: 30vh; }

/* оплата (демо) */
.pay-methods { display: grid; gap: 8px; }
.pay-sum { text-align: center; padding: 8px 0 4px; }
.pay-sum b { display: block; font-size: 40px; font-weight: 400; font-variant-numeric: tabular-nums; }
.demo { font-size: 12px; text-align: center; color: var(--warn); letter-spacing: .06em; }
.spin { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--ink); animation: sp 0.8s linear infinite; margin: 20px auto; }
@keyframes sp { to { transform: rotate(360deg); } }
.ticket { text-align: center; display: grid; gap: 14px; justify-items: center; }
.ticket .num { font-size: 56px; letter-spacing: .12em; font-weight: 400; font-variant-numeric: tabular-nums; line-height: 1; }
.ticket .oval { display: inline-grid; place-items: center; padding: 10px 28px; border: 1px solid var(--ink); border-radius: 50%; font-size: 12px; letter-spacing: .3em; }
.check { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: grid; place-items: center; font-size: 28px; }
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 99px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .3s; z-index: 60; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.4; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--gold); }
.consent a { color: inherit; }
.book-form .consent { color: color-mix(in srgb, var(--paper) 62%, var(--ink)); }
.book-form #tableTime { margin: 4px 0 0; color: color-mix(in srgb, var(--paper) 62%, var(--ink)); }
.deposit .sum { font-size: 28px; }
.legal-foot { flex-basis: 100%; font-size: 12px; line-height: 1.6; color: #77726a; }
