:root {
  --bg-1: #ffffff;
  --bg-2: #ffffff;
  --logo-bar-height: 78px;
  --menu-dock-height: 76px;
  --safe-top-offset: 0px;
  --top-surface: #dfe4ea;
  --glass: rgba(255, 255, 255, 0.82);
  --glass-strong: rgba(255, 255, 255, 0.96);
  --glass-dark: rgba(24, 27, 32, 0.78);
  --line: rgba(255, 255, 255, 0.78);
  --line-soft: rgba(18, 24, 38, 0.08);
  --text: #0f172a;
  --muted: #5b6475;
  --accent: #e0363b;
  --accent-2: #c92b31;
  --radius: 18px;
  --panel: #e6e8ec;
  --panel-strong: #d9dde3;
  --panel-border: rgba(17, 24, 39, 0.08);
  --panel-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

html {
  font-family: "Sora", "Manrope", "Segoe UI", Arial, sans-serif;
}

body,
body * {
  font-family: inherit;
}

button,
input,
textarea,
select,
option {
  font: inherit;
}

html.no-scroll,
body.no-scroll {
  overscroll-behavior: none;
}

body {
  margin: 0;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

@supports (padding-top: constant(safe-area-inset-top)) {
  html[data-pwa-mode="standalone"] {
    --safe-top-offset: constant(safe-area-inset-top);
  }
}

@supports (padding-top: env(safe-area-inset-top)) {
  html[data-pwa-mode="standalone"] {
    --safe-top-offset: env(safe-area-inset-top);
  }
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px;
}

main.container {
  flex: 1;
  padding-top: 14px;
  padding-bottom: 18px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 42;
  padding-top: var(--safe-top-offset);
  background: rgba(171, 180, 191, 0.82);
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: blur(32px) saturate(1.12);
  -webkit-backdrop-filter: blur(32px) saturate(1.12);
  overflow: visible;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    radial-gradient(rgba(20, 24, 31, 0.13) 0.6px, transparent 0.6px),
    radial-gradient(rgba(255, 255, 255, 0.48) 0.5px, transparent 0.5px);
  background-position: 0 0, 12px 12px;
  background-size: 14px 14px, 18px 18px;
}

.header .container {
  position: relative;
  z-index: 1;
  padding-top: 12px;
  padding-bottom: 10px;
}

.schedule-status-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(224, 54, 59, .18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 247, 235, 0.98), rgba(255, 238, 241, 0.98));
  color: #6a2327;
  box-shadow: 0 10px 22px rgba(224, 54, 59, .08);
  max-height: 120px;
  opacity: 1;
  transition: max-height .2s ease, opacity .2s ease, margin .2s ease, padding .2s ease, border-width .2s ease;
}

.schedule-status-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  font-size: 18px;
  line-height: 1;
}

.schedule-status-banner.is-hidden {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
  pointer-events: none;
}

.schedule-status-text {
  margin: 0;
  flex: 1 1 auto;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: block;
  height: 50px;
  width: auto;
  max-width: 100%;
  transform-origin: center center;
  will-change: transform;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.brand-logo.is-pulsing {
  animation: brandLogoPulse 360ms ease-out;
}

@keyframes brandLogoPulse {
  0% {
    transform: scale(1);
  }
  18% {
    transform: scale(1.09);
  }
  100% {
    transform: scale(1);
  }
}

.settings-wrap {
  position: relative;
  flex: 0 0 auto;
  z-index: 5;
}

.settings-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 14px;
  background: rgba(255,255,255,.74);
  color: #141c35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.settings-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.10);
}

.settings-toggle .material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
}

.settings-popover {
  position: fixed;
  top: calc(var(--safe-top-offset) + 68px);
  right: max(14px, calc((100vw - 1140px) / 2 + 14px));
  width: min(320px, calc(100vw - 28px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(.96);
  transform-origin: top right;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  z-index: 55;
}

.settings-popover.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.settings-popover-inner {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(225, 230, 236, 0.98);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.settings-popover-inner::before {
  content: none;
}

.settings-popover-kicker,
.settings-popover-title,
.settings-popover-text {
  position: relative;
  z-index: 1;
}

.settings-popover-kicker {
  margin: 0 0 8px;
  color: #6c7690;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.settings-popover-title {
  margin: 0;
  color: #111a2d;
  font-size: 22px;
  line-height: 1.05;
}

.settings-popover-text {
  margin: 10px 0 0;
  color: #51607a;
  font-size: 14px;
  line-height: 1.45;
}

.settings-language-list,
.settings-theme-list {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.settings-language-btn,
.settings-theme-btn {
  position: relative;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  color: #121a2d;
  text-align: left;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.settings-language-btn:hover,
.settings-theme-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(17, 24, 39, 0.14);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.settings-language-btn.is-active,
.settings-theme-btn.is-active {
  padding-left: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(236, 241, 247, .98));
  border-color: rgba(95, 109, 138, 0.22);
  color: #121a2d;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.62),
    0 12px 24px rgba(15, 23, 42, 0.08);
}

.settings-language-btn.is-active::before,
.settings-theme-btn.is-active::before {
  content: none;
}

.settings-language-btn.is-active::after,
.settings-theme-btn.is-active::after {
  content: none;
}

.settings-language-btn:disabled,
.settings-theme-btn:disabled {
  opacity: .68;
  cursor: wait;
}

.settings-divider {
  position: relative;
  z-index: 1;
  height: 1px;
  margin: 16px 0 14px;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0), rgba(17, 24, 39, 0.14), rgba(17, 24, 39, 0));
}

.settings-theme-section {
  position: relative;
  z-index: 1;
}

.settings-theme-header {
  display: grid;
  gap: 4px;
}

.settings-theme-title {
  margin: 0;
  color: #111a2d;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.settings-theme-text {
  margin: 0;
  color: #5d6884;
  font-size: 13px;
  line-height: 1.4;
}

.settings-theme-text:empty {
  display: none;
}

.settings-theme-list {
  margin-top: 12px;
}

.settings-version {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(81, 96, 122, 0.72);
}

.hero-band {
  position: relative;
  z-index: 18;
  background: rgba(171, 180, 191, 0.82);
  max-height: 680px;
  overflow: clip;
  opacity: 1;
  transform: translateY(0);
  transition: max-height .34s cubic-bezier(.22, 1, .36, 1), opacity .24s ease, transform .24s ease;
  will-change: max-height, opacity, transform;
  backdrop-filter: blur(32px) saturate(1.12);
  -webkit-backdrop-filter: blur(32px) saturate(1.12);
}

.hero-band.is-hidden {
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.hero-band .container {
  padding-top: 0;
  padding-bottom: 12px;
  transition: padding-bottom .34s cubic-bezier(.22, 1, .36, 1);
}

.hero-band.is-hidden .container {
  padding-bottom: 0;
}

.hero {
  width: min(100%, 820px);
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(135deg, rgba(13, 17, 29, .94), rgba(10, 14, 24, .90));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  opacity: 1;
  transition: opacity .18s ease, transform .18s ease;
  position: relative;
  transform: translateZ(0);
  will-change: opacity, transform;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  touch-action: pan-y;
  opacity: 1;
  transform: translateY(0);
  transform-origin: top center;
  transition: opacity .18s ease, transform .18s ease;
  will-change: transform, opacity;
}

.hero-banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.hero-banner-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 26px 26px 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(220px, .92fr);
  gap: 20px;
  isolation: isolate;
}

.hero-banner::before,
.hero-banner::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.hero-band.is-hidden .hero {
  opacity: 0;
  transform: translateY(-8px);
}

.hero-band.is-hidden .hero-carousel {
  opacity: 0;
  transform: translateY(-8px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("icons/pattern.svg");
  background-size: 210px;
  background-repeat: repeat;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  content: none;
}

.hero-banner--ios {
  background: linear-gradient(135deg, #149c99 0%, #29c5bc 42%, #8ce9dd 100%);
  color: #072a2c;
  grid-template-columns: 1fr;
}

.hero-banner--classic {
  background: linear-gradient(135deg, rgba(20, 28, 45, .98) 0%, rgba(14, 20, 33, .96) 100%);
  color: #f4f8ff;
  grid-template-columns: 1fr;
}

.hero-banner--classic::before {
  inset: -56px auto auto -24px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(224, 54, 59, .20) 0%, rgba(224, 54, 59, 0) 74%);
}

.hero-banner--classic::after {
  right: -54px;
  bottom: -98px;
  width: 216px;
  height: 216px;
  background: radial-gradient(circle, rgba(71, 102, 255, .16) 0%, rgba(71, 102, 255, 0) 74%);
}

.hero-banner--ios::before {
  inset: -90px auto auto -64px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(223, 255, 251, .68) 0%, rgba(223, 255, 251, 0) 72%);
}

.hero-banner--ios::after {
  right: -68px;
  bottom: -126px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 74, 90, .28) 0%, rgba(0, 74, 90, 0) 74%);
}

.hero-banner--generic {
  background: linear-gradient(135deg, rgba(26, 35, 54, .98), rgba(17, 24, 39, .96));
  color: #eff4ff;
}

.hero-banner.hero-banner--image {
  display: block;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border-radius: inherit;
}

.hero-banner--image::before {
  content: none;
}

.hero-banner--image::after {
  content: none;
}

.hero-banner--generic::before {
  inset: -48px auto auto -28px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(87, 122, 255, .20) 0%, rgba(87, 122, 255, 0) 74%);
}

.hero-banner--generic::after {
  right: -46px;
  bottom: -96px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(44, 204, 194, .16) 0%, rgba(44, 204, 194, 0) 74%);
}

.hero-banner-content,
.hero-banner-art {
  position: relative;
  z-index: 1;
}

.hero-banner-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-banner-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-banner-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.18);
  color: rgba(7, 42, 44, .92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-banner-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(7, 42, 44, .72);
}

