:root {
  color-scheme: dark;
  --ink: #070608;
  --panel: #0f0c0d;
  --panel-2: #17110f;
  --gold: #d7b52f;
  --gold-soft: #f2dc75;
  --text: #fff8e6;
  --muted: #887d73;
  --line: rgba(255, 232, 143, 0.11);
  --red: #f06567;
  --green: #55d37f;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  background: #050405;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(215, 181, 47, 0.12), transparent 19rem),
    radial-gradient(circle at 18% 42%, rgba(113, 42, 22, 0.24), transparent 18rem),
    linear-gradient(180deg, #050405, #0a0708 48%, #050405);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  color: inherit;
  cursor: pointer;
}

.phone-menu {
  position: relative;
  width: min(100%, 470px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 1.2rem 7rem;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18rem),
    var(--ink);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.45);
}

.oak-hero {
  position: relative;
  min-height: 17.35rem;
  margin: 0 -1.2rem;
  padding: 1rem 1.2rem 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 4, 5, 0.25), #070608 82%),
    url("../../assets/menu/steak.jpg")
      center / cover;
}

.oak-hero::before,
.oak-hero::after {
  content: "";
  position: absolute;
  width: 13rem;
  height: 7rem;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(ellipse at 18% 42%, transparent 0.75rem, rgba(215, 181, 47, 0.42) 0.78rem, transparent 0.9rem),
    radial-gradient(ellipse at 40% 34%, transparent 0.64rem, rgba(215, 181, 47, 0.36) 0.67rem, transparent 0.82rem),
    linear-gradient(23deg, transparent 48%, rgba(215, 181, 47, 0.5) 49%, rgba(215, 181, 47, 0.5) 51%, transparent 52%);
  filter: blur(0.1px);
}

.oak-hero::before {
  left: 0.7rem;
  top: 7.1rem;
  transform: rotate(-9deg);
}

.oak-hero::after {
  right: -1.7rem;
  top: 6.3rem;
  transform: scaleX(-1) rotate(-13deg);
}

.utility-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.6rem;
}

.menu-back {
  display: inline-flex;
  align-items: center;
}

.menu-brand-logo {
  display: block;
  width: auto;
  height: 2.35rem;
  object-fit: contain;
  filter: drop-shadow(0 0.55rem 1rem rgba(0, 0, 0, 0.42));
}

.language-switcher {
  position: relative;
  z-index: 4;
}

.language-current,
.language-dropdown button {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  color: var(--text);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.language-current {
  width: 2.35rem;
  height: 2.35rem;
  border-color: rgba(255, 248, 230, 0.16);
  border-radius: 999px;
  background: rgba(7, 6, 8, 0.5);
  backdrop-filter: blur(16px);
}

.language-current:hover,
.language-switcher.is-open .language-current {
  border-color: rgba(242, 220, 117, 0.65);
  background: rgba(215, 181, 47, 0.16);
}

.language-current:hover,
.language-dropdown button:hover {
  transform: translateY(-1px);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  display: grid;
  gap: 0.28rem;
  min-width: 5.8rem;
  padding: 0.38rem;
  border: 1px solid rgba(255, 248, 230, 0.14);
  border-radius: 1rem;
  background: rgba(7, 6, 8, 0.9);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.35rem);
  transition: opacity 160ms ease, transform 160ms ease;
  backdrop-filter: blur(18px);
}

.language-switcher.is-open .language-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-dropdown button {
  grid-template-columns: 1.35rem 1fr;
  gap: 0.4rem;
  width: 100%;
  min-height: 1.8rem;
  border-radius: 0.72rem;
  background: transparent;
  color: rgba(255, 248, 230, 0.72);
  font-size: 0.74rem;
  font-weight: 850;
  text-align: left;
}

.language-dropdown button.is-active {
  color: var(--text);
  background: rgba(215, 181, 47, 0.16);
}

.flag-img {
  display: block;
  width: 1.35rem;
  height: 0.95rem;
  border-radius: 0.2rem;
  object-fit: cover;
}

.brand-lockup {
  position: relative;
  z-index: 1;
  margin-top: 5.35rem;
  text-align: center;
}

.brand-lockup span {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 700;
}

.brand-lockup h1 {
  margin: 0.45rem auto 0;
  max-width: 11ch;
  color: #f8f3ea;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 11vw, 3.65rem);
  font-style: italic;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.94;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.8);
}

