:root {
  color-scheme: light;
  --bg: #0a0a0a;
  --surface: #121214;
  --surface-2: #1a1a1f;
  --text: #f6f6f6;
  --muted: #b0b0b0;
  --accent: #ff9c00;
  --accent-2: #ff6a00;
  --accent-soft: rgba(255, 122, 0, 0.2);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at top, #2b2218 0%, #0a0a0a 60%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 56px 0 72px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* ── Topbar ── */

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--muted);
}

.topbar-brand {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-right: auto;
}

.topbar-location {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-weight: 600;
}

.topbar-link {
  padding: 6px 14px;
  border: 1px solid rgba(255, 156, 0, 0.3);
  border-radius: 999px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.topbar-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.topbar-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #101010;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar-call:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 156, 0, 0.4);
}

.map-section .map-cta {
  margin-top: 16px;
}

.lang-switcher {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border-radius: 999px;
  padding: 3px;
  border: 1px solid var(--border);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-family: inherit;
}

.lang-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.lang-btn--active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #101010;
}

.lang-btn--active:hover {
  color: #101010;
}

/* ── Animations ── */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 156, 0, 0.15); }
  50%      { box-shadow: 0 0 35px rgba(255, 156, 0, 0.35); }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(255, 156, 0, 0.2); }
  50%      { border-color: rgba(255, 156, 0, 0.5); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* hero entrance cascade */
.hero-text > * {
  opacity: 0;
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-text > :nth-child(1) { animation-delay: 0.1s; }
.hero-text > :nth-child(2) { animation-delay: 0.25s; }
.hero-text > :nth-child(3) { animation-delay: 0.4s; }
.hero-text > :nth-child(4) { animation-delay: 0.55s; }

.hero-media {
  opacity: 0;
  animation: slideInRight 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

/* ── Hero ── */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border-radius: 32px;
  padding: 40px;
  border: 1px solid rgba(255, 156, 0, 0.2);
  box-shadow: var(--shadow);
  animation: borderGlow 4s ease-in-out infinite;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 33px;
  background: radial-gradient(ellipse at 30% 0%, rgba(255, 156, 0, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-image {
  background: radial-gradient(circle at top, rgba(255, 156, 0, 0.2), rgba(18, 18, 20, 0.2));
  border-radius: 28px;
  padding: 14px;
  border: 1px solid rgba(255, 156, 0, 0.3);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.hero-image:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.hero-photo {
  width: 100%;
  height: 100%;
  max-height: 360px;
  border-radius: 22px;
  object-fit: cover;
  display: block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.hero-text h1 {
  font-size: 56px;
  letter-spacing: 0.02em;
}

.subtitle {
  font-size: 22px;
  color: var(--muted);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 8px 0 12px;
}

.brand-info h1 {
  margin-bottom: 4px;
}

.logo-badge {
  width: 120px;
  height: 120px;
  min-width: 120px;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
  display: grid;
  place-items: center;
  overflow: visible;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 10px 25px rgba(255, 122, 0, 0.35));
}

.logo-inline {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

/* ── Wok cartoon animation ── */

.wok-anim-wrap {
  width: 96px;
  min-width: 80px;
  flex-shrink: 0;
  animation: fadeInScale 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.wok-anim {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 4px 14px rgba(255, 122, 0, 0.3));
}

.wa-toss {
  transform-box: view-box;
  transform-origin: 128px 81px;
  animation: wokToss 2.4s ease-in-out infinite;
}

@keyframes wokToss {
  0%, 8%    { transform: rotate(0deg); }
  28%       { transform: rotate(-12deg); }
  52%       { transform: rotate(4deg); }
  72%       { transform: rotate(-1deg); }
  100%      { transform: rotate(0deg); }
}

.wa-food {
  transform-box: view-box;
  transform-origin: 60px 50px;
  animation: foodFly 2.4s ease-in-out infinite;
}

@keyframes foodFly {
  0%, 10%   { transform: translateY(0) rotate(0deg); }
  30%       { transform: translateY(-18px) rotate(-5deg); }
  50%       { transform: translateY(-6px) rotate(2deg); }
  72%, 100% { transform: translateY(0) rotate(0deg); }
}

.wa-fl {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: flameFlicker 0.7s ease-in-out infinite alternate;
}

@keyframes flameFlicker {
  0%   { transform: scaleY(1) scaleX(1); opacity: 0.85; }
  50%  { transform: scaleY(1.25) scaleX(0.88); opacity: 1; }
  100% { transform: scaleY(0.82) scaleX(1.12); opacity: 0.7; }
}

.wa-fl1 { animation-delay: 0s; }
.wa-fl2 { animation-delay: 0.15s; }
.wa-fl3 { animation-delay: 0.3s; }
.wa-fl4 { animation-delay: 0.08s; animation-duration: 0.5s; }
.wa-fl5 { animation-delay: 0.22s; animation-duration: 0.5s; }

.wa-sp {
  opacity: 0;
  animation: steamRise 3s ease-out infinite;
}

@keyframes steamRise {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  15%  { opacity: 0.3; }
  100% { transform: translateY(-35px) scale(2.2); opacity: 0; }
}

.wa-sp1 { animation-delay: 0s; }
.wa-sp2 { animation-delay: 1s; }
.wa-sp3 { animation-delay: 2s; }

/* ── Mr.Box Mascot ── */

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mascot-wrap {
  flex-shrink: 0;
  width: 130px;
  animation: mascotFloat 3s ease-in-out infinite, fadeInScale 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.mascot-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(255, 122, 0, 0.3));
  animation: mascotWobble 4s ease-in-out infinite;
}

@keyframes mascotFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@keyframes mascotWobble {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(3deg); }
  75%      { transform: rotate(-3deg); }
}

/* ── Handshake animation ── */

.handshake-anim-wrap {
  width: 140px;
  margin-top: 20px;
  animation: fadeInScale 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.handshake-anim {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 4px 12px rgba(255, 122, 0, 0.25));
}

.hs-left {
  animation: hsSlideLeft 2.5s ease-in-out infinite;
}

.hs-right {
  animation: hsSlideRight 2.5s ease-in-out infinite;
}

.hs-grip {
  animation: hsGrip 2.5s ease-in-out infinite;
}

@keyframes hsSlideLeft {
  0%, 10%  { transform: translateX(-8px); }
  30%, 70% { transform: translateX(0); }
  90%, 100% { transform: translateX(-8px); }
}

@keyframes hsSlideRight {
  0%, 10%  { transform: translateX(8px); }
  30%, 70% { transform: translateX(0); }
  90%, 100% { transform: translateX(8px); }
}

@keyframes hsGrip {
  0%, 10%  { transform: scale(0.8); opacity: 0; }
  30%      { transform: scale(1); opacity: 1; }
  70%      { transform: scale(1.05); opacity: 1; }
  90%, 100% { transform: scale(0.8); opacity: 0; }
}

.hs-spark {
  opacity: 0;
  animation: hsSpark 2.5s ease-out infinite;
}

@keyframes hsSpark {
  0%, 25%  { transform: scale(0); opacity: 0; }
  40%      { transform: scale(1.2); opacity: 1; }
  60%      { transform: scale(1); opacity: 0.8; }
  80%, 100% { transform: scale(0); opacity: 0; }
}

.hs-sp1 { animation-delay: 0s; }
.hs-sp2 { animation-delay: 0.15s; }
.hs-sp3 { animation-delay: 0.3s; }
.hs-sp4 { animation-delay: 0.2s; }
.hs-sp5 { animation-delay: 0.35s; }

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn {
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #101010;
  box-shadow: 0 16px 30px rgba(255, 122, 0, 0.25);
  animation: pulseGlow 3s ease-in-out infinite;
}

.btn.ghost {
  border: 1px solid rgba(255, 156, 0, 0.4);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.1);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section h2 {
  font-size: 28px;
}

.section-note {
  color: var(--muted);
  max-width: 680px;
  line-height: 1.6;
}

.links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 156, 0, 0.18);
  background: #0f0f10;
}

.link-card {
  background: var(--surface);
  border: 1px solid rgba(255, 156, 0, 0.22);
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              border 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.link-card--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #101010;
  border-color: transparent;
  box-shadow: 0 16px 30px rgba(255, 122, 0, 0.28);
}

.link-card--accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(255, 122, 0, 0.35);
}

.link-card span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.link-card.card-visible:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: rgba(255, 156, 0, 0.8);
  box-shadow: 0 18px 36px rgba(255, 122, 0, 0.22);
}

/* ── Menu ── */

.menu-section {
  gap: 28px;
}

.menu-hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: -8px;
  margin-bottom: 4px;
}

