/* ============================================
   LA LUCIANA — Estilos Principales
   Paleta: Blanco / Rojo / Negro
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* ── Paleta principal ── */
  --bg:          #f4f3f1;
  --bg-warm:     #eeecea;
  --bg-card:     #ffffff;
  --bg-card-alt: #f8f7f6;
  --bg-overlay:  rgba(0, 0, 0, 0.04);

  --red:         #c8102e;
  --red-hover:   #a50d25;
  --red-dark:    #7a0919;
  --red-light:   rgba(200, 16, 46, 0.08);
  --red-mid:     rgba(200, 16, 46, 0.15);

  --black:       #111111;
  --charcoal:    #333333;
  --text-primary:   #111111;
  --text-secondary: #555555;
  --text-muted:     #888888;

  --border:       #dddbd9;
  --border-light: #e8e6e4;
  --border-red:   rgba(200, 16, 46, 0.25);

  --success:  #1a7a4a;
  --danger:   #c8102e;
  --warning:  #b05a00;

  /* ── Espaciado ── */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;

  /* ── Radios ── */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-full: 999px;

  /* ── Sombras ── */
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.08);
  --shadow-card: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-red:  0 4px 16px rgba(200,16,46,0.25);

  /* ── Transición ── */
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET & BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text-primary); line-height: 1.6; min-height: 100vh; overflow-x: hidden; }
img   { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-warm); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: var(--radius-full); }

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
.serif { font-family: 'Playfair Display', serif; }

/* ── HEADER ──────────────────────────────── */
.app-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-xl);
}

.header-logo .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.header-logo .logo-tagline {
  font-size: 0.63rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Cart button */
.cart-btn {
  position: relative;
  background: var(--red);
  border: none;
  border-radius: var(--radius-full);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
  box-shadow: var(--shadow-red);
}

.cart-btn:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,16,46,0.35);
}

.cart-btn .cart-count {
  position: absolute;
  top: -7px; right: -7px;
  background: var(--black);
  color: #fff;
  border-radius: var(--radius-full);
  width: 20px; height: 20px;
  font-size: 0.68rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0);
  transition: all var(--transition);
}

.cart-btn .cart-count.visible { opacity: 1; transform: scale(1); }

/* ── HERO ──────────────────────────────────── */
.hero {
  margin-top: 68px;
  min-height: 340px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  overflow: hidden;
  /* Static dark background with subtle texture */
  background:
    linear-gradient(160deg, #0f0005 0%, #1a0009 40%, #200010 70%, #110008 100%);
}

/* Subtle noise overlay via pseudo-element */
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(200,16,46,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(200,16,46,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Remove old video/overlay styles — no longer used */
.hero-video, .hero-overlay { display: none; }

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,16,46,0.18);
  border: 1px solid rgba(200,16,46,0.4);
  border-radius: var(--radius-full);
  padding: 5px 16px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffd0d7;
  margin-bottom: var(--space-md);
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  color: #ffffff;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}

.hero h1 em { color: var(--red); font-style: italic; }

.hero-divider {
  width: 48px; height: 2px;
  background: var(--red);
  margin: var(--space-md) auto;
  border-radius: 2px;
}

.hero-subtitle {
  color: rgba(255,255,255,0.80);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.7;
  margin: 0 auto;
}

/* ── CATEGORY NAV ────────────────────────── */
.category-nav-wrapper {
  position: sticky;
  top: 68px;
  z-index: 90;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.category-nav {
  display: flex;
  gap: 4px;
  padding: 12px var(--space-xl);
  overflow-x: auto;
  scrollbar-width: none;
}

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

.cat-btn {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 7px 16px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex; align-items: center; gap: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}

.cat-btn:hover { border-color: var(--red); color: var(--red); background: var(--red-light); }
.cat-btn svg { opacity: 0.7; }

.cat-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-red);
}

.cat-btn.active svg { opacity: 1; }

/* ── MAIN CONTENT ───────────────────────────────── */
.main-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-xl) 120px;
}

/* ── CATEGORY SECTION ───────────────────────────── */
.menu-category { margin-bottom: var(--space-2xl); scroll-margin-top: 150px; }

.category-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.category-title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--black);
  white-space: nowrap;
  display: flex; align-items: center; gap: 10px;
}

.category-title svg { color: var(--red); flex-shrink: 0; }

.category-line {
  flex: 1; height: 1px;
  background: var(--border);
}

