/* ============ TOKENS · PALETA DEL MAR ============ */
:root {
  --celeste: #87CEEB;
  --celeste-soft: #B6E0F2;
  --azul-claro: #4A90E2;
  --azul-medio: #2E5F8E;
  --azul-marino: #1B3A5C;
  --azul-profundo: #0F2540;
  --arena: #F5F7FA;
  --arena-2: #E8EEF5;
  --gold: #F4C95D;
  --gold-dark: #C9A14A;
  --texto: #1B2A3A;
  --texto-suave: #4A6275;
  --blanco: #FFFFFF;
  --rojo: #D9534F;
  --verde: #2E8B57;
  --shadow-sm: 0 2px 8px rgba(15,37,64,0.08);
  --shadow-md: 0 8px 24px rgba(15,37,64,0.12);
  --shadow-lg: 0 16px 40px rgba(15,37,64,0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --grad-mar: linear-gradient(135deg, #87CEEB 0%, #4A90E2 45%, #1B3A5C 100%);
  --grad-mar-suave: linear-gradient(180deg, #E8F4FB 0%, #FFFFFF 100%);
  --grad-mar-oscuro: linear-gradient(135deg, #1B3A5C 0%, #0F2540 100%);
}

/* ============ BASE ============ */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--texto);
  background: linear-gradient(180deg, #D6EAF8 0%, #EBF5FB 45%, #F8FCFE 100%);
  background-attachment: fixed;
  font-size: 17px;
  line-height: 1.55;
  min-height: 100vh;
}
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.01em; color: var(--azul-marino); margin: 0 0 12px; }
h1 { font-size: 2.8rem; line-height: 1.15; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 12px; }
a { color: var(--azul-claro); cursor: pointer; text-decoration: none; }
a:hover { text-decoration: underline; }
.hidden { display: none !important; }

/* ============ BOTONES ============ */
.btn {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:disabled,
.btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.btn-primary { background: var(--grad-mar); color: white; }
.btn-outline { background: transparent; color: var(--azul-marino); border: 2px solid var(--azul-marino); }
.btn-outline:hover { background: var(--azul-marino); color: white; }
.btn-gold { background: var(--gold); color: var(--azul-marino); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-ghost-light { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.28); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { font-size: 1.1rem; padding: 16px 32px; }
.btn-sm { font-size: 0.9rem; padding: 8px 16px; }

/* ============ TOP BANNER ============ */
.top-banner {
  background: var(--grad-mar);
  color: white;
  padding: 14px 24px;
  position: relative;
  z-index: 50;
}
.top-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.top-banner-text { display: flex; flex-direction: column; gap: 2px; }
.top-banner-text strong { font-size: 1.05rem; }
.top-banner-sub { font-size: 0.85rem; opacity: 0.9; }
.top-banner-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.top-banner-close {
  background: transparent; border: none; color: white;
  font-size: 1.6rem; cursor: pointer; padding: 0 6px; line-height: 1;
}
.top-banner-close:hover { opacity: 0.7; }

/* ============ NAVBAR ============ */
.navbar {
  background: #3498DB;
  box-shadow: 0 2px 12px rgba(15, 37, 64, 0.18);
  position: sticky;
  top: 0;
  z-index: 40;
}
.navbar .brand-name { color: white; }
.navbar .nav-links a { color: rgba(255, 255, 255, 0.92); }
.navbar .nav-links a:hover { color: white; }
.navbar .btn-outline { color: white; border-color: rgba(255, 255, 255, 0.85); }
.navbar .btn-outline:hover { background: white; color: var(--azul-marino); }
.navbar .user-badge { background: rgba(255, 255, 255, 0.95); color: var(--azul-marino); }
.navbar .user-badge:hover { background: white; }
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.brand-mark {
  font-size: 1.8rem;
  background: var(--grad-mar);
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: white;
}
img.brand-mark {
  background: none;
  padding: 0;
  object-fit: cover;
  width: 48px; height: 48px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(15, 37, 64, 0.18);
}
.brand-name { font-weight: 700; font-size: 1.25rem; color: var(--azul-marino); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--texto-suave);
  font-weight: 500;
  cursor: pointer;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--azul-claro); text-decoration: none; }
.nav-account { display: flex; align-items: center; gap: 10px; }
.user-badge {
  display: flex; align-items: center; gap: 10px;
  background: var(--arena-2);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  color: var(--azul-marino);
  font-size: 0.92rem;
}
.user-badge:hover { background: var(--celeste-soft); }
.user-badge .badge-level {
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--azul-marino);
  color: white;
}

/* ============ SECTIONS ============ */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}
.section-header { text-align: center; margin-bottom: 36px; }
.section-header p { color: var(--texto-suave); font-size: 1.1rem; }

