:root {
  --bg: #0a0a0a;
  --bg2: #161616;
  --bg3: #1f1f1f;
  --red: #E01010;
  --red-dark: #a00a0a;
  --red-glow: rgba(224,16,16,0.2);
  --yellow: #FFD700;
  --white: #ffffff;
  --gray: #777777;
  --gray-light: #bbbbbb;
  --border: #252525;
  --radius: 14px;
  --nav-h: 64px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--white);
  min-height: 100dvh;
  padding-bottom: var(--nav-h);
  overflow-x: hidden;
}

/* ── HEADER ──────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1;
}

.logo img {
  height: 38px;
  width: auto;
  display: block;
}

.header-logo {
  height: 52px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  margin: 0 auto 8px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.logo span { color: var(--red); }

.header-sub {
  font-size: 9px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.header-badge {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── HERO ────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  max-height: 720px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 20px 32px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('pizza-hero.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.1) 25%,
    rgba(0,0,0,0.55) 60%,
    rgba(0,0,0,0.95) 100%
  );
}

.hero-content { position: relative; z-index: 2; width: 100%; }

.hero-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
  font-weight: 700;
  background: rgba(224,16,16,0.12);
  border: 1px solid rgba(224,16,16,0.3);
  padding: 5px 14px;
  border-radius: 20px;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.hero h1 .highlight { color: var(--red); }

.hero-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── QUICK ACTIONS ───────────────────────── */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.qa-btn {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--white);
}

.qa-btn:active { transform: scale(0.96); }

.qa-btn.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.qa-btn .icon { font-size: 22px; }
.qa-btn .label { font-size: 11px; font-weight: 600; letter-spacing: 0.3px; text-align: center; }

/* ── ESTRELLA BANNER ─────────────────────── */
.estrella-banner {
  background: linear-gradient(90deg, var(--red-dark) 0%, var(--red) 100%);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.estrella-banner .text h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.estrella-banner .text p { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 2px; }

.estrella-banner .price {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

/* ── CATEGORY CARDS ──────────────────────── */
.cat-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 20px;
  scrollbar-width: none;
}
.cat-scroll::-webkit-scrollbar { display: none; }

.cat-card {
  flex-shrink: 0;
  width: 140px;
  height: 170px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.cat-card:active { transform: scale(0.97); }

.cat-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.cat-card:active .cat-card-bg { transform: scale(1.05); }

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 60%);
}

.cat-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
}

.cat-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.cat-card-sub { font-size: 10px; color: rgba(255,255,255,0.6); margin-top: 2px; }

.cat-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