/* ── MENU GRID ───────────────────────────── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.menu-list { display: flex; flex-direction: column; gap: 8px; }

/* ── MENU CARD ──────────────────────────────────────── */
.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex; flex-direction: column; gap: var(--space-sm);
  transition: all var(--transition);
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.menu-card::after {
  content: '';
  position: absolute;
  inset: 0; border-radius: var(--radius-md);
  box-shadow: 0 0 0 2px var(--red);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.menu-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.10); }
.menu-card:hover::after { opacity: 1; }

.menu-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--black);
  font-weight: 600;
}

.menu-card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

.menu-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px;
}

.menu-card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
}

/* ── ADD BUTTON ──────────────────────────── */
.add-btn {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.add-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: scale(1.08);
  box-shadow: var(--shadow-red);
}

.add-btn.added { background: var(--red); border-color: var(--red); color: #fff; }
.add-btn svg { pointer-events: none; }

/* ── LIST ROW ────────────────────────────── */
.menu-item-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-md) var(--space-lg);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-md);
  transition: all var(--transition);
}

.menu-item-row:hover { border-color: var(--border-red); background: var(--red-light); }
.menu-item-row .item-info { flex: 1; }
.menu-item-row .item-name { font-size: 0.9rem; color: var(--black); font-weight: 500; }
.menu-item-row .item-desc { font-size: 0.775rem; color: var(--text-secondary); margin-top: 2px; }
.menu-item-row .item-price { font-size: 1rem; font-weight: 700; color: var(--red); white-space: nowrap; margin-right: var(--space-md); }

/* ── WINE GRID ───────────────────────────── */
.wine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }

.wine-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.wine-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity var(--transition);
}

.wine-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.wine-card:hover::before { opacity: 1; }

.wine-card-name { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--black); margin-bottom: 3px; }
.wine-card-varietal { font-size: 0.72rem; color: var(--text-muted); text-transform: capitalize; letter-spacing: 0.05em; margin-bottom: var(--space-md); }
.wine-card-footer { display: flex; align-items: center; justify-content: space-between; }
.wine-card-price { font-size: 1.05rem; font-weight: 700; color: var(--red); }

/* ── CART SIDEBAR ────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: #fff;
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h2 { font-size: 1.2rem; color: var(--black); }

.cart-close-btn {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
  font-size: 1rem;
}
.cart-close-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

.cart-body {
  flex: 1; overflow-y: auto;
  padding: var(--space-md);
  display: flex; flex-direction: column; gap: 8px;
}

.cart-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: var(--space-md); text-align: center;
}
.cart-empty-icon { color: var(--border); }
.cart-empty p { color: var(--text-muted); font-size: 0.9rem; }

.cart-item {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  display: flex; gap: var(--space-md); align-items: flex-start;
  animation: slideInCart 0.25s ease;
}
@keyframes slideInCart { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }

.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.875rem; font-weight: 600; color: var(--black); margin-bottom: 2px; }
.cart-item-sauce { font-size: 0.75rem; color: var(--text-secondary); margin-bottom: 4px; font-style: italic; }
.cart-item-price { font-size: 0.8rem; color: var(--red); font-weight: 600; }

.cart-item-controls { display: flex; align-items: center; gap: 6px; margin-top: 8px; }

.qty-btn {
  width: 26px; height: 26px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.qty-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

.qty-value { font-size: 0.875rem; font-weight: 600; min-width: 20px; text-align: center; color: var(--black); }

.cart-item-remove {
  background: none; border: none;
  color: var(--text-muted); font-size: 0.72rem; padding: 4px;
  transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--danger); }
.cart-item-subtotal { font-size: 0.875rem; font-weight: 700; color: var(--black); white-space: nowrap; margin-top: 4px; }

.cart-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: var(--space-md);
  background: var(--bg-warm);
}

.cart-summary-row {
  display: flex; justify-content: space-between;
  font-size: 0.875rem; color: var(--text-secondary);
}

.cart-total-row {
  display: flex; justify-content: space-between;
  font-size: 1.1rem; font-weight: 700; color: var(--black);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
}
.cart-total-row .total-price { color: var(--red); }

/* ── BUTTONS ─────────────────────────────── */
.btn-red {
  background: var(--red);
  color: #fff; border: none;
  border-radius: var(--radius-full);
  padding: 14px 28px;
  font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: var(--shadow-red);
}
.btn-red:hover { background: var(--red-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(200,16,46,0.38); }
.btn-red:active { transform: translateY(0); }

.btn-outline {
  background: transparent; color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 12px 24px; font-size: 0.875rem;
  transition: all var(--transition); width: 100%;
}
.btn-outline:hover { color: var(--black); border-color: var(--charcoal); background: var(--bg-warm); }

/* ── SAUCE SELECTOR MODAL ────────────────── */
.sauce-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 310;
  display: flex; align-items: flex-end;
  padding: 0;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@media (min-width: 600px) {
  .sauce-modal-overlay { align-items: center; padding: var(--space-lg); }
}
.sauce-modal-overlay.open { opacity: 1; pointer-events: all; }

.sauce-modal {
  background: #fff;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(30px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (min-width: 600px) {
  .sauce-modal { border-radius: var(--radius-lg); max-width: 480px; margin: auto; transform: scale(0.96); }
  .sauce-modal-overlay.open .sauce-modal { transform: scale(1); }
}
.sauce-modal-overlay.open .sauce-modal { transform: translateY(0); }

.sauce-modal-header {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: #fff; z-index: 1;
}

.sauce-modal-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--black); margin-bottom: 4px; }
.sauce-modal-subtitle { font-size: 0.8rem; color: var(--text-secondary); }

