:root {
  --ink: #f8f2e8;
  --muted: #c9bfae;
  --subtle: #8a8172;
  --charcoal: #0d0d0c;
  --panel: #171614;
  --panel-strong: #211f1b;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #d99824;
  --gold-strong: #f2b544;
  --green: #85b94e;
  --danger: #d96b5c;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--charcoal);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 10% 0%, rgba(217, 152, 36, 0.16), transparent 28rem),
    linear-gradient(180deg, #080807 0%, #12110f 48%, #080807 100%);
}

button,
input,
textarea {
  font: inherit;
}

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

button {
  border: 0;
}

a {
  color: inherit;
}

.masthead {
  position: relative;
  min-height: 230px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid rgba(217, 152, 36, 0.35);
}

.masthead__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%;
  opacity: 0.5;
}

.masthead__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.15), rgba(8, 8, 7, 0.92)),
    linear-gradient(90deg, rgba(8, 8, 7, 0.94), rgba(8, 8, 7, 0.45));
}

.masthead__content {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 28px 18px 22px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.masthead h1 {
  margin: 6px 0 4px;
  color: var(--gold-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 14vw, 5.5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
}

.masthead p:not(.eyebrow) {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.masthead__phone {
  display: inline-flex;
  margin-top: 14px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.menu-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 20px 14px 112px;
}

.menu-toolbar {
  display: grid;
  gap: 14px;
  align-items: end;
  padding: 10px 4px 14px;
}

.menu-toolbar h2,
.cart-panel h2,
.cart-drawer h2,
.original-menu h2 {
  margin: 4px 0 0;
  font-size: clamp(1.35rem, 5vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.search-field {
  display: grid;
  gap: 7px;
}

.search-field span,
.form-field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.search-field input,
.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
  outline: 0;
  padding: 10px 12px;
}

.search-field input:focus,
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 152, 36, 0.18);
}

.category-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -14px 14px;
  padding: 10px 14px;
  background: rgba(13, 13, 12, 0.95);
  border-block: 1px solid var(--line);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

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

.category-tab {
  min-height: 40px;
  flex: 0 0 auto;
  border: 1px solid rgba(217, 152, 36, 0.35);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.category-tab[aria-selected="true"] {
  color: #17120a;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
}

.content-grid {
  display: grid;
  gap: 18px;
}

.menu-list {
  min-width: 0;
}

.menu-section {
  padding: 8px 0 16px;
}

.menu-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px 10px;
}

.menu-section__header h3 {
  margin: 0;
  color: var(--gold-strong);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 7vw, 2.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.menu-section__header span {
  color: var(--subtle);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.item-grid {
  display: grid;
  gap: 10px;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 12px;
}

.menu-item__details {
  min-width: 0;
}

.menu-item h4 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.menu-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.price {
  display: inline-flex;
  margin-top: 7px;
  color: var(--gold-strong);
  font-weight: 900;
}

.add-button,
.whatsapp-button,
.mobile-cart-bar button {
  min-height: 44px;
  border-radius: var(--radius);
  color: #16110a;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.add-button {
  min-width: 74px;
}

.qty-control {
  display: inline-grid;
  grid-template-columns: 38px 42px 38px;
  align-items: center;
  min-height: 40px;
  border: 1px solid rgba(217, 152, 36, 0.45);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-control button {
  width: 38px;
  height: 40px;
  color: var(--ink);
  background: rgba(217, 152, 36, 0.16);
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
}

.qty-control span {
  color: var(--ink);
  text-align: center;
  font-weight: 900;
}

.cart-panel {
  display: none;
}

.cart-panel__header,
.cart-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.text-button {
  min-height: 36px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.cart-empty,
.no-results {
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--muted);
  padding: 18px;
  line-height: 1.5;
}

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

.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.cart-line h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.cart-line p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(217, 152, 36, 0.35);
  padding-top: 14px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
}

.customer-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field textarea {
  min-height: 76px;
  resize: vertical;
}

.soft-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  color: #12110f;
  text-decoration: none;
}

.whatsapp-button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.55;
}

.clear-row {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.mobile-cart-bar {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(217, 152, 36, 0.45);
  border-radius: var(--radius);
  background: rgba(23, 22, 20, 0.98);
  box-shadow: var(--shadow);
  padding: 10px;
}

.mobile-cart-bar span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.mobile-cart-bar strong {
  display: block;
  margin-top: 2px;
}

.mobile-cart-bar button {
  min-width: 126px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.cart-drawer[aria-hidden="false"] {
  display: block;
}

.cart-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.cart-drawer__sheet {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: min(86vh, 760px);
  overflow: auto;
  border: 1px solid rgba(217, 152, 36, 0.35);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #151412;
  box-shadow: var(--shadow);
  padding: 16px 14px 22px;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
}

.original-menu {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding: 22px 4px 0;
}

.menu-pages {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 220px);
  gap: 12px;
  overflow-x: auto;
  padding: 14px 0 6px;
  scrollbar-color: rgba(217, 152, 36, 0.55) transparent;
}

.menu-pages img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid rgba(217, 152, 36, 0.28);
  border-radius: var(--radius);
  background: #050505;
}

body.drawer-open {
  overflow: hidden;
}

@media (min-width: 700px) {
  .masthead {
    min-height: 270px;
  }

  .menu-shell {
    padding-inline: 22px;
  }

  .menu-toolbar {
    grid-template-columns: 1fr minmax(260px, 380px);
  }

  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .masthead__content {
    padding-inline: 24px;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
  }

  .cart-panel {
    position: sticky;
    top: 76px;
    display: block;
    border: 1px solid rgba(217, 152, 36, 0.28);
    border-radius: var(--radius);
    background: rgba(23, 22, 20, 0.92);
    box-shadow: var(--shadow);
    padding: 16px;
  }

  .mobile-cart-bar {
    display: none;
  }

  .cart-drawer {
    display: none !important;
  }

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