:root {
  --navy: #0b1f3a;
  --navy-2: #122a4d;
  --gold: #e0b25a;
  --gold-deep: #c9962e;
  --cream: #f6efe4;
  --ink: #160d0a;
  --muted: #6d645c;
  --line: #eadfce;
  --card: #ffffff;
  --danger: #9f1c16;
  --ok: #1f7a4d;
  --shadow: 0 10px 28px rgba(11, 31, 58, 0.08);
  --radius: 16px;
  --app: 480px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

html {
  background: #071525;
}

body {
  font-family: Poppins, system-ui, sans-serif;
  color: var(--ink);
  background: #071525;
  line-height: 1.45;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
.mark,
.brand strong {
  font-family: Montserrat, Poppins, sans-serif;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}
.skip:focus {
  top: 12px;
}

.app-shell {
  max-width: var(--app);
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--cream);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.35);
  position: relative;
}

#app {
  padding-bottom: calc(120px + env(safe-area-inset-bottom));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
}

.mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #c81e1e;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
  flex: none;
}

.brand {
  flex: 1;
  min-width: 0;
}
.brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.brand span {
  display: block;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.icon-btn,
.cart-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  flex: none;
}

.cart-icon em {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--gold);
  color: var(--navy);
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.hero-card {
  padding: 18px 16px 8px;
}

.eyebrow {
  color: var(--gold-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 6px 0 10px;
  letter-spacing: -0.03em;
}

.hero-meta {
  margin-bottom: 8px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
  padding: 6px 10px;
  border-radius: 999px;
}
.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ca3af;
}
.status.is-open i {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}
.status.is-closed i {
  background: #f59e0b;
}

.pickup-line {
  color: var(--muted);
  font-size: 13px;
}

.search-wrap {
  padding: 8px 16px 4px;
}
.search-wrap input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
}

.cats {
  position: sticky;
  top: 64px;
  z-index: 20;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px 12px;
  background: linear-gradient(var(--cream) 70%, rgba(246, 239, 228, 0.92));
  scrollbar-width: none;
}
.cats::-webkit-scrollbar {
  display: none;
}

.chip {
  flex: none;
  border: 0;
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.chip.is-active {
  background: var(--navy);
  color: var(--gold);
}

.specials,
.menu-list,
.panel,
.summary,
.confirm,
.empty-card {
  padding: 4px 16px 16px;
}

.item-card,
.cart-row,
.ticket,
.empty-card,
.pay-box {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.item-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 10px;
  margin-bottom: 10px;
}
.item-card.is-disabled {
  opacity: 0.55;
}

.thumb {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 12px;
  background: #ddd1c0;
}
.thumb.sm {
  width: 64px;
  height: 64px;
}

.item-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: start;
}
.item-top h3,
.cart-row h3 {
  font-size: 15px;
  line-height: 1.25;
}
.price {
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}
.desc,
.muted {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 8px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #efe4d4;
  color: var(--navy);
  border-radius: 999px;
  padding: 3px 8px;
}
.badge.gold {
  background: var(--gold);
  color: var(--navy);
}

.add-btn,
.qty button,
.btn {
  cursor: pointer;
  border: 0;
}

.add-btn {
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
}

.qty {
  display: inline-flex;
  align-items: center;
  background: #f3ebe0;
  border-radius: 999px;
  overflow: hidden;
}
.qty span {
  min-width: 22px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
}
.qty button {
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
}

.cart-bar {
  position: sticky;
  bottom: 0;
  padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--cream) 30%);
}

.cart-cta,
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-weight: 800;
  padding: 14px 18px;
}

.cart-cta {
  background: var(--navy);
  color: #fff;
  justify-content: space-between;
}
.cart-cta strong {
  color: var(--gold);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.65;
}

.tiny {
  padding: 8px 16px 24px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.tiny a {
  color: var(--navy);
  font-weight: 700;
}

.cart-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  padding: 12px;
  margin-bottom: 10px;
  align-items: center;
}
.cart-row-end {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.text-btn {
  background: none;
  border: 0;
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 0 0;
}

.summary {
  padding-top: 0;
}
.summary.compact {
  padding-bottom: 32px;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
}
.sum-row.total {
  font-weight: 800;
  font-size: 16px;
  border-top: 1px dashed var(--line);
  margin-top: 6px;
  padding-top: 12px;
}

.pay-hint {
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0 14px;
}

.section-title {
  font-size: 1.25rem;
  margin: 4px 0 6px;
}

.address {
  margin-bottom: 14px;
}

.checkout-form {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}
.checkout-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}
.checkout-form label em {
  font-style: normal;
  color: var(--muted);
  font-weight: 500;
}
.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  font-weight: 500;
}

.pay-box {
  padding: 14px;
}
.pay-box p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px;
}

.alert {
  background: #fde8e8;
  color: var(--danger);
  padding: 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}

.confirm {
  text-align: center;
  padding-top: 20px;
}
.confirm .lead {
  color: var(--muted);
  margin-bottom: 16px;
}
.check {
  width: 64px;
  height: 64px;
  margin: 8px auto 12px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
}
.ticket {
  text-align: left;
  padding: 16px;
  margin: 8px 0 16px;
}
.ticket hr {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 8px 0;
}
.btn-row {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.empty-card {
  padding: 28px 20px;
  text-align: center;
  margin: 16px;
}
.empty-card h2 {
  margin-bottom: 8px;
}
.empty-card p {
  color: var(--muted);
  margin-bottom: 16px;
}
.empty {
  color: var(--muted);
  padding: 24px 8px;
  text-align: center;
}

@media (min-width: 720px) {
  h1 {
    font-size: 1.8rem;
  }
}