/* ============ HERO ============ */
.section-hero {
  position: relative;
  max-width: none;
  padding: 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(135,206,235,0.4), transparent 50%),
    var(--grad-mar-oscuro);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(255,255,255,0.03) 80px 81px),
    repeating-linear-gradient(180deg, transparent 0 80px, rgba(255,255,255,0.03) 80px 81px);
  pointer-events: none;
}
.hero-content {
  position: relative;
  text-align: center;
  color: white;
  padding: 80px 24px;
  max-width: 800px;
}
.hero-content h1 { color: white; margin-bottom: 18px; }
.hero-content p { font-size: 1.25rem; opacity: 0.92; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn-outline { color: white; border-color: white; }
.hero-cta .btn-outline:hover { background: white; color: var(--azul-marino); }

/* ============ MENÚ ============ */
.menu-categories {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cat-btn {
  background: white;
  color: var(--azul-marino);
  border: 2px solid var(--arena-2);
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.cat-btn:hover { border-color: var(--azul-claro); }
.cat-btn.active { background: var(--azul-marino); color: white; border-color: var(--azul-marino); }
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.menu-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.menu-card-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  background: var(--grad-mar);
  color: white;
  position: relative;
}
.menu-card-image::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 60%);
  pointer-events: none;
}
.menu-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.menu-card-name { font-size: 1.15rem; font-weight: 700; color: var(--azul-marino); margin-bottom: 4px; }
.menu-card-short { color: var(--texto-suave); font-size: 0.92rem; margin-bottom: 14px; flex: 1; }
.menu-card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto;
}
.menu-card-price { font-size: 1.25rem; font-weight: 700; color: var(--azul-claro); }
.menu-card-actions { display: flex; gap: 8px; padding: 0 20px 16px; flex-wrap: wrap; }
.menu-card-actions .btn { flex: 1; }
.menu-edit-overlay {
  position: absolute; top: 8px; right: 8px;
  background: var(--gold); color: var(--azul-marino);
  border-radius: 999px; padding: 6px 12px;
  font-size: 0.8rem; font-weight: 700;
  display: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

/* ============ DISH MODAL ============ */
.dish-modal-image {
  height: 240px;
  background: var(--grad-mar);
  display: flex; align-items: center; justify-content: center;
  font-size: 7rem;
  color: white;
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.dish-modal-meta {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  margin-bottom: 14px;
}
.dish-modal-price { font-size: 1.5rem; font-weight: 700; color: var(--azul-claro); }
.dish-modal-section { margin: 14px 0; }
.dish-modal-section h4 { color: var(--azul-medio); margin-bottom: 6px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }
.dish-modal-ingredients { display: flex; flex-wrap: wrap; gap: 6px; }
.ingredient-tag {
  background: var(--arena-2);
  color: var(--azul-marino);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

/* ============ REWARDS ============ */
.rewards-user-card {
  background: var(--grad-mar);
  color: white;
  padding: 28px;
  border-radius: var(--radius-lg);
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
}
.rewards-user-card h3 { color: white; margin-bottom: 14px; }
.rewards-user-progress {
  height: 12px;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  overflow: hidden;
  margin: 14px 0 8px;
}
.rewards-user-progress-bar {
  height: 100%;
  background: var(--gold);
  border-radius: 999px;
  transition: width .4s ease;
}
.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}
.level-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--celeste);
  transition: transform .2s ease;
}
.level-card:hover { transform: translateY(-4px); }
.level-bronce { border-top-color: #B87333; }
.level-plata { border-top-color: #A8B0B8; }
.level-oro { border-top-color: #D4AF37; }
.level-diamante { border-top-color: #6FE1F0; }
.level-platino { border-top-color: #1B3A5C; }
.level-icon { font-size: 2.6rem; margin-bottom: 8px; }
.level-points {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--azul-claro);
  margin-bottom: 10px;
}
.level-card ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.level-card li {
  font-size: 0.9rem;
  color: var(--texto-suave);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}
.level-card li::before {
  content: '✓';
  color: var(--azul-claro);
  font-weight: 700;
  position: absolute;
  left: 0;
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-text p { color: var(--texto-suave); font-size: 1.05rem; }
.about-card {
  background: var(--grad-mar);
  color: white;
  padding: 32px;
  border-radius: var(--radius-lg);
  display: grid;
  gap: 18px;
}
.about-stat { display: flex; flex-direction: column; }
.about-stat strong { font-size: 2.2rem; line-height: 1; }
.about-stat span { opacity: 0.85; font-size: 0.95rem; }
@media (max-width: 720px) { .about-grid { grid-template-columns: 1fr; } }

/* ============ CHECKOUT ============ */
.checkout-content { max-width: 720px; margin: 0 auto; }
.checkout-empty {
  background: white;
  padding: 50px;
  text-align: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: var(--texto-suave);
}
.checkout-list {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 20px;
}
.checkout-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--arena-2);
}
.checkout-item:last-child { border-bottom: none; }
.checkout-item-img {
  width: 64px; height: 64px;
  background: var(--grad-mar);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: white;
  flex-shrink: 0;
}
.checkout-item-info { flex: 1; }
.checkout-item-info strong { display: block; color: var(--azul-marino); }
.checkout-item-info span { color: var(--texto-suave); font-size: 0.9rem; }
.checkout-qty { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 30px; height: 30px;
  border: 1px solid var(--arena-2);
  background: white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--azul-marino);
}
.qty-btn:hover { background: var(--celeste-soft); }
.checkout-item-total { font-weight: 700; color: var(--azul-claro); min-width: 80px; text-align: right; }
.checkout-summary {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.checkout-summary-row {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  color: var(--texto-suave);
}
.checkout-summary-row.total {
  border-top: 1px solid var(--arena-2);
  margin-top: 12px;
  padding-top: 16px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--azul-marino);
}
.checkout-points-preview {
  background: var(--celeste-soft);
  color: var(--azul-marino);
  padding: 12px 16px;
  border-radius: 12px;
  margin: 14px 0;
  font-weight: 600;
  text-align: center;
}
.checkout-guest-note {
  background: #FFF8E5;
  border-left: 4px solid var(--gold);
  padding: 12px 16px;
  border-radius: 8px;
  margin: 14px 0;
  font-size: 0.95rem;
  color: var(--texto);
}

/* ============ ACCOUNT ============ */
.account-content { max-width: 800px; margin: 0 auto; }
.account-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  margin-bottom: 20px;
}
.account-header {
  background: var(--grad-mar);
  color: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 24px;
}
.account-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  color: white;
  flex-shrink: 0;
}
.account-info h2 { color: white; margin-bottom: 4px; }
.account-info p { opacity: 0.9; margin: 0; }

