:root {
  --bg: #07111f;
  --panel: rgba(11, 20, 33, 0.78);
  --panel-strong: rgba(14, 25, 40, 0.92);
  --text: #f6f8ff;
  --muted: #d2ddf7;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  --orange: #ff6a3d;
  --yellow: #ffd447;
  --cyan: #1dd7d0;
  --pink: #ff4fa2;
  --lime: #9fea63;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 106, 61, 0.28), transparent 22%),
    radial-gradient(circle at top right, rgba(29, 215, 208, 0.2), transparent 24%),
    linear-gradient(160deg, #091120 0%, #101a2e 52%, #08101d 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.2;
}

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

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
  padding: 22px 0 36px;
}

.bg-glow {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.28;
  pointer-events: none;
}

.bg-glow-1 {
  top: -40px;
  left: -50px;
  background: rgba(255, 106, 61, 0.8);
}

.bg-glow-2 {
  right: -30px;
  bottom: 8%;
  background: rgba(29, 215, 208, 0.72);
}

.glass-panel,
.quick-links,
.category-nav,
.toolbar,
.results-label,
.group-card,
.empty-state,
.footer,
.featured-card,
.category-card,
.related-card {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.hero-home {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: stretch;
}

.hero-copy {
  padding: 28px;
  border-radius: 30px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffdba7;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

h1,
h2 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(56px, 9vw, 96px);
  line-height: 0.94;
}

h2 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 0.96;
}

.hero-text,
.section-note,
.category-copy span,
.featured-card span,
.group-note,
.item-note,
.results-label,
.related-copy p {
  color: var(--muted);
}

.hero-text {
  margin: 16px 0 0;
  max-width: 36rem;
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.cta,
.back-link,
.clear-btn,
.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
}

.cta-primary {
  color: #0f1626;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-chips span,
.group-price,
.item-price,
.card-meta strong {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-chips span {
  padding: 9px 14px;
  font-size: 13px;
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 14px;
}

.hero-shot {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-image:
    linear-gradient(180deg, rgba(5, 9, 18, 0.1), rgba(7, 12, 23, 0.84)),
    var(--bg);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.hero-shot::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-shot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 13, 24, 0.08), rgba(10, 16, 28, 0.84));
}

.hero-shot.tall {
  grid-row: span 2;
  min-height: 100%;
}

.hero-shot-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
}

.hero-shot-copy p,
.category-copy p,
.featured-card p,
.related-copy p {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-shot-copy strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
  line-height: 1.05;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border-radius: 24px;
}

.quick-links a {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-weight: 700;
}

.home-section {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}

.section-note {
  max-width: 22rem;
  margin: 0;
  line-height: 1.7;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.category-card,
.related-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 28px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.category-card:hover,
.related-card:hover,
.featured-card:hover,
.cta:hover,
.quick-links a:hover,
.category-pill:hover {
  transform: translateY(-2px);
}

.category-image,
.related-image,
.detail-visual-image {
  position: absolute;
  inset: 0;
  background-size: cover;
}

.category-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 15, 27, 0) 12%, rgba(8, 15, 27, 0.88) 100%);
}

.category-copy,
.related-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
}

.category-copy h3,
.featured-card h3,
.group-head h3,
.related-copy h3 {
  margin-top: 8px;
  font-size: 32px;
  line-height: 1;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.03em;
}

.category-copy span,
.featured-card span {
  display: block;
  margin-top: 10px;
  line-height: 1.7;
  font-size: 14px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.card-meta strong,
.featured-card strong {
  padding: 9px 14px;
  font-size: 13px;
}

.featured-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.featured-card {
  display: block;
  min-height: 220px;
  padding: 22px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 79, 162, 0.16), rgba(29, 215, 208, 0.1)),
    var(--panel);
}

.featured-card strong {
  display: inline-flex;
  margin-top: 18px;
}

.hero-detail {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
}

.hero-back {
  margin-bottom: 18px;
}

.highlight-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.highlight-list li {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  font-weight: 700;
}

.detail-visual {
  min-height: 420px;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.detail-visual-image {
  position: relative;
}

.detail-visual-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 16, 28, 0.1), rgba(10, 16, 28, 0.5));
}