.sauce-modal-body { padding: var(--space-lg) var(--space-xl); }

.sauce-section-label {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: 10px; margin-top: 16px;
}

.sauce-option {
  display: flex; align-items: center; gap: var(--space-md);
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  cursor: pointer;
  transition: all var(--transition);
}
.sauce-option:hover { border-color: var(--red); background: var(--red-light); }
.sauce-option.selected { border-color: var(--red); background: var(--red-light); }
.sauce-option input[type="radio"] { accent-color: var(--red); width: 16px; height: 16px; flex-shrink: 0; }
.sauce-option-name { font-size: 0.875rem; font-weight: 500; color: var(--black); flex: 1; }
.sauce-option-desc { font-size: 0.75rem; color: var(--text-secondary); margin-top: 1px; }
.sauce-option-price { font-size: 0.875rem; font-weight: 600; color: var(--red); white-space: nowrap; }
.sauce-price-free { font-size: 0.72rem; color: var(--success); font-weight: 600; background: rgba(26,122,74,0.08); padding: 2px 8px; border-radius: var(--radius-full); }

.sauce-modal-footer {
  padding: var(--space-md) var(--space-xl) var(--space-xl);
  border-top: 1px solid var(--border);
  display: flex; gap: 10px;
}

/* ── CHECKOUT MODAL ──────────────────────────────────── */
.checkout-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-lg);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.checkout-modal-overlay.open { opacity: 1; pointer-events: all; }

.checkout-modal {
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto;
  transform: scale(0.96) translateY(16px);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.checkout-modal-overlay.open .checkout-modal { transform: scale(1) translateY(0); }

.checkout-modal-header {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; background: var(--bg-card); z-index: 1;
}
.checkout-modal-header h2 { font-size: 1.3rem; color: var(--black); }

.checkout-modal-body { padding: var(--space-xl); display: flex; flex-direction: column; gap: var(--space-lg); }

.form-section-title {
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--text-muted); margin-bottom: var(--space-sm);
  font-weight: 600;
}

.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.82rem; color: var(--text-secondary); font-weight: 500; }

.form-control {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  color: var(--text-primary); font-size: 0.9rem;
  transition: all var(--transition); width: 100%;
}
.form-control:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-light); background: #fff; }
.form-control::placeholder { color: var(--text-muted); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

/* Delivery options */
.delivery-options { display: flex; gap: 8px; }

.delivery-option {
  flex: 1;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: var(--space-md); cursor: pointer; transition: all var(--transition);
  flex-direction: column; text-align: center; justify-content: center;
}
.delivery-option:hover { border-color: var(--border-red); }
.delivery-option.selected { border-color: var(--red); background: var(--red-light); }
.delivery-option input[type="radio"] { display: none; }

.delivery-option-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.delivery-option.selected .delivery-option-icon { background: var(--red-light); color: var(--red); }
.delivery-option .payment-option-name { font-size: 0.825rem; font-weight: 600; color: var(--black); margin-top: 6px; }
.delivery-option .payment-option-desc { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }

/* Pickup info box */
.pickup-info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--red);
}
.pickup-info-box div { display: flex; flex-direction: column; gap: 3px; }
.pickup-info-box strong { font-size: 0.875rem; color: var(--black); font-weight: 600; }
.pickup-info-box span { font-size: 0.8rem; color: var(--text-secondary); }