/* ============ FOOTER ============ */
.footer {
  background: var(--grad-mar-oscuro);
  color: rgba(255,255,255,0.85);
  padding: 50px 24px 0;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding-bottom: 30px;
}
.footer h4 { color: white; margin-bottom: 10px; }
.footer p[data-editable="footer_hours"] {
  white-space: pre-line;
  line-height: 1.7;
}
.footer .brand-mark { background: rgba(255,255,255,0.15); }
.footer .brand-name { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 18px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ============ CART FAB ============ */
.cart-fab {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--azul-marino);
  color: white;
  border: none;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 30;
  font-family: inherit;
  transition: transform .2s, background .2s;
}
.cart-fab:hover { background: var(--azul-profundo); transform: translateX(-50%) translateY(-2px); }
.cart-fab-icon { font-size: 1.4rem; }
.cart-fab-count {
  background: var(--gold);
  color: var(--azul-marino);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.9rem;
  min-width: 26px;
  text-align: center;
}

/* ============ MODAL ============ */
.modal {
  position: fixed; inset: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15,37,64,0.55);
  backdrop-filter: blur(2px);
}
.modal-card {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-card-wide { max-width: 600px; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: var(--arena-2);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--azul-marino);
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--celeste-soft); }
.modal-sub { color: var(--texto-suave); margin-bottom: 18px; }