.menu-category {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.menu-category-title {
  font-size: 20px;
  color: var(--accent);
  letter-spacing: 0.03em;
}

.menu-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.menu-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 156, 0, 0.25);
  background: var(--surface);
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-tab:hover {
  border-color: rgba(255, 156, 0, 0.6);
  color: var(--text);
  transform: translateY(-2px);
}

.menu-tab--active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #101010;
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(255, 122, 0, 0.3);
}

.menu-tab--active:hover {
  color: #101010;
  transform: translateY(-2px);
}

.menu-tab-content {
  display: none;
}

.menu-tab-content.active {
  display: block;
  animation: fadeInUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.menu-card {
  background: var(--surface);
  border: 1px solid rgba(255, 156, 0, 0.15);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.menu-card.card-visible:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 156, 0, 0.6);
  box-shadow: 0 20px 40px rgba(255, 122, 0, 0.18);
}

.menu-card:hover .menu-card-img {
  background: linear-gradient(135deg, rgba(255, 156, 0, 0.15), #1e1610);
}

.menu-card-img {
  height: 150px;
  background: linear-gradient(135deg, var(--surface-2), #1e1610);
  display: grid;
  place-items: center;
  transition: background 0.4s ease;
}

.menu-card-img::after {
  content: attr(aria-label);
  font-size: 36px;
  opacity: 0.6;
}

.menu-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.menu-card-name {
  font-weight: 600;
  font-size: 16px;
}

.menu-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.menu-card-price {
  margin-top: auto;
  padding-top: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.menu-card--compact {
  flex-direction: row;
  align-items: center;
}

.menu-card--compact .menu-card-body {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.menu-card--compact .menu-card-price {
  margin-top: 0;
  padding-top: 0;
  white-space: nowrap;
  margin-left: 12px;
}

.menu-order {
  background: var(--surface-2);
  border: 1px solid rgba(255, 156, 0, 0.2);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.menu-order-text {
  font-size: 18px;
  font-weight: 600;
}

.menu-order-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Customize modal ── */

.menu-card.clickable {
  cursor: default;
}

.menu-card.clickable .menu-card-cta {
  cursor: pointer;
}

.menu-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 156, 0, 0.15);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  transition: color 0.2s ease, gap 0.2s ease;
}

.menu-card-cta::after {
  content: "→";
  font-size: 14px;
  font-weight: 800;
}

.menu-card.clickable:hover .menu-card-cta,
.menu-card.clickable:focus-within .menu-card-cta {
  color: var(--accent-2);
}

.menu-card.card-visible.clickable:hover .menu-card-cta::after {
  animation: ctaArrow 0.6s ease-in-out infinite;
}

@keyframes ctaArrow {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(4px); opacity: 0.8; }
}

/* ── Dish detail modal ── */

.dish-detail-overlay.open {
  display: grid;
}

.dish-detail-modal {
  width: min(520px, 96vw);
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.dish-detail-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--surface-2);
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.dish-detail-photos {
  position: relative;
  width: 100%;
  height: 100%;
}

.dish-detail-photos img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.dish-detail-photos img.dish-detail-photo-hidden {
  opacity: 0;
  pointer-events: none;
}

.dish-detail-prev,
.dish-detail-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.dish-detail-prev { left: 12px; }
.dish-detail-next { right: 12px; }

.dish-detail-prev:hover,
.dish-detail-next:hover {
  background: rgba(0, 0, 0, 0.75);
}

.dish-detail-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.dish-detail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dish-detail-dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.dish-detail-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.dish-detail-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.dish-detail-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.dish-detail-composition-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.dish-detail-composition {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}

.dish-detail-composition li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.dish-detail-composition li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.dish-detail-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 20px;
}

.dish-detail-build {
  width: 100%;
  text-align: center;
  padding: 14px 24px;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  place-items: center;
  padding: 20px;
}

.modal-overlay.open {
  display: grid;
  animation: fadeInScale 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal {
  background: var(--surface);
  border: 1px solid rgba(255, 156, 0, 0.25);
  border-radius: 24px;
  padding: 32px;
  width: min(520px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--text);
}

.modal-title {
  font-size: 22px;
  padding-right: 30px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin-top: -12px;
}

.builder-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.builder-hint {
  font-size: 13px;
  color: var(--muted);
  margin-top: -4px;
}

.builder-sub {
  font-size: 16px;
  color: var(--accent);
  font-weight: 600;
}

.builder-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.builder-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 156, 0, 0.25);
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.builder-chip:hover {
  border-color: rgba(255, 156, 0, 0.6);
  transform: translateY(-1px);
}

.builder-chip.selected {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #101010;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(255, 122, 0, 0.3);
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.modal-summary {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  flex: 1;
  min-width: 0;
}

.modal-order-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-done {
  flex-shrink: 0;
  font-size: 14px;
  padding: 10px 18px;
  text-align: center;
}

.hero-messenger-modal {
  width: min(400px, 100%);
  padding: 28px 22px 22px;
}

.hero-messenger-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-messenger-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  font-family: inherit;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.hero-messenger-item:hover {
  border-color: rgba(255, 156, 0, 0.45);
  transform: translateY(-1px);
}

.hero-messenger-item .hmi-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.hero-messenger-item .hmi-icon img {
  display: block;
  border-radius: 6px;
}

.hmi-wa:hover {
  background: rgba(37, 211, 102, 0.1);
}

.hmi-tg:hover {
  background: rgba(34, 158, 217, 0.12);
}

.hmi-zalo:hover {
  background: rgba(0, 104, 255, 0.08);
}

.hmi-kakao:hover {
  background: rgba(254, 229, 0, 0.2);
}

.hmi-wechat:hover {
  background: rgba(7, 193, 96, 0.1);
}

/* ── Cart ── */

.cart-fab {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #101010;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(255, 122, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease;
  animation: fadeInScale 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-fab:hover {
  box-shadow: 0 12px 36px rgba(255, 122, 0, 0.5);
}

.cart-fab:active {
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.3);
}

.cart-fab-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e53935;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  font-family: inherit;
}

.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  justify-content: flex-end;
}

