:root {
  --bg: #0e0c0f;
  --bg-soft: #18141a;
  --bg-panel: rgba(19, 16, 20, 0.86);
  --gold: #d9a93d;
  --gold-strong: #f1c347;
  --gold-dark: #b98522;
  --text: #f8f2e8;
  --muted: rgba(248, 242, 232, 0.7);
  --shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
  --card-shadow: 0 18px 35px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #0d0b0f;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  background:
    radial-gradient(circle at 50% 102%, rgba(234, 92, 20, 0.56), transparent 20%),
    radial-gradient(circle at 50% 90%, rgba(255, 121, 0, 0.3), transparent 34%),
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.06), transparent 12%),
    radial-gradient(circle at 82% 26%, rgba(255, 255, 255, 0.05), transparent 12%),
    linear-gradient(180deg, #181419 0%, #0d0b0f 65%, #111014 100%);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 255, 255, 0.06), transparent 11%),
    radial-gradient(circle at 15% 4%, rgba(255, 255, 255, 0.05), transparent 10%),
    radial-gradient(circle at 85% 4%, rgba(255, 255, 255, 0.05), transparent 10%),
    repeating-linear-gradient(
      140deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 9px
    );
  mix-blend-mode: screen;
  opacity: 0.24;
}

.page-shell {
  width: min(1120px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 18px 0 128px;
  position: relative;
}

.page-shell > * {
  position: relative;
  z-index: 2;
}

.page-shell::before,
.page-shell::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(0.2px);
}

.page-shell::before {
  left: -8px;
  top: 290px;
  width: 170px;
  height: 120px;
  border-radius: 60% 40% 55% 45%;
  background:
    radial-gradient(circle at 42% 38%, rgba(214, 255, 120, 0.8) 0 16%, transparent 17%),
    radial-gradient(circle at 55% 55%, rgba(160, 201, 56, 0.9) 0 20%, transparent 21%),
    radial-gradient(circle at 66% 38%, rgba(117, 167, 49, 0.9) 0 13%, transparent 14%),
    linear-gradient(135deg, rgba(198, 255, 128, 0.3), rgba(80, 132, 25, 0.8));
  transform: rotate(-12deg);
  opacity: 0.95;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.15);
}

.page-shell::after {
  right: -18px;
  bottom: 30px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 216, 235, 0.9) 0 14%, transparent 15%),
    radial-gradient(circle at center, transparent 0 28%, rgba(255, 200, 224, 0.75) 29% 34%, transparent 35%),
    radial-gradient(circle at center, transparent 0 44%, rgba(255, 163, 196, 0.72) 45% 50%, transparent 51%),
    radial-gradient(circle at center, transparent 0 60%, rgba(220, 118, 160, 0.52) 61% 66%, transparent 67%),
    radial-gradient(circle at center, transparent 0 74%, rgba(124, 49, 87, 0.45) 75% 80%, transparent 81%);
  opacity: 0.9;
}

.site-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 2px 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  z-index: 2;
}

.brand-logo {
  width: clamp(102px, 16vw, 150px);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

.phone-link {
  position: absolute;
  top: 0;
  right: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-strong);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, color 0.2s ease;
}

.phone-link:hover {
  transform: translateY(-1px);
  color: #ffd86f;
}

.phone-icon {
  font-size: 0.95rem;
}

.menu-toggle {
  display: none;
  justify-self: start;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--gold-strong);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 0;
  padding: 10px 0 9px;
  border-top: 1px solid rgba(217, 169, 61, 0.55);
  border-bottom: 1px solid rgba(217, 169, 61, 0.55);
}

.nav-link,
.mobile-nav-link {
  color: var(--gold-strong);
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.06em;
  font-size: 2rem;
  line-height: 1;
}

.nav-link.active,
.mobile-nav-link.active {
  position: relative;
}

.nav-link.active::after,
.mobile-nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 3px;
  border-radius: 999px;
  background: var(--gold-strong);
}

.nav-divider {
  width: 1px;
  height: 30px;
  background: rgba(217, 169, 61, 0.7);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 18px;
    margin: 2px 0 0;
    padding: 14px 18px 16px;
  border-radius: 20px;
  background: rgba(15, 12, 16, 0.92);
  border: 1px solid rgba(217, 169, 61, 0.2);
  box-shadow: var(--shadow);
}

.menu-section {
  margin-top: 28px;
}

.menu-reference-note {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}

.desktop-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.mobile-menu-grid {
  display: none;
}

.menu-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.1));
  box-shadow: var(--card-shadow);
  isolation: isolate;
  cursor: pointer;
  border: 0;
  padding: 0;
  appearance: none;
  text-align: left;
}

.menu-card:focus-visible,
.product-modal-close:focus-visible {
  outline: 3px solid rgba(241, 195, 71, 0.95);
  outline-offset: 3px;
}

.menu-card:hover {
  transform: translateY(-2px);
}

.menu-card.onboarding-target {
  z-index: 4;
}

.click-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(17, 13, 19, 0.86);
  border: 1px solid rgba(241, 195, 71, 0.5);
  color: #f8f2e8;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  pointer-events: none;
  z-index: 5;
  animation: clickHintFloat 1.05s ease-in-out infinite;
}

.click-hint-icon {
  font-size: 0.86rem;
  color: var(--gold-strong);
}