/* AUTH */
.auth-tabs { display: flex; gap: 8px; margin-bottom: 18px; background: var(--arena-2); padding: 5px; border-radius: 999px; }
.auth-tab {
  flex: 1; background: transparent; border: none; padding: 10px 14px;
  border-radius: 999px; cursor: pointer; font-weight: 600; font-family: inherit;
  color: var(--texto-suave); font-size: 0.98rem;
}
.auth-tab.active { background: white; color: var(--azul-marino); box-shadow: var(--shadow-sm); }
.auth-tab[data-method="email"] { font-size: 0.85rem; }
.auth-fields { margin-bottom: 14px; }
.auth-fields label {
  display: block; margin-bottom: 6px;
  font-size: 0.88rem; font-weight: 600; color: var(--azul-marino);
}
.auth-fields input,
.phone-input input,
.code-input,
.editor-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--arena-2);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.auth-fields input:focus,
.code-input:focus,
.editor-input:focus { border-color: var(--azul-claro); }
.phone-input { display: flex; gap: 8px; }
.phone-input input:first-child { width: 80px; flex: 0 0 auto; text-align: center; }
.code-input { text-align: center; letter-spacing: 0.28em; font-size: 1.4rem; font-weight: 700; margin-bottom: 14px; }
.demo-code-banner {
  background: #FFF8E5;
  border: 1px dashed var(--gold);
  color: var(--azul-marino);
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
  text-align: center;
}
.demo-code-banner strong { font-size: 1.1rem; letter-spacing: 0.2em; }
.auth-error {
  background: #FDECEC; color: var(--rojo);
  padding: 10px 14px; border-radius: 10px;
  font-size: 0.9rem; margin-bottom: 12px;
}
.auth-switch { text-align: center; margin: 16px 0 0; color: var(--texto-suave); font-size: 0.95rem; }

/* ============ EDITOR MODE ============ */
body.editor-mode [data-editable] {
  outline: 2px dashed var(--gold);
  outline-offset: 3px;
  cursor: text;
  transition: background .15s;
  border-radius: 4px;
}
body.editor-mode [data-editable]:hover { background: rgba(244,201,93,0.15); }
body.editor-mode [data-editable]:focus { outline-style: solid; background: white; }
body.editor-mode .menu-card { cursor: pointer; }
body.editor-mode .menu-edit-overlay { display: inline-block; }
body.editor-mode .cart-fab { display: none; }

.editor-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--azul-marino);
  color: white;
  z-index: 90;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.editor-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.editor-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(244,201,93,0.25);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(244,201,93,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(244,201,93,0.1); }
}
.editor-help { font-size: 0.88rem; opacity: 0.85; flex: 1; min-width: 200px; }
.editor-bar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
body.editor-mode { padding-bottom: 80px; }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--azul-marino);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  z-index: 200;
  box-shadow: var(--shadow-lg);
  animation: toastIn .25s ease;
}
@keyframes toastIn {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}
.toast.success { background: var(--verde); }
.toast.error { background: var(--rojo); }

/* ============ RESPONSIVE ============ */
@media (max-width: 780px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.6rem; }
  .nav-links { display: none; }
  .top-banner-inner { flex-direction: column; text-align: center; }
  .top-banner-actions { width: 100%; justify-content: center; }
  .cart-fab { width: calc(100% - 32px); justify-content: center; }
  .cart-fab-text { font-size: 0.95rem; }
  .section { padding: 40px 18px; }
  .hero-content { padding: 60px 18px; }
}