.cart-overlay.open {
  display: flex;
  animation: fadeInScale 0.25s ease;
}

.cart-panel {
  width: min(420px, 100%);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid rgba(255, 156, 0, 0.2);
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-header h3 {
  font-size: 20px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  background: var(--surface-2);
  border: 1px solid rgba(255, 156, 0, 0.12);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  animation: fadeInUp 0.3s ease;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.cart-item-name {
  font-weight: 600;
  font-size: 15px;
}

.cart-item-details {
  font-size: 13px;
  color: var(--muted);
}

.cart-item-price {
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
  white-space: nowrap;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: #e53935;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
}

.cart-total-price {
  color: var(--accent);
}

.cart-order-hint {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

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

.cart-order-btn {
  flex: 1;
  min-width: calc(33.33% - 6px);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
  border: none;
  color: #fff;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.cart-order-wa { background: #25D366; }
.cart-order-tg { background: #0088cc; }
.cart-order-zalo { background: #0068FF; }
.cart-order-kakao { background: #FEE500; color: #3C1E1E; }
.cart-order-wechat { background: #07C160; }

.cart-callback-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.4;
}

.cart-copy-order {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--surface-2);
  border: 1px solid rgba(255, 156, 0, 0.25);
  border-radius: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cart-copy-order:hover {
  background: rgba(255, 156, 0, 0.1);
  border-color: rgba(255, 156, 0, 0.4);
}

.cart-clear {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  padding: 6px;
  font-family: inherit;
  transition: color 0.2s;
}

.cart-clear:hover {
  color: #e53935;
}

.cart-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 16px;
}

/* ── Reviews marquee ── */

.reviews-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  padding: 8px 0;
}

.reviews-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: reviewsScroll 40s linear infinite;
}

.reviews-track:hover {
  animation-play-state: paused;
}

.reviews-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 15px;
  color: var(--muted);
}

.reviews-proof-item strong {
  color: var(--accent);
}

.reviews-proof-sep {
  opacity: 0.6;
}

.reviews-write-btn {
  display: block;
  margin: 16px auto 0;
  max-width: 220px;
}

@keyframes reviewsScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.review-card {
  background: var(--surface);
  border: 1px solid rgba(255, 156, 0, 0.15);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 320px;
  min-width: 320px;
  flex-shrink: 0;
  transition: border-color 0.35s ease,
              box-shadow 0.35s ease;
}

.review-card:hover {
  border-color: rgba(255, 156, 0, 0.45);
  box-shadow: 0 16px 36px rgba(255, 122, 0, 0.12);
}

.review-stars {
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #101010;
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  font-size: 14px;
  display: block;
}

.review-source {
  font-size: 12px;
  color: var(--muted);
}

/* ── QR ── */

.qr {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--surface-2);
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 156, 0, 0.18);
}

.qr-card {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  display: grid;
  place-items: center;
  width: 220px;
  height: 220px;
  animation: float 5s ease-in-out infinite;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.qr-card:hover {
  transform: scale(1.05);
}

.qr-card-link {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.qr-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-url-line {
  margin-top: 12px;
}

.qr-site-link {
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  text-decoration: none;
}

.qr-site-link:hover {
  text-decoration: underline;
}

.small {
  font-size: 14px;
  color: var(--muted);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.footer a {
  margin-left: 16px;
  color: var(--text);
}

/* ── Tablet (max 820px) ── */

@media (max-width: 820px) {
  .page {
    padding: 32px 0 48px;
    gap: 40px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 28px;
    border-radius: 24px;
  }

  .hero-text h1 {
    font-size: 44px;
  }

  .subtitle {
    font-size: 18px;
  }

  .brand-row {
    gap: 14px;
  }

  .logo-badge {
    width: 100px;
    height: 100px;
    min-width: 100px;
  }

  .hero-photo {
    max-height: 300px;
  }

  .qr {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }

  .qr-card {
    width: 180px;
    height: 180px;
    justify-self: center;
  }

  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .menu-order {
    flex-direction: column;
    text-align: center;
    padding: 22px;
  }

  .wok-anim-wrap {
    width: 70px;
    min-width: 60px;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  .topbar-link--extra {
    display: none;
  }

  .lang-switcher {
    order: 10;
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }

  .review-card {
    width: 280px;
    min-width: 280px;
  }

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

  .gallery img {
    height: 200px;
  }

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

  .section h2 {
    font-size: 24px;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer a {
    margin-left: 8px;
  }
}

/* ── Mobile (max 520px) ── */

@media (max-width: 520px) {
  .page {
    width: 96vw;
    padding: 20px 0 40px;
    gap: 32px;
  }

  .hero {
    padding: 20px 16px;
    border-radius: 20px;
    gap: 20px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .subtitle {
    font-size: 16px;
  }

  .lead {
    font-size: 15px;
  }

  .brand-row {
    gap: 12px;
  }

  .logo-badge {
    width: 80px;
    height: 80px;
    min-width: 80px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .hero-actions .btn {
    text-align: center;
    width: 100%;
  }

  .hero-photo {
    max-height: 240px;
  }

  .topbar {
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
  }

  .topbar-brand {
    font-size: 15px;
  }

  .wok-anim-wrap {
    width: 56px;
    min-width: 48px;
  }

  .topbar-link {
    padding: 5px 10px;
    font-size: 12px;
  }

  .lang-btn {
    font-size: 11px;
    padding: 3px 6px;
  }

  .menu-tabs {
    gap: 6px;
  }

  .menu-tab {
    padding: 8px 14px;
    font-size: 13px;
    gap: 6px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .menu-card-img {
    height: 120px;
  }

  .menu-card-body {
    padding: 14px;
  }

  .menu-order {
    padding: 18px;
    border-radius: 16px;
  }

  .menu-order-text {
    font-size: 16px;
  }

  .menu-order-buttons {
    width: 100%;
    flex-direction: column;
  }

  .menu-order-buttons .btn {
    text-align: center;
    width: 100%;
  }

  .section h2 {
    font-size: 22px;
  }

  .section-note {
    font-size: 14px;
  }

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

  .gallery img {
    height: 180px;
    border-radius: 14px;
  }

  .review-card {
    width: 260px;
    min-width: 260px;
    padding: 18px;
    border-radius: 16px;
  }

  .reviews-track {
    gap: 12px;
  }

  .review-text {
    font-size: 14px;
  }

  .qr {
    padding: 20px;
    border-radius: 18px;
  }

  .qr-card {
    width: 160px;
    height: 160px;
    padding: 14px;
    border-radius: 16px;
  }

  .links {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .link-card {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .footer {
    font-size: 13px;
    padding-top: 10px;
  }

  .modal {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .modal-title {
    font-size: 18px;
  }

  .modal-order-buttons {
    width: 100%;
    flex-direction: column;
  }

  .modal-order-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .modal-footer {
    flex-direction: column;
    gap: 12px;
  }

  .builder-chip {
    padding: 7px 14px;
    font-size: 13px;
  }

  .handshake-anim-wrap {
    width: 110px;
  }

  .cart-panel {
    width: 100%;
  }

  .cart-actions {
    gap: 8px;
  }

  .cart-order-btn {
    min-width: calc(50% - 4px);
    font-size: 12px;
    padding: 10px 8px;
  }

  .cart-items {
    padding: 14px 16px;
  }

  .cart-header, .cart-footer {
    padding: 16px;
  }
}

/* ── Small mobile (max 360px) ── */

@media (max-width: 360px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .subtitle {
    font-size: 14px;
  }

  .logo-badge {
    width: 64px;
    height: 64px;
    min-width: 64px;
  }

  .wok-anim-wrap {
    width: 44px;
    min-width: 38px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .qr-card {
    width: 140px;
    height: 140px;
  }
}

/* ── Scroll progress bar ── */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), #ff3d00, var(--accent));
  background-size: 300% 100%;
  animation: gradientShift 3s linear infinite;
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.6);
}

/* ── Staggered menu card reveal ── */

.menu-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

.menu-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 3D tilt on gallery ── */

.gallery img {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: zoom-in;
}

.gallery img:hover {
  border-color: rgba(255, 156, 0, 0.5);
  box-shadow: 0 20px 50px rgba(255, 122, 0, 0.2);
}

/* ── Toast notification ── */

.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #101010;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 12px 40px rgba(255, 122, 0, 0.4);
  white-space: nowrap;
}

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

/* ── Animated gradient hero title ── */

.hero-text h1 {
  background: linear-gradient(135deg, var(--text), var(--accent), var(--accent-2), var(--text));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

/* ── Floating particles ── */

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  overflow: hidden;
  /* Отдельный композитный слой: анимации не должны заставлять пересчитывать соседние position:fixed */
  isolation: isolate;
  contain: layout paint;
  transform: translateZ(0);
}

.particle {
  position: absolute;
  font-size: 20px;
  opacity: 0;
  animation: particleFloat linear infinite;
  pointer-events: none;
  /* Без filter: blur — иначе + backdrop у .msg-bar даёт тяжёлый пересчёт кадра и «дрожит» панель */
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg) scale(0.6);
    opacity: 0;
  }
  10% {
    opacity: 0.28;
  }
  90% {
    opacity: 0.28;
  }
  100% {
    transform: translateY(-10vh) rotate(360deg) scale(1);
    opacity: 0;
  }
}

/* ── Button ripple ── */

.btn {
  position: relative;
  overflow: hidden;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ── Price counter ── */

.menu-card-price {
  transition: color 0.3s ease;
}

.menu-card-price.counting {
  color: var(--text);
}

/* ── Link card stagger ── */

.link-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
}

.link-card.card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Review card lift ── */

.review-card {
  transition: border-color 0.35s ease,
              box-shadow 0.35s ease,
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.review-card:hover {
  border-color: rgba(255, 156, 0, 0.45);
  box-shadow: 0 16px 36px rgba(255, 122, 0, 0.12);
  transform: translateY(-4px);
}


/* ── Gallery image counter badge ── */

.gallery {
  counter-reset: gallery-counter;
}

.gallery img {
  counter-increment: gallery-counter;
  position: relative;
}

/* ── Emoji bounce on menu card hover ── */

.menu-card-img::after {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-card:hover .menu-card-img::after {
  transform: scale(1.3) rotate(-8deg);
}

/* ── Sticky navbar glassmorphism ── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.35s ease, padding 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.topbar.scrolled {
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  padding: 6px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 156, 0, 0.1);
}

.topbar.scrolled .wok-anim-wrap {
  width: 56px;
  min-width: 48px;
  transition: width 0.35s ease, min-width 0.35s ease;
}

/* ── Back to top button ── */

.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 156, 0, 0.3);
  background: rgba(18, 18, 20, 0.85);
  backdrop-filter: blur(10px);
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #101010;
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(255, 122, 0, 0.35);
}

/* ── Lightbox ── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  place-items: center;
  cursor: zoom-out;
}

.lightbox.open {
  display: grid;
  animation: fadeInScale 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* ── Stats section ── */

.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid rgba(255, 156, 0, 0.15);
  border-radius: 20px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-card:hover {
  border-color: rgba(255, 156, 0, 0.5);
  box-shadow: 0 16px 40px rgba(255, 122, 0, 0.15);
  transform: translateY(-4px);
}

.stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-plus, .stat-star {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

/* ── Countdown bar ── */

.countdown-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid rgba(255, 156, 0, 0.2);
  border-radius: 999px;
  padding: 12px 28px;
  flex-wrap: wrap;
}

.countdown-icon {
  font-size: 22px;
  animation: float 2s ease-in-out infinite;
}

.countdown-label {
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
}

.countdown-digits {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.cd-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  min-width: 40px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.cd-unit {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.cd-sep {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 156, 0, 0.4);
  margin-top: -14px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ── Confetti ── */

.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3000;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 10px;
  opacity: 0;
  animation: confettiFall linear forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-20px) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg) scale(0.3);
    opacity: 0;
  }
}

/* ── Typewriter cursor ── */

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--accent);
  margin-left: 2px;
  animation: cursorBlink 0.8s step-end infinite;
  vertical-align: text-bottom;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ── Magnetic button shift ── */

.btn.magnetic {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.2s ease,
              filter 0.2s ease;
}

/* ── Responsive adjustments for new features ── */

@media (max-width: 820px) {
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-num {
    font-size: 34px;
  }

  .countdown-bar {
    border-radius: 20px;
    padding: 10px 18px;
    gap: 10px;
  }

  .cd-num {
    font-size: 20px;
    min-width: 32px;
  }

  .back-to-top {
    left: 18px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 520px) {
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-card {
    padding: 20px 14px;
    border-radius: 16px;
  }

  .stat-num {
    font-size: 28px;
  }

  .stat-label {
    font-size: 12px;
  }

  .countdown-bar {
    border-radius: 16px;
    padding: 10px 14px;
    gap: 8px;
  }

  .countdown-label {
    font-size: 13px;
  }

  .cd-num {
    font-size: 18px;
    min-width: 28px;
  }

  .cd-sep {
    font-size: 18px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    left: 14px;
    bottom: 14px;
  }

  .lightbox-img {
    max-width: 96vw;
    max-height: 80vh;
    border-radius: 10px;
  }

  .lightbox-close {
    top: 14px;
    right: 16px;
    font-size: 32px;
  }
}

/* ── Promo banner ── */

.promo-banner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 156, 0, 0.08) 0%, transparent 45%),
    linear-gradient(160deg, #151008 0%, #1a130a 50%, #0d0a05 100%);
  border: 1px solid rgba(255, 156, 0, 0.2);
  border-radius: 24px;
  padding: 24px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 156, 0, 0.06);
}

.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 156, 0, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.promo-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 20%, var(--accent-2) 50%, var(--accent) 80%, transparent 100%);
  opacity: 0.7;
  animation: promoLine 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes promoLine {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.9; }
}

