/* «Пять шампуров» — общие стили сайта: главная (index.html) и доставка (delivery.html) */
@font-face {
  font-family: 'kentprinted';
  src: url('fonts/kentprinted.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
/* Nunito лежит в проекте, а не грузится с Google Fonts: браузер посетителя не обращается к сторонним серверам */
@font-face {
  font-family: 'Nunito';
  src: url('fonts/nunito-cyrillic.woff2') format('woff2');
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Nunito';
  src: url('fonts/nunito-latin.woff2') format('woff2');
  font-weight: 200 1000;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #dac4b1;
  --bg-2: #d2b9a4;
  --card: #f4eae1;
  --ink: #000;
  --muted: #5c4a3e;
  --line: rgba(0, 0, 0, .14);
  --accent: #a73319;
  --accent-dark: #8a2810;
  --orange: #dd4607;
  --accent-soft: #f2d3c4;
  --dark: #000;
  --ok: #1c6b2a;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(60, 30, 10, .14);
  --header-h: 100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; font-family: Nunito, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.wrap { max-width: 1272px; margin: 0 auto; padding: 0 16px; }
.container { max-width: 1272px; margin: 0 auto; padding: 0 16px; }
.kent { font-family: kentprinted, Arial, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* ---------- кнопки в стиле Tilda ---------- */
.tbtn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 20px; border: 0; border-radius: 10px; cursor: pointer; font-size: 14px; font-weight: 600; text-transform: uppercase; color: #fff; white-space: nowrap; transition: transform .12s, filter .15s; }
.tbtn img { width: 32px; height: auto; }
.tbtn:hover { filter: brightness(1.12); }
.tbtn:active { transform: scale(.98); }
.tbtn--black { background: #000; }
.tbtn--red { background: var(--accent); font-weight: 400; }
.tbtn--orange { background: var(--orange); font-size: 18px; font-weight: 400; }
.tbtn--outline { box-shadow: inset 0 0 0 1px var(--orange); }

/* ---------- кнопки магазина ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; border-radius: 10px; padding: 10px 18px; font-weight: 700; font-size: 14px; transition: transform .12s, background .15s, opacity .15s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn--lg { padding: 0 26px; height: 50px; font-size: 15px; text-transform: uppercase; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover:not(:disabled) { background: var(--accent-dark); }
.btn--dark { background: #000; color: #fff; }
.btn--dark:hover:not(:disabled) { background: #2b211c; }
.btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px #000; }
.btn--block { width: 100%; }
.btn.is-disabled { opacity: .45; cursor: not-allowed; }
.btn-icon { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font-weight: 700; padding: 8px; border-radius: 10px; }
.btn-icon:hover { background: rgba(0,0,0,.06); }
.link, .h-link { background: none; border: 0; padding: 0; color: var(--orange); font-weight: 700; cursor: pointer; text-align: left; }
.link:hover, .h-link:hover { text-decoration: underline; }

/* ---------- шапка (общая) ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(218, 196, 177, .95); backdrop-filter: blur(8px); }
.site-header__row { height: var(--header-h); display: flex; align-items: center; gap: 30px; }
.site-logo { flex: 0 0 auto; margin-left: -10px; }
.site-logo img { width: 90px; height: 90px; object-fit: contain; }
.site-nav { display: flex; gap: 38px; font-size: 17px; }
.site-nav a { white-space: nowrap; }
.site-nav a:hover { color: var(--orange); }
.site-contacts { display: flex; gap: 28px; margin-left: auto; font-size: 16px; white-space: nowrap; }
.site-contacts__item { display: inline-flex; align-items: center; gap: 10px; }
.site-contacts__item img { width: 34px; height: 34px; }
.site-header__cta, .site-header__account { flex: 0 0 auto; }
.site-header__account { border: 1px solid #000; height: 46px; padding: 0 14px; }
.site-header__tools { display: flex; align-items: center; gap: 8px; }
.cart-btn { position: relative; height: 46px; border-radius: 10px; }
.cart-btn__count { position: absolute; top: -7px; right: -7px; background: var(--orange); color: #fff; font-size: 11px; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.burger { display: none; flex: 0 0 auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; margin-left: auto; }
.burger span { display: block; height: 2px; background: #000; margin: 5px 0; border-radius: 2px; }
.closed-banner { background: #000; color: #fff; text-align: center; padding: 10px 16px; font-weight: 700; font-size: 14px; }

/* ---------- подвал (общий) ---------- */
.site-footer { padding: 30px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: 240px repeat(4, auto); gap: 24px 60px; align-items: start; }
.site-footer__logo { width: 170px; margin-top: -10px; }
.site-footer h4 { font-size: 20px; font-weight: 400; margin: 10px 0 8px; }
.site-footer a, .site-footer span, .site-footer .h-link { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #000; font-weight: 400; margin: 2px 0; }
.site-footer a:hover, .site-footer .h-link:hover { color: var(--orange); text-decoration: none; }
.site-footer__icon img { width: 20px; height: 20px; }

/* ======================================================================
   ГЛАВНАЯ (копия Tilda)
   ====================================================================== */
.h-hero { position: relative; overflow: hidden; padding-bottom: 30px; }
.h-hero__texture { position: absolute; inset: -36px -10% auto; height: 960px; background: url('img/texture.png') center top / cover no-repeat; opacity: .35; pointer-events: none; }
.h-hero__grid { position: relative; display: grid; grid-template-columns: 540px 1fr; min-height: 596px; }
.h-hero__text { position: relative; z-index: 2; padding-top: 110px; }
.h-eyebrow { font-size: 15px; font-weight: 200; text-transform: uppercase; margin: 0; letter-spacing: .02em; }
.h-title { font-family: kentprinted, Arial, sans-serif; font-weight: 700; text-transform: uppercase; font-size: 72px; line-height: 1.05; margin: 2px 0 0; }
.h-title span { display: block; color: var(--orange); font-size: 39px; line-height: 1.2; margin-top: 4px; }
.h-lead { font-size: 15px; line-height: 20px; margin: 12px 0 30px; }
.h-hero__btns { display: flex; gap: 20px; }
.h-hero__btns .tbtn--red { width: 276px; justify-content: flex-start; padding-left: 14px; }
.h-hero__btns .tbtn--black { width: 232px; justify-content: flex-start; padding-left: 18px; gap: 26px; }
.h-features { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 200px 177px 1fr; }
.h-features li { display: flex; flex-direction: column; font-size: 14px; line-height: 18px; }
.h-features img { width: 78px; height: 78px; margin-left: -11px; }
.h-features img.h-features__big { width: 106px; height: 106px; margin: -16px 0 -12px -24px; }
.h-features b { font-weight: 900; text-transform: uppercase; margin: 0 0 10px; }
.h-features span { font-weight: 200; max-width: 165px; }
.h-hero__chef { position: absolute; z-index: 1; top: 0; left: 530px; width: 790px; height: 728px; border-radius: 15px; background: url('img/hero-chef.jpg') center / cover no-repeat; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); }
.h-promo { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 78px; margin-top: 14px; }
.h-promo__card { position: relative; height: 283px; border-radius: 10px; overflow: hidden; background: var(--img) center / cover no-repeat #000; border: 1px solid #fff; color: #fff; }
.h-promo__shade { position: absolute; inset: 0 auto 0 0; width: 293px; background: rgba(0, 0, 0, .4); border-radius: 10px; }
.h-promo__body { position: relative; display: flex; flex-direction: column; padding: 70px 24px 0; max-width: 293px; }
.h-promo__body b { font-size: 37px; line-height: 52px; white-space: nowrap; }
.h-promo__body > span { font-size: 15px; line-height: 23px; opacity: .8; max-width: 182px; }
.h-promo__body em { font-style: normal; color: var(--orange); font-weight: 900; font-size: 17px; display: flex; align-items: center; gap: 0; margin-top: 30px; }
.h-promo__body em img { width: 80px; height: 80px; margin: -27px 0; transition: transform .2s; }
.h-promo__card:hover em img, .h-head a:hover img { transform: translateX(6px); }

.h-section { padding-top: 34px; }
.h-section > h2, .h-head h2 { font-size: 18px; font-weight: 900; text-transform: uppercase; }
.h-head { display: flex; align-items: center; gap: 24px; margin-bottom: 18px; }
.h-head i { flex: 1; height: 1px; background: #000; }
.h-head a { display: flex; align-items: center; color: var(--orange); font-size: 17px; font-weight: 500; white-space: nowrap; }
.h-head a img { width: 80px; height: 80px; margin: -27px -10px -27px 0; transition: transform .2s; }
.h-popular { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.h-dish { position: relative; height: 147px; border-radius: 10px; overflow: hidden; border: 1px solid #fff; background: var(--img) left center / cover no-repeat #000; color: #fff; transition: transform .2s, box-shadow .2s; }
.h-dish:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.h-dish > span { position: absolute; top: 0; right: 0; bottom: 0; width: 51%; background: rgba(0, 0, 0, .7); border-radius: 10px; padding: 30px 12px 0 14px; display: flex; flex-direction: column; }
.h-dish b { font-size: 18px; line-height: 23px; font-weight: 600; }
.h-dish em { font-style: normal; font-size: 18px; font-weight: 900; margin-top: auto; padding-bottom: 20px; }

.h-booking { display: grid; grid-template-columns: 380px 1fr; gap: 20px 40px; align-items: start; padding-top: 44px; }
.h-booking__intro h2 { font-size: 30px; font-weight: 400; line-height: 1.5; }
.h-booking__intro p { font-size: 14px; line-height: 25px; font-weight: 300; opacity: .8; margin: 6px 0 0; max-width: 300px; }
.h-booking__form { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr 1fr; gap: 16px; }
.h-booking__form > input, .h-phone { height: 46px; border: 0; border-radius: 10px; background: #000; color: #fff; padding: 0 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; width: 100%; min-width: 0; }
.h-booking__form input::placeholder { color: #fff; opacity: 1; }
.h-booking__form input[type=date], .h-booking__form input[type=time] { color-scheme: dark; }
.h-phone { display: flex; align-items: center; gap: 6px; }
.h-phone span { white-space: nowrap; font-size: 12px; }
.h-phone input { border: 0; background: none; color: #fff; width: 100%; min-width: 0; outline: none; font-size: 12px; font-weight: 700; }
.h-booking__form > input:focus, .h-phone:focus-within { outline: 2px solid var(--orange); }
.h-booking__form .tbtn { grid-column: 1 / -1; height: 46px; width: 100%; }
.h-booking__msg { grid-column: 1 / -1; margin: -4px 0 0; font-weight: 700; font-size: 15px; }
.h-booking__msg:empty { display: none; }
.h-booking__msg.is-ok { color: var(--ok); }
.h-booking__msg.is-err { color: #b3170b; }
.h-booking__legal { grid-column: 1 / -1; margin: -8px 0 0; font-size: 12px; opacity: .75; }
.h-booking__legal .h-link { font-size: 12px; font-weight: 600; }

.h-about { display: grid; grid-template-columns: 476px 1fr 300px; gap: 40px; align-items: start; margin-top: 30px; }
.h-about__img { width: 100%; border-radius: 10px; aspect-ratio: 476 / 336; object-fit: cover; }
.h-about__text h2 { font-size: 28px; font-weight: 400; display: flex; align-items: center; gap: 22px; margin: 14px 0 26px; }
.h-about__text h2 i { width: 50px; height: 2px; background: var(--orange); }
.h-about__text p { font-size: 15px; line-height: 23px; font-weight: 300; opacity: .8; margin: 0 0 23px; max-width: 360px; }
.h-about__facts { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.h-about__facts li { display: grid; grid-template-columns: 43px 1fr; column-gap: 16px; }
.h-about__facts img { grid-row: span 2; width: 43px; height: 43px; }
.h-about__facts b { font-size: 20px; line-height: 31px; font-weight: 700; }
.h-about__facts span { font-size: 14px; line-height: 22px; font-weight: 300; opacity: .8; }

.h-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-review { margin: 0; border: 1px solid #000; border-radius: 10px; padding: 14px 16px 18px; }
.h-review figcaption { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.h-review figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.h-review figcaption b { display: block; font-size: 16px; font-weight: 600; line-height: 21px; }
.h-stars { display: block; width: 95px; height: 15px; margin-top: 6px; background: url('img/star.png') left center / 15px 15px space no-repeat; }
.h-review blockquote { margin: 0; font-size: 12px; line-height: 16px; font-weight: 300; }

.h-birthday { display: grid; grid-template-columns: 309px 1fr 260px auto; gap: 40px; align-items: center; border: 1px solid #000; border-radius: 10px; padding: 5px 20px 5px 5px; margin-bottom: 40px; }
.h-birthday img { width: 309px; height: 133px; object-fit: cover; border-radius: 10px; }
.h-birthday__title { font-size: 40px; line-height: 40px; margin: 0; }
.h-birthday__title { white-space: nowrap; }
.h-birthday__title span { display: block; color: var(--orange); font-size: 35px; line-height: 35px; margin-top: 4px; }
.h-birthday__text { font-size: 14px; line-height: 22px; font-weight: 300; opacity: .8; margin: 0; }

/* ======================================================================
   ДОСТАВКА (магазин)
   ====================================================================== */
.d-hero { padding: 24px 0 8px; }
.d-hero__row { display: grid; grid-template-columns: 1fr 520px; gap: 40px; align-items: center; }
.d-hero__title { font-family: kentprinted, Arial, sans-serif; text-transform: uppercase; font-size: 64px; line-height: 1.05; font-weight: 700; }
.d-hero__title span { display: block; color: var(--orange); font-size: 34px; }
.d-hero__lead { font-size: 15px; margin: 12px 0 22px; max-width: 480px; }
.d-hero__img { height: 260px; border-radius: 10px; border: 1px solid #fff; background: url('img/delivery.jpg') center / cover no-repeat; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.facts li { border: 1px solid #000; border-radius: 10px; padding: 8px 14px; display: flex; flex-direction: column; min-width: 130px; }
.facts b { font-size: 17px; font-weight: 900; }
.facts span { font-size: 12.5px; color: var(--muted); }

.section { padding: 48px 0; }
.section__title { font-family: kentprinted, Arial, sans-serif; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 34px); font-weight: 400; margin: 0 0 22px; }
.section--menu { padding-top: 0; }

.shop { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.menu-bar { position: sticky; top: var(--header-h); z-index: 20; background: var(--bg); display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tabs-wrap { position: relative; flex: 1; min-width: 0; display: flex; }
.tabs { display: flex; gap: 8px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; }
/* горизонтальная лента со стрелками: разделы меню, «К шашлыку» в корзине */
.hscroll-wrap { position: relative; min-width: 0; }
.hscroll { cursor: grab; user-select: none; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll.is-dragging { cursor: grabbing; }
.hscroll.is-dragging > * { pointer-events: none; }
.hscroll-wrap.can-next .hscroll { mask-image: linear-gradient(90deg, #000 85%, transparent); }
.hscroll-wrap.can-prev .hscroll { mask-image: linear-gradient(90deg, transparent, #000 15%); }
.hscroll-wrap.can-prev.can-next .hscroll { mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.hscroll-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #000; background: var(--bg); color: #000; font-size: 22px; line-height: 1; padding: 0 0 3px; cursor: pointer; display: none; align-items: center; justify-content: center; }
.hscroll-arrow:hover { background: #000; color: #fff; }
.hscroll-arrow--prev { left: 0; }
.hscroll-arrow--next { right: 0; }
.hscroll-wrap.can-prev .hscroll-arrow--prev, .hscroll-wrap.can-next .hscroll-arrow--next { display: flex; }
@media (hover: none) { .hscroll-arrow { display: none !important; } }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; border: 1px solid #000; background: transparent; border-radius: 10px; padding: 7px 14px; font-weight: 700; cursor: pointer; white-space: nowrap; font-size: 14px; }
.tab:hover { background: rgba(255,255,255,.35); }
.tab.is-active { background: #000; color: #fff; }
.search { display: flex; align-items: center; gap: 8px; background: var(--card); border-radius: 10px; padding: 0 12px; width: 220px; flex: 0 0 auto; color: var(--muted); }
.search input { border: 0; background: none; padding: 9px 0; width: 100%; outline: none; color: var(--ink); }
.cat-title { font-family: kentprinted, Arial, sans-serif; text-transform: uppercase; font-weight: 400; font-size: 26px; margin: 28px 0 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; cursor: pointer; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__img { aspect-ratio: 4/3; background: #c9ae98 center/cover no-repeat; position: relative; }
.card__img--empty { display: grid; place-items: center; font-size: 40px; }
.card__weight { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.92); border-radius: 8px; padding: 1px 9px; font-size: 12px; font-weight: 700; }
.card__in-cart { position: absolute; right: 10px; top: 10px; background: var(--orange); color: #fff; border-radius: 8px; padding: 2px 9px; font-size: 12px; font-weight: 800; }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__title { font-weight: 800; font-size: 16px; line-height: 1.25; }
.card__descr { font-size: 13px; color: var(--muted); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.price { font-weight: 900; font-size: 18px; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; background: var(--accent); color: #fff; border-radius: 10px; overflow: hidden; flex: 0 0 auto; }
.qty button { background: none; border: 0; color: #fff; width: 34px; height: 38px; cursor: pointer; font-size: 18px; font-weight: 800; }
.qty button:hover { background: rgba(255,255,255,.14); }
.qty span { min-width: 22px; text-align: center; font-weight: 800; }
.qty--dark { background: #000; }
.qty--sm button { width: 28px; height: 30px; font-size: 16px; }
.empty { padding: 36px 8px; text-align: center; color: var(--muted); }
.empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

.shop__cart { position: sticky; top: calc(var(--header-h) + 14px); margin-top: 14px; }
.cart-panel { background: var(--card); border-radius: 10px; border: 1px solid #000; display: flex; flex-direction: column; max-height: calc(100vh - var(--header-h) - 28px); }
.cart-panel__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 4px; }
.cart-panel__head h3, .drawer__head h3 { font-family: kentprinted, Arial, sans-serif; text-transform: uppercase; font-weight: 400; font-size: 24px; }
.cart-body { overflow-y: auto; padding: 0 18px; min-height: 60px; }
.cart-foot, .drawer__foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.line { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line__img { width: 52px; height: 52px; border-radius: 8px; background: #c9ae98 center/cover; }
.line__title { font-weight: 700; font-size: 14px; line-height: 1.25; }
.line__price { font-size: 13px; color: var(--muted); }
.sum { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sum--total { font-size: 20px; font-weight: 900; }
.progress { height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--orange); border-radius: 3px; transition: width .3s; }
.note { font-size: 13px; color: var(--accent); font-weight: 700; }
.upsell { padding: 4px 0 8px; }
.upsell__title { font-size: 12px; font-weight: 800; color: var(--muted); margin: 8px 0; text-transform: uppercase; letter-spacing: .05em; }
.upsell__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.upsell .hscroll-arrow { width: 28px; height: 28px; font-size: 19px; background: #fff; }
.upsell__item { flex: 0 0 auto; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 6px 10px; font-size: 13px; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; }
.upsell__item span { color: var(--orange); }
.upsell__item:hover { border-color: var(--orange); }

.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.info-card { border: 1px solid #000; border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.info-card b { font-size: 24px; font-weight: 900; color: var(--orange); }
.info-card span { color: var(--muted); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--card); border-radius: 10px; padding: 20px; }
.step span { width: 34px; height: 34px; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; font-weight: 900; margin-bottom: 10px; }
.step b { font-size: 17px; }
.step p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* страницы: оформление, заказ, кабинет */
.page { padding: 24px 16px 64px; min-height: 60vh; }
.page--narrow { max-width: 780px; }
.page__title { font-family: kentprinted, Arial, sans-serif; text-transform: uppercase; font-weight: 400; font-size: clamp(28px, 4vw, 40px); margin: 6px 0 22px; }
.back { color: var(--muted); font-weight: 700; font-size: 14px; }
.back:hover { color: var(--orange); }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.panel { background: var(--card); border-radius: 10px; padding: 24px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 20px; margin: 0 0 14px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.panel h2 .num { width: 28px; height: 28px; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; font-size: 14px; flex: 0 0 auto; }
.summary { position: sticky; top: calc(var(--header-h) + 14px); }
.summary .line { grid-template-columns: 44px 1fr auto; }
.summary .line__img { width: 44px; height: 44px; }
.legal { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }

.form { display: flex; flex-direction: column; gap: 12px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.row--2 { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 12px 14px; font-size: 15px; font-weight: 600; color: var(--ink); width: 100%; }
.field input:disabled { background: var(--bg); color: var(--muted); }
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); border-color: transparent; }
.error { color: #b3170b; font-size: 14px; font-weight: 700; }
.error:empty { display: none; }
.choices { display: flex; gap: 8px; flex-wrap: wrap; }
.choice { position: relative; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 11px 14px; cursor: pointer; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: #000; box-shadow: inset 0 0 0 1px #000; background: #fff8f2; }
.choice small { display: block; font-weight: 600; color: var(--muted); }
.choice:has(small) { flex-direction: column; align-items: flex-start; gap: 0; }
.choice:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.check input { accent-color: var(--accent); width: 18px; height: 18px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.stepper button { background: none; border: 0; width: 40px; height: 42px; font-size: 18px; font-weight: 800; cursor: pointer; }
.stepper span { min-width: 30px; text-align: center; font-weight: 800; }
.switch { display: flex; background: var(--bg); border-radius: 10px; padding: 4px; margin: 4px 0 16px; }
.switch button { flex: 1; border: 0; background: none; padding: 9px; border-radius: 8px; font-weight: 800; cursor: pointer; }
.switch button.is-active { background: #000; color: #fff; }

.status-card { background: var(--card); border-radius: 10px; padding: 26px; margin-bottom: 16px; }
.status-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.status-card h1 { font-family: kentprinted, Arial, sans-serif; text-transform: uppercase; font-weight: 400; font-size: 32px; }
.tracker { display: grid; grid-template-columns: repeat(4, 1fr); margin: 26px 0 6px; }
.tracker__step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); position: relative; }
.tracker__step::before { content: ""; position: absolute; top: 17px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.tracker__step:first-child::before { display: none; }
.tracker__dot { width: 36px; height: 36px; border-radius: 50%; background: #e4d4c6; display: grid; place-items: center; z-index: 1; font-size: 16px; }
.tracker__step.is-done { color: var(--ink); }
.tracker__step.is-done::before, .tracker__step.is-done .tracker__dot { background: var(--orange); color: #fff; }
.tracker__step.is-current .tracker__dot { box-shadow: 0 0 0 6px var(--accent-soft); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(221, 70, 7, .1); } }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 16px; font-size: 15px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.badge { display: inline-block; padding: 3px 11px; border-radius: 8px; font-size: 12.5px; font-weight: 800; background: var(--line); white-space: nowrap; }
.badge--new { background: #ffe1c2; color: #8a3b00; }
.badge--cooking { background: var(--accent-soft); color: var(--accent); }
.badge--delivering { background: #d7e8ff; color: #1d4f91; }
.badge--done, .badge--confirmed { background: #d9f2dc; color: var(--ok); }
.badge--cancelled { background: #eee; color: #777; }
/* юридические страницы: privacy.html, consent.html */
.doc { max-width: 820px; padding-top: 30px; padding-bottom: 60px; font-size: 16px; line-height: 1.6; }
.doc h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.1; margin: 0 0 6px; }
.doc h2 { font-size: 20px; margin: 32px 0 10px; }
.doc p, .doc ul { margin: 0 0 12px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 4px; }
.doc a { color: var(--accent); }
.doc code { background: var(--card); padding: 1px 6px; border-radius: 4px; }
.doc-date { opacity: .7; margin-bottom: 24px !important; }
.doc-req { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; background: var(--card); border-radius: 10px; padding: 16px 20px; margin: 0 0 14px; }
.doc-req dt { opacity: .7; }
.doc-req dd { margin: 0; font-weight: 700; }
.doc-missing { background: #fde2df; color: #b42318; padding: 0 6px; border-radius: 4px; font-weight: 700; }
.doc-nav { display: flex; gap: 24px; margin-left: auto; font-weight: 700; }
.doc-footer { border-top: 1px solid var(--line); padding: 20px 0 30px; font-size: 14px; }
.doc-footer a { text-decoration: underline; }
@media (max-width: 600px) { .doc-req { grid-template-columns: 1fr; gap: 0; } .doc-req dd { margin-bottom: 8px; } }
/* согласие в формах */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; cursor: pointer; text-align: left; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.consent a { color: inherit; text-decoration: underline; }
.badge--paid { background: #d9f2dc; color: var(--ok); }
.badge--pending { background: #fff3cd; color: #7a5a00; }
.badge--failed { background: #fde2df; color: #b42318; }
.badge--refunded { background: #eee; color: #555; }
/* подсказки адреса при вводе (address-suggest.js) */
.addr-suggest { position: absolute; z-index: 90; list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid #000; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.15); max-height: 300px; overflow-y: auto; }
.addr-suggest li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink); }
.addr-suggest li:hover, .addr-suggest li.is-active { background: var(--bg); }
.addr-suggest small { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--ok); }
.addr-suggest small.is-out { color: #b42318; }
/* зона доставки: сообщение под адресом и карта */
.zone-msg { font-size: 14px; font-weight: 700; border-radius: 10px; }
.zone-msg:empty { display: none; }
.zone-msg--in, .zone-msg--out, .zone-msg--unknown { padding: 10px 14px; }
.zone-msg--in { background: #d9f2dc; color: var(--ok); }
.zone-msg--out { background: #fde2df; color: #b42318; }
.zone-msg--unknown { background: #fff3cd; color: #7a5a00; font-weight: 600; }
.zone { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: center; margin-top: 24px; }
.zone__map { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid #000; aspect-ratio: 1; background: #e8e2d8; }
.zone__map img, .zone__map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.zone__map img { object-fit: cover; }
.zone__credit { position: absolute; right: 0; bottom: 0; background: rgba(255,255,255,.85); font-size: 11px; padding: 2px 6px; border-top-left-radius: 6px; }
.zone__credit a { text-decoration: underline; }
.zone__text h3 { font-size: 24px; margin: 0 0 8px; }
.zone__text p { margin: 0 0 12px; }
.zone__check { display: flex; flex-direction: column; gap: 8px; }
.zone__check input { padding: 10px 12px; border-radius: 10px; border: 1px solid #000; background: #fff; font: inherit; }
@media (max-width: 760px) { .zone { grid-template-columns: 1fr; } }
.pay-online { border: 1px solid #000; border-radius: 10px; padding: 10px 14px; font-weight: 800; display: flex; flex-direction: column; gap: 2px; background: #fff; }
.pay-online small { font-weight: 600; opacity: .65; }
.pay-box { margin: 16px 0 0; padding: 16px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.pay-box b { font-size: 18px; }
.pay-box span { font-size: 14px; opacity: .8; max-width: 420px; }
.pay-box .btn { margin-top: 8px; }
.pay-box--wait { background: #fff3cd; }
.pay-box--ok { background: #d9f2dc; color: var(--ok); }
.pay-box--err { background: #fde2df; }
.pay-box--muted { background: #eee; }

.account { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.order-row { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; transition: border-color .15s; }
.order-row:hover { border-color: #000; }
.order-row__num { font-weight: 900; font-size: 16px; }
.order-row__items { grid-column: 1 / -1; color: var(--muted); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.addr-list { display: flex; flex-direction: column; gap: 8px; }
.addr { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14px; }

/* плашка корзины, выезжающая корзина, модальные окна */
.cart-bar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; border: 0; background: #000; color: #fff; border-radius: 12px; padding: 14px 18px; font-weight: 800; font-size: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); cursor: pointer; }
.cart-bar b { margin-left: auto; }
.cart-bar__count { background: var(--orange); border-radius: 8px; min-width: 28px; padding: 2px 8px; text-align: center; }
.drawer, .modal { position: fixed; inset: 0; z-index: 60; background: rgba(20, 12, 8, .55); opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer.is-open, .modal.is-open { opacity: 1; pointer-events: auto; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--card); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .25s; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 4px 20px; }
.close { background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; padding: 4px 10px; border-radius: 10px; }
.close:hover { background: rgba(0,0,0,.06); }
.modal { display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.modal__box { position: relative; background: var(--card); border-radius: 14px; width: min(480px, 100%); padding: 28px; max-height: calc(100vh - 32px); overflow-y: auto; transform: translateY(12px); transition: transform .2s; }
.modal__box--dish { width: min(860px, 100%); padding: 0; overflow: hidden; }
.modal__box--text { width: min(720px, 100%); }
.modal.is-open .modal__box { transform: none; }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(255,255,255,.85); }
.modal h3 { margin: 0 0 6px; font-size: 26px; font-weight: 900; }
.modal__box--text h3 { font-family: kentprinted, Arial, sans-serif; text-transform: uppercase; font-weight: 400; padding-right: 40px; }
.modal__box--text p, .modal__box--text li { font-size: 14px; line-height: 1.6; }
.dish { display: grid; grid-template-columns: 1.1fr 1fr; }
.dish__img { background: #c9ae98 center/cover; min-height: 360px; }
.dish__body { padding: 30px 28px; display: flex; flex-direction: column; gap: 10px; }
.dish__body h3 { font-size: 26px; line-height: 1.15; padding-right: 30px; }
.dish__meta { color: var(--muted); font-weight: 700; }
.dish__descr { margin: 0; }
.dish__foot { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 14px; }
.dish__foot .price { font-size: 26px; }
.dish__foot .btn, .dish__foot .qty { margin-left: auto; }
.dish__foot .qty button { width: 44px; height: 46px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #000; color: #fff; padding: 12px 20px; border-radius: 10px; font-weight: 700; opacity: 0; pointer-events: none; transition: .2s; z-index: 80; max-width: calc(100% - 32px); text-align: center; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ======================================================================
   АДАПТИВ
   ====================================================================== */
@media (max-width: 1240px) {
  .site-contacts__item:first-child { display: none; }
  .site-nav { gap: 20px; font-size: 16px; }
  .site-header__row { gap: 22px; }
  .h-hero__chef { left: 500px; }
  .h-about { grid-template-columns: 400px 1fr; }
  .h-about__facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); }
  .h-birthday { grid-template-columns: 260px 1fr auto; }
  .h-birthday img { width: 260px; }
  .h-birthday__text { display: none; }
}
@media (max-width: 1100px) {
  .shop { grid-template-columns: minmax(0, 1fr); }
  .shop__cart { display: none; }
  .cart-bar { display: flex; }
  .cart-bar[hidden] { display: none !important; }
  .checkout, .account { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .page-delivery .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .d-hero__row { grid-template-columns: 1fr 380px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .site-logo img { width: 64px; height: 64px; }
  .site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-top: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 15px 20px; border-bottom: 1px solid var(--line); }
  .burger { display: block; margin-left: 0; }
  .site-contacts { margin-left: auto; }
  .h-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .h-hero__text { padding-top: 24px; }
  .h-hero__chef { position: relative; top: 0; left: 0; width: 100%; height: 420px; margin-top: 24px; -webkit-mask-image: none; mask-image: none; }
  .h-promo { gap: 20px; }
  .h-popular { grid-template-columns: repeat(2, 1fr); }
  .h-booking { grid-template-columns: 1fr; }
  .h-booking__form { grid-template-columns: repeat(3, 1fr); }
  .h-booking__form > input[name=name] { grid-column: span 2; }
  .h-reviews { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__logo { grid-row: span 2; }
  .info-cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .d-hero__row { grid-template-columns: 1fr; }
  .d-hero__img { display: none; }
  .dish { grid-template-columns: 1fr; }
  .dish__img { min-height: 0; aspect-ratio: 4/3; }
}
@media (max-width: 760px) {
  .site-header__cta, .site-contacts { display: none; }
  .site-header__tools { margin-left: auto; }
  .site-header__account { margin-left: auto; }
  .page-home .burger { margin-left: 0; }
  .h-title { font-size: 52px; }
  .h-title span { font-size: 30px; }
  .h-hero__btns { gap: 10px; flex-direction: column; }
  .h-hero__btns .tbtn { width: 100% !important; }
  .h-features { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .h-features span { font-size: 13px; }
  .h-hero__chef { height: 320px; }
  .h-promo { grid-template-columns: 1fr; }
  .h-promo__card { height: 230px; }
  .h-promo__shade { inset: 0; width: auto; border-radius: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .35) 60%, rgba(0, 0, 0, .1) 100%); }
  .h-promo__body { padding-top: 40px; }
  .h-head { gap: 4px 12px; flex-wrap: wrap; }
  .h-head i { display: none; }
  .h-head a { margin-left: auto; font-size: 15px; }
  .h-head a img { width: 34px; height: 34px; margin: -10px 0; }
  .h-booking__form { grid-template-columns: 1fr 1fr; }
  .h-booking__form > input[name=name], .h-booking__form > input[name=guests], .h-phone { grid-column: 1 / -1; }
  .h-about { grid-template-columns: 1fr; gap: 10px; }
  .h-about__facts { grid-template-columns: 1fr 1fr; }
  .h-birthday { grid-template-columns: 1fr; gap: 14px; padding: 5px 5px 18px; text-align: center; }
  .h-birthday img { width: 100%; height: 160px; }
  .h-birthday .tbtn { justify-self: center; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
  .site-footer__logo { grid-row: auto; grid-column: 1 / -1; width: 120px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .d-hero__title { font-size: 46px; }
  .d-hero__title span { font-size: 26px; }
}
@media (max-width: 600px) {
  #accountLabel, #homeAccountLabel { display: none; }
  .site-header__account { border: 0; padding: 0 8px; }
  .site-header__row { gap: 12px; }
  .menu-bar { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px 0; }
  .search { width: 100%; }
  .card__body { padding: 10px 11px 12px; }
  .card__title { font-size: 14px; }
  .card__descr { display: none; }
  .card__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .card__foot [data-ctl] { display: flex; }
  .card__foot .btn, .card__foot .qty { flex: 1; padding: 9px 10px; }
  .qty { justify-content: space-between; }
  .cat-title { font-size: 22px; margin: 24px 0 12px; }
  .info-cards { gap: 10px; }
  .info-card { padding: 14px; }
  .info-card b { font-size: 20px; }
  .facts li { flex: 1 1 40%; min-width: 0; }
  .panel { padding: 18px; }
  .row--2 { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 0; }
  .kv dd { margin-bottom: 8px; }
  .tracker__step { font-size: 11.5px; }
  .modal { padding: 0; align-items: end; }
  .modal__box { border-radius: 16px 16px 0 0; max-height: 92vh; padding: 22px 18px calc(22px + env(safe-area-inset-bottom)); }
  .modal__box--dish { padding: 0; }
  .dish__body { padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); }
  .h-title { font-size: 44px; }
  .h-title span { font-size: 25px; }
  .h-features img { width: 60px; height: 60px; margin-left: -8px; }
  .h-features img.h-features__big { width: 80px; height: 80px; margin: -10px 0 -10px -18px; }
  .h-features b { font-size: 12px; }
  .h-popular { grid-template-columns: 1fr; }
  .h-booking__intro h2 { font-size: 26px; }
  .h-about__facts { grid-template-columns: 1fr; }
  .h-birthday__title { font-size: 32px; line-height: 34px; }
  .h-birthday__title span { font-size: 26px; line-height: 28px; }
}

/* подтверждение телефона звонком */
.pcall { display: flex; flex-direction: column; gap: 10px; background: #fff7ef; border: 1px solid #f0a35e; border-radius: 12px; padding: 12px 14px; }
.pcall p { margin: 0; font-size: 14px; line-height: 1.45; }
.pcall__test { color: #8a4b12; }
.pcall input[name=code] { font-size: 22px; letter-spacing: .3em; font-weight: 800; }
.pcall [data-pcall-again] { align-self: flex-start; font-size: 14px; }
.pcall [data-pcall-again]:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.auth-forgot { align-self: flex-end; margin-top: -4px; font-size: 14px; font-weight: 800; color: var(--accent); }
.auth-forgot[hidden] { display: none; }