.category-nav {
  position: sticky;
  top: 12px;
  z-index: 5;
  margin-top: 16px;
  padding: 12px;
  border-radius: 999px;
}

.category-nav-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav-list::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.04);
}

.category-pill.is-active {
  color: #0a1220;
  background: linear-gradient(135deg, var(--yellow), var(--cyan));
}

.toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 16px;
  padding: 16px;
  border-radius: 26px;
}

.search-box {
  display: grid;
  gap: 8px;
}

.search-box span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffe0ac;
}

.search-box input {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  outline: none;
}

.back-link,
.clear-btn {
  border: 0;
  cursor: pointer;
  color: #08101d;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.results-label {
  margin-top: 14px;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.menu-root {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.group-card {
  padding: 22px;
  border-radius: 26px;
}

.group-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.group-head h3 {
  margin-top: 0;
}

.group-note,
.item-note {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

.group-price {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
}

.menu-item-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}

.menu-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.menu-item h4 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.item-price {
  min-width: 90px;
  padding: 10px 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.flavor-tile {
  min-height: 86px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.flavor-tile strong {
  display: block;
  font-size: 16px;
}

.flavor-tile span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.empty-state {
  margin-top: 16px;
  padding: 18px;
  border-radius: 24px;
  text-align: center;
  color: var(--muted);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  min-height: 210px;
}

.related-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 24, 0.1), rgba(8, 14, 24, 0.84));
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 22px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-detail.accent-coffee .hero-copy,
body.accent-coffee .group-card,
.category-card.accent-coffee,
.related-card.accent-coffee {
  background:
    linear-gradient(145deg, rgba(255, 146, 76, 0.16), rgba(11, 20, 33, 0.86)),
    var(--panel);
}

.hero-detail.accent-fresh .hero-copy,
body.accent-fresh .group-card,
.category-card.accent-fresh,
.related-card.accent-fresh {
  background:
    linear-gradient(145deg, rgba(255, 79, 162, 0.16), rgba(29, 215, 208, 0.12)),
    var(--panel);
}

.hero-detail.accent-cold .hero-copy,
body.accent-cold .group-card,
.category-card.accent-cold,
.related-card.accent-cold {
  background:
    linear-gradient(145deg, rgba(29, 215, 208, 0.18), rgba(11, 20, 33, 0.82)),
    var(--panel);
}

.hero-detail.accent-energy .hero-copy,
body.accent-energy .group-card,
.category-card.accent-energy,
.related-card.accent-energy {
  background:
    linear-gradient(145deg, rgba(255, 212, 71, 0.2), rgba(255, 79, 162, 0.14)),
    var(--panel);
}

.hero-detail.accent-cocktail .hero-copy,
body.accent-cocktail .group-card,
.category-card.accent-cocktail,
.related-card.accent-cocktail {
  background:
    linear-gradient(145deg, rgba(255, 106, 61, 0.18), rgba(255, 79, 162, 0.14)),
    var(--panel);
}

.hero-detail.accent-beer .hero-copy,
body.accent-beer .group-card,
.category-card.accent-beer,
.related-card.accent-beer {
  background:
    linear-gradient(145deg, rgba(255, 212, 71, 0.18), rgba(155, 234, 99, 0.14)),
    var(--panel);
}

.is-hidden {
  display: none;
}

@media (max-width: 1100px) {
  .hero-home,
  .hero-detail,
  .category-grid,
  .featured-strip,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .hero-shot.tall {
    grid-column: 1 / -1;
  }

  .section-head,
  .footer {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(1240px, calc(100% - 18px));
    padding-top: 16px;
  }

  .hero-copy,
  .group-card,
  .toolbar,
  .footer,
  .quick-links,
  .category-nav,
  .featured-card {
    border-radius: 22px;
  }

  .hero-copy,
  .group-card,
  .toolbar,
  .featured-card {
    padding: 18px;
  }

  .hero-gallery,
  .flavor-grid {
    grid-template-columns: 1fr;
  }

  .hero-shot {
    min-height: 210px;
  }

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

  .menu-item,
  .group-head {
    grid-template-columns: 1fr;
  }

  .item-price {
    width: fit-content;
  }
}
