:root {
  --bg: #d6dee1;
  --panel: #eaf0f1;
  --paper: #f1f0eb;
  --line: #bcc8c9;
  --line-soft: #cdd5d3;
  --ink: #1f2528;
  --ink-soft: #617074;
  --blue-accent: #7f98a6;
  --price: #375864;
  --dark-card: #22353e;
  --dark-card-2: #253a44;
  --dark-line: rgba(220, 228, 232, 0.22);
  --gold: #d3aa4e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    linear-gradient(180deg, #ced8dc 0%, var(--bg) 16%, #dbe3e6 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  padding: 1.05rem 1rem 0.45rem;
}

.hero__content {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border: 1px solid #9eb0b7;
  background:
    radial-gradient(circle at 3% 14%, rgba(236, 243, 246, 0.36) 0 5px, transparent 6px),
    radial-gradient(circle at 13% 74%, rgba(236, 243, 246, 0.3) 0 5px, transparent 6px),
    radial-gradient(circle at 26% 28%, rgba(236, 243, 246, 0.28) 0 5px, transparent 6px),
    radial-gradient(circle at 38% 84%, rgba(236, 243, 246, 0.3) 0 6px, transparent 7px),
    radial-gradient(circle at 54% 20%, rgba(236, 243, 246, 0.3) 0 5px, transparent 6px),
    radial-gradient(circle at 66% 64%, rgba(236, 243, 246, 0.3) 0 5px, transparent 6px),
    radial-gradient(circle at 79% 24%, rgba(236, 243, 246, 0.28) 0 5px, transparent 6px),
    radial-gradient(circle at 91% 78%, rgba(236, 243, 246, 0.32) 0 6px, transparent 7px),
    radial-gradient(circle at 68% 88%, rgba(236, 243, 246, 0.24) 0 4px, transparent 5px),
    linear-gradient(145deg, #839aa5 0%, #7e96a2 100%);
  background-size: auto;
  padding: 1.3rem 1.2rem 1.05rem;
  text-align: center;
}

.brand-title {
  margin: 0;
  color: #f3f0e8;
  font-family: "Iowan Old Style", "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5.8vw, 4rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.015em;
}

.brand-subtitle {
  margin: 0.4rem 0 0;
  color: #ecd593;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.quick-actions {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.62rem;
}

.quick-action {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(243, 240, 232, 0.45);
  background: rgba(31, 37, 40, 0.16);
  color: #f4f1e8;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease, color 140ms ease;
  backdrop-filter: blur(1px);
}

.quick-action:hover {
  border-color: rgba(243, 240, 232, 0.7);
  background: rgba(31, 37, 40, 0.26);
  transform: translateY(-1px);
}

.quick-action__icon {
  width: 19px;
  height: 19px;
}

.hours-panel {
  margin: 0.82rem auto 0;
  max-width: 620px;
  border: 1px solid rgba(243, 240, 232, 0.35);
  background: rgba(18, 24, 27, 0.26);
  padding: 0.7rem 0.85rem;
}

.hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.36rem;
}

.hours-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
  color: #f2eee5;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.hours-list li span:first-child {
  color: #ecd593;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.menu {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--paper);
  padding: 0.5rem 1rem 2.35rem;
}

.menu-switch {
  display: flex;
  gap: 0.65rem;
  width: fit-content;
  margin: 0 0 1.1rem;
}