/* Transfer data box */
.transfer-data-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.transfer-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
  gap: 12px;
}
.transfer-row:last-child { border-bottom: none; }
.transfer-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; white-space: nowrap; min-width: 60px; }
.transfer-value { font-size: 0.875rem; color: var(--black); font-weight: 500; text-align: right; }
.transfer-mono { font-family: 'Courier New', monospace; font-size: 0.82rem; color: var(--red); letter-spacing: 0.03em; word-break: break-all; }

/* Upload area */
.upload-area {
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-xl) var(--space-lg);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; transition: all var(--transition); text-align: center;
  color: var(--text-muted);
}
.upload-area:hover { border-color: var(--red); background: var(--red-light); color: var(--red); }
.upload-text { font-size: 0.875rem; font-weight: 500; }
.upload-hint { font-size: 0.72rem; color: var(--text-muted); }

.receipt-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--text-primary);
}
.receipt-preview svg { color: var(--success); flex-shrink: 0; }
.receipt-preview .file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt-remove { background: none; border: none; color: var(--text-muted); font-size: 0.8rem; cursor: pointer; }
.receipt-remove:hover { color: var(--danger); }

/* Payment options */
.payment-options { display: flex; flex-direction: column; gap: 8px; }

.payment-option {
  display: flex; align-items: center; gap: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: var(--space-md); cursor: pointer; transition: all var(--transition);
}
.payment-option:hover { border-color: var(--border-red); }
.payment-option.selected { border-color: var(--red); background: var(--red-light); }
.payment-option input[type="radio"] { accent-color: var(--red); width: 16px; height: 16px; }

.payment-option-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-card-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
}

.payment-option-name { font-size: 0.875rem; font-weight: 600; color: var(--black); }
.payment-option-desc { font-size: 0.75rem; color: var(--text-muted); }

/* Checkout summary */
.checkout-summary {
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
}
.checkout-summary-items { display: flex; flex-direction: column; gap: 4px; margin-bottom: var(--space-md); max-height: 180px; overflow-y: auto; }
.checkout-summary-item { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-secondary); padding: 3px 0; }
.checkout-summary-item .item-name-qty { flex: 1; margin-right: 8px; }
.checkout-summary-divider { height: 1px; background: var(--border); margin: 8px 0; }
.checkout-total { display: flex; justify-content: space-between; font-size: 1rem; font-weight: 700; }
.checkout-total .label { color: var(--text-secondary); }
.checkout-total .value { color: var(--red); }

/* ── SUCCESS STATE ────────────────────────── */
.success-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--space-2xl) var(--space-xl);
  text-align: center; gap: var(--space-lg);
}
.success-icon {
  width: 72px; height: 72px;
  background: rgba(26,122,74,0.1);
  border: 2px solid var(--success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--success);
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-state h3 { font-size: 1.6rem; color: var(--black); }
.success-state p { color: var(--text-secondary); font-size: 0.9rem; max-width: 300px; }
.order-number {
  font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--red);
  border: 1px solid var(--border-red);
  padding: 8px var(--space-xl); border-radius: var(--radius-full);
  letter-spacing: 0.08em; background: var(--red-light);
}

/* ── TOAST ───────────────────────────────── */
.toast-container {
  position: fixed; bottom: var(--space-xl); right: var(--space-lg);
  z-index: 500; display: flex; flex-direction: column; gap: 6px; pointer-events: none;
}
.toast {
  background: var(--black);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 0.85rem; color: #fff;
  box-shadow: var(--shadow-card);
  animation: slideToast 0.28s ease;
  max-width: 280px;
}
.toast.success { border-left-color: #1a7a4a; }
.toast.error { border-left-color: var(--danger); }
@keyframes slideToast { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeOutToast { from { opacity: 1; } to { opacity: 0; transform: translateX(16px); } }

/* ── FLOATING CART (mobile) ──────────────── */
.floating-cart {
  display: none;
  position: fixed; bottom: var(--space-xl); left: 50%; transform: translateX(-50%);
  z-index: 150;
  background: var(--red); border: none;
  border-radius: var(--radius-full);
  padding: 14px 28px; color: #fff;
  font-weight: 700; font-size: 0.9rem;
  align-items: center; gap: 8px;
  box-shadow: var(--shadow-red);
  transition: all var(--transition); white-space: nowrap;
}
.floating-cart:hover { transform: translateX(-50%) translateY(-2px); background: var(--red-hover); }

/* ── FOOTER ──────────────────────────────── */
.app-footer {
  background: var(--black);
  color: rgba(255,255,255,0.85);
  padding: var(--space-2xl) var(--space-xl);
}

.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xl);
  align-items: start;
}