.click-hint::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(241, 195, 71, 0.55);
  animation: clickHintPulse 1.2s ease-out infinite;
}

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

@keyframes clickHintPulse {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .click-hint,
  .click-hint::after {
    animation: none;
  }
}

.menu-card,
.product-modal-close {
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.menu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%, rgba(0, 0, 0, 0.08));
  z-index: 1;
}

.menu-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  transform: scale(1.02);
}

.menu-card-label {
  position: absolute;
  left: 50%;
  bottom: 13px;
  transform: translateX(-50%);
  width: calc(100% - 22px);
  max-width: calc(100% - 22px);
  padding: 10px 12px 9px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f4ca4b 0%, #e5b93a 100%);
  color: #151515;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  z-index: 2;
}

.contact-rail {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
}

.help-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6cd4c 0%, #efbf2f 100%);
  color: #161616;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.28);
}

.mobile-category-title {
  display: none;
  margin: 24px 0 14px;
  color: var(--gold-strong);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 7vw, 2.7rem);
  letter-spacing: 0.08em;
  font-weight: 400;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(217, 169, 61, 0.55);
}

.product-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  border: 0;
  background: transparent;
  overscroll-behavior: contain;
}

.product-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 8, 0.84);
}

.product-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  max-height: min(calc(100dvh - 28px), 760px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  contain: content;
  transform: translateZ(0);
  padding: 18px 20px 18px;
  border-radius: 24px;
  border: 1px solid rgba(241, 195, 71, 0.22);
  background: linear-gradient(180deg, rgba(24, 20, 25, 0.98), rgba(13, 11, 15, 0.98));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}

.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.product-modal-close:hover {
  transform: scale(1.04);
}

.product-modal-header {
  padding-right: 52px;
  margin-bottom: 12px;
}

.product-modal-kicker {
  margin: 0 0 6px;
  color: var(--gold-strong);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.08rem;
  letter-spacing: 0.09em;
}

#product-modal-title {
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--text);
}

.product-modal-body {
  display: grid;
  gap: 10px;
}

.product-modal-note {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.product-modal-list {
  display: grid;
  gap: 8px;
  contain: content;
}

.product-modal-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(217, 169, 61, 0.12);
  overflow: hidden;
}

.product-modal-name {
  min-width: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.product-modal-price {
  flex-shrink: 0;
  color: var(--gold-strong);
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
}

.product-modal-item.is-compact {
  flex-direction: column;
  gap: 8px;
}

.product-modal-item.is-compact .product-modal-price {
  align-self: flex-start;
}

body.modal-open {
  overflow: hidden;
  width: 100%;
  position: fixed;
  left: 0;
  right: 0;
}

body.modal-open::before {
  opacity: 0.1;
}

body.modal-open .page-shell::before,
body.modal-open .page-shell::after {
  opacity: 0.45;
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100vw, calc(100vw - 20px));
    padding-top: 14px;
  }

  .site-header {
    padding-inline: 0;
  }

  .menu-toggle {
    display: none;
  }

  .brand {
    align-self: center;
  }

  .brand-logo {
    width: clamp(86px, 26vw, 112px);
  }

  .phone-link {
    font-size: 0.78rem;
    gap: 6px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-top: 12px;
    padding: 15px 0 13px;
    border-top: 1px solid rgba(217, 169, 61, 0.55);
    border-bottom: 1px solid rgba(217, 169, 61, 0.55);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .mobile-nav.open {
    box-shadow: 0 12px 18px rgba(0, 0, 0, 0.22);
  }

  .mobile-nav-link {
    font-size: 1.95rem;
    text-align: center;
  }

  .menu-section {
    margin-top: 24px;
  }

  .menu-reference-note {
    margin-top: 8px;
    font-size: 0.72rem;
  }

  .desktop-menu-grid {
    display: none;
  }

  .mobile-menu-grid {
    display: block;
  }

  .mobile-grid-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .mobile-category-title {
    display: block;
  }

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

  .menu-card-label {
    width: calc(100% - 20px);
    font-size: 0.86rem;
    padding-inline: 8px;
  }

  .contact-rail {
    right: 12px;
    bottom: 12px;
    justify-content: center;
  }

  .help-bubble {
    padding: 14px 18px;
    font-size: 1rem;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100vw, calc(100vw - 14px));
  }

  .site-header {
    padding-right: 0;
    row-gap: 10px;
  }

  .menu-toggle {
    display: none;
  }

  .brand {
    align-self: center;
  }

  .phone-link {
    font-size: 0.7rem;
    right: 0;
  }

  .brand-logo {
    width: clamp(92px, 38vw, 116px);
  }

  .mobile-grid-row {
    gap: 10px;
  }

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

  .menu-card-label {
    bottom: 10px;
    font-size: 0.9rem;
    padding: 9px 10px 8px;
  }

  .mobile-category-title {
    margin-top: 18px;
    margin-bottom: 12px;
  }

  .contact-rail {
    justify-content: flex-end;
  }

  .help-bubble {
    font-size: 0.95rem;
    padding: 13px 16px;
  }

  .product-modal-dialog {
    width: min(100%, 540px);
    max-height: calc(100dvh - 20px);
    padding: 16px 14px 14px;
    border-radius: 20px;
  }

  .product-modal-item {
    gap: 10px;
    padding: 9px 10px;
  }

  .product-modal-name,
  .product-modal-price {
    font-size: 0.9rem;
  }
}