.meal-tab {
  border: 1px solid #9aaab1;
  background: transparent;
  color: #596c73;
  padding: 0.58rem 0.95rem;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.meal-tab.is-active {
  border-color: #202a30;
  background: linear-gradient(90deg, #1d262b 0%, #232e34 100%);
  color: #f1f2ed;
}

.menu-content {
  display: grid;
  gap: 1.2rem;
}

.category {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 12px solid var(--blue-accent);
  border-radius: 34px;
  background: #fafaf7;
  padding: 1.45rem 2.4rem 1.5rem;
}

.category::before {
  content: "";
  position: absolute;
  top: -56px;
  right: -56px;
  width: 192px;
  height: 192px;
  border-radius: 999px;
  background: rgba(218, 208, 180, 0.48);
  pointer-events: none;
}

.category-head {
  position: relative;
  z-index: 1;
}

.category-note {
  margin: 0 0 0.34rem;
  color: #59717c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  font-variant-numeric: lining-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.category-note .note-amount {
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.category h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Iowan Old Style", "Bodoni 72", Didot, "Times New Roman", serif;
  font-size: clamp(2.15rem, 6vw, 4.05rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.012em;
}

.category-rule {
  margin: 1rem 0 0.5rem;
  height: 1px;
  background: rgba(129, 147, 154, 0.36);
}

.item-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.item-row {
  padding: 1.22rem 0.3rem 1.16rem;
}

.item-row + .item-row {
  border-top: 1px solid rgba(116, 133, 140, 0.15);
}

.item-row__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  column-gap: 0.92rem;
}

.item-row h3 {
  margin: 0;
  color: #1f262b;
  font-size: clamp(1.08rem, 2.35vw, 1.32rem);
  font-weight: 850;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.004em;
}

.item-row__top::after {
  content: "";
  border-bottom: 2px dashed rgba(124, 148, 157, 0.55);
  transform: translateY(-2px);
}

.price {
  margin: 0;
  color: var(--price);
  font-size: clamp(1.18rem, 2.5vw, 1.45rem);
  font-weight: 850;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.desc {
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
  line-height: 1.45;
}

.category--dark {
  background: linear-gradient(128deg, var(--dark-card) 0%, var(--dark-card-2) 100%);
  border-color: #50646d;
  border-left-color: #8ca2ad;
}

.category--dark::before {
  background: rgba(197, 162, 76, 0.19);
}

.category--dark .category-note {
  color: var(--gold);
}

.category--dark h2 {
  color: #ecede7;
}

.category--dark .category-rule {
  background: var(--dark-line);
}

.category--dark .item-row + .item-row {
  border-top-color: rgba(223, 229, 232, 0.12);
}

.category--dark .item-row h3 {
  color: #ecf0e9;
}

.category--dark .item-row__top::after {
  border-bottom-color: rgba(206, 167, 80, 0.58);
}

.category--dark .price {
  color: #e1b75f;
}

.category--dark .desc {
  color: #bec9cc;
}

.loading {
  display: grid;
  gap: 0.85rem;
}

.loading-card {
  height: 84px;
  border: 1px solid rgba(122, 137, 145, 0.22);
  background:
    linear-gradient(
      112deg,
      rgba(202, 211, 216, 0.56) 8%,
      rgba(244, 246, 247, 0.94) 19%,
      rgba(202, 211, 216, 0.56) 34%
    );
  background-size: 200% 100%;
  animation: shimmer 1.06s linear infinite;
}

@keyframes shimmer {
  to {
    background-position-x: -200%;
  }
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  width: 52px;
  height: 52px;
  border: 1px solid #33444c;
  border-radius: 999px;
  background: linear-gradient(130deg, #1f2b31 0%, #2b3b44 100%);
  color: #f4f1e8;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease;
}

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

.back-to-top:hover {
  background: linear-gradient(130deg, #26343b 0%, #33464f 100%);
}

.back-to-top__icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 760px) {
  .hero {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .hero__content,
  .menu {
    max-width: none;
  }

  .menu {
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .hero__content {
    padding-top: 1.1rem;
    padding-bottom: 0.9rem;
    background-size: auto;
  }

  .menu-switch {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .meal-tab {
    width: 100%;
    font-size: 0.73rem;
    letter-spacing: 0.09em;
  }

  .category {
    border-left-width: 8px;
    border-radius: 24px;
    padding: 1.02rem 1.14rem 1rem;
  }

  .category::before {
    width: 118px;
    height: 118px;
    right: -32px;
    top: -32px;
  }

  .brand-subtitle {
    letter-spacing: 0.22em;
  }

  .quick-actions {
    margin-top: 0.75rem;
    gap: 0.5rem;
  }

  .quick-action {
    width: 44px;
    height: 44px;
  }

  .hours-panel {
    margin-top: 0.68rem;
    padding: 0.62rem 0.68rem;
  }

  .hours-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.16rem;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }

  .category h2 {
    font-size: clamp(1.66rem, 8.2vw, 2.5rem);
  }

  .item-row {
    padding: 0.95rem 0.08rem;
  }

  .item-row h3,
  .price {
    font-size: 1rem;
  }

  .desc {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