.promo-ribbon {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 20px;
  font-weight: 900;
  color: #0a0a0a;
  background: linear-gradient(135deg, #ffc266, var(--accent), #e65c00);
  padding: 10px 18px;
  transform: rotate(12deg);
  box-shadow: 0 4px 20px rgba(255, 122, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  z-index: 2;
  animation: promoRibbon 2.5s ease-in-out infinite;
}

@keyframes promoRibbon {
  0%, 100% { transform: rotate(12deg) translateY(0); }
  50% { transform: rotate(12deg) translateY(-3px); }
}

.promo-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.promo-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 2px;
}

.promo-title {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #ffe4c4 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
}

.promo-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.promo-btn {
  align-self: flex-start;
  font-size: 14px;
  padding: 11px 22px;
  margin-top: 8px;
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.35);
}

/* ── How to order ── */

.how-to-order {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.how-to-order h2 {
  font-size: 28px;
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.step-card {
  background: var(--surface);
  border: 1px solid rgba(255, 156, 0, 0.15);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Анимация шагов в стиле вока (лёгкий под bounce + качание) */
.step-card .step-icon {
  animation: stepIconBounce 2.2s ease-in-out infinite;
}

.step-card:nth-child(1) .step-icon { animation-delay: 0s; }
.step-card:nth-child(3) .step-icon { animation-delay: 0.15s; }
.step-card:nth-child(5) .step-icon { animation-delay: 0.3s; }

@keyframes stepIconBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30%      { transform: translateY(-8px) rotate(-4deg); }
  60%      { transform: translateY(-2px) rotate(2deg); }
}

.step-card .step-number {
  animation: stepNumberPulse 2.4s ease-in-out infinite;
}

.step-card:nth-child(1) .step-number { animation-delay: 0.1s; }
.step-card:nth-child(3) .step-number { animation-delay: 0.25s; }
.step-card:nth-child(5) .step-number { animation-delay: 0.4s; }

@keyframes stepNumberPulse {
  0%, 90%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(255, 156, 0, 0)); }
  45%           { transform: scale(1.08); filter: drop-shadow(0 2px 8px rgba(255, 156, 0, 0.4)); }
}