.hero-banner-title {
  margin: 8px 0 10px;
  font-size: clamp(24px, 2.8vw, 35px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.hero-banner-text {
  margin: 0;
  max-width: 44ch;
  font-size: 15px;
  line-height: 1.52;
  color: rgba(8, 31, 35, .82);
}

.hero-banner--classic .hero-banner-kicker {
  color: rgba(204, 216, 246, .68);
}

.hero-banner--classic .hero-banner-text {
  color: rgba(221, 229, 244, .84);
  max-width: 34ch;
}

.hero-banner-classic-badges {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-banner-classic-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #f1f5ff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-banner-steps {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-banner--ios .hero-banner-content {
  padding-right: 188px;
}

.hero-banner--ios .hero-banner-kicker,
.hero-banner--ios .hero-banner-title,
.hero-banner--ios .hero-banner-text,
.hero-banner--ios .hero-banner-note {
  max-width: none;
}

.hero-banner--ios .hero-banner-steps {
  margin-top: 18px;
  gap: 12px;
}

.hero-banner--ios .hero-banner-step {
  min-height: 108px;
  padding: 16px 14px;
}

.hero-banner--ios .hero-banner-step-text {
  font-size: 14px;
  line-height: 1.34;
}

.hero-banner-step {
  min-height: 74px;
  padding: 11px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  align-content: start;
  gap: 10px;
}

.hero-banner-step-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 42, 44, .12);
  color: #08353a;
  flex-shrink: 0;
}

.hero-banner-step-text {
  font-size: 12px;
  line-height: 1.32;
  font-weight: 700;
  color: rgba(7, 31, 35, .9);
}

.hero-banner-step-icon svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
}

.hero-banner-note {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.38;
  color: rgba(7, 42, 44, .74);
}

.hero-banner-art {
  min-height: 0;
  align-self: stretch;
}

.hero-banner--ios .hero-banner-art {
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 156px;
  height: 168px;
}

.hero-banner-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-banner-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.hero.hero--image-mode {
  border: none;
  border-color: transparent;
  background: none;
  box-shadow: none;
}

.hero.hero--image-mode::after {
  display: none;
}

.hero--image-mode .hero-carousel {
  border-radius: inherit;
}

.hero--image-mode .hero-banner-track {
  background: transparent;
}

.hero--image-mode .hero-banner-track,
.hero--image-mode .hero-banner-slide,
.hero--image-mode .hero-banner-slide--image,
.hero--image-mode .hero-banner--image,
.hero--image-mode .hero-banner-image {
  height: 100%;
  border-radius: inherit;
}

.hero--image-mode .hero-banner-slide--image {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.hero--image-mode .hero-banner--image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.hero--image-mode .hero-banner-image {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.hero--image-mode .hero-banner-dots {
  z-index: 3;
}

.hero-banner-orb-one {
  width: 86px;
  height: 86px;
  right: 6px;
  top: 14px;
  background: radial-gradient(circle, rgba(255,255,255,.52) 0%, rgba(255,255,255,0) 74%);
}

.hero-banner-orb-two {
  width: 132px;
  height: 132px;
  left: 12px;
  bottom: 6px;
  background: radial-gradient(circle, rgba(0, 74, 90, .18) 0%, rgba(0, 74, 90, 0) 74%);
}

.hero-banner-device {
  position: absolute;
  right: 14px;
  bottom: 4px;
  width: 172px;
  max-width: 100%;
  padding: 8px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(8, 74, 82, .16);
  box-shadow:
    0 18px 38px rgba(3, 31, 33, .22),
    inset 0 1px 0 rgba(255,255,255,.24);
  backdrop-filter: blur(16px) saturate(1.16);
  -webkit-backdrop-filter: blur(16px) saturate(1.16);
  transform: rotate(8deg);
}

.hero-banner-device-notch {
  width: 66px;
  height: 14px;
  border-radius: 999px;
  margin: 0 auto 8px;
  background: rgba(6, 25, 28, .58);
}

.hero-banner-device-screen {
  min-height: 164px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.24);
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(218, 255, 249, .46));
  display: grid;
  align-content: start;
  gap: 10px;
}

.hero-banner-device-head,
.hero-banner-device-card,
.hero-banner-device-row,
.hero-banner-device-pill {
  border-radius: 999px;
  background: rgba(6, 84, 92, .16);
}

.hero-banner-device-head {
  width: 48%;
  height: 12px;
}

.hero-banner-device-card {
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(142, 233, 223, .52));
}

.hero-banner-device-row {
  height: 10px;
}

.hero-banner-device-row.is-short {
  width: 68%;
}

.hero-banner-device-footer {
  display: flex;
  gap: 8px;
}

.hero-banner-device-pill {
  width: 54px;
  height: 24px;
}

.hero-banner-art--generic::before,
.hero-banner-art--generic::after {
  content: "";
  position: absolute;
  border-radius: 26px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
}

.hero-banner-art--generic::before {
  right: 18px;
  top: 18px;
  width: 186px;
  height: 110px;
}

.hero-banner-art--generic::after {
  right: 44px;
  bottom: 10px;
  width: 140px;
  height: 68px;
}

.hero-banner--generic .hero-banner-kicker {
  color: rgba(169, 193, 240, .72);
}

.hero-banner--generic .hero-banner-text {
  color: rgba(233, 241, 255, .82);
}

.hero-banner-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(12, 24, 40, .18);
  box-shadow: 0 14px 30px rgba(7, 18, 31, .14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 3;
  transition: opacity .18s ease;
}

.hero-banner-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.44);
  cursor: pointer;
  transition: width .22s ease, background .22s ease, opacity .22s ease;
}

.hero-banner-dot.is-active {
  width: 22px;
  background: rgba(255,255,255,.96);
}

.hero-banner-dots.is-hidden {
  opacity: 0;
  pointer-events: none;
}

@media (min-width:861px) {
  .search-tomato-clip {
    right: 42px;
  }
  .hero-band {
    max-height: 420px;
  }
  .hero-band .container {
    padding-bottom: 14px;
  }
  .hero {
    width: 100%;
    margin: 0;
    aspect-ratio: auto;
    border: none;
    background: none;
    box-shadow: none;
    overflow: visible;
  }
  .hero::after {
    display: none;
  }
  .hero-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .hero-carousel::-webkit-scrollbar {
    display: none;
  }
  .hero-banner-track {
    width: max-content;
    height: auto;
    gap: 14px;
    padding: 0 0 6px;
  }
  .hero-banner-slide {
    flex: 0 0 clamp(298px, 27vw, 328px);
    min-width: clamp(298px, 27vw, 328px);
    height: auto;
    border-radius: 24px;
    overflow: hidden;
  }
  .hero-banner {
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    padding: 18px 18px 22px;
    gap: 12px;
  }
  .hero-banner-title {
    font-size: clamp(20px, 1.7vw, 24px);
  }
  .hero-banner-text {
    font-size: 13px;
    line-height: 1.42;
  }
  .hero-banner-classic-badges {
    gap: 8px;
  }
  .hero-banner-classic-badge {
    min-height: 32px;
    padding: 7px 12px;
    font-size: 12px;
  }
  .hero-banner-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-banner-step {
    min-height: 0;
    padding: 12px 10px;
    gap: 8px;
  }
  .hero-banner-step-icon {
    width: 32px;
    height: 32px;
  }
  .hero-banner-step-text {
    font-size: 12px;
  }
  .hero-banner--ios .hero-banner-content {
    padding-right: 0;
  }
  .hero-banner--ios .hero-banner-art {
    display: none;
  }
  .hero-banner-dots {
    display: none;
  }
  .menu-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .food-image,
  .food-image-placeholder {
    height: clamp(168px, 14vw, 190px);
  }
  .food-card .item-controls {
    max-width: none;
  }
}

.hero-title {
  margin: 0;
  font-family: inherit;
  font-size: 24px;
  line-height: 1.2;
  color: #f4f7ff;
  margin-bottom: 12px;
}

.hero-subtitle { margin: 0; min-height: 0; color: #cfd8ef; }

.hero-badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-badge {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: #e8eeff;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search-wrap {
  position: relative;
  margin-top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(232, 237, 244, 0.58);
  box-shadow: none;
  backdrop-filter: blur(22px) saturate(1.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  transition: .2s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
  overflow: visible;
  isolation: isolate;
  scroll-margin-top: calc(var(--logo-bar-height) + 12px);
}

.menu-dock {
  position: sticky;
  top: var(--logo-bar-height);
  z-index: 40;
  background: rgba(171, 180, 191, 0.82);
  border-bottom: 1px solid rgba(17, 24, 39, 0.015);
  box-shadow: none;
  backdrop-filter: blur(32px) saturate(1.12);
  -webkit-backdrop-filter: blur(32px) saturate(1.12);
  overflow: visible;
  isolation: isolate;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: opacity .18s ease, transform .18s ease;
}

.menu-dock::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image:
    radial-gradient(rgba(20, 24, 31, 0.13) 0.6px, transparent 0.6px),
    radial-gradient(rgba(255, 255, 255, 0.48) 0.5px, transparent 0.5px);
  background-position: 0 0, 12px 12px;
  background-size: 14px 14px, 18px 18px;
}

.menu-dock .container {
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: 8px;
  transition: padding-top .28s ease, padding-bottom .28s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.menu-dock .search-wrap {
  margin-top: 0;
}

.hero-band.is-hidden + .menu-dock .container {
  padding-top: 1px;
}

.search-wrap:focus-within,
.search-wrap.search-focused { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(21,34,76,.12); }

.material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.search-icon {
  position: relative;
  z-index: 6;
  color: #6d7590;
  font-size: 22px;
}

.search-input {
  position: relative;
  z-index: 6;
  border: none;
  outline: none;
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: transparent;
}

.search-input::placeholder { color: #8a92ad; }

.search-clear {
  position: relative;
  z-index: 7;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.7);
  color: #59607c;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: scale(.9);
  transition: .2s ease;
}

.search-clear.show { opacity: 1; pointer-events: auto; transform: scale(1); }

.search-tomato-clip {
  --search-tomato-size: clamp(98px, 22.8vw, 118px);
  --search-tomato-peek: 14px;
  position: absolute;
  right: 22px;
  bottom: 0;
  width: var(--search-tomato-size);
  aspect-ratio: 778 / 713;
  overflow: hidden;
  pointer-events: auto;
  z-index: 9;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  touch-action: manipulation;
  appearance: none;
  -webkit-appearance: none;
}

html[data-search-tomato="off"] .search-tomato-clip {
  display: none;
}

.search-tomato-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  pointer-events: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transform: translateY(var(--search-tomato-peek));
  transform-origin: center bottom;
  transition: transform 1512ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: 1000ms;
  will-change: transform;
  filter: none;
}

.search-tomato-image.is-pulsing {
  animation: searchTomatoPulse 360ms ease-out;
}

@keyframes searchTomatoPulse {
  0% {
    transform: translateY(var(--search-tomato-peek)) scale(1);
  }
  18% {
    transform: translateY(var(--search-tomato-peek)) scale(1.1);
  }
  100% {
    transform: translateY(var(--search-tomato-peek)) scale(1);
  }
}

.search-wrap.search-focused .search-tomato-image {
  transform: translateY(calc(100% + var(--search-tomato-peek)));
}

.search-tomato-clip:focus {
  outline: none;
}

body.tomato-over-header:not(.settings-popover-open) .header {
  z-index: 39;
}

body.tomato-over-header:not(.settings-popover-open) .menu-dock {
  z-index: 43;
}

.categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0 3px;
  min-height: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform, opacity;
  transition: opacity .18s ease, transform .18s ease;
}