.brand-lockup p {
  margin: 1.15rem 0 0;
  color: rgba(255, 248, 230, 0.56);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.category-stage {
  position: sticky;
  top: 0;
  z-index: 8;
  margin: 0 -1.2rem;
  padding: 0.72rem 1.2rem 1.2rem;
  transition:
    margin 220ms ease,
    padding 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.category-carousel {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  overflow-x: auto;
  padding: 0.25rem 0.1rem 0.65rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-carousel::-webkit-scrollbar {
  display: none;
}

.category-card {
  display: grid;
  width: 5.35rem;
  height: 5.35rem;
  flex: 0 0 auto;
  place-items: center;
  padding: 0.65rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(13, 10, 10, 0.9);
  color: rgba(255, 248, 230, 0.68);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
  text-align: center;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    width 220ms ease,
    height 220ms ease,
    padding 220ms ease,
    border-radius 220ms ease;
}

.category-card svg {
  width: 1.45rem;
  height: 1.45rem;
  color: var(--gold);
  transition:
    width 220ms ease,
    height 220ms ease;
}

.category-card span {
  display: block;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.08;
  text-transform: uppercase;
  transition: font-size 220ms ease;
}

.category-card.active {
  width: 5.95rem;
  height: 5.95rem;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold));
  color: #161008;
  box-shadow: 0 24px 46px rgba(215, 181, 47, 0.3);
}

.category-card.active svg {
  color: #151006;
}

.category-card:active,
.dish-card:active {
  transform: scale(0.97);
}

.is-category-docked .category-stage {
  margin: 0 -1.2rem;
  padding: 0.55rem 1.2rem;
  border-bottom: 1px solid rgba(255, 232, 143, 0.08);
  background: rgba(9, 7, 8, 0.9);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.is-category-docked .category-carousel {
  gap: 0.55rem;
  padding: 0.1rem 0.05rem;
}

.is-category-docked .category-card,
.is-category-docked .category-card.active {
  width: 3.18rem !important;
  height: 3.18rem !important;
  min-width: 3.18rem !important;
  padding: 0.32rem !important;
  border-radius: 0.9rem;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.25);
}

.is-category-docked .category-card svg {
  width: 1.08rem;
  height: 1.08rem;
}

.is-category-docked .category-card span {
  max-width: 2.45rem;
  font-size: 0.47rem;
  line-height: 1.02;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.search-zone {
  margin-top: 0.15rem;
}

.search-pill {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 4rem;
  padding: 0 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(21, 15, 13, 0.96), rgba(12, 9, 10, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.search-icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  color: rgba(255, 248, 230, 0.64);
}

.search-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.search-pill input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 750;
}

.search-pill input::placeholder {
  color: rgba(255, 248, 230, 0.38);
}

.menu-toolbar {
  padding: 1.15rem 0 0.75rem;
}

.menu-toolbar h2 {
  margin: 0;
  min-width: 0;
  color: #fff6e8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 850;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.menu-list {
  display: grid;
  gap: 1rem;
}

.dish-card {
  display: grid;
  grid-template-columns: 5.1rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-height: 6.8rem;
  border-radius: 1.25rem;
  color: var(--text);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.dish-card:hover {
  background: rgba(255, 255, 255, 0.025);
  transform: translateY(-1px);
}

.dish-photo {
  width: 5.1rem;
  height: 5.1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 232, 143, 0.1);
  border-radius: 1.1rem;
  background: #1b1615;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38);
}

.dish-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dish-copy {
  min-width: 0;
}

.dish-topline {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  min-width: 0;
}

.dish-topline h3 {
  margin: 0;
  min-width: 0;
  color: #fff9ed;
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.dish-copy p {
  margin: 0.38rem 0 0.82rem;
  color: rgba(255, 248, 230, 0.36);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
}

.dish-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.price {
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 850;
}

.special {
  padding: 0.26rem 0.55rem;
  border-radius: 0.42rem;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold));
  color: #151006;
  font-size: 0.63rem;
  font-weight: 950;
  text-transform: uppercase;
}

.empty-state {
  padding: 3rem 1rem;
  color: var(--muted);
  text-align: center;
}

.menu-footer {
  display: grid;
  width: min(100%, 470px);
  margin: -3.6rem auto 0;
  padding: 0 1.2rem 2.2rem;
  place-items: center;
  gap: 0.48rem;
  color: rgba(255, 248, 230, 0.68);
  text-align: center;
}

.powered-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.powered-brand img {
  display: block;
  width: 5.6rem;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
}

.menu-footer a {
  color: inherit;
  font-size: 0.74rem;
  font-weight: 850;
  text-decoration: none;
  line-height: 1.2;
}

.menu-footer a:hover {
  color: var(--gold-soft);
}

@media (max-width: 430px) {
  .menu-toolbar {
    padding: 1rem 0 0.62rem;
  }

  .menu-toolbar h2 {
    font-size: 1.55rem;
    line-height: 1.08;
  }

}

@media (min-width: 720px) {
  .phone-menu {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 2.2rem;
  }
}