.step-card:hover {
  border-color: rgba(255, 156, 0, 0.5);
  box-shadow: 0 16px 40px rgba(255, 122, 0, 0.15);
  transform: translateY(-4px);
}

.step-icon { font-size: 36px; }

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #101010;
  font-weight: 800;
  font-size: 16px;
  display: grid;
  place-items: center;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
}

.step-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.step-arrow {
  font-size: 24px;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Delivery bar ── */

.delivery-bar {
  margin: 0;
}

.delivery-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 32px;
  padding: 20px 24px;
  background: var(--surface-2);
  border: 1px solid rgba(255, 156, 0, 0.2);
  border-radius: 20px;
}

.delivery-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.delivery-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}

.delivery-icon svg {
  width: 22px;
  height: 22px;
}

/* ── Combo section ── */

.combo-section {
  margin: 0;
}

.combo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.combo-card {
  background: var(--surface);
  border: 1px solid rgba(255, 156, 0, 0.2);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.combo-card:hover {
  border-color: rgba(255, 156, 0, 0.5);
  box-shadow: 0 12px 32px rgba(255, 122, 0, 0.12);
}

.combo-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.combo-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.combo-btn {
  align-self: flex-start;
}

/* ── How we cook ── */

.how-we-cook {
  display: flex;
  flex-direction: column;
  gap: 20px;
  contain: layout;
}

.how-we-cook h2 { font-size: 28px; }

.cook-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.cook-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
}