/* category backgrounds */
.cat-beer   { background: linear-gradient(135deg, #1a0800, #3a1500); }
.cat-pizza  { background: linear-gradient(135deg, #1a0000, #3a0a00); }
.cat-coctel { background: linear-gradient(135deg, #0a0a1a, #1a0a2a); }
.cat-botan  { background: linear-gradient(135deg, #0a1a00, #1a2a00); }
.cat-pasta  { background: linear-gradient(135deg, #1a1a00, #2a2000); }

/* ── INFO CARDS ──────────────────────────── */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.info-card {
  padding: 18px 10px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.info-card:last-child { border-right: none; }

.info-card-icon { font-size: 22px; margin-bottom: 5px; }
.info-card-value {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.info-card-value.open  { color: #4cd964; }
.info-card-value.rating { color: var(--yellow); }
.info-card-label { font-size: 10px; color: var(--gray); margin-top: 3px; letter-spacing: 0.5px; text-transform: uppercase; }

/* ── SECTIONS ────────────────────────────── */
.section { padding: 24px 20px; border-bottom: 1px solid var(--border); }
.section:last-child { border-bottom: none; }

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.section-icon { font-size: 22px; }

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex: 1;
}

.section-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-red   { background: var(--red); color: #fff; }
.badge-white { background: #fff; color: #000; }
.badge-dim   { background: var(--bg3); color: var(--gray-light); border: 1px solid var(--border); }

/* ── MENU TABS ───────────────────────────── */
.menu-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 20px;
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ── MENU ITEMS ──────────────────────────── */
.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.menu-item:last-child { border-bottom: none; }

.menu-item-info { flex: 1; }

.menu-item-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.menu-item-desc { font-size: 12px; color: var(--gray); line-height: 1.4; }

.menu-item-price {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.menu-item-price .price-slash { font-size: 13px; color: var(--gray); }

/* ── BEER CARD ───────────────────────────── */
.beer-card {
  background: linear-gradient(135deg, var(--bg2) 0%, #200000 100%);
  border: 1px solid var(--red-dark);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}

.beer-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.beer-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
}

.beer-card-brands { font-size: 11px; color: var(--gray); margin-bottom: 12px; }

/* ── PIZZA SECTION ───────────────────────── */
.pizza-type-label {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 18px 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pizza-type-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.pizza-price-note { font-size: 11px; color: var(--gray); margin-bottom: 8px; }

/* ── EVENT CARDS ─────────────────────────── */
.event-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: border-color 0.2s;
}

.event-card:hover { border-color: var(--red); }

.event-day {
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  width: 52px;
  height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-day .day-name { font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.event-day .day-icon { font-size: 20px; margin-top: 2px; }

.event-info h4 { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.event-info p { font-size: 12px; color: var(--gray); }

/* ── ACTION CARDS ────────────────────────── */
.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.action-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  display: block;
  transition: all 0.2s;
}

.action-card:active { transform: scale(0.96); }
.action-card.full { grid-column: 1 / -1; }

.action-card.google   { border-color: #4285f4; background: linear-gradient(135deg, var(--bg2), #001230); }
.action-card.instagram { border-color: #e1306c; background: linear-gradient(135deg, var(--bg2), #25001a); }
.action-card.whatsapp { border-color: #25d366; background: linear-gradient(135deg, var(--bg2), #001a0e); }
.action-card.maps     { border-color: #34a853; background: linear-gradient(135deg, var(--bg2), #001a0a); }

.action-card .ac-icon  { font-size: 32px; margin-bottom: 8px; }
.action-card .ac-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.action-card .ac-sub   { font-size: 11px; color: var(--gray); }

/* ── PHOTO GRID ──────────────────────────── */
.photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 160px 160px;
  gap: 4px;
  margin: 0;
}

.photo-cell {
  background: var(--bg2);
  overflow: hidden;
  position: relative;
}

.photo-cell.tall { grid-row: 1 / 3; }

.photo-cell-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.photo-cell:active .photo-cell-bg { transform: scale(1.05); }

.photo-cell-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}

.photo-cell-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

/* placeholder colors per cell */
.pc-pizza  { background: linear-gradient(135deg, #2a0800, #1a0400); }
.pc-beer   { background: linear-gradient(135deg, #1a0800, #0a0400); }
.pc-coctel { background: linear-gradient(135deg, #0a001a, #100020); }
.pc-patio  { background: linear-gradient(135deg, #000a1a, #001020); }

/* ── LOCATION ────────────────────────────── */
.location-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.map-placeholder {
  height: 160px;
  background: linear-gradient(135deg, #001a00, #001200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.map-placeholder:active { background: linear-gradient(135deg, #002800, #001a00); }
.map-placeholder .map-icon { font-size: 40px; }
.map-placeholder .map-text { font-size: 13px; color: var(--gray); }

.location-info { padding: 16px; }
.location-info h4 { font-weight: 700; margin-bottom: 6px; font-size: 16px; }
.location-info p { font-size: 13px; color: var(--gray); line-height: 1.6; }

.hours-grid { margin-top: 14px; display: grid; gap: 8px; }

.hour-row { display: flex; justify-content: space-between; font-size: 13px; }
.hour-row .day  { color: var(--gray-light); }
.hour-row .time { color: var(--gray); }
.hour-row.today .day  { color: var(--red); font-weight: 700; }
.hour-row.today .time { color: var(--red); }

/* ── FOOTER ──────────────────────────────── */
.footer {
  padding: 28px 20px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-logo span { color: var(--red); }
.footer-tagline { font-size: 12px; color: var(--gray); margin-bottom: 16px; letter-spacing: 1px; }
.footer-ticket {
  display: inline-block;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--gray-light);
  line-height: 1.6;
  margin-top: 8px;
}

.footer-ticket strong { color: var(--red); }

/* ── BOTTOM NAV ──────────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(22,22,22,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 200;
}

.nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: none;
  color: var(--gray);
  padding: 8px 0;
}

.nav-btn.active { color: var(--red); }
.nav-btn .nav-icon  { font-size: 20px; }
.nav-btn .nav-label { font-size: 9px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }

/* ── PAGES ───────────────────────────────── */
.page {
  display: none;
  position: fixed;
  top: 77px;
  left: 0; right: 0;
  bottom: 60px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 10;
}
.page.active { display: block; }

/* ── ITEM BADGES ─────────────────────────── */
.item-badge {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.veg  { background: #0f2a0f; color: #5cd45c; border: 1px solid #1a4a1a; }
.hot  { background: #2a0505; color: #ff6b6b; }
.star { background: #2a1000; color: var(--yellow); border: 1px solid #3a1800; }

/* ── SCROLL REVEAL ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── DIVIDER ─────────────────────────────── */
.section-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-dark), transparent);
}

/* ── FORMS ───────────────────────────────── */
.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--red);
}

.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

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

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.btn {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--red); color: #fff; }
.btn-secondary { background: var(--bg3); color: var(--white); border: 1px solid var(--border); }
.btn-whatsapp { background: #25d366; color: #fff; }

.btn-icon { margin-right: 8px; }

/* ── PROFILE / LOYALTY ───────────────────── */
.loyalty-card {
  background: linear-gradient(135deg, #1a0000 0%, #2a0505 50%, #1a0000 100%);
  border: 1px solid var(--red-dark);
  border-radius: 18px;
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.loyalty-card::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(224,16,16,0.1);
}

.loyalty-greeting {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}

.loyalty-name {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.loyalty-points-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 6px;
}

.loyalty-points-num {
  font-family: 'Oswald', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.loyalty-points-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding-bottom: 6px;
}

.loyalty-level {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.loyalty-progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
}

.loyalty-progress-fill {
  height: 100%;
  background: var(--red);
  border-radius: 3px;
  transition: width 0.8s ease;
}

.loyalty-progress-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 6px;
}

/* ── REWARDS LIST ────────────────────────── */
.reward-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}

.reward-item.unlocked { border-color: var(--red); }
.reward-item.locked { opacity: 0.5; }

.reward-icon { font-size: 32px; flex-shrink: 0; }

.reward-info { flex: 1; }
.reward-name { font-weight: 700; font-size: 15px; margin-bottom: 3px; }
.reward-pts { font-size: 12px; color: var(--gray); }

.reward-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.reward-btn:disabled { background: var(--bg3); color: var(--gray); cursor: not-allowed; }

/* ── CHECKIN BOX ─────────────────────────── */
.checkin-box {
  background: var(--bg2);
  border: 1px dashed var(--red);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.checkin-box h4 { font-weight: 700; margin-bottom: 6px; }
.checkin-box p  { font-size: 13px; color: var(--gray); margin-bottom: 14px; }

.checkin-input-row { display: flex; gap: 10px; }
.checkin-input-row .form-input { flex: 1; text-align: center; letter-spacing: 4px; font-size: 20px; font-weight: 700; }
.checkin-submit { background: var(--red); color: #fff; border: none; border-radius: 10px; padding: 14px 18px; font-size: 14px; font-weight: 700; cursor: pointer; }

/* ── AUTH SCREEN ─────────────────────────── */
.auth-screen { padding: 24px 20px; }

.auth-tabs { display: flex; background: var(--bg2); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  color: var(--gray);
  transition: all 0.2s;
  border: none;
  background: none;
  font-family: 'Inter', sans-serif;
}
.auth-tab.active { background: var(--red); color: #fff; }

/* ── RESERVA CONFIRM ─────────────────────── */
.reserva-summary {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}

.reserva-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.reserva-row:last-child { border-bottom: none; }
.reserva-row .label { color: var(--gray); }
.reserva-row .value { font-weight: 600; }

/* ── VISIT HISTORY ───────────────────────── */
.visit-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.visit-item:last-child { border-bottom: none; }
.visit-date { font-size: 13px; color: var(--gray); }
.visit-pts { font-size: 13px; font-weight: 700; color: var(--red); }

/* ── TOAST ───────────────────────────────── */
.toast {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  z-index: 999;
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
  white-space: nowrap;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { border-color: #4cd964; color: #4cd964; }
.toast.error { border-color: var(--red); color: var(--red); }

/* ── 5-ITEM NAV ──────────────────────────── */
.nav-btn .nav-label { font-size: 8px; }

@media (min-width: 480px) {
  .hero h1 { font-size: 44px; }
  .nav-btn .nav-label { font-size: 9px; }
}

/* ── CART / ORDER ────────────────────────── */
.menu-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.add-btn-group { display: flex; gap: 4px; }

.add-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 7px;
  width: 30px;
  height: 30px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.add-btn.alt {
  background: var(--bg3);
  border: 1px solid var(--border);
  font-size: 10px;
  font-weight: 700;
  width: auto;
  padding: 0 7px;
  color: var(--white);
}

.cart-fab {
  position: fixed;
  bottom: 76px;
  right: 16px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 400;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(224,16,16,0.5);
  font-family: 'Inter', sans-serif;
  transition: transform 0.15s;
}
.cart-fab.visible { display: flex; }
.cart-fab:active  { transform: scale(0.96); }

.cart-badge {
  background: #fff;
  color: var(--red);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg2);
  border-radius: 22px 22px 0 0;
  z-index: 501;
  padding: 12px 20px max(env(safe-area-inset-bottom), 28px);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 88vh;
  overflow-y: auto;
}
.cart-sheet.open { transform: translateY(0); }

.cart-handle {
  width: 40px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 20px;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cart-header h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 700;
}
.cart-close {
  background: var(--bg3);
  border: none;
  color: var(--white);
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}

.cart-empty { text-align: center; color: var(--gray); padding: 30px 0; font-size: 14px; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.cart-item-unit { font-size: 11px; color: var(--gray); }

.cart-qty { display: flex; align-items: center; gap: 8px; }
.cart-qty-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--white);
  width: 28px; height: 28px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-qty-num { font-size: 15px; font-weight: 700; min-width: 18px; text-align: center; }
.cart-item-price { font-size: 14px; font-weight: 700; min-width: 52px; text-align: right; }

.cart-mesa { margin: 16px 0; }

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0 12px;
  border-top: 2px solid var(--border);
  margin-top: 4px;
}
.cart-total-label { font-size: 14px; color: var(--gray); }
.cart-total-num { font-family: 'Oswald', sans-serif; font-size: 32px; font-weight: 700; }

/* Mesa banner */
.mesa-banner {
  display: none;
  background: var(--red);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  letter-spacing: 0.5px;
}

/* Waitlist */
.waitlist-card {
  background: var(--bg2);
  border: 1px dashed var(--red-dark);
  border-radius: var(--radius);
  padding: 20px;
}