.category-skeleton {
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.32) 0%, rgba(255,255,255,0.68) 50%, rgba(255,255,255,0.32) 100%);
  background-size: 220% 100%;
  border: 1px solid rgba(255,255,255,0.26);
  animation: skeletonPulse 1.35s ease-in-out infinite;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(230, 235, 242, .58);
  color: #131b35;
  font-family: inherit;
  box-sizing: border-box;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  transition: .2s ease;
}

.category-btn--with-icon {
  gap: 4px;
  padding: 0 12px 0 6px;
}

.category-btn-icon {
  display: block;
  width: auto;
  height: 32px;
  max-width: 42px;
  margin: 0;
  flex-shrink: 0;
  object-fit: contain;
}

.category-btn-label {
  display: block;
  line-height: 1.05;
}

.category-btn:hover { transform: translateY(-1px); }
.category-btn.active {
  background: rgba(16, 21, 34, .78);
  color: #fff;
  border-color: rgba(16, 21, 34, .78);
}

.menu-grid { display: grid; grid-template-columns: 1fr; gap: 14px; padding-bottom: 100px; }

.menu-grid-sentinel {
  grid-column: 1 / -1;
  width: 100%;
  height: 1px;
}

.ios-loader-wrap {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  place-self:center;
  grid-column:1 / -1;
  min-height:clamp(240px, 44vh, 420px);
  gap:12px;
  width:100%;
  max-width:100%;
  text-align:center;
}
.ios-loader { width:30px; height:30px; border:3px solid #d8ddee; border-top-color:#24304f; border-radius:50%; animation:iosSpin .8s linear infinite; }

.food-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: var(--radius);
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  opacity: 0;
  transform: translateY(10px);
  animation: cardIn .42s ease forwards;
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
  contain: layout paint style;
  content-visibility: auto;
  contain-intrinsic-size: 360px;
}

.food-card:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(15, 23, 42, .10); }
.food-card:focus-visible {
  outline: 3px solid rgba(224, 54, 59, 0.18);
  outline-offset: 3px;
}

.food-image,
.food-image-placeholder {
  width: 100%;
  height: 210px;
  border-radius: 13px;
  margin-bottom: 12px;
}

.food-image { object-fit: cover; display:block; }

.dish-photo-shell {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(243, 244, 246, 0.92) 0%, rgba(227, 231, 237, 0.92) 100%);
}

.dish-photo-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition: opacity .28s ease;
  pointer-events: none;
}

.dish-photo-layer--preview {
  opacity: 1;
  filter: blur(12px);
  transform: scale(1.06);
}

.dish-photo-layer--full {
  opacity: 0;
}

.dish-photo-shell.is-full-loaded .dish-photo-layer--preview {
  opacity: 0;
}

.dish-photo-shell.is-full-loaded .dish-photo-layer--full {
  opacity: 1;
}

.food-image.dish-photo-shell .dish-photo-layer {
  object-fit: cover;
  object-position: center;
}

.food-image-placeholder {
  background: linear-gradient(135deg, #f3f4f6 0%, #e3e7ed 100%);
  border: 1px solid rgba(17, 24, 39, 0.05);
  color: #6c748e;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 0 14px;
}

.food-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.food-title {
  font-size: 21px;
  font-weight: 650;
  line-height: 1.12;
  margin: 0;
  color:#0f172d;
}
.food-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.food-weight {
  color: #6a738d;
  font-size: 15px;
  font-weight: 550;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}
.food-category { margin:0; color:#5f6884; font-size: 15px; line-height: 1.26; }
.food-meta { margin:0; color:#56607a; font-size: 15px; line-height: 1.26; }
.food-description {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.32;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.food-details {
  margin-top: 4px;
  display: grid;
  align-content: start;
  gap: 2px;
}
.food-category.is-empty,
.food-weight.is-empty,
.food-meta.is-empty,
.food-description.is-empty {
  display: none;
}

.food-footer {
  margin-top: auto;
  padding-top: 10px;
  display:flex;
  align-items:center;
  gap:10px;
}
.food-price {
  font-size: 24px;
  font-weight: 650;
  line-height: 1;
  color:#10182d;
  letter-spacing: -0.02em;
}

.btn-add {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-add::after {
  content: "+";
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(224, 54, 59, 0.24);
}

.btn-add-label {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  font-family: inherit;
  font-weight: 750;
}

.btn-add-main {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.btn-add-price {
  display: none;
}

.item-controls {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  display: flex;
  justify-content: stretch;
  align-items: center;
}

.qty-inline {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
}

.qty-inline button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent);
  cursor: pointer;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.qty-inline span {
  min-width: 28px;
  text-align:center;
  color:#1a2240;
  font-weight:800;
  font-size:16px;
}

.btn-add.is-entering,
.qty-inline.is-entering {
  animation: controlsMorphIn .24s cubic-bezier(.22, 1, .36, 1);
}

.status { color: #5b657f; font-size: 16px; }

.status-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  place-self: center;
  width: min(100%, 520px);
  min-height: clamp(240px, 44vh, 420px);
  padding: 28px 24px;
  border-radius: 24px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.status-card--menu-error {
  place-self: center;
  width: min(100%, 980px);
  max-width: 100%;
  min-height: auto;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 34px) clamp(18px, 4vw, 36px) clamp(28px, 4vw, 38px);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 248, 248, 0.985), rgba(255, 242, 243, 0.985)),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248, 250, 255, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.84),
    0 16px 34px rgba(15, 23, 42, 0.05);
}

.status-card-menu-error-shell {
  width: 100%;
  max-width: 720px;
  margin: 0;
  display: grid;
  justify-items: start;
  gap: 14px;
  text-align: left;
}

.status-card-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.status-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(224, 54, 59, 0.18), rgba(224, 54, 59, 0.08));
  color: #c52f35;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.52);
}

.status-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(224, 54, 59, 0.10);
  color: #b02b31;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-card-title {
  margin: 0;
  max-width: 100%;
  color: #111a2d;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.status-card .status {
  margin: 0;
  max-width: 34ch;
  line-height: 1.5;
}

.status-card-copy {
  margin: 0;
  max-width: 100%;
  color: #29354f;
  font-size: 16px;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.status-card-hint {
  margin: -2px 0 2px;
  max-width: 100%;
  color: #68748d;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.status-card-hint:empty {
  display: none;
}

.status-retry-btn {
  width: min(100%, 320px);
  min-width: 0;
  min-height: 58px;
  padding: 14px 26px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0363b 0%, #c92b31 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(224, 54, 59, 0.22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.status-card--menu-error .status-retry-btn {
  margin-top: 6px;
}

.status-retry-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 38px rgba(224, 54, 59, 0.26);
}

.status-retry-btn:active {
  transform: translateY(0);
  filter: brightness(.98);
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(17, 24, 39, .08);
  background: rgba(8, 12, 22, .93);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("icons/pattern.svg");
  background-size: 210px;
  background-repeat: repeat;
  background-position: center;
  opacity: 0.22;
  pointer-events: none;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.05) 0.7px, transparent 0.7px);
  background-size: 3px 3px;
  opacity: .3;
  pointer-events: none;
}

.footer-inner {
  padding-top: 16px;
  padding-bottom: 102px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  justify-content: space-between;
}

.site-version {
  width: 100%;
  margin: 2px 0 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255,255,255,.48);
  letter-spacing: 0.01em;
}

.footer-link {
  color: #f2f5ff;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.35;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  padding: 11px 16px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.review-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid rgba(255,255,255,.34);
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  position: relative;
  z-index: 1;
  box-shadow: 0 14px 28px rgba(224, 54, 59, 0.22);
}

.logo-2gis {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex: 0 0 auto;
  object-fit: cover;
  background: transparent;
  padding: 5px;
}

.review-link--modal {
  width: 100%;
  box-sizing: border-box;
}