.cook-step {
  position: relative;
}

.cook-step-icon {
  font-size: 40px;
  width: 72px;
  height: 72px;
  background: var(--surface);
  border: 2px solid rgba(255, 156, 0, 0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.cook-step:hover .cook-step-icon {
  transform: scale(1.1);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(255, 122, 0, 0.25);
}

.cook-step span {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

/* cook step animation states */

.cook-step-anim {
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cook-step-anim.step-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cook-line-anim {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cook-line-anim.line-visible {
  transform: scaleX(1);
}

.cook-step-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: none;
}

.cook-step-anim.step-visible .cook-step-pulse {
  /* Было infinite — постоянная анимация + fixed-панель давали дрожание; достаточно нескольких импульсов */
  animation: cookPulse 2s ease-out 0.5s 3;
}

@keyframes cookPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0; }
}

.cook-step-icon {
  position: relative;
}

.cook-step-anim.step-visible .cook-step-icon {
  animation: cookBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cookBounce {
  0% { transform: scale(0.5) rotate(-10deg); }
  60% { transform: scale(1.15) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.cook-step-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 1px;
  margin-top: -20px;
  flex-shrink: 0;
}

/* ── Schedule ── */

.schedule-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.schedule-card {
  background: var(--surface);
  border: 1px solid rgba(255, 156, 0, 0.15);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.schedule-card:hover {
  border-color: rgba(255, 156, 0, 0.4);
  box-shadow: 0 12px 30px rgba(255, 122, 0, 0.12);
  transform: translateY(-3px);
}

.schedule-icon { font-size: 36px; }

.schedule-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.schedule-time {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}

.schedule-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* ── FAQ ── */

.faq-section { gap: 20px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(255, 156, 0, 0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-color: rgba(255, 156, 0, 0.4);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  gap: 12px;
  transition: color 0.2s ease;
}

.faq-q:hover { color: var(--accent); }

.faq-arrow {
  font-size: 12px;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s ease;
  padding: 0 22px;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 22px 18px;
}

.faq-a p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Theme toggle ── */

.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--accent);
  transform: rotate(30deg) scale(1.1);
}

.theme-icon { font-size: 18px; line-height: 1; }

/* ── Light theme ── */

html.light {
  --bg: #f5f3ef;
  --surface: #ffffff;
  --surface-2: #f0ece6;
  --text: #1a1a1a;
  --muted: #666666;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.1);
}

html.light body {
  background: radial-gradient(circle at top, #fff5e6 0%, #f5f3ef 60%);
}

html.light .topbar.scrolled {
  background: rgba(245, 243, 239, 0.85);
}

html.light .hero-text h1 {
  background: linear-gradient(135deg, #1a1a1a, var(--accent), var(--accent-2), #1a1a1a);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html.light .back-to-top {
  background: rgba(255, 255, 255, 0.9);
}

html.light .scroll-progress {
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.3);
}

html.light .msg-bar {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(0, 0, 0, 0.1);
}

/* Promo banner: базовые стили заточены под тёмную тему — в светлой задаём фон и текст явно */
html.light .promo-banner {
  background:
    radial-gradient(circle at 18% 45%, rgba(255, 156, 0, 0.14) 0%, transparent 48%),
    linear-gradient(165deg, #fffef9 0%, #fff5e8 45%, #f8ecdc 100%);
  border: 1px solid rgba(255, 140, 0, 0.22);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(255, 156, 0, 0.1);
}

html.light .promo-banner::before {
  background-image: radial-gradient(circle, rgba(255, 122, 0, 0.07) 1px, transparent 1px);
}

html.light .promo-title {
  background: linear-gradient(135deg, #1a1208 0%, #3d2810 45%, var(--accent) 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

html.light .promo-ribbon {
  color: #1a0f05;
  box-shadow: 0 4px 18px rgba(255, 122, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

html.light .promo-btn {
  box-shadow: 0 8px 22px rgba(255, 122, 0, 0.28);
}

/* ── Sauce selector ── */

.spicy-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.spicy-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 156, 0, 0.2);
  background: var(--surface-2);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  flex: 1;
  text-align: center;
}

.spicy-btn:hover {
  border-color: rgba(255, 156, 0, 0.5);
  transform: translateY(-2px);
}

.spicy-btn.selected {
  background: linear-gradient(135deg, #ff4500, #ff6a00);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(255, 69, 0, 0.35);
}

.spicy-emoji { font-size: 20px; }

/* ── Responsive for new sections ── */

@media (max-width: 820px) {
  .steps-grid {
    flex-direction: column;
    gap: 10px;
  }

  .step-arrow {
    transform: rotate(90deg);
    font-size: 20px;
  }

  .cook-step-line {
    width: 30px;
  }

  .schedule-section {
    grid-template-columns: 1fr;
  }

  .promo-banner {
    border-radius: 20px;
    padding: 20px 24px;
    gap: 16px;
  }

  .promo-ribbon {
    top: 12px;
    right: 12px;
    font-size: 16px;
    padding: 8px 14px;
  }

  .promo-content { padding: 0; }
  .promo-title { font-size: 18px; }
}

@media (max-width: 520px) {
  .step-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .step-card h3 { font-size: 14px; }
  .step-card p { font-size: 12px; }
  .step-icon { font-size: 28px; }

  .cook-steps { gap: 0; }
  .cook-step { padding: 12px; }
  .cook-step-icon { width: 56px; height: 56px; font-size: 28px; }
  .cook-step span { font-size: 12px; }
  .cook-step-line { width: 20px; }

  .schedule-card { padding: 18px; border-radius: 16px; }
  .schedule-time { font-size: 18px; }

  .faq-q { padding: 14px 16px; font-size: 14px; }

  .promo-banner {
    border-radius: 18px;
    padding: 18px 16px 20px;
    flex-direction: column;
    align-items: stretch;
  }

  .promo-ribbon {
    position: relative;
    top: 0;
    right: 0;
    align-self: flex-end;
    font-size: 15px;
    padding: 6px 12px;
    transform: rotate(8deg);
  }

  .promo-content {
    align-items: center;
    text-align: center;
  }

  .promo-label { font-size: 11px; justify-content: center; }
  .promo-title { font-size: 17px; }
  .promo-text { font-size: 13px; }

  .promo-btn {
    width: 100%;
    text-align: center;
    align-self: stretch;
  }

  .spicy-btn { padding: 10px 14px; font-size: 12px; }

  .theme-toggle { width: 32px; height: 32px; }
  .theme-icon { font-size: 16px; }
}

/* ── Splash screen ── */

.splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #0a0a0a;
  display: grid;
  place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.splash-wok {
  font-size: 64px;
  animation: splashBounce 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
}

@keyframes splashBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-20px) rotate(-8deg); }
  60% { transform: translateY(-5px) rotate(3deg); }
}

.splash-brand {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--accent), var(--accent-2));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 2s ease infinite;
}

.splash-dots {
  display: flex;
  gap: 8px;
}

.splash-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: splashDot 1.2s ease-in-out infinite;
}

.splash-dots span:nth-child(2) { animation-delay: 0.2s; }
.splash-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes splashDot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.3; }
  40% { transform: scale(1.2); opacity: 1; }
}

/* ── Floating messenger bar (vertical) ── */

.msg-bar {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  right: 20px;
  z-index: 850;
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* Без backdrop-blur: при скролле и анимациях секций иначе постоянный пересчёт размытия → «плавает» панель */
  background: rgba(22, 22, 26, 0.96);
  border: 1px solid rgba(255, 156, 0, 0.18);
  border-radius: 28px;
  padding: 14px 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.msg-bar-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.msg-bar-item svg,
.msg-bar-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.msg-bar-item:hover {
  transform: translateX(-6px) scale(1.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.msg-bar-letter {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}

.msg-bar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.msg-wa { background: #25D366; overflow: hidden; }
.msg-tg { background: #fff; overflow: hidden; }
/* Как у Telegram / WA: сплошной круг + SVG 28px по центру */
.msg-zalo { background: #fff; overflow: hidden; }
.msg-kakao { background: #FEE500; overflow: hidden; }
.msg-wechat { background: #07C160; }

/* Мобильные и узкие экраны: одна схема центрирования (left 50% + translate -50%),
   bottom с safe-area — без конфликтующих right/transform между брейкпоинтами */
@media (max-width: 768px) {
  .msg-bar {
    flex-direction: row;
    left: 50%;
    right: auto;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    transform: translate3d(-50%, 0, 0);
    width: max-content;
    max-width: calc(100vw - 24px);
    margin: 0;
    padding: 8px 12px;
    gap: 8px;
    border-radius: 999px;
    box-sizing: border-box;
  }
}

@media (max-width: 520px) {
  .splash-wok { font-size: 48px; }
  .splash-brand { font-size: 24px; }
}

/* ══════════════════════════════════════
   COMPREHENSIVE DEVICE OPTIMIZATION
   ══════════════════════════════════════ */

/* ── Global touch & performance ── */

@media (hover: none) and (pointer: coarse) {
  .btn, .menu-tab, .builder-chip, .spicy-btn,
  .faq-q, .theme-toggle, .lang-btn,
  .msg-bar-item, .back-to-top, .cart-fab {
    -webkit-tap-highlight-color: transparent;
  }

  .menu-card.card-visible:hover,
  .link-card.card-visible:hover,
  .stat-card:hover,
  .step-card:hover,
  .review-card:hover,
  .schedule-card:hover,
  .cook-step:hover .cook-step-icon {
    transform: none;
    box-shadow: none;
  }

  .gallery img:hover {
    transform: none;
  }

  .msg-bar-item:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
    filter: none;
  }
}

/* ── Large desktops (1440px+) ── */

@media (min-width: 1440px) {
  .page {
    width: min(1240px, 90vw);
    gap: 64px;
  }

  .hero {
    padding: 48px;
    gap: 48px;
  }

  .hero-text h1 { font-size: 64px; }
  .subtitle { font-size: 24px; }
  .lead { font-size: 20px; }

  .section h2 { font-size: 32px; }

  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .stats-section { gap: 20px; }
  .stat-num { font-size: 48px; }
}

/* ── Landscape phones / small tablets (680px) ── */

@media (max-width: 680px) and (orientation: landscape) {
  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    gap: 16px;
  }

  .hero-text h1 { font-size: 28px; }
  .subtitle { font-size: 14px; }
  .lead { font-size: 13px; margin-top: 8px; }

  .hero-photo { max-height: 200px; }
  .logo-badge { width: 60px; height: 60px; min-width: 60px; }

  .page { padding: 16px 0 40px; gap: 28px; }
  .section h2 { font-size: 20px; }

  .stats-section { grid-template-columns: repeat(4, 1fr); }
  .stat-card { padding: 14px 10px; }
  .stat-num { font-size: 24px; }
  .stat-label { font-size: 11px; }

  .steps-grid { flex-direction: row; gap: 8px; }
  .step-card { padding: 14px 10px; }
  .step-card h3 { font-size: 13px; }
  .step-card p { font-size: 11px; }
  .step-arrow { font-size: 16px; }

  .lightbox-img { max-height: 75vh; }

  /* Панель мессенджеров: единое правило — см. блок max-width: 768px ниже */
}

/* ── Improved 820px tablet ── */

@media (max-width: 820px) {
  .promo-banner {
    flex-wrap: wrap;
  }

  .promo-btn {
    width: 100%;
    text-align: center;
  }

  .topbar-link {
    padding: 8px 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
  }

  .lang-btn {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .cart-fab {
    bottom: 20px;
    width: 56px;
    height: 56px;
  }

  .modal {
    max-height: 90vh;
  }
}

/* ── Improved 520px mobile ── */

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }

  .topbar {
    gap: 6px;
    padding: 8px 0;
  }

  .topbar-brand { font-size: 14px; }

  .topbar-location {
    font-size: 12px;
    gap: 3px;
  }

  .topbar-location svg { width: 12px; height: 12px; }

  .topbar-link {
    padding: 8px 12px;
    font-size: 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .wok-anim-wrap { display: none; }

  .hero {
    padding: 16px;
    border-radius: 18px;
  }

  .brand-row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .logo-badge { width: 72px; height: 72px; min-width: 72px; }

  .hero-actions .btn {
    min-height: 48px;
    font-size: 15px;
  }

  .hero-photo { max-height: 220px; border-radius: 16px; }
  .hero-image { border-radius: 18px; padding: 10px; }

  .promo-content { align-items: center; text-align: center; padding: 0; }

  .countdown-bar {
    flex-direction: column;
    gap: 6px;
    padding: 12px;
  }

  .countdown-digits { gap: 4px; }
  .cd-num { font-size: 20px; min-width: 30px; }

  .gallery img {
    height: 200px;
    border-radius: 16px;
  }

  .menu-tab {
    min-height: 44px;
  }

  .builder-chip {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .spicy-btn {
    min-height: 48px;
    padding: 10px 12px;
  }

  .modal {
    padding: 20px 16px;
    border-radius: 18px;
    max-height: 92vh;
    width: 100%;
  }

  .modal-overlay {
    padding: 10px;
    align-items: flex-end;
  }

  .modal-title { font-size: 18px; }
  .builder-sub { font-size: 15px; }
  .builder-hint { font-size: 12px; }

  .modal-footer {
    position: sticky;
    bottom: 0;
    background: var(--surface);
    margin: 0 -16px -20px;
    padding: 14px 16px;
    border-radius: 0 0 18px 18px;
  }

  .faq-q {
    min-height: 52px;
    font-size: 15px;
    padding: 14px 16px;
  }

  .cook-steps {
    flex-wrap: nowrap;
  }

  .cook-step { padding: 10px 8px; }
  .cook-step-icon { width: 52px; height: 52px; font-size: 26px; }
  .cook-step span { font-size: 11px; }
  .cook-step-line { width: 16px; }

  .schedule-card {
    padding: 16px;
    gap: 14px;
  }

  .schedule-icon { font-size: 28px; }
  .schedule-card h3 { font-size: 14px; }
  .schedule-time { font-size: 18px; }
  .schedule-note { font-size: 12px; }

  .page {
    /* Запас под фикс-панель иконок + кнопку «вверх», чтобы футер не перекрывался */
    padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
  }

  .cart-fab {
    bottom: 70px;
    width: 52px;
    height: 52px;
  }

  .msg-bar {
    /* Позиция задаётся в @media (max-width: 768px); здесь только размеры */
    background: #121214;
    padding: 7px 11px;
  }

  .msg-bar-item {
    width: 40px;
    height: 40px;
  }

  .msg-bar-item svg { width: 20px; height: 20px; }

  .back-to-top {
    width: 42px;
    height: 42px;
    left: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  .review-card {
    width: 270px;
    min-width: 270px;
    padding: 18px;
  }

  .step-card {
    padding: 18px 14px;
  }

  .step-icon { font-size: 28px; }
  .step-number { width: 28px; height: 28px; font-size: 14px; }
  .step-card h3 { font-size: 14px; }
  .step-card p { font-size: 12px; }

  .how-to-order h2 { font-size: 22px; }
  .how-we-cook h2 { font-size: 22px; }

  .toast {
    max-width: 90vw;
    font-size: 14px;
    padding: 12px 20px;
    white-space: normal;
    text-align: center;
  }
}

/* ── Extra small phones (360px and below) ── */

@media (max-width: 360px) {
  .page { width: 98vw; }

  .hero { padding: 14px 12px; }
  .hero-text h1 { font-size: 26px; }
  .subtitle { font-size: 13px; }
  .lead { font-size: 14px; }
  .logo-badge { width: 60px; height: 60px; min-width: 60px; }

  .btn { padding: 10px 14px; font-size: 14px; min-height: 44px; }

  .promo-ribbon { font-size: 14px; padding: 5px 10px; }
  .promo-title { font-size: 15px; }
  .promo-text { font-size: 12px; }

  .cd-num { font-size: 16px; min-width: 24px; }
  .cd-unit { font-size: 9px; }
  .cd-sep { font-size: 14px; }

  .stats-section { gap: 8px; }
  .stat-card { padding: 16px 10px; border-radius: 14px; }
  .stat-num { font-size: 24px; }
  .stat-label { font-size: 11px; }

  .menu-card-img { height: 100px; }
  .menu-card-body { padding: 12px; }
  .menu-card-name { font-size: 14px; }
  .menu-card-desc { font-size: 12px; }
  .menu-card-price { font-size: 16px; }
  .menu-card-cta { font-size: 12px; margin-top: 8px; padding-top: 8px; }
  .menu-hint { font-size: 12px; }

  .section h2 { font-size: 20px; }
  .section-note { font-size: 13px; }

  .qr-card { width: 130px; height: 130px; padding: 12px; }

  .review-card { width: 230px; min-width: 230px; padding: 14px; }
  .review-text { font-size: 13px; }
  .review-stars { font-size: 16px; }

  .msg-bar-item { width: 36px; height: 36px; }
  .msg-bar-item svg { width: 18px; height: 18px; }
  .msg-bar { gap: 5px; padding: 5px 8px; }

  .cook-step-icon { width: 46px; height: 46px; font-size: 22px; }
  .cook-step-line { width: 12px; }
  .cook-step span { font-size: 10px; }
}

/* ── Safe area insets for notched phones (без дубля с bottom у .msg-bar / .back-to-top) ── */

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .cart-fab {
    bottom: calc(28px + env(safe-area-inset-bottom));
  }

  .modal {
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }

  .cart-panel {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (min-width: 521px) {
  @supports (padding-bottom: env(safe-area-inset-bottom)) {
    .back-to-top {
      bottom: calc(28px + env(safe-area-inset-bottom));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .menu-card, .link-card {
    opacity: 1;
    transform: none;
  }

  .particles {
    opacity: 0.5;
  }
}
