/* Шрифты лежат на своём сервере (папка fonts/, лицензия OFL) */
@font-face{ font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/manrope-cyrillic-400-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face{ font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/manrope-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
@font-face{ font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/manrope-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face{ font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/manrope-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
@font-face{ font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/manrope-cyrillic-600-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face{ font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/manrope-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
@font-face{ font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/manrope-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face{ font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/manrope-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
@font-face{ font-family: "Unbounded"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/unbounded-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face{ font-family: "Unbounded"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/unbounded-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
@font-face{ font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/unbounded-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face{ font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/unbounded-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }
@font-face{ font-family: "Unbounded"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/unbounded-cyrillic-800-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face{ font-family: "Unbounded"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/unbounded-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD, U+20BD; }

/* ==========================================================
   «Шаурма Бургер» — стили
   Палитра взята с реальной вывески (синий LED) и баннера (янтарь).
   ========================================================== */

:root{
  --night: #0E1013;      /* фон — ночная улица */
  --coal: #171A1F;       /* панели */
  --coal-2: #20242B;
  --sign: #F3F7FF;       /* белые буквы вывески */
  --led: #2F6BFF;        /* синяя подсветка вывески */
  --amber: #FFAF2A;      /* акцент с баннера */
  --ember: #FF6A2A;      /* угли */
  --muted: rgba(243,247,255,0.68);
  --line: rgba(243,247,255,0.1);

  --display: "Unbounded", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1160px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 72px; }

body{
  margin: 0;
  background: var(--night);
  color: var(--sign);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
[hidden]{ display: none !important; }
:focus-visible{ outline: 3px solid var(--amber); outline-offset: 3px; }

.skip-link{
  position: absolute; top: -60px; left: 12px; z-index: 100;
  background: var(--amber); color: var(--night);
  font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 6px;
  transition: top .2s ease;
}
.skip-link:focus{ top: 12px; }

.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3{ font-family: var(--display); margin: 0; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  border-radius: 8px; border: 2px solid transparent;
  font-family: var(--body); font-weight: 700; font-size: 15px;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--amber); color: var(--night); }
.btn-primary:hover{ background: #FFC255; }
.btn-outline{ border-color: rgba(243,247,255,0.4); color: var(--sign); }
.btn-outline:hover{ border-color: var(--amber); color: var(--amber); }
.btn-ghost{ border-color: rgba(243,247,255,0.25); color: var(--sign); }
.btn-ghost:hover{ border-color: var(--amber); color: var(--amber); }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,16,19,0.92);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled{ box-shadow: 0 8px 24px rgba(0,0,0,0.45); }
.header-row{ display: flex; align-items: center; gap: 24px; padding-top: 12px; padding-bottom: 12px; }

.brand{
  font-family: var(--display); font-weight: 800; font-size: 18px;
  text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap;
  color: var(--sign);
  text-shadow: 0 0 10px rgba(47,107,255,0.75);
}

.nav{ display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a{ color: var(--muted); }
.nav a:hover{ color: var(--amber); }

.header-cta{ min-height: 40px; padding: 8px 16px; font-size: 14px; white-space: nowrap; }

.lang-switch{ display: flex; border: 1px solid rgba(243,247,255,0.22); border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.lang-btn{
  background: none; border: none; color: var(--muted);
  font-family: var(--body); font-weight: 700; font-size: 13px;
  padding: 8px 11px; cursor: pointer;
}
.lang-btn.is-active{ background: var(--sign); color: var(--night); }
.lang-btn:not(.is-active):hover{ color: var(--sign); }
.lang-btn:focus-visible{ outline-offset: -3px; }

.nav-toggle{ display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 10px; cursor: pointer; }
.nav-toggle span{ width: 22px; height: 2px; background: var(--sign); display: block; }

/* ---------- Hero ---------- */
.hero{
  position: relative; overflow: hidden;
  padding: 96px 0 120px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(47,107,255,0.18), transparent 70%),
    radial-gradient(70% 55% at 50% 110%, rgba(255,106,42,0.28), transparent 70%),
    var(--night);
  text-align: center;
}
.hero-video{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; z-index: 0; }
.ember-canvas{ position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-inner{ position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.hero-open{
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 28px; padding: 8px 16px;
  border: 1px solid rgba(255,175,42,0.45); border-radius: 999px;
  color: var(--amber); font-weight: 700; font-size: 15px;
}
.hero-open.is-closed{ border-color: rgba(243,247,255,0.25); color: var(--muted); }
.hero-open.is-closed .hero-open-dot{ background: #8A93A3; box-shadow: none; }
.hero-open.is-open .hero-open-dot{ animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse{ 50%{ box-shadow: 0 0 0 7px rgba(255,175,42,0); } }
.hero-open-dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255,175,42,0.2); }

/* Вывеска: белые буквы с синим ореолом, как в жизни */
.sign{
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 9vw, 112px); line-height: 1.02; letter-spacing: 0.01em;
  color: var(--sign);
  text-shadow:
    0 0 4px rgba(255,255,255,0.9),
    0 0 14px rgba(110,160,255,0.95),
    0 0 34px rgba(47,107,255,0.85),
    0 0 72px rgba(47,107,255,0.55);
}
.sign-word{ display: inline-block; }
.sign-word + .sign-word{ margin-left: 0.28em; }

.hero-lead{ max-width: 34ch; margin: 30px auto 34px; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.5; color: var(--sign); }
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.hero-address{ margin: 0; font-weight: 700; font-size: 17px; }
.hero-address-note{ font-weight: 500; color: var(--amber); }

/* Включение вывески — один раз при загрузке */
@media (prefers-reduced-motion: no-preference){
  .sign-word{ opacity: 0; animation: sign-on 1.1s steps(1, end) forwards; }
  .sign-word + .sign-word{ animation-delay: .35s; }
  .hero-open, .hero-lead, .hero-actions, .hero-address, .hero-dishes{ opacity: 0; animation: fade-in .5s ease 1.2s forwards; }
}
@keyframes sign-on{
  0%{ opacity: 0; } 10%{ opacity: .9; } 16%{ opacity: .1; } 26%{ opacity: 1; }
  34%{ opacity: .25; } 42%{ opacity: 1; } 100%{ opacity: 1; }
}
@keyframes fade-in{ to{ opacity: 1; } }

/* ---------- Section shared ---------- */
.section-title{ font-weight: 700; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin-bottom: 12px; }
.section-sub{ color: var(--muted); margin: 0 0 32px; max-width: 60ch; }

/* ---------- Menu ---------- */
.menu-section{ padding: 96px 0; background: var(--coal); border-top: 1px solid var(--line); }

.menu-tabs{
  position: relative; display: inline-flex; flex-wrap: wrap; gap: 2px;
  background: var(--night); border: 1px solid var(--line);
  border-radius: 12px; padding: 6px; margin-bottom: 36px;
}
.menu-tab{
  position: relative; z-index: 1;
  background: none; border: none; border-radius: 8px;
  padding: 11px 20px; min-height: 44px;
  font-family: var(--body); font-weight: 700; font-size: 15px;
  color: var(--muted); cursor: pointer; transition: color .25s ease;
}
.menu-tab.is-active{ color: var(--night); }
.menu-tab:not(.is-active):hover{ color: var(--sign); }
.menu-tabs-indicator{
  position: absolute; z-index: 0; top: 0; left: 0; width: 0; height: 0;
  border-radius: 8px; background: var(--amber);
  transition: transform .32s cubic-bezier(.22,.8,.2,1), width .32s cubic-bezier(.22,.8,.2,1), height .32s cubic-bezier(.22,.8,.2,1);
}

.menu-list{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 28px; }
.menu-item{ display: flex; flex-direction: column; gap: 16px; }
.menu-photo{
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 12px; background: var(--coal-2);
}
.menu-photo img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.menu-item:hover .menu-photo img{ transform: scale(1.04); }
.menu-photo > svg{ display: none; }
.menu-photo.is-empty{
  display: grid; place-items: center; color: var(--amber);
  background: radial-gradient(70% 70% at 50% 100%, rgba(255,106,42,0.22), transparent 70%), var(--coal-2);
  border: 1px solid var(--line);
}
.menu-photo.is-empty > svg{ display: block; width: 30%; max-width: 88px; opacity: .85; }
.menu-item-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.menu-item-name{ font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.3; }
.menu-item-tag{
  display: inline-block; margin-left: 8px; vertical-align: 3px;
  font-family: var(--body); font-weight: 700; font-size: 12px;
  color: var(--night); background: var(--amber); padding: 2px 8px; border-radius: 4px;
}
.menu-item-price{ flex-shrink: 0; font-weight: 700; font-size: 17px; color: var(--amber); white-space: nowrap; }
.menu-item-desc{ margin: 6px 0 0; color: var(--muted); font-size: 15px; max-width: 52ch; }
.menu-item-body{ min-width: 0; }

/* ---------- About ---------- */
.about{ padding: 104px 0; }
.about-quote{
  font-weight: 700; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.15;
  max-width: 20ch; margin-bottom: 56px; color: var(--sign);
}
.about-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.about-point{ border-top: 2px solid var(--amber); padding-top: 20px; }
.about-point h3{ font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.about-point p{ margin: 0; color: var(--muted); }

/* ---------- Find us ---------- */
.find{ padding: 96px 0; background: var(--coal); border-top: 1px solid var(--line); }
.find-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.find-address{ font-size: 19px; font-weight: 700; margin: 8px 0 8px; }
.find-note{ font-weight: 500; color: var(--amber); }
.hours-table{ width: 100%; max-width: 420px; border-collapse: collapse; margin: 4px 0 28px; }
.hours-table th, .hours-table td{ padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours-table th{ text-align: left; color: var(--muted); }
.hours-table td{ text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr.is-today th, .hours-table tr.is-today td{ color: var(--amber); font-weight: 700; }

.storefront{ margin: 0 0 28px; }
.storefront img{ width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); }
.storefront figcaption{ margin-top: 10px; font-size: 14px; color: var(--muted); }

.find-actions{ display: flex; gap: 14px; flex-wrap: wrap; }

.find-map{ border-radius: 14px; overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--coal-2); }
.find-map iframe{ display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- Footer ---------- */
.site-footer{ background: #08090B; color: var(--muted); padding: 60px 0 0; border-top: 1px solid var(--line); }
.footer-grid{ display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-brand{ margin: 0 0 8px; display: inline-block; }
.footer-tag{ margin: 0; font-size: 14px; }
.footer-contacts{ display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-contacts a:hover{ color: var(--amber); }
.footer-contacts p, .footer-hours p{ margin: 0 0 6px; font-size: 14px; }
.footer-bottom{ padding: 20px 24px; font-size: 13px; }
.footer-bottom p{ margin: 0; }


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

/* ---------- Promo strip ---------- */
.promo{ background: var(--amber); color: var(--night); font-weight: 700; font-size: 14px; padding-top: env(safe-area-inset-top, 0px); }
.promo-row{ display: flex; align-items: center; gap: 12px; min-height: 40px; }
.promo-text{ margin: 0 auto; text-align: center; }
.promo-close{ background: none; border: none; color: var(--night); font-size: 22px; line-height: 1; width: 36px; height: 36px; cursor: pointer; border-radius: 6px; }
.promo-close:focus-visible{ outline-color: var(--night); }

/* ---------- Menu item: clickable photo, add / stepper ---------- */
.menu-photo{ border: 0; padding: 0; cursor: pointer; width: 100%; font: inherit; color: inherit; }
.menu-photo picture{ position: absolute; inset: 0; }
.menu-item-open{ background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.menu-item-open:hover .menu-item-name{ color: var(--amber); }
.menu-item-actions{ margin-top: 14px; }
.add-btn{
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px;
  border-radius: 8px; border: 2px solid rgba(255,175,42,0.6); background: none; color: var(--amber);
  font: 700 14px/1 var(--body); cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.add-btn:hover{ background: var(--amber); color: var(--night); }
.stepper{ display: inline-flex; align-items: center; border-radius: 8px; background: var(--amber); color: var(--night); }
.stepper button{ width: 40px; height: 40px; border: 0; background: none; color: inherit; font: 700 20px/1 var(--body); cursor: pointer; border-radius: 8px; }
.stepper button:focus-visible{ outline-color: var(--sign); outline-offset: -3px; }
.stepper output{ min-width: 24px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

/* ---------- Cart bar ---------- */
.cart-bar{
  position: fixed; z-index: 70; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%); width: min(520px, calc(100% - 32px));
  animation: bar-in .3s cubic-bezier(.22,.8,.2,1);
}
@keyframes bar-in{ from{ transform: translate(-50%, 24px); opacity: 0; } }
.cart-bar-btn{
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 10px 12px 10px 10px;
  border: 0; border-radius: 12px; background: var(--amber); color: var(--night);
  font: 700 16px/1 var(--body); cursor: pointer; box-shadow: 0 14px 40px rgba(0,0,0,.5);
}
.cart-bar-count{ display: grid; place-items: center; min-width: 36px; height: 36px; border-radius: 8px; background: var(--night); color: var(--amber); font-weight: 800; }
.cart-bar-label{ flex: 1; text-align: left; }
.cart-bar-total{ font-weight: 800; font-variant-numeric: tabular-nums; }
.cart-bar.bump .cart-bar-count{ animation: bump .35s ease; }
@keyframes bump{ 40%{ transform: scale(1.25); } }
body.has-cart .site-footer{ padding-bottom: 88px; }

/* ---------- Dialogs ---------- */
dialog{ color: var(--sign); background: var(--coal); border: 1px solid var(--line); padding: 0; }
dialog::backdrop{ background: rgba(5,6,8,0.72); backdrop-filter: blur(3px); }
.icon-btn{ width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: var(--night); color: var(--sign); font-size: 22px; line-height: 1; cursor: pointer; flex-shrink: 0; }
.icon-btn:hover{ border-color: var(--amber); color: var(--amber); }

.sheet{ width: min(520px, 100%); max-height: min(88vh, 860px); border-radius: 16px; padding: 24px; overflow: auto; }
.sheet-head{ display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.sheet-title{ font-size: 24px; font-weight: 700; }
.sheet-empty{ color: var(--muted); margin: 8px 0 4px; }
.cart-list{ list-style: none; margin: 0 0 20px; padding: 0; }
.cart-line{ display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line-name{ font-weight: 600; }
.cart-line-sum{ grid-column: 2; grid-row: 1; text-align: right; font-weight: 700; color: var(--amber); font-variant-numeric: tabular-nums; }
.cart-line .stepper{ grid-column: 1; justify-self: start; }
.field{ display: block; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.field input, .field textarea{
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 8px;
  border: 1px solid rgba(243,247,255,0.18); background: var(--night); color: var(--sign); font: 500 16px/1.4 var(--body); resize: vertical;
}
.field input:focus-visible, .field textarea:focus-visible{ outline: 2px solid var(--amber); outline-offset: 0; border-color: transparent; }
.cart-pickup{ font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.cart-total-row{ display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; padding: 14px 0; border-top: 1px solid var(--line); margin-bottom: 16px; }
.cart-total-row strong{ font-family: var(--display); font-size: 24px; color: var(--amber); }
.cart-actions{ display: grid; gap: 10px; }
.link-btn{ display: block; margin: 14px auto 0; background: none; border: 0; color: var(--muted); font: 600 14px var(--body); text-decoration: underline; cursor: pointer; padding: 8px; }
.demo-box{ margin-bottom: 16px; padding: 14px; border-radius: 10px; border: 1px dashed rgba(255,175,42,0.5); font-size: 14px; }
.demo-box p{ margin: 0 0 8px; color: var(--amber); }
.demo-box pre{ margin: 0; white-space: pre-wrap; font: 500 14px/1.5 var(--body); color: var(--sign); }

.dish{ width: min(560px, calc(100% - 32px)); border-radius: 16px; overflow: hidden; }
.dish-photo{ position: relative; aspect-ratio: 4 / 3; background: var(--coal-2); display: grid; place-items: center; color: var(--amber); }
.dish-photo img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dish-photo > svg{ width: 22%; }
.dish-body{ padding: 22px 24px 24px; }
.dish-name{ font-size: 24px; font-weight: 700; line-height: 1.2; }
.dish-desc{ color: var(--muted); margin: 10px 0 20px; }
.dish-foot{ display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dish-price{ font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--amber); }
.dish-close{ position: absolute; top: 12px; right: 12px; background: rgba(14,16,19,.75); }
.dish .add-btn{ min-height: 48px; padding: 10px 20px; font-size: 15px; }
.dish .stepper button{ width: 48px; height: 48px; }

::view-transition-group(dish-photo){ animation-duration: .38s; animation-timing-function: cubic-bezier(.22,.8,.2,1); }

/* ---------- Toast ---------- */
.toast{
  position: fixed; z-index: 90; left: 50%; top: calc(16px + env(safe-area-inset-top, 0px));
  transform: translate(-50%, -20px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 10px;
  background: var(--sign); color: var(--night); font-weight: 700; font-size: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: opacity .2s ease, transform .2s ease;
}
.toast.is-on{ opacity: 1; transform: translate(-50%, 0); }

.demo-note{ margin-top: 6px !important; color: var(--amber); }

@media (max-width: 720px){
  .sheet{ width: 100%; max-width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: 16px 16px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .menu-item-actions{ margin-top: 12px; }
}


/* ---------- Hero dish photos ---------- */
.hero-dishes{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; width: 100%; max-width: 640px; margin-top: 40px; }
.hero-dish{ background: none; border: 0; padding: 0; color: var(--sign); font: 600 14px var(--body); cursor: pointer; }
.hero-dish .menu-photo{ aspect-ratio: 1; border-radius: 14px; border: 2px solid rgba(243,247,255,0.12); box-shadow: 0 16px 34px rgba(0,0,0,.45); pointer-events: none; }
.hero-dish:nth-child(odd) .menu-photo{ transform: rotate(-2.5deg); }
.hero-dish:nth-child(even) .menu-photo{ transform: rotate(2deg) translateY(6px); }
.hero-dish .menu-photo{ transition: transform .25s ease, border-color .25s ease; }
.hero-dish:hover .menu-photo, .hero-dish:focus-visible .menu-photo{ transform: rotate(0) translateY(-4px); border-color: var(--amber); }
.hero-dish-label{ display: block; margin-top: 12px; }

/* ---------- Hits ---------- */
.hits{ padding: 88px 0 96px; }
.hits-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hit{ display: flex; flex-direction: column; background: var(--coal); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.hit .menu-photo{ border-radius: 0; aspect-ratio: 4 / 3; }
.hit-body{ display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.hit-name{ font-family: var(--display); font-weight: 700; font-size: 21px; line-height: 1.25; }
.hit-desc{ color: var(--muted); font-size: 15px; margin: 8px 0 18px; flex: 1; }
.hit-foot{ display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hit-price{ font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--amber); }

/* ---------- Ember glow between sections ---------- */
.hits, .menu-section, .about, .find{ position: relative; }
.hits::before, .menu-section::before, .about::before, .find::before{
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 180px; pointer-events: none; z-index: 0;
  background: radial-gradient(45% 100% at 50% 0%, rgba(255,106,42,0.13), rgba(255,106,42,0) 100%);
}
.hits > .wrap, .menu-section > .wrap, .about > .wrap, .find > .wrap{ position: relative; z-index: 1; }

/* ---------- Sticky menu tabs ---------- */
.menu-tabs{ position: sticky; top: var(--sticky-top, 76px); z-index: 30; box-shadow: 0 10px 24px rgba(0,0,0,.35); }

/* ---------- Mobile action bar ---------- */
.action-bar{ display: none; }
@media (max-width: 720px){
  .action-bar{
    display: flex; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(14,16,19,0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .action-bar a{ flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px; border-radius: 10px; font-size: 12px; font-weight: 700; color: var(--sign); }
  .action-bar a:active{ background: var(--coal-2); }
  .action-bar svg{ width: 22px; height: 22px; fill: var(--amber); }
  body{ padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .cart-bar{ bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  body.has-cart .site-footer{ padding-bottom: 80px; }

  .hero-dishes{ gap: 10px; margin-top: 32px; }
  .hero-dish{ font-size: 12px; }
  .hero-dish-label{ margin-top: 8px; }
  .hits{ padding: 64px 0 72px; }
  .hits-grid{ display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -24px; padding: 4px 24px 8px; scrollbar-width: none; }
  .hits-grid::-webkit-scrollbar{ display: none; }
  .hit{ flex: 0 0 82%; scroll-snap-align: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px){
  .header-cta{ display: none; }
}
@media (max-width: 880px){
  .find-grid{ grid-template-columns: 1fr; }
  .menu-list{ grid-template-columns: 1fr 1fr; }
  .hits-grid{ grid-template-columns: 1fr 1fr; }
  .about-grid{ grid-template-columns: 1fr; gap: 28px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .header-row{ gap: 12px; }
  .brand{ font-size: 15px; margin-right: auto; }
  .nav{
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--night); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 8px 24px 16px; display: none;
  }
  .nav.is-open{ display: flex; }
  .nav a{ padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle{ display: flex; }
  .hero{ padding: 72px 0 96px; }
  .sign-word{ display: block; }
  .sign-word + .sign-word{ margin-left: 0; }
  .menu-tabs{ display: flex; flex-wrap: nowrap; width: 100%; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .menu-tabs::-webkit-scrollbar{ display: none; }
  .menu-tab{ flex: 0 0 auto; padding: 10px 14px; font-size: 14px; white-space: nowrap; }

  .menu-list{ grid-template-columns: 1fr; gap: 32px; }
  .menu-list .menu-photo{ aspect-ratio: 16 / 10; }
  .footer-grid{ grid-template-columns: 1fr; }
  .find-map, .find-map iframe{ min-height: 320px; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Menu groups & board-style rows (по фото-меню) ---------- */
.menu-group + .menu-group{ margin-top: 64px; }
.menu-group-title{
  display: flex; align-items: center; gap: 16px;
  font-weight: 700; font-size: clamp(20px, 2.4vw, 26px); color: var(--amber);
  text-transform: uppercase; letter-spacing: .02em; margin: 0 0 8px;
}
.menu-group-title::after{ content: ""; flex: 1; height: 1px; background: var(--line); }
.menu-group-note{ margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.menu-group-title + .menu-list{ margin-top: 24px; }
.menu-rows{ list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.menu-row{
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 0; border-bottom: 1px solid var(--line);
}
.menu-row-name{ font-weight: 700; font-size: 17px; }
.menu-row-dots{ flex: 1; min-width: 16px; align-self: center; border-bottom: 2px dotted rgba(243,247,255,0.22); transform: translateY(4px); }
.menu-row-price{ font-weight: 700; color: var(--amber); white-space: nowrap; font-variant-numeric: tabular-nums; }
.menu-row .qty-control{ flex-shrink: 0; min-width: 104px; display: flex; justify-content: flex-end; }
.menu-row .add-btn{ min-height: 36px; padding: 6px 12px; }
.menu-row .stepper button{ width: 36px; height: 36px; }
.stepper output{ padding: 0 2px; white-space: nowrap; }
@media (max-width: 880px){ .menu-rows{ grid-template-columns: 1fr; } }
@media (max-width: 720px){
  .menu-group + .menu-group{ margin-top: 44px; }
  .menu-row{ min-height: 56px; }
  .menu-row .qty-control{ min-width: 0; }
  .menu-row .add-text{ display: none; }
  .menu-row .add-btn{ width: 40px; justify-content: center; padding: 0; font-size: 20px; }
}

/* ============================================================
   Photos: loading shimmer, fade-in, overlays
   ============================================================ */
.menu-photo.is-loading{ background: linear-gradient(100deg, var(--coal-2) 30%, #2a2f38 50%, var(--coal-2) 70%) 0 0 / 300% 100%; }
.menu-photo.is-loading > svg{ display: none; }
@media (prefers-reduced-motion: no-preference){
  .menu-photo.is-loading{ animation: shimmer 1.4s linear infinite; }
  .menu-photo img{ opacity: 0; transform: scale(1.06); transition: opacity .5s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
  .menu-photo.is-loaded img{ opacity: 1; transform: scale(1); }
  .menu-item:hover .menu-photo.is-loaded img, .hit:hover .menu-photo.is-loaded img, .g-btn:hover img{ transform: scale(1.05); }
}
@keyframes shimmer{ to{ background-position: -300% 0; } }
.menu-photo::after{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.45) 100%);
  opacity: 0; transition: opacity .3s ease;
}
.menu-photo.is-loaded::after{ opacity: 1; }
.photo-tag{
  position: absolute; z-index: 2; top: 12px; left: 12px;
  font: 800 12px/1 var(--body); letter-spacing: .04em; text-transform: uppercase;
  color: var(--night); background: var(--amber); padding: 7px 10px; border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.photo-zoom{
  position: absolute; z-index: 2; right: 12px; bottom: 12px; width: 36px; height: 36px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(14,16,19,.7); color: var(--sign); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease;
}
.photo-zoom svg{ width: 16px; height: 16px; }
.menu-photo:hover .photo-zoom, .menu-photo:focus-visible .photo-zoom{ opacity: 1; transform: none; }
@media (hover: none){ .photo-zoom{ opacity: .9; transform: none; } }

/* ---------- Hero photos ---------- */
.hero-dishes{ max-width: 720px; gap: 16px; }
.hero-dish .menu-photo{ aspect-ratio: 4 / 5; border-radius: 16px; }
.hero-dish-label{
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 10px; margin: 0;
  text-align: center; font: 700 13px var(--body); color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.7);
}
.hero-dish .menu-photo.is-empty .hero-dish-label{ color: var(--sign); }
@media (prefers-reduced-motion: no-preference){
  .hero-dish{ animation: dish-in .7s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.35s + var(--i, 0) * .09s); }
}
@keyframes dish-in{ from{ opacity: 0; transform: translateY(24px); } }
@media (max-width: 720px){ .hero-dish-label{ font-size: 11px; bottom: 7px; } .hero-dish .menu-photo{ border-radius: 12px; } }

/* ---------- Hits: feature + two side cards ---------- */
@media (min-width: 881px){
  .hits-grid{ grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; }
  .hit-feature{ grid-row: 1 / 3; }
  .hit-feature .menu-photo{ aspect-ratio: auto; flex: 1; min-height: 360px; }
  .hit:not(.hit-feature){ display: grid; grid-template-columns: 44% 1fr; }
  .hit:not(.hit-feature) .menu-photo{ aspect-ratio: auto; height: 100%; min-height: 210px; }
  .hit:not(.hit-feature) .hit-name{ font-size: 18px; }
}
.hit-feature .hit-name{ font-size: clamp(22px, 2.4vw, 28px); }
.hit{ transition: border-color .25s ease, transform .25s ease; }
.hit:hover{ border-color: rgba(255,175,42,.45); }
.hits-dots{ display: none; }
@media (max-width: 720px){
  .hits-dots{ display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
  .hits-dots span{ width: 7px; height: 7px; border-radius: 4px; background: rgba(243,247,255,.25); transition: width .25s ease, background-color .25s ease; }
  .hits-dots span.is-on{ width: 22px; background: var(--amber); }
}

/* ---------- Gallery (bento) ---------- */
.gallery{ padding: 96px 0; position: relative; background: var(--coal); border-top: 1px solid var(--line); }
.gallery-grid{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px;
}
.g-tile{ min-width: 0; }
.g-big{ grid-column: span 2; grid-row: span 2; }
.g-wide{ grid-column: span 2; }
.g-tall{ grid-row: span 2; }
.g-btn{ display: block; height: 100%; aspect-ratio: auto; border-radius: 14px; }
.g-btn img{ object-fit: cover; }
.g-caption{
  position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 12px;
  font: 700 14px/1.3 var(--body); color: #fff; text-align: left; text-shadow: 0 1px 8px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease;
}
.g-btn:hover .g-caption, .g-btn:focus-visible .g-caption{ opacity: 1; transform: none; }
.g-btn.is-empty .g-caption{ opacity: 1; transform: none; color: var(--muted); text-shadow: none; }
@media (hover: none){ .g-caption{ opacity: 1; transform: none; } }
@media (max-width: 880px){ .gallery-grid{ grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 720px){
  .gallery{ padding: 64px 0; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .g-wide{ grid-column: span 2; }
  .g-caption{ font-size: 12px; left: 10px; bottom: 9px; }
}

/* ---------- Lightbox ---------- */
.lightbox{
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0;
  background: rgba(8,9,11,.96); border: 0; color: var(--sign);
  display: none; flex-direction: column;
}
.lightbox[open]{ display: flex; }
.lightbox::backdrop{ background: rgba(5,6,8,.85); }
.lb-stage{ flex: 1; min-height: 0; display: grid; place-items: center; padding: 64px 72px 8px; touch-action: pan-y; }
.lb-photo{ position: relative; width: 100%; height: 100%; display: grid; place-items: center; color: var(--amber); }
.lb-photo picture{ display: contents; }
.lb-photo img{ max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-photo > svg{ width: 96px; }
.lb-photo:not(.is-empty) > svg{ display: none; }
@media (prefers-reduced-motion: no-preference){
  .lb-photo[data-dir="next"] img{ animation: lb-next .35s cubic-bezier(.2,.8,.2,1); }
  .lb-photo[data-dir="prev"] img{ animation: lb-prev .35s cubic-bezier(.2,.8,.2,1); }
}
@keyframes lb-next{ from{ opacity: 0; transform: translateX(40px); } }
@keyframes lb-prev{ from{ opacity: 0; transform: translateX(-40px); } }
.lb-bar{ display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 24px calc(18px + env(safe-area-inset-bottom, 0px)); max-width: 1160px; width: 100%; margin: 0 auto; }
.lb-caption{ margin: 0; font-weight: 700; }
.lb-count{ color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lb-nav{ position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 34px; line-height: 1; border-radius: 50%; }
.lb-prev{ left: 12px; } .lb-next{ right: 12px; }
.lb-close{ position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }
@media (max-width: 720px){
  .lb-stage{ padding: 56px 8px 4px; }
  .lb-nav{ top: auto; bottom: calc(64px + env(safe-area-inset-bottom, 0px)); transform: none; width: 44px; height: 44px; font-size: 28px; background: rgba(14,16,19,.7); }
}
::view-transition-group(g-photo), ::view-transition-group(dish-photo){ animation-duration: .38s; animation-timing-function: cubic-bezier(.2,.8,.2,1); }
.hit-foot{ flex-wrap: wrap; }
.hit-price, .add-btn{ white-space: nowrap; }

/* ---------- Option switches (шаурма: мясо × размер) ---------- */
.opt-wrap{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.opt-wrap[hidden]{ display: none; }
.opt-seg{ display: inline-flex; padding: 3px; border-radius: 10px; background: var(--night); border: 1px solid var(--line); }
.opt-btn{
  min-height: 36px; padding: 6px 14px; border: 0; border-radius: 7px; background: none;
  font: 700 14px/1 var(--body); color: var(--muted); cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.opt-btn:hover{ color: var(--sign); }
.opt-btn[aria-pressed="true"]{ background: var(--sign); color: var(--night); }
.opt-btn:focus-visible{ outline-offset: -2px; }
.dish .opt-wrap{ margin: -6px 0 20px; }
.hit .opt-wrap{ margin: -6px 0 18px; }
.menu-item-price{ transition: color .2s ease; }

/* ---------- Weight presets (шашлык) ---------- */
.weight-presets{ display: flex; flex-wrap: wrap; gap: 8px; }
.weight-btn{ padding: 8px 12px; }

/* ---------- Hero: the real storefront glowing at street level ---------- */
.hero::before{
  content: ""; position: absolute; left: -24px; right: -24px; bottom: -24px; height: 62%; z-index: 0; pointer-events: none;
  background:
    linear-gradient(180deg, var(--night) 0%, rgba(14,16,19,.55) 45%, rgba(14,16,19,.35) 100%),
    url("img/storefront.jpg") center bottom / max(100%, 1100px) auto no-repeat;
  filter: blur(12px) saturate(1.2);
  opacity: .6;
}
@media (prefers-reduced-motion: no-preference){
  .hero::before{ animation: hero-bg 2.4s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes hero-bg{ from{ opacity: 0; transform: translateY(30px); } to{ opacity: .6; transform: none; } }
