:root {
  --bg: #090909;
  --surface: #141414;
  --surface-2: #1d1b16;
  --text: #fff9ea;
  --muted: #b9b09d;
  --line: rgba(245, 196, 0, 0.22);
  --gold: #f5c400;
  --gold-2: #ffde59;
  --green: #25d366;
  --danger: #ff6b6b;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(245, 196, 0, 0.13), transparent 32rem),
    linear-gradient(180deg, #0d0c09 0%, var(--bg) 42%);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 999px;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  width: min(86vw, 320px);
  background: rgba(9, 9, 9, 0.98);
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(-105%);
  transition: transform 180ms ease;
  overflow-y: auto;
}

.sidebar.is-open {
  transform: translateX(0);
}

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

.sidebar__brand strong,
.topbar__brand {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sidebar__brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-logo--sidebar {
  height: 58px;
}

.brand-logo--topbar {
  height: 42px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #151100;
  background: var(--gold);
  border-radius: 12px;
  font-size: 1.45rem;
}

.brand-mark--small {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 1.15rem;
}

.sidebar__nav {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.sidebar__nav a,
.category-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text);
  background: transparent;
}

.sidebar__nav a {
  padding: 12px 14px;
}

.sidebar__nav a:hover,
.sidebar__nav a.is-active,
.category-chip:hover,
.category-chip.is-active {
  border-color: var(--line);
  background: rgba(245, 196, 0, 0.11);
}

.sidebar__nav i,
.category-chip i {
  color: var(--gold);
  font-size: 1.25rem;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.68);
}

.overlay[hidden],
.cart-modal[hidden],
.product-modal[hidden] {
  display: none !important;
}

.content {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px clamp(14px, 4vw, 34px);
  border-bottom: 1px solid var(--line);
  background: rgba(9, 9, 9, 0.86);
  backdrop-filter: blur(14px);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.icon-button i {
  font-size: 1.6rem;
}


.hero {
  display: grid;
  min-height: 430px;
  align-items: end;
  padding: clamp(28px, 6vw, 72px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.42)),
    url("https://images.unsplash.com/photo-1565539383096-875303015bd2?q=80&w=1038&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D") center/cover;
}

.hero__content {
  max-width: 720px;
}

.hero-logo {
  display: block;
  width: min(180px, 52vw);
  height: auto;
  margin-bottom: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.7rem);
  line-height: 0.96;
}

.hero p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: #eee2c6;
  font-size: 1.04rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.button i {
  font-size: 1.25rem;
}

.button--primary {
  color: #151100;
  background: var(--gold);
}

.button--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.button--whatsapp {
  width: 100%;
  color: #06170d;
  background: var(--green);
}

.toolbar {
  position: sticky;
  top: 67px;
  z-index: 25;
  display: grid;
  gap: 14px;
  padding: 16px clamp(14px, 4vw, 34px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(9, 9, 9, 0.9);
  backdrop-filter: blur(14px);
}

.search {
  position: relative;
  display: block;
  max-width: 780px;
}

.search i {
  position: absolute;
  top: 50%;
  left: 14px;
  color: var(--gold);
  font-size: 1.25rem;
  transform: translateY(-50%);
}

.search input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  outline: 0;
  background: var(--surface);
}

.search input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245, 196, 0, 0.1);
}

.category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.category-chip {
  flex: 0 0 auto;
  padding: 10px 13px;
  font-weight: 700;
  white-space: nowrap;
}

.menu {
  display: grid;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px clamp(14px, 4vw, 34px) 110px;
}

.category-section {
  scroll-margin-top: 170px;
}

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

.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.section-heading i {
  color: var(--gold);
}

.section-heading span {
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

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

.menu-subgroup {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.menu-subgroup:last-child {
  margin-bottom: 0;
}

.menu-subgroup__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(245, 196, 0, 0.08);
}

.menu-subgroup__heading h3 {
  margin: 0;
  color: var(--gold-2);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.menu-subgroup__heading span {
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
}

.product-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  min-height: 142px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025)), var(--surface);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: var(--line);
  outline: 0;
  transform: translateY(-2px);
}

.product-media {
  position: relative;
  display: grid;
  min-height: 118px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(245, 196, 0, 0.28), rgba(255, 255, 255, 0.06)),
    var(--surface-2);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media i {
  color: rgba(245, 196, 0, 0.84);
  font-size: 2.1rem;
}

.product-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.product-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.product-badge {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(245, 196, 0, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-description {
  display: -webkit-box;
  min-height: 2.7em;
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  color: var(--gold-2);
  font-weight: 800;
}

.add-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 11px;
  color: #151100;
  background: var(--gold);
  cursor: pointer;
}

.add-button i {
  font-size: 1.2rem;
}

.cart-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #151100;
  background: var(--gold);
  box-shadow: var(--shadow);
  font-weight: 900;
  cursor: pointer;
}