.cart-button {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 12px) scale(.94);
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 90;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(17, 23, 38, .72);
  color: #fff;
  font-family: inherit;
  padding: 6px 8px 6px 10px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
  min-width: 132px;
  min-height: 50px;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .12s cubic-bezier(.2, .8, .2, 1), transform .12s cubic-bezier(.2, .8, .2, 1), visibility .12s linear;
}

.cart-button.visible { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.cart-button.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 10px) scale(.95); }
.cart-label { line-height: 1; }
.cart-icon { font-size: 20px; color: #f2f6ff; }

.cart-count {
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  padding: 0 8px;
}

.to-top {
  position: fixed;
  right: 14px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 39;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(17, 23, 38, .72);
  color: #f5f7ff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top .material-symbols-outlined { font-size: 24px; line-height: 1; }

.toast {
  position:fixed;
  left:50%;
  bottom:calc(86px + env(safe-area-inset-bottom));
  transform:translate(-50%,12px);
  background: rgba(17, 23, 38, .9);
  color:#f6f8ff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius:999px;
  padding:10px 16px;
  font-size:14px;
  font-weight:600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(0,0,0,.24);
  z-index:60;
  opacity:0;
  pointer-events:none;
  transition:.2s ease;
  max-width: min(92vw, 520px);
  text-align: center;
}

.toast.show { opacity:1; transform:translate(-50%,0); }

.modal {
  display:flex;
  position:fixed;
  inset:0;
  z-index:50;
  align-items:center;
  justify-content:center;
  background:rgba(9,12,22,0);
  padding:calc(12px + var(--safe-top-offset)) 12px 12px;
  overscroll-behavior:contain;
  min-height:100dvh;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    opacity .32s ease,
    background .32s ease,
    backdrop-filter .32s ease,
    -webkit-backdrop-filter .32s ease;
}

.modal.show {
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  background:rgba(9,12,22,.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal.is-closing {
  opacity:0;
  visibility:visible;
  pointer-events:none;
  background:rgba(9,12,22,0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}

.modal-content {
  width:100%;
  max-width:620px;
  margin:0;
  max-height:calc(100dvh - 24px);
  overflow:auto;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, #f8f9fb 0%, #eceff4 100%);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius:24px;
  padding:20px;
  padding-bottom:calc(22px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling:touch;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
  opacity:0;
  transform: translateY(72px);
  transition:
    transform .34s cubic-bezier(.22, 1, .36, 1),
    opacity .26s ease;
  will-change: transform, opacity;
}

.modal.show .modal-content {
  opacity:1;
  transform: translateY(0);
}

.modal.is-closing .modal-content {
  opacity:0;
  transform: translateY(88px);
}

.dish-modal {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 65;
  align-items: center;
  justify-content: center;
  padding: calc(12px + var(--safe-top-offset)) 12px 12px;
  background: rgba(9,12,22,0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  overscroll-behavior: contain;
  transition:
    opacity .32s ease,
    background .32s ease,
    backdrop-filter .32s ease,
    -webkit-backdrop-filter .32s ease;
}

.dish-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(9,12,22,.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.dish-modal.is-closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  background: rgba(9,12,22,0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
}

.dish-modal-shell {
  position: relative;
  width: min(100%, 1040px);
  max-height: calc(100dvh - 24px);
  margin: 0 auto;
  overflow: hidden;
  overscroll-behavior: contain;
  display: grid;
  grid-template-rows: minmax(300px, 48vh) minmax(0, 1fr);
  border-radius: 30px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.22), transparent 32%),
    linear-gradient(180deg, #f8f9fb 0%, #edf1f6 100%);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateY(72px);
  transition:
    transform .34s cubic-bezier(.22, 1, .36, 1),
    opacity .26s ease;
  will-change: transform, opacity;
}

.dish-modal.show .dish-modal-shell {
  opacity: 1;
  transform: translateY(0);
}

.dish-modal.is-closing .dish-modal-shell {
  opacity: 0;
  transform: translateY(88px);
}

.dish-modal-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("icons/pattern.svg");
  background-size: 220px;
  background-repeat: repeat;
  background-position: center;
  opacity: 0.06;
  pointer-events: none;
}

.dish-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(15, 22, 36, 0.42);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(10, 16, 30, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dish-modal-gallery {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(11, 15, 26, .94), rgba(20, 26, 40, .9));
  touch-action: pan-y;
  user-select: none;
}

.dish-modal-track {
  height: 100%;
  display: flex;
  transition: transform .34s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.dish-modal-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
}

.dish-modal-image,
.dish-modal-image-placeholder {
  width: 100%;
  height: 100%;
}

.dish-modal-image {
  display: block;
  object-fit: contain;
  object-position: center;
}

.dish-modal-image.dish-photo-shell {
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
}

.dish-modal-image.dish-photo-shell .dish-photo-layer {
  object-fit: contain;
  object-position: center;
}

.dish-modal-image-placeholder {
  display: grid;
  place-items: center;
  padding: 0 22px;
  text-align: center;
  color: #dde5f5;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
}

.dish-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(15, 22, 36, 0.44);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 26px rgba(0,0,0,.22);
}

.dish-modal-nav-prev { left: 24px; }
.dish-modal-nav-next { right: 24px; }
.dish-modal-nav.is-hidden,
.dish-modal-dots.is-hidden { display: none; }

.dish-modal-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(12, 24, 40, .18);
  box-shadow: 0 14px 30px rgba(7, 18, 31, .14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 3;
  transition: opacity .18s ease;
}

.dish-modal-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.44);
  cursor: pointer;
  transition: width .22s ease, background .22s ease, opacity .22s ease;
}

.dish-modal-dot.is-active {
  width: 22px;
  background: rgba(255,255,255,.96);
}

.dish-modal-body {
  position: relative;
  z-index: 1;
  overflow: auto;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.dish-modal-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.dish-modal-price {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1;
  color: #10182d;
  letter-spacing: -0.03em;
}

.dish-modal-weight {
  color: #65708d;
  font-size: 18px;
  font-weight: 650;
  text-align: right;
}

.dish-modal-title {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.02;
  color: #0f172d;
  letter-spacing: -0.03em;
}

.dish-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dish-modal-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: #111a2d;
  font-size: 14px;
  font-weight: 700;
}

.dish-modal-weight.is-empty,
.dish-modal-tag.is-empty {
  display: none;
}

.food-meta,
.food-description {
  display: none !important;
}

.dish-modal-copy {
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05);
}

.dish-modal-copy-label {
  margin: 0 0 8px;
  color: #68738f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dish-modal-description {
  margin: 0;
  color: #263145;
  font-size: 17px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.dish-modal-description.is-empty {
  color: #66738e;
}

.dish-modal-footer {
  position: sticky;
  bottom: 0;
  padding-top: 10px;
  margin-top: auto;
  background: linear-gradient(180deg, rgba(237, 241, 246, 0) 0%, rgba(237, 241, 246, 0.96) 34%);
}

.dish-modal-controls {
  width: 100%;
  max-width: 420px;
}

.dish-modal-controls .item-controls {
  width: 100%;
  min-height: 64px;
  max-width: none;
}

.dish-modal-controls .btn-add,
.dish-modal-controls .qty-inline {
  width: 100%;
  min-width: 0;
  min-height: 64px;
}

.dish-modal-controls .btn-add {
  justify-content: center;
  padding: 7px 22px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.dish-modal-controls .btn-add::after {
  content: none;
}

.dish-modal-controls .btn-add-main {
  width: 100%;
  justify-content: center;
}

.dish-modal-controls .btn-add-label {
  font-size: 19px;
  font-weight: 800;
}

.dish-modal-controls .qty-inline button {
  width: 50px;
  height: 50px;
  flex-basis: 50px;
  font-size: 28px;
}

.dish-modal-controls .qty-inline {
  padding: 7px;
}

.dish-modal-controls .qty-inline span {
  font-size: 20px;
}

.modal-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.modal-header h2 { margin:0; font-size:28px; line-height:1.05; color:#111827; }
.close {
  width:42px;
  height:42px;
  border:none;
  font-family: inherit;
  border-radius:50%;
  background: rgba(17, 24, 39, 0.06);
  font-size:26px;
  line-height:1;
  cursor:pointer;
  color:#1a2240;
}
.cart-items { margin-top:8px; display:grid; gap:10px; }
.cart-item {
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  animation:fadeIn .2s ease;
}
.cart-item-top { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; }
.cart-item-name { font-weight:800; font-size:18px; line-height:1.25; color:#111a2d; }
.cart-item-top strong { font-size:20px; color:#111a2d; white-space:nowrap; }
.cart-controls {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 10px;
}
.qty-box {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:4px;
  border-radius:999px;
  background: rgba(17, 24, 39, 0.06);
}
.qty-box span {
  flex: 1 1 auto;
  min-width:28px;
  text-align:center;
  font-size:16px;
  font-weight:800;
  color:#1a2240;
}
.qty-btn {
  width:36px;
  height:36px;
  border:none;
  font-family: inherit;
  border-radius:50%;
  background:#ffffff;
  color:#1d2640;
  cursor:pointer;
  font-size:20px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
}

.qty-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.remove-btn {
  min-height: 44px;
  min-width: 108px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(224, 54, 59, .20);
  background: rgba(255, 255, 255, 0.72);
  color: #b12a2f;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
}

.utensils-block,
.delivery-block,
.promo-block,
.totals-box {
  margin-top:14px;
  padding:16px;
  border:1px solid rgba(17, 24, 39, 0.08);
  border-radius:18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.utensils-block-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.delivery-block-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.utensils-label {
  color: #3f4c70;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.delivery-label {
  color: #3f4c70;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.utensils-amount {
  color: #111a2d;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.delivery-amount {
  color: #111a2d;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.utensils-controls {
  margin-top: 12px;
}

.qty-box--wide {
  min-height: 48px;
  border-radius: 18px;
  padding: 6px;
}

.qty-box--wide .qty-btn {
  width: 40px;
  height: 40px;
}

.qty-box--wide span {
  font-size: 18px;
}

.promo-block {
  overflow: hidden;
  max-height: 132px;
  transition:
    max-height .38s cubic-bezier(.22, 1, .36, 1),
    border-color .28s ease,
    box-shadow .28s ease,
    background .28s ease;
}

.promo-block.is-expanded,
.promo-block.has-hint {
  max-height: 198px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.promo-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.promo-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  color: #3f4c70;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: left;
  text-transform: uppercase;
  transition:
    justify-content .28s ease,
    text-align .28s ease,
    min-height .28s ease;
}

.promo-label-compact,
.promo-label-full {
  display: block;
  width: 100%;
  transition:
    opacity .24s ease,
    transform .24s ease;
}

.promo-label-compact {
  opacity: 1;
  transform: translateY(0);
}

.promo-label-full {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  position: absolute;
}

.promo-block.is-expanded .promo-shell,
.promo-block.has-hint .promo-shell {
  gap: 10px;
}

.promo-block.is-expanded .promo-label,
.promo-block.has-hint .promo-label {
  min-height: 22px;
  justify-content: flex-start;
  text-align: left;
}

.promo-block.is-expanded .promo-label-compact,
.promo-block.has-hint .promo-label-compact {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  position: absolute;
}

.promo-block.is-expanded .promo-label-full,
.promo-block.has-hint .promo-label-full {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  position: static;
}

.promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-height: 64px;
  opacity: 1;
  margin-top: 6px;
  overflow: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition:
    max-height .28s ease,
    opacity .22s ease,
    transform .28s ease,
    margin-top .28s ease;
}

.promo-row input { flex:1; padding:13px 14px; border:1px solid rgba(17, 24, 39, 0.10); border-radius:14px; font-size:16px; background:#fff; }
.promo-row button {
  flex: 0 0 auto;
  border:none;
  background:#111a2d;
  color:#fff;
  font-family: inherit;
  padding:13px 18px;
  border-radius:999px;
  cursor:pointer;
  font-size:15px;
  font-weight:800;
  white-space: nowrap;
}

.promo-block.is-expanded .promo-row,
.promo-block.has-hint .promo-row {
  max-height: 64px;
  opacity: 1;
  margin-top: 2px;
  overflow: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.promo-hint {
  margin:0;
  max-height:0;
  opacity:0;
  overflow:hidden;
  transform: translateY(-6px);
  font-size:13px;
  color:#5d6885;
  transition:
    max-height .24s ease,
    opacity .24s ease,
    margin-top .24s ease,
    transform .24s ease;
}

.promo-block.is-expanded .promo-hint,
.promo-block.has-hint .promo-hint {
  margin-top:8px;
  max-height:48px;
  opacity:1;
  transform: translateY(0);
}

.totals-row { display:flex; justify-content:space-between; margin-bottom:8px; font-size:16px; color:#24304d; }
.totals-row.is-hidden { display:none; }
.cart-total-row {
  margin-top:0;
  padding-top:0;
  border-top:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
}
.cart-total-label { display:block; width:100%; text-align:center; font-size:15px; font-weight:800; text-transform:uppercase; letter-spacing:0.04em; color:#4b5563; }
.cart-total-value { display:block; width:100%; text-align:center; font-size:32px; line-height:1; font-weight:900; color:#0f172d; }

.order-form { margin-top:14px; display:grid; gap:12px; }
.order-form h3 { margin:6px 0 0; font-size:26px; line-height:1.1; color:#111a2d; }
.order-form input,
.order-form textarea {
  width:100%;
  padding:15px 16px;
  border:1px solid rgba(17, 24, 39, 0.10);
  border-radius:16px;
  font-size:16px;
  font-family:inherit;
  background: rgba(255, 255, 255, 0.92);
  color:#111a2d;
}

.order-form textarea { min-height:100px; resize:vertical; }

.order-consent {
  margin: -2px 2px 0;
  color: rgba(63, 76, 112, 0.68);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.order-consent a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.btn-order {
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: linear-gradient(135deg, #21a246, #1d8d3d);
  color: #fff;
  font-family: inherit;
  padding: 14px 18px;
  min-height: 58px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 22px rgba(27, 136, 53, .26);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: 100%;
  justify-self: stretch;
}

.btn-order:disabled,
.btn-order.is-disabled {
  border-color: rgba(145, 155, 170, .22);
  background: linear-gradient(135deg, #b8c1cc, #9ea8b5);
  color: rgba(255,255,255,.96);
  box-shadow: none;
  cursor: not-allowed;
}

.payment-note {
  border: 1px solid rgba(224, 54, 59, .14);
  background: linear-gradient(135deg, rgba(255, 245, 245, 0.98), rgba(245, 236, 237, 0.98));
  color: #6a2327;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 8px 18px rgba(224, 54, 59, .05);
}

.order-availability-note {
  border: 1px solid rgba(74, 94, 124, .12);
  background: rgba(236, 240, 245, 0.96);
  color: #445066;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.35;
}

.order-availability-note[hidden] {
  display: none !important;
}

.wa-icon { width:26px; height:26px; display:inline-flex; flex: 0 0 26px; }
.wa-icon svg { width:100%; height:100%; display:block; }

.privacy-modal-content {
  max-width: 760px;
}

.privacy-policy-shell {
  max-height: min(72dvh, 720px);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
  -webkit-overflow-scrolling: touch;
}

.privacy-policy-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 18px 22px;
}

.privacy-policy-meta {
  margin: 0 0 18px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.privacy-policy-section + .privacy-policy-section {
  margin-top: 18px;
}

.privacy-policy-section h3 {
  margin: 0 0 8px;
  color: #111a2d;
  font-size: 18px;
  line-height: 1.25;
}

.privacy-policy-section p {
  margin: 0;
  color: #24304d;
  font-size: 15px;
  line-height: 1.62;
}

.thanks-modal { display:none; position:fixed; inset:0; z-index:70; background:rgba(8,12,24,.4); padding:calc(16px + var(--safe-top-offset)) 16px 16px; }
.thanks-modal.show { display:grid; place-items:center; animation:fadeIn .2s ease; }
.thanks-card {
  width:100%;
  max-width:420px;
  overscroll-behavior: contain;
  background: rgba(255,255,255,.96);
  border:1px solid rgba(17, 24, 39, 0.08);
  border-radius:24px;
  padding:24px;
  text-align:center;
  box-shadow:0 24px 50px rgba(15, 23, 42, .14);
}

.thanks-card h3 { margin:0; font-size:24px; }
.thanks-card p { margin:10px 0 0; color:#555f7a; }
.thanks-actions {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.thanks-actions .review-link {
  min-height: 62px;
}

.thanks-card button {
  width: 100%;
  margin-top: 0;
  border: none;
  background: linear-gradient(135deg,var(--accent),var(--accent-2));
  color: #fff;
  border-radius: 10px;
  padding: 11px 16px;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
}

.order-confirm-content {
  max-width: 560px;
}

.order-confirm-text,
.order-confirm-question {
  margin: 0;
  color: #555f7a;
  font-size: 16px;
  line-height: 1.45;
}

.order-confirm-summary {
  margin-top: 16px;
}

.order-confirm-list-title {
  margin: 0 0 10px;
  color: #3f4c70;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.order-confirm-items {
  max-height: min(36dvh, 320px);
  overflow: auto;
  padding-right: 4px;
}

.order-confirm-items .cart-controls {
  margin-top: 8px;
  display: flex;
  justify-content: flex-end;
  grid-template-columns: none;
}

.order-confirm-items .cart-controls span {
  color: #5d6885;
  font-size: 14px;
  font-weight: 700;
}

.order-confirm-totals {
  margin-top: 14px;
}

.order-confirm-question {
  margin-top: 16px;
  font-weight: 700;
  color: #1f2a40;
}

.order-confirm-actions {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.order-confirm-primary,
.order-confirm-secondary {
  min-height: 52px;
  border-radius: 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.order-confirm-primary {
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 22px rgba(224, 54, 59, .18);
}

.order-confirm-secondary {
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: rgba(255, 255, 255, 0.92);
  color: #1d2640;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

@media (min-width:700px) and (max-width:860px) {
  .menu-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
  }
  .food-card {
    min-height: 430px;
    padding: 12px;
  }
  .food-image,
  .food-image-placeholder {
    height: 220px;
    margin-bottom: 10px;
  }
  .food-topline {
    margin-bottom: 6px;
  }
  .food-title {
    font-size: 16px;
    line-height: 1.08;
    min-height: 50px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .food-details {
    margin-top: 2px;
    min-height: 70px;
    gap: 2px;
  }
  .food-category,
  .food-meta {
    font-size: 14px;
    line-height: 1.18;
  }
  .food-description {
    font-size: 13px;
    line-height: 1.22;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .food-footer {
    padding-top: 12px;
    justify-content: flex-start;
  }
  .item-controls {
    width: auto;
    min-height: 40px;
    max-width: 208px;
    align-self: flex-start;
  }
  .btn-add,
  .qty-inline {
    min-height: 40px;
  }
  .btn-add {
    width: auto;
    min-width: 208px;
    padding: 3px 4px 3px 12px;
    font-size: 14px;
    gap: 6px;
  }
  .btn-add-label {
    font-size: 14px;
    line-height: 1;
  }
  .btn-add::after,
  .qty-inline button {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 20px;
  }
  .qty-inline {
    width: 208px;
    padding: 4px;
  }
  .qty-inline span {
    font-size: 15px;
  }
  .dish-modal-body {
    padding: 28px 30px 30px;
  }
}

@media (max-width:860px) {
  .food-card {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }
  .status-card--menu-error {
    width: 100%;
    padding: 22px 16px 24px;
    border-radius: 24px;
  }
  .status-card-menu-error-shell {
    justify-items: center;
    text-align: center;
    max-width: 100%;
    gap: 12px;
  }
  .status-card-badge-row {
    justify-content: center;
  }
  .status-card-title {
    font-size: 22px;
    line-height: 1.12;
  }
  .status-card-copy {
    font-size: 15px;
    line-height: 1.52;
  }
  .status-retry-btn {
    width: 100%;
    min-height: 56px;
  }
  body.search-input-active .menu-dock {
    position: fixed;
    top: var(--logo-bar-height);
    left: 0;
    right: 0;
    z-index: 45;
  }
  body.search-input-active main.container {
    padding-top: calc(14px + var(--menu-dock-height));
  }
  .hero-band {
    max-height: 560px;
  }
  .hero-banner {
    padding: 20px 20px 50px;
    gap: 14px;
  }
  .hero-banner-title {
    font-size: clamp(22px, 3.2vw, 30px);
  }
  .hero-banner-text {
    font-size: 14px;
    line-height: 1.42;
  }
  .hero-banner--ios .hero-banner-kicker,
  .hero-banner--ios .hero-banner-title,
  .hero-banner--ios .hero-banner-text,
  .hero-banner--ios .hero-banner-note {
    max-width: none;
  }
  .hero-banner--ios .hero-banner-content {
    padding-right: 154px;
  }
  .hero-banner-classic-badge {
    min-height: 32px;
    padding: 7px 12px;
    font-size: 12px;
  }
  .hero-banner--ios .hero-banner-steps {
    gap: 10px;
  }
  .hero-banner--ios .hero-banner-step {
    min-height: 92px;
    padding: 14px 12px;
    border-radius: 16px;
    gap: 8px;
  }
  .hero-banner--ios .hero-banner-step-text {
    font-size: 13px;
  }
  .hero-banner-note {
    font-size: 11px;
  }
  .hero-banner--ios .hero-banner-art {
    width: 136px;
    right: 10px;
    bottom: 14px;
    top: auto;
    height: 150px;
  }
  .hero-banner-device {
    width: 130px;
    right: 0;
    bottom: 0;
  }
  .hero-banner-device-screen {
    min-height: 136px;
  }
  .hero-banner-device-card {
    height: 46px;
  }
}

@media (max-width:700px) {
  .brand-logo { height: 48px; }
  .settings-toggle {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
  .settings-popover {
    width: min(300px, calc(100vw - 20px));
    top: calc(100% + 10px);
  }
  .settings-popover-inner {
    padding: 16px;
    border-radius: 20px;
  }
  .settings-popover-title {
    font-size: 20px;
  }
  .settings-theme-title {
    font-size: 20px;
  }
  .settings-language-btn {
    min-height: 42px;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 13px;
  }
  .settings-theme-list {
    grid-template-columns: 1fr;
  }
  .settings-theme-btn {
    min-height: 42px;
    border-radius: 14px;
    font-size: 13px;
  }
  .hero-band {
    max-height: 420px;
  }
  .hero-banner {
    padding: 16px 14px 44px;
    gap: 10px;
  }
  .hero-banner--ios .hero-banner-kicker,
  .hero-banner--classic .hero-banner-kicker {
    display: none;
  }
  .hero-banner-kicker {
    font-size: 9px;
  }
  .hero-banner-title {
    margin: 6px 0 7px;
    font-size: 18px;
    line-height: 1.06;
  }
  .hero-banner-text {
    font-size: 12px;
    line-height: 1.34;
  }
  .hero-banner--ios .hero-banner-title,
  .hero-banner--ios .hero-banner-text {
    max-width: none;
  }
  .hero-banner--ios .hero-banner-content {
    padding-right: 104px;
  }
  .hero-banner-classic-badges {
    gap: 6px;
  }
  .hero-banner-classic-badge {
    min-height: 28px;
    padding: 6px 10px;
    font-size: 11px;
  }
  .hero-banner-steps {
    margin-top: 12px;
    gap: 8px;
  }
  .hero-banner--ios .hero-banner-step {
    min-height: 72px;
    padding: 10px 9px;
    border-radius: 14px;
    gap: 7px;
  }
  .hero-banner-step-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }
  .hero-banner--ios .hero-banner-step-text {
    font-size: 11px;
    line-height: 1.25;
  }
  .hero-banner--ios .hero-banner-note {
    display: none;
  }
  .hero-banner-art {
    min-height: 0;
  }
  .hero-banner--ios .hero-banner-art {
    width: 90px;
    right: 10px;
    bottom: 12px;
    top: auto;
    height: 108px;
  }
  .hero-banner-device {
    width: 88px;
    padding: 6px;
    border-radius: 22px;
    right: 0;
    bottom: 0;
  }
  .hero-banner-device-notch {
    width: 42px;
    height: 9px;
    margin-bottom: 6px;
  }
  .hero-banner-device-screen {
    min-height: 102px;
    padding: 8px;
    border-radius: 18px;
  }
  .hero-banner-device-card {
    height: 34px;
  }
  .hero-banner-device-row {
    height: 7px;
  }
  .hero-banner-device-pill {
    width: 32px;
    height: 16px;
  }
  .hero-banner-dots {
    bottom: 10px;
    gap: 7px;
    padding: 7px 10px;
  }
  .hero-banner-dot {
    width: 7px;
    height: 7px;
  }
  .hero-banner-dot.is-active {
    width: 18px;
  }
  .search-wrap { margin-top: 10px; }
  body.search-input-active .menu-dock .container {
    padding-bottom: 10px;
  }
  .hero-band.is-hidden + .menu-dock .container {
    padding-top: 0;
  }
  .menu-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 96px;
  }
  .food-card {
    padding: 9px 9px 10px;
    border-radius: 15px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.055);
  }
  .food-image,
  .food-image-placeholder {
    height: 116px;
    border-radius: 11px;
    margin-bottom: 7px;
  }
  .food-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.14;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .food-topline {
    margin-bottom: 3px;
    gap: 5px;
  }
  .food-category,
  .food-meta {
    font-size: 11px;
    line-height: 1.14;
  }
  .food-weight {
    font-size: 12px;
    font-weight: 650;
  }
  .food-meta { margin-top: 0; }
  .food-description {
    margin-top: 0;
    font-size: 11px;
    line-height: 1.16;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .food-details {
    margin-top: 1px;
    gap: 0;
  }
  .food-footer {
    padding-top: 8px;
    display: block;
  }
  .food-price {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
  }
  .item-controls {
    width: 100%;
    min-width: 0;
    min-height: 38px;
  }
  .btn-add,
  .qty-inline {
    min-height: 38px;
  }
  .btn-add {
    padding: 3px 3px 3px 10px;
    font-size: 12px;
    gap: 4px;
    box-shadow: 0 10px 18px rgba(224, 54, 59, 0.18);
  }
  .btn-add-main {
    min-width: 0;
    display: inline-flex;
    align-items: center;
  }
  .btn-add-label {
    font-size: 12px;
    line-height: 1;
    opacity: 1;
    font-family: inherit;
    font-weight: 750;
    letter-spacing: -0.01em;
  }
  .btn-add::after,
  .qty-inline button {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 20px;
  }
  .qty-inline {
    padding: 3px;
    gap: 3px;
    width: 100%;
    min-width: 0;
    background: rgba(17, 24, 39, 0.07);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }
  .qty-inline span {
    min-width: 20px;
    font-size: 13px;
  }
  .cart-button {
    min-width: 124px;
    min-height: 46px;
    padding: 6px 8px;
    gap: 7px;
    font-size: 14px;
  }
  .cart-count { min-width:28px; height:28px; font-size:12px; padding:0 8px; }
  .to-top { width:46px; height:46px; }
  .modal {
    padding:0;
    align-items:flex-end;
  }
  .dish-modal {
    padding: 0;
  }
  .dish-modal,
  .dish-modal.show,
  .dish-modal.is-closing {
    align-items:flex-end;
  }
  .dish-modal-shell {
    width: 100%;
    max-height: 92dvh;
    grid-template-rows: minmax(280px, 38vh) minmax(0, 1fr);
    border-radius: 22px 22px 0 0;
  }
  .dish-modal-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }
  .dish-modal-nav {
    display: none;
  }
  .dish-modal-dots {
    bottom: 14px;
    gap: 9px;
    padding: 6px 10px;
  }
  .dish-modal-body {
    padding: 18px 16px calc(20px + env(safe-area-inset-bottom));
    gap: 14px;
  }
  .dish-modal-price {
    font-size: 28px;
  }
  .dish-modal-weight {
    font-size: 15px;
  }
  .dish-modal-title {
    font-size: 28px;
    line-height: 1.04;
  }
  .dish-modal-tag {
    min-height: 32px;
    padding: 7px 12px;
    font-size: 12px;
  }
  .dish-modal-copy {
    padding: 14px;
    border-radius: 18px;
  }
  .dish-modal-description {
    font-size: 15px;
    line-height: 1.42;
  }
  .dish-modal-footer {
    padding-top: 8px;
  }
  .dish-modal-controls {
    max-width: none;
  }
  .dish-modal-controls .item-controls {
    min-height: 54px;
  }
  .dish-modal-controls .btn-add,
  .dish-modal-controls .qty-inline {
    min-height: 54px;
  }
  .dish-modal-controls .btn-add {
    justify-content: center;
    padding: 6px 16px;
    font-size: 16px;
  }
  .dish-modal-controls .btn-add-main {
    width: 100%;
    justify-content: center;
  }
  .dish-modal-controls .btn-add-label {
    font-size: 16px;
  }
  .dish-modal-controls .qty-inline button {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 24px;
  }
  .dish-modal-controls .qty-inline span {
    font-size: 17px;
  }
  .modal-content {
    max-width:none;
    width:100%;
    max-height:92dvh;
    border-radius:22px 22px 0 0;
    padding:16px;
    padding-bottom:calc(22px + env(safe-area-inset-bottom));
  }
  .modal-header h2 { font-size:24px; }
  .cart-item-name { font-size:17px; }
  .cart-item-top strong { font-size:16px; }
  .cart-controls { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .cart-total-value { font-size:28px; }
  .utensils-amount { font-size:17px; }
  .qty-box--wide { min-height: 44px; }
  .qty-box--wide .qty-btn { width: 36px; height: 36px; }
  .qty-box--wide span { font-size: 16px; }
  .remove-btn { min-width: 96px; padding: 10px 12px; font-size: 13px; }
  .promo-block { max-height: 132px; }
  .promo-shell { gap: 0; }
  .promo-label { min-height: 42px; font-size: 13px; }
  .promo-block.is-expanded,
  .promo-block.has-hint {
    max-height: 232px;
  }
  .promo-block.is-expanded .promo-row,
  .promo-block.has-hint .promo-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    max-height: 128px;
  }
  .promo-block.is-expanded .promo-row button,
  .promo-block.has-hint .promo-row button {
    width: 100%;
  }
  .order-form h3 { font-size:23px; }
  .order-consent {
    font-size: 9px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .privacy-policy-shell { max-height: min(68dvh, 640px); }
  .privacy-policy-content { padding: 18px 16px 20px; }
  .privacy-policy-meta { font-size: 13px; }
  .privacy-policy-section h3 { font-size: 17px; }
  .privacy-policy-section p { font-size: 14px; line-height: 1.58; }
  .btn-order { min-height:54px; }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .footer-link,
  .review-link {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
  .footer-link {
    width: fit-content;
    text-align: center;
  }
  .site-footer { padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
}

@keyframes cardIn { to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes slideUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@keyframes iosSpin { to { transform:rotate(360deg); } }
@keyframes skeletonPulse {
  0% { background-position: 100% 50%; opacity: .72; }
  50% { opacity: 1; }
  100% { background-position: 0% 50%; opacity: .72; }
}
@keyframes controlsMorphIn {
  from {
    opacity: 0;
    transform: scale(.92);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.food-card .item-controls {
  width: 100%;
  max-width: 172px;
  align-self: flex-start;
}

.hero-banner--skeleton {
  display: block;
  padding: 0;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(233, 238, 244, 0.94) 0%, rgba(245, 247, 251, 0.98) 50%, rgba(233, 238, 244, 0.94) 100%);
  background-size: 220% 100%;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 20px;
  animation: skeletonPulse 1.1s ease-in-out infinite;
}

.hero-banner--skeleton::before,
.hero-banner--skeleton::after {
  content: none;
}

.food-card .btn-add,
.food-card .qty-inline {
  width: 100%;
  min-width: 0;
}

.food-card .btn-add {
  justify-content: center;
  padding: 0 16px;
  border-color: rgba(224, 54, 59, 0.68);
  background: rgba(224, 54, 59, 0.04);
  color: #111827;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.58),
    0 10px 20px rgba(224, 54, 59, 0.08);
}

.food-card .btn-add::after {
  content: none;
}

.food-card .btn-add:hover {
  background: rgba(224, 54, 59, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.62),
    0 12px 22px rgba(224, 54, 59, 0.12);
}

.food-card .qty-inline {
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(224, 54, 59, 0.68);
  background: rgba(224, 54, 59, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.58),
    0 10px 20px rgba(224, 54, 59, 0.08);
}

.food-card .qty-inline button {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(224, 54, 59, 0.24);
  color: var(--accent);
  box-shadow: none;
}

.food-card .qty-inline span {
  color: #111827;
}

html[data-theme="dark"] body {
  background: #0b1118;
  color: #edf3ff;
}

html[data-theme="dark"] .header,
html[data-theme="dark"] .hero-band,
html[data-theme="dark"] .menu-dock {
  background: rgba(25, 34, 47, 0.86);
  backdrop-filter: blur(34px) saturate(1.2);
  -webkit-backdrop-filter: blur(34px) saturate(1.2);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.01);
}

html[data-theme="dark"] .header::before,
html[data-theme="dark"] .menu-dock::before {
  opacity: 0.08;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 0.6px, transparent 0.6px),
    radial-gradient(rgba(95, 115, 150, 0.14) 0.5px, transparent 0.5px);
}

html[data-theme="dark"] .hero {
  background:
    linear-gradient(135deg, rgba(57, 70, 91, 0.96), rgba(40, 52, 71, 0.94));
  border-color: rgba(255,255,255,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 20px 44px rgba(0,0,0,.30);
}

html[data-theme="dark"] .hero::after {
  opacity: 0.04;
  filter: invert(1) brightness(1.2) saturate(0.52);
  mix-blend-mode: screen;
}

html[data-theme="dark"] .hero.hero--image-mode {
  background: none;
  border-color: transparent;
  box-shadow: none;
}

html[data-theme="dark"] .hero.hero--image-mode::after {
  display: none;
}

html[data-theme="dark"] .hero-subtitle {
  color: #b4c0d8;
}

html[data-theme="dark"] .hero-badge {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  color: #f0f4ff;
}

html[data-theme="dark"] .hero-banner-dots {
  background: rgba(7, 14, 24, .28);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .dish-modal-dots {
  background: rgba(7, 14, 24, .28);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .dish-modal-dot {
  background: rgba(255,255,255,.38);
}

html[data-theme="dark"] .dish-modal-dot.is-active {
  background: rgba(255,255,255,.98);
}

html[data-theme="dark"] .hero-banner--skeleton {
  background: linear-gradient(90deg, rgba(22, 30, 42, 0.96) 0%, rgba(33, 43, 58, 0.98) 50%, rgba(22, 30, 42, 0.96) 100%);
  background-size: 220% 100%;
  border-color: rgba(255,255,255,.08);
}

html[data-theme="dark"] .hero-banner-dot {
  background: rgba(255,255,255,.38);
}

html[data-theme="dark"] .hero-banner-dot.is-active {
  background: rgba(255,255,255,.98);
}

@media (min-width:861px) {
  html[data-theme="dark"] .hero {
    background: none;
    border: none;
    box-shadow: none;
  }
  html[data-theme="dark"] .hero::after {
    display: none;
  }
}

html[data-theme="dark"] .status-card {
  border-color: rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(16, 23, 34, .96), rgba(11, 17, 24, .98));
  box-shadow: 0 20px 40px rgba(0, 0, 0, .22);
}

html[data-theme="dark"] .status-card--menu-error {
  background:
    linear-gradient(135deg, rgba(43, 21, 25, 0.96), rgba(29, 18, 23, 0.98)),
    linear-gradient(180deg, rgba(16, 23, 34, .96), rgba(11, 17, 24, .98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 18px 34px rgba(0, 0, 0, .24);
}

html[data-theme="dark"] .status-card-icon {
  background: linear-gradient(135deg, rgba(224, 54, 59, 0.22), rgba(224, 54, 59, 0.10));
  color: #ff7b82;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

html[data-theme="dark"] .status-card-title {
  color: #f3f7ff;
}

html[data-theme="dark"] .status-card-badge {
  background: rgba(224, 54, 59, 0.18);
  color: #ffb4b7;
}

html[data-theme="dark"] .status-card-copy {
  color: #dce6f8;
}

html[data-theme="dark"] .status-card-hint {
  color: #95a3bf;
}

html[data-theme="dark"] .status-retry-btn {
  box-shadow: 0 18px 34px rgba(224, 54, 59, .18);
}

html[data-theme="dark"] .settings-toggle {
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.08);
  color: #eef4ff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .settings-popover-inner {
  border-color: rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(18, 24, 36, 0.98), rgba(12, 17, 27, 0.98));
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .settings-popover-kicker {
  color: #8c99b6;
}

html[data-theme="dark"] .settings-popover-title,
html[data-theme="dark"] .settings-theme-title {
  color: #f2f6ff;
}

html[data-theme="dark"] .settings-popover-text,
html[data-theme="dark"] .settings-theme-text {
  color: #a5b1ca;
}

html[data-theme="dark"] .settings-version {
  color: rgba(165, 177, 202, 0.68);
}

html[data-theme="dark"] .settings-divider {
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.12), rgba(255,255,255,0));
}

html[data-theme="dark"] .settings-language-btn,
html[data-theme="dark"] .settings-theme-btn {
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.06);
  color: #e9effd;
}

html[data-theme="dark"] .settings-language-btn:hover,
html[data-theme="dark"] .settings-theme-btn:hover {
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .settings-language-btn.is-active,
html[data-theme="dark"] .settings-theme-btn.is-active {
  background: linear-gradient(135deg, rgba(103, 119, 147, 0.34), rgba(67, 81, 106, 0.42));
  border-color: rgba(181, 196, 222, 0.24);
  color: #f7faff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    0 14px 28px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .settings-language-btn.is-active::before,
html[data-theme="dark"] .settings-theme-btn.is-active::before {
  content: none;
}

html[data-theme="dark"] .settings-language-btn.is-active::after,
html[data-theme="dark"] .settings-theme-btn.is-active::after {
  content: none;
}

html[data-theme="dark"] .search-wrap {
  border-color: rgba(255,255,255,.12);
  background: rgba(36, 47, 64, 0.74);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

html[data-theme="dark"] .search-wrap:focus-within,
html[data-theme="dark"] .search-wrap.search-focused {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 14px 30px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .search-icon,
html[data-theme="dark"] .search-clear {
  color: #95a1bc;
}

html[data-theme="dark"] .search-clear {
  background: rgba(255,255,255,.08);
}

html[data-theme="dark"] .search-input::placeholder {
  color: #8a97b4;
}

html[data-theme="dark"] .search-input {
  color: #f1f5ff;
}

html[data-theme="dark"] .category-btn {
  border-color: rgba(255,255,255,.12);
  background: rgba(36, 47, 64, 0.72);
  color: #ecf2ff;
}

html[data-theme="dark"] .food-card .btn-add {
  border-color: rgba(239, 109, 114, 0.68);
  background: rgba(224, 54, 59, 0.08);
  color: #f7faff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 12px 22px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .food-card .btn-add::after {
  content: none;
}

html[data-theme="dark"] .food-card .btn-add:hover {
  background: rgba(224, 54, 59, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 14px 24px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .food-card .qty-inline {
  border-color: rgba(239, 109, 114, 0.68);
  background: rgba(224, 54, 59, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.05),
    0 12px 22px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .food-card .qty-inline button {
  background: rgba(255,255,255,.08);
  border-color: rgba(239, 109, 114, 0.30);
  color: #f7faff;
}

html[data-theme="dark"] .food-card .qty-inline span {
  color: #f7faff;
}

html[data-theme="dark"] .category-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: rgba(255,255,255,.16);
  color: #fff;
}

html[data-theme="dark"] .category-skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.16) 50%, rgba(255,255,255,0.08) 100%);
  border-color: rgba(255,255,255,0.08);
}

html[data-theme="dark"] .ios-loader {
  border-color: rgba(255,255,255,.12);
  border-top-color: #edf3ff;
}

html[data-theme="dark"] .status {
  color: #99a6c2;
}

html[data-theme="dark"] .food-card {
  border-color: rgba(255,255,255,.07);
  background: linear-gradient(180deg, #111722 0%, #0d131b 100%);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .food-card:hover {
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .food-image-placeholder {
  background: linear-gradient(135deg, rgba(33, 41, 56, 0.98) 0%, rgba(20, 27, 39, 0.98) 100%);
  border-color: rgba(255,255,255,.06);
  color: #8d9bb8;
}

html[data-theme="dark"] .food-title,
html[data-theme="dark"] .food-price {
  color: #f3f7ff;
}

html[data-theme="dark"] .food-weight,
html[data-theme="dark"] .food-category,
html[data-theme="dark"] .food-meta {
  color: #93a0bc;
}

html[data-theme="dark"] .food-description {
  color: #b2bdd5;
}

html[data-theme="dark"] .qty-inline,
html[data-theme="dark"] .qty-box {
  background: rgba(255,255,255,.08);
}

html[data-theme="dark"] .qty-inline button,
html[data-theme="dark"] .qty-btn {
  background: rgba(255,255,255,.10);
  color: #f5f8ff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .qty-inline span,
html[data-theme="dark"] .qty-box span {
  color: #f1f5ff;
}

html[data-theme="dark"] .site-footer {
  border-top-color: rgba(255,255,255,.08);
  background: rgba(6, 10, 18, .96);
}

html[data-theme="dark"] .footer-link {
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}

html[data-theme="dark"] .cart-button,
html[data-theme="dark"] .to-top,
html[data-theme="dark"] .toast {
  border-color: rgba(255,255,255,.10);
  background: rgba(10, 15, 24, .84);
}

html[data-theme="dark"] .cart-count {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.12);
}

html[data-theme="dark"] .thanks-modal {
  background: rgba(4, 7, 13, .62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

html[data-theme="dark"] .modal.show,
html[data-theme="dark"] .dish-modal.show,
html[data-theme="dark"] .thanks-modal {
  background: rgba(4, 7, 13, .62);
}

html[data-theme="dark"] .modal.show,
html[data-theme="dark"] .modal.is-closing,
html[data-theme="dark"] .dish-modal.show,
html[data-theme="dark"] .dish-modal.is-closing {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html[data-theme="dark"] .modal-content,
html[data-theme="dark"] .dish-modal-shell,
html[data-theme="dark"] .thanks-card {
  border-color: rgba(255,255,255,.08);
  background: linear-gradient(180deg, #131a25 0%, #0d131b 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .dish-modal-shell::before {
  opacity: 0.04;
}

html[data-theme="dark"] .dish-modal-price,
html[data-theme="dark"] .dish-modal-title,
html[data-theme="dark"] .modal-header h2,
html[data-theme="dark"] .cart-item-name,
html[data-theme="dark"] .cart-item-top strong,
html[data-theme="dark"] .utensils-amount,
html[data-theme="dark"] .delivery-amount,
html[data-theme="dark"] .cart-total-value,
html[data-theme="dark"] .order-form h3,
html[data-theme="dark"] .thanks-card h3 {
  color: #f4f8ff;
}

html[data-theme="dark"] .dish-modal-weight,
html[data-theme="dark"] .dish-modal-copy-label,
html[data-theme="dark"] .dish-modal-description.is-empty,
html[data-theme="dark"] .promo-label,
html[data-theme="dark"] .promo-hint,
html[data-theme="dark"] .utensils-label,
html[data-theme="dark"] .delivery-label,
html[data-theme="dark"] .totals-row,
html[data-theme="dark"] .cart-total-label,
html[data-theme="dark"] .order-consent,
html[data-theme="dark"] .thanks-card p {
  color: #96a3bf;
}

html[data-theme="dark"] .dish-modal-tag,
html[data-theme="dark"] .close,
html[data-theme="dark"] .cart-item,
html[data-theme="dark"] .utensils-block,
html[data-theme="dark"] .delivery-block,
html[data-theme="dark"] .promo-block,
html[data-theme="dark"] .totals-box,
html[data-theme="dark"] .privacy-policy-shell,
html[data-theme="dark"] .dish-modal-copy {
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: #eef3ff;
}

html[data-theme="dark"] .privacy-policy-meta {
  color: #96a3bf;
}

html[data-theme="dark"] .privacy-policy-section h3 {
  color: #f4f8ff;
}

html[data-theme="dark"] .privacy-policy-section p {
  color: #d5dded;
}

html[data-theme="dark"] .dish-modal-footer {
  background: linear-gradient(180deg, rgba(13, 19, 27, 0) 0%, rgba(13, 19, 27, 0.96) 34%);
}

html[data-theme="dark"] .dish-modal-description {
  color: #d5dded;
}

html[data-theme="dark"] .promo-row input,
html[data-theme="dark"] .order-form input,
html[data-theme="dark"] .order-form textarea {
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
  color: #f0f5ff;
}

html[data-theme="dark"] .promo-row input::placeholder,
html[data-theme="dark"] .order-form input::placeholder,
html[data-theme="dark"] .order-form textarea::placeholder {
  color: #8390ac;
}

html[data-theme="dark"] .promo-row button {
  background: rgba(255,255,255,.10);
  color: #f5f8ff;
}

html[data-theme="dark"] .remove-btn {
  border-color: rgba(224, 54, 59, .24);
  background: rgba(224, 54, 59, .12);
  color: #ffb7bb;
}

html[data-theme="dark"] .payment-note {
  border-color: rgba(224, 54, 59, .20);
  background: linear-gradient(135deg, rgba(84, 18, 24, 0.84), rgba(48, 13, 18, 0.88));
  color: #ffd7d9;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

html[data-theme="dark"] .schedule-status-banner {
  border-color: rgba(255, 154, 160, .18);
  background: linear-gradient(135deg, rgba(70, 23, 28, 0.92), rgba(52, 18, 22, 0.96));
  color: #ffd5d8;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

html[data-theme="dark"] .schedule-status-icon {
  background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .btn-order:disabled,
html[data-theme="dark"] .btn-order.is-disabled {
  border-color: rgba(255,255,255,.08);
  background: linear-gradient(135deg, #465261, #394351);
  color: rgba(236, 242, 255, .94);
}

html[data-theme="dark"] .order-availability-note {
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.05);
  color: #b5c1d8;
}

body.menu-loading .menu-grid {
  min-height: 46vh;
  align-content: center;
}

body.menu-loading .site-footer,
body.menu-loading .to-top {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.menu-rendering .header,
body.menu-rendering .hero-band,
body.menu-rendering .menu-dock,
body.menu-rendering .search-wrap,
body.menu-rendering .cart-button,
body.menu-rendering .to-top {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.menu-rendering .food-card {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

@media (min-width:861px) {
  .hero-band {
    max-height: 420px;
  }
  .hero-band .container {
    padding-bottom: 14px;
  }
  .hero {
    width: 100%;
    margin: 0;
    aspect-ratio: auto;
    border: none;
    background: none;
    box-shadow: none;
    overflow: visible;
  }
  .hero::after {
    display: none;
  }
  .hero-carousel {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .hero-carousel::-webkit-scrollbar {
    display: none;
  }
  .hero-banner-track {
    display: flex;
    width: max-content;
    min-width: 100%;
    height: auto;
    gap: 14px;
    padding: 0 0 6px;
  }
  .hero-banner-slide {
    flex: 0 0 clamp(300px, 27vw, 324px);
    min-width: clamp(300px, 27vw, 324px);
    height: auto;
  }
  .hero-banner {
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    padding: 18px 18px 22px;
    gap: 12px;
  }
  .hero-banner-title {
    font-size: clamp(20px, 1.7vw, 24px);
  }
  .hero-banner-text {
    font-size: 13px;
    line-height: 1.42;
  }
  .hero-banner-classic-badges {
    gap: 8px;
  }
  .hero-banner-classic-badge {
    min-height: 32px;
    padding: 7px 12px;
    font-size: 12px;
  }
  .hero-banner-steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero-banner-step {
    min-height: 0;
    padding: 12px 10px;
    gap: 8px;
  }
  .hero-banner-step-icon {
    width: 32px;
    height: 32px;
  }
  .hero-banner-step-text {
    font-size: 12px;
  }
  .hero-banner--ios .hero-banner-content {
    padding-right: 0;
  }
  .hero-banner--ios .hero-banner-art {
    display: none;
  }
  .hero-banner-dots {
    display: none;
  }
  .menu-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
  .food-image,
  .food-image-placeholder {
    height: clamp(168px, 14vw, 190px);
  }
  .food-card .item-controls {
    max-width: none;
  }
}
