:root {
  --nav-h: 61px;
  --gutter: clamp(10px, 3.6vw, 16px);
  --pad: clamp(12px, 4vw, 18px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ── Hero ── */
.hero {
  position: relative;
  background: var(--brown);
  color: var(--cream);
  text-align: center;
  padding: clamp(20px, 7vw, 28px) var(--gutter) clamp(56px, 18vw, 72px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(197, 161, 91, 0.14), transparent 60%);
  pointer-events: none;
}

.hero > * { position: relative; }

.hero .logo-badge {
  width: clamp(96px, 34vw, 128px);
  height: clamp(96px, 34vw, 128px);
  margin: 0 auto clamp(12px, 4vw, 18px);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 9vw, 2.6rem);
  line-height: 1.4;
  color: var(--cream);
}

.hero__sub {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  padding-left: 0.42em;
  color: var(--gold);
  direction: ltr;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 0;
  color: var(--gold);
  width: min(220px, 70%);
}

.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.ornament .icon { width: 14px; height: 14px; margin: 0 10px; stroke-width: 1.4; }

.hero__waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(40px, 14vw, 56px);
}

/* ── Category nav ── */
.cat-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.cat-nav__list {
  display: flex;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px var(--gutter);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.cat-nav__list::-webkit-scrollbar { display: none; }

.cat-nav__list li { flex-shrink: 0; }

.cat-nav__list li + li { margin-right: 8px; }

/* Centers when there is room, stays scrollable from the first chip when there is not. */
.cat-nav__list li:first-child { margin-right: auto; }
.cat-nav__list li:last-child { margin-left: auto; }

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px clamp(11px, 3.6vw, 15px);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  color: var(--brown);
  font-size: clamp(0.84rem, 0.78rem + 0.4vw, 0.92rem);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.chip .icon {
  width: 18px;
  height: 18px;
  margin-left: 6px;
  color: var(--gold-ink);
  transition: color 0.2s ease;
}

.chip:hover { border-color: var(--brown-soft); }

.chip[aria-current="true"] {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}

.chip[aria-current="true"] .icon { color: var(--gold); }

/* ── Menu layout ── */
.menu {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(12px, 4vw, 16px);
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(14px, 5vw, 20px) var(--gutter) 32px;
}

.panel {
  min-width: 0;
  scroll-margin-top: calc(var(--nav-h) + 12px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: clamp(16px, 5vw, 20px);
  padding: var(--pad) var(--pad) 6px;
}

.panel__head {
  display: flex;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.panel__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: clamp(38px, 11vw, 46px);
  height: clamp(38px, 11vw, 46px);
  margin-left: clamp(10px, 3vw, 12px);
  border-radius: 50%;
  background: var(--brown);
  color: var(--gold);
}

.panel__icon .icon { width: 55%; height: 55%; }

.panel--green .panel__icon { background: var(--green); }

.panel__titles { min-width: 0; }

.panel__title {
  font-weight: 800;
  font-size: clamp(1.02rem, 0.86rem + 1.4vw, 1.22rem);
  line-height: 1.35;
  color: var(--brown);
  text-wrap: balance;
}

.panel--green .panel__title { color: var(--green); }

.panel__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  direction: ltr;
  text-align: right;
}

/* ── Items ── */
.items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.item {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 8px 0;
}

.item + .item { border-top: 1px solid var(--line); }

.item__name {
  flex: 0 1 auto;
  min-width: 0;
  font-size: clamp(0.88rem, 0.7rem + 1.4vw, 1.05rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* The leader collapses first, so names keep one line on narrow phones. */
.item__leader {
  flex: 1 1 0;
  min-width: 0;
  margin: 0 clamp(6px, 2vw, 10px);
  border-bottom: 2px dotted var(--line-strong);
  transform: translateY(3px);
}

.price {
  display: inline-flex;
  align-items: baseline;
  flex-shrink: 0;
  padding: 4px clamp(9px, 3vw, 13px);
  border-radius: 999px;
  background: var(--beige-soft);
  color: var(--brown);
  font-size: clamp(0.84rem, 0.72rem + 0.9vw, 1rem);
  font-weight: 800;
  line-height: 1.5;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.price__cur {
  margin-right: 4px;
  font-size: 0.72em;
  font-weight: 500;
  color: var(--muted);
}

/* ── Featured (hookah) ── */
.panel--featured {
  background-color: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
  padding: clamp(16px, 5vw, 22px) clamp(14px, 5vw, 20px);
  background-image: radial-gradient(90% 120% at 100% 0%, rgba(197, 161, 91, 0.14), transparent 60%);
}

.feature {
  display: flex;
  align-items: center;
}

.feature__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: clamp(52px, 16vw, 68px);
  height: clamp(52px, 16vw, 68px);
  margin-left: clamp(12px, 4vw, 16px);
  border-radius: 50%;
  border: 1px solid rgba(197, 161, 91, 0.45);
  background: rgba(197, 161, 91, 0.1);
  color: var(--gold);
}

.feature__icon .icon { width: 54%; height: 54%; stroke-width: 1.4; }

.feature__body { flex: 1; min-width: 0; }

.feature__kicker {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--gold);
}

.feature__name {
  font-size: clamp(1.1rem, 0.94rem + 1.4vw, 1.35rem);
  font-weight: 800;
  line-height: 1.4;
  color: var(--cream);
}

.panel--featured .item {
  flex-direction: column;
  align-items: flex-start;
  min-height: 0;
  padding: 0;
}

.panel--featured .item .price { margin-top: 10px; }

.panel--featured .item__leader { display: none; border-bottom-color: rgba(197, 161, 91, 0.4); }

.panel--featured .price {
  background: var(--gold);
  color: var(--brown-deep);
  font-size: clamp(1.08rem, 0.96rem + 1vw, 1.25rem);
  padding: 6px clamp(14px, 4.5vw, 18px);
}

.panel--featured .price__cur { color: var(--brown); }

/* ── Footer ── */
.site-footer {
  text-align: center;
  padding: 12px var(--gutter) 40px;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer .logo-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
}

.site-footer strong {
  display: block;
  color: var(--brown);
  font-size: 0.95rem;
}

.noscript {
  max-width: 520px;
  margin: 24px auto;
  padding: 16px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

/* ── Larger screens ── */
@media (min-width: 600px) {
  .hero { padding: 40px 24px 88px; }
  .hero .logo-badge { width: 152px; height: 152px; }
  .hero__title { font-size: 3.1rem; }
  .hero__waves { height: 72px; }
  .panel { padding: 22px 24px 8px; }
  .panel--featured { padding: 26px 28px; }
  .panel--featured .item { flex-direction: row; align-items: center; }
  .panel--featured .item .price { margin-top: 0; }
  .panel--featured .item__leader { display: block; }
}

@media (min-width: 860px) {
  .menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding-top: 28px;
  }
  .panel--featured { grid-column: 1 / -1; }
}