.footer-brand .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; color: #fff; margin-bottom: 6px;
}
.footer-brand .footer-tagline { font-size: 0.75rem; color: rgba(255,255,255,0.4); letter-spacing: 0.12em; text-transform: uppercase; }

.footer-divider { width: 1px; background: rgba(255,255,255,0.1); align-self: stretch; }

.footer-info { display: flex; flex-direction: column; gap: 12px; }

.footer-info-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.875rem; color: rgba(255,255,255,0.7);
}
.footer-info-row svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.footer-info-row strong { display: block; color: #fff; font-size: 0.8rem; margin-bottom: 2px; }

.footer-bottom {
  max-width: 1180px; margin: var(--space-xl) auto 0;
  padding-top: var(--space-lg); border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem; color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ── BADGES ──────────────────────────────── */
.badge-free {
  background: rgba(26,122,74,0.1); color: var(--success);
  border-radius: var(--radius-full); padding: 2px 10px;
  font-size: 0.72rem; font-weight: 600;
}
.price-free { font-size: 0.78rem; color: var(--success); font-weight: 600; }

/* ── ANIMATIONS ──────────────────────────── */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.menu-card, .wine-card, .menu-item-row { animation: fadeIn 0.35s ease both; }

/* ── WINE SECTION DIVIDER ────────────────── */
.section-divider {
  margin: 48px 0; text-align: center; position: relative;
}
.section-divider::before {
  content: ''; position: absolute;
  top: 50%; left: 0; right: 0; height: 1px;
  background: var(--border);
  transform: translateY(-50%);
}
.section-divider-inner {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  background: var(--bg); padding: 0 var(--space-lg);
}
.section-divider-icon { color: var(--red); }
.section-divider h2 { font-size: 1.6rem; color: var(--black); }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-divider { display: none; }
}

@media (max-width: 768px) {
  .app-header { padding: 0 var(--space-md); }
  .cart-btn span:not(.cart-count) { display: none; }
  .cart-btn { padding: 10px 14px; }
  .hero { min-height: 340px; }
  .main-content { padding: var(--space-lg) var(--space-md) 100px; }
  .category-nav { padding: 10px var(--space-md); }
  .menu-grid { grid-template-columns: 1fr; }
  .wine-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .floating-cart { display: flex; }
  .checkout-modal-body { padding: var(--space-lg); }
  .app-footer { padding: var(--space-xl) var(--space-md); }
}

@media (max-width: 480px) {
  .wine-grid { grid-template-columns: 1fr; }
  .sauce-modal-body { padding: var(--space-lg); }
  .sauce-modal-footer { padding: var(--space-md) var(--space-lg) var(--space-xl); }
  .header-logo .logo-name { font-size: 1.15rem; }
  .menu-type-select { padding: 5px 24px 5px 12px; font-size: 0.75rem; }
  .select-chevron { right: 8px; }
}

/* ── MENU TYPE SELECTOR ───────────────────── */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-type-selector-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.menu-type-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 30px 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  transition: all var(--transition);
}
.menu-type-select:hover {
  border-color: var(--red);
  background: var(--red-light);
  color: var(--red);
}
.menu-type-select:focus {
  outline: none;
  border-color: var(--red);
}
.select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  pointer-events: none;
  display: flex;
  align-items: center;
}
.menu-type-select:hover + .select-chevron {
  color: var(--red);
}

/* ── INFO MODAL (PROXIMAMENTE) ────────────── */
.info-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-lg);
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.info-modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.info-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 360px;
  padding: var(--space-xl);
  text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  transform: scale(0.95);
  transition: transform var(--transition);
}
.info-modal-overlay.open .info-modal {
  transform: scale(1);
}
.info-modal-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-full);
  background: var(--red-light);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-md);
}
.info-modal h3 {
  font-size: 1.2rem; font-weight: 700; color: var(--black); margin-bottom: 8px;
}
.info-modal p {
  font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5;
}