.cart-fab i {
  font-size: 1.45rem;
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-items: end;
  background: rgba(0, 0, 0, 0.72);
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.78);
}

.product-modal__panel {
  position: relative;
  width: min(100%, 760px);
  max-height: 92vh;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #10100f;
  box-shadow: var(--shadow);
}

.product-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.56);
}

.product-modal__image {
  display: grid;
  min-height: 320px;
  place-items: center;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  background:
    linear-gradient(135deg, rgba(245, 196, 0, 0.24), rgba(255, 255, 255, 0.06)),
    var(--surface-2);
}

.product-modal__image img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}

.product-modal__image i {
  color: rgba(245, 196, 0, 0.9);
  font-size: 4rem;
}

.product-modal__content {
  padding: 22px;
}

.product-modal__content h2 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.35rem);
}

.product-modal__content p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}

.product-modal__footer strong {
  color: var(--gold-2);
  font-size: 1.35rem;
}

.cart-modal__panel {
  width: min(100%, 620px);
  max-height: 88vh;
  margin-left: auto;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 22px 0 0 0;
  background: #10100f;
  box-shadow: var(--shadow);
  padding: 22px;
}

.cart-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.cart-modal__header h2 {
  margin: 0;
}

.cart-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 28px 12px;
  color: var(--muted);
  text-align: center;
}

.cart-empty i {
  color: var(--gold);
  font-size: 2rem;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.cart-line strong,
.cart-line small {
  display: block;
}

.cart-line small {
  margin-top: 3px;
  color: var(--muted);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
}

.field {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.field textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  outline: 0;
  background: var(--surface);
  padding: 12px;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.cart-total strong {
  color: var(--gold-2);
  font-size: 1.35rem;
}

.empty-results {
  display: grid;
  place-items: center;
  min-height: 240px;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 1120px) {
  .sidebar {
    transform: none;
  }

  .content {
    margin-left: 320px;
  }

  .topbar {
    padding-left: 28px;
  }

  #menuBtn {
    display: none;
  }

  .overlay {
    display: none;
  }
}

@media (max-width: 980px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 360px;
    padding: 28px 16px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .toolbar {
    top: 67px;
  }

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

  .product-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .cart-modal__panel {
    width: 100%;
    border-radius: 22px 22px 0 0;
  }

  .product-modal {
    align-items: end;
    padding: 12px;
  }

  .product-modal__panel {
    width: 100%;
    border-radius: 18px;
  }

  .product-modal__image {
    min-height: 230px;
  }

  .product-modal__footer {
    align-items: stretch;
    flex-direction: column;
  }
}
.price-selection {
  width: 100%;
}

.price-selection__label {
  margin: 0 0 12px !important;
  color: var(--muted) !important;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.price-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  color: var(--text);
  background:
    linear-gradient(180deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.025)),
    var(--surface);
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.price-option::before {
  content: '';
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border: 2px solid var(--muted);
  border-radius: 50%;
  background: transparent;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.price-option span {
  min-width: 0;
  flex: 1;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.price-option strong {
  flex: 0 0 auto;
  color: var(--gold-2);
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
}

.price-option:hover {
  border-color: var(--line);
  background:
    linear-gradient(180deg,
      rgba(245, 196, 0, 0.1),
      rgba(245, 196, 0, 0.035)),
    var(--surface);
  transform: translateY(-2px);
}

.price-option.is-selected {
  border-color: var(--gold);
  background:
    linear-gradient(180deg,
      rgba(245, 196, 0, 0.18),
      rgba(245, 196, 0, 0.07)),
    var(--surface-2);
  box-shadow:
    0 0 0 3px rgba(245, 196, 0, 0.08),
    0 12px 30px rgba(0, 0, 0, 0.28);
}

.price-option.is-selected::before {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: inset 0 0 0 3px #151100;
}

.price-option.is-selected span {
  color: var(--gold-2);
}

.price-option.is-selected strong {
  color: var(--gold);
}

.price-option:focus-visible {
  border-color: var(--gold);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(245, 196, 0, 0.12);
}

#productModalAddBtn:disabled,
.product-modal__add:disabled {
  color: rgba(21, 17, 0, 0.72);
  background: rgba(245, 196, 0, 0.45);
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.single-product-price {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--gold-2);
  background: rgba(245, 196, 0, 0.08);
  font-size: 1.25rem;
  font-weight: 900;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .price-options {
    grid-template-columns: 1fr;
  }

  .price-option {
    min-height: 64px;
  }
}
