/* ==========================================
   SABOR A MÉXICO v2 — CSS COMPLETO
   Dark/Light Mode + Scroll Animations
   ========================================== */

/* ── VARIABLES ─────────────────────────── */
:root {
  --rojo: #D62828;
  --rojo-hover: #b32020;
  --verde: #1B7F2E;
  --amarillo: #F4A214;
  --wa: #25D366;
  --wa-hover: #1da851;
  --radius: 16px;
  --trans: 0.3s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="dark"] {
  --bg: #0D0D0D;
  --bg2: #1A1A1A;
  --bg3: #242424;
  --border: rgba(255,255,255,0.07);
  --text: #FFF8F0;
  --text2: rgba(255,248,240,0.6);
  --card-bg: #1A1A1A;
  --nav-bg: rgba(10,10,10,0.95);
  --modal-bg: #1e1e1e;
  --input-bg: rgba(255,255,255,0.06);
  --input-border: rgba(255,255,255,0.15);
  --shadow: 0 20px 60px rgba(0,0,0,0.6);
}

[data-theme="light"] {
  --bg: #FFF8F0;
  --bg2: #ffffff;
  --bg3: #f4ede4;
  --border: rgba(0,0,0,0.08);
  --text: #1a1a1a;
  --text2: rgba(0,0,0,0.55);
  --card-bg: #ffffff;
  --nav-bg: rgba(255,255,255,0.97);
  --modal-bg: #ffffff;
  --input-bg: rgba(0,0,0,0.04);
  --input-border: rgba(0,0,0,0.15);
  --shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* ── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background var(--trans), color var(--trans);
}

/* ── SCROLLBAR ──────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--rojo); border-radius: 3px; }

/* ── NAVBAR ─────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 36px;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--trans), box-shadow var(--trans);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.25); }
.nav-logo { height: 52px; filter: drop-shadow(0 0 12px rgba(244,162,20,0.35)); }
.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text); text-decoration: none;
  font-weight: 600; font-size: 0.85rem; letter-spacing: 0.5px;
  transition: color var(--trans);
}
.nav-links a:hover { color: var(--amarillo); }
.btn-wa-nav {
  background: var(--wa) !important; color: #fff !important;
  padding: 7px 16px; border-radius: 50px; font-size: 0.8rem !important;
  display: flex; align-items: center; gap: 6px;
  transition: transform var(--trans), box-shadow var(--trans) !important;
}
.btn-wa-nav:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(37,211,102,0.4); }
.nav-badge {
  background: var(--rojo); color: #fff;
  border-radius: 50%; width: 18px; height: 18px;
  font-size: 0.65rem; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  background: var(--input-bg); border: 1px solid var(--border);
  border-radius: 50%; width: 36px; height: 36px;
  cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
  color: var(--text);
}
.theme-toggle:hover { background: var(--amarillo); }
.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ── HERO ──────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--bg);
}
.hero-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(214,40,40,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 40%, rgba(27,127,46,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(244,162,20,0.1) 0%, transparent 45%);
}
.hero-content {
  position: relative; z-index: 1; text-align: center;
  padding: 100px 20px 60px;
  animation: heroIn 1.2s ease-out both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-logo {
  width: 180px; margin-bottom: 20px;
  filter: drop-shadow(0 0 30px rgba(244,162,20,0.5));
  animation: float 3s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(4rem, 12vw, 9rem);
  letter-spacing: 6px; line-height: 0.9;
  background: linear-gradient(135deg, var(--amarillo) 0%, var(--rojo) 50%, var(--amarillo) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 4px 20px rgba(214,40,40,0.4));
}
.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--text2); letter-spacing: 4px; text-transform: uppercase;
  margin: 14px 0 32px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; padding: 14px 36px;
  background: linear-gradient(135deg, var(--rojo), var(--rojo-hover));
  color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: 50px; box-shadow: 0 8px 28px rgba(214,40,40,0.45);
  transition: transform var(--trans), box-shadow var(--trans);
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(214,40,40,0.55); }
.btn-wa-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--wa); color: #fff;
  text-decoration: none; font-weight: 700; font-size: 0.9rem;
  border-radius: 50px; box-shadow: 0 8px 28px rgba(37,211,102,0.4);
  transition: transform var(--trans), box-shadow var(--trans);
}
.btn-wa-hero:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(37,211,102,0.5); }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 1.6rem; color: var(--amarillo); z-index: 1;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(10px); }
}

/* ── PARTICLE ────────────────────────────── */
.particle {
  position: absolute; border-radius: 50%;
  opacity: 0.15; animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.15; }
  90%  { opacity: 0.1; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ── CATEGORY BAR ────────────────────────── */
.cat-bar {
  position: sticky; top: 72px; z-index: 900;
  background: var(--nav-bg); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none;
}
.cat-bar::-webkit-scrollbar { display: none; }
.cat-inner {
  display: flex; gap: 8px; padding: 12px 28px;
  white-space: nowrap;
}
.cat-btn {
  flex-shrink: 0; padding: 8px 18px;
  border: 1.5px solid var(--border);
  background: transparent; color: var(--text);
  border-radius: 50px; font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: 0.8rem; cursor: pointer; letter-spacing: 0.3px;
  transition: all var(--trans);
}
.cat-btn:hover, .cat-btn.active {
  background: var(--rojo); border-color: var(--rojo); color: #fff;
  box-shadow: 0 4px 16px rgba(214,40,40,0.4);
}

/* ── MENU SECTION ────────────────────────── */
.menu-section { max-width: 1400px; margin: 0 auto; padding: 60px 28px; }
.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 4px; color: var(--amarillo);
  margin-bottom: 44px; text-align: center;
  text-shadow: 0 4px 20px rgba(244,162,20,0.3);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

/* ── MENU CARD ───────────────────────────── */
.menu-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  /* Scroll reveal */
  opacity: 0; transform: translateY(40px);
}
.menu-card.revealed { opacity: 1; transform: translateY(0); }
.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(244,162,20,0.35);
}
.card-img-wrap {
  position: relative; height: 210px; overflow: hidden;
  background: var(--bg3);
}
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.menu-card:hover .card-img-wrap img { transform: scale(1.08); }
.badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--rojo); color: #fff;
  font-size: 0.68rem; font-weight: 700; padding: 4px 10px;
  border-radius: 50px; letter-spacing: 0.5px; text-transform: uppercase;
}
.badge-green { background: var(--verde); }
.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.card-body h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.45rem; letter-spacing: 2px; color: var(--amarillo); line-height: 1.1;
}
.card-body p { font-size: 0.82rem; color: var(--text2); line-height: 1.5; }
.card-footer {
  margin-top: auto; display: flex;
  align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.price {
  font-family: 'Bebas Neue', cursive; font-size: 1.55rem;
  color: var(--text); letter-spacing: 1px;
}
.price small {
  font-family: 'Montserrat', sans-serif; font-size: 0.6rem;
  color: var(--text2); font-weight: 400; display: block;
}
.note-small { font-size: 0.7rem; color: rgba(244,162,20,0.75); }
.btn-add {
  padding: 9px 18px; background: var(--rojo); color: #fff;
  border: none; border-radius: 50px; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 0.78rem; cursor: pointer; letter-spacing: 0.5px;
  transition: all var(--trans); white-space: nowrap;
}
.btn-add:hover { background: var(--rojo-hover); transform: scale(1.05); }
.btn-add.added { background: var(--verde); animation: pop 0.3s ease; }
@keyframes pop {
  0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); }
}

/* ── REVIEWS ─────────────────────────────── */
.reviews-section { max-width: 1000px; margin: 0 auto; padding: 60px 28px; }
.reviews-summary { text-align: center; margin-bottom: 40px; }
.rating-big {
  font-family: 'Bebas Neue', cursive; font-size: 5rem;
  color: var(--amarillo); line-height: 1;
}
.stars-big { font-size: 2rem; color: var(--amarillo); letter-spacing: 4px; margin: 6px 0; }
.reviews-section p { color: var(--text2); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-bottom: 44px; }
.no-reviews { text-align: center; color: var(--text2); grid-column: 1/-1; padding: 20px 0; }
.review-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
  animation: fadeUp 0.4s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.review-stars { color: var(--amarillo); font-size: 1rem; margin-bottom: 6px; }
.review-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.review-text { font-size: 0.83rem; color: var(--text2); line-height: 1.5; }
.review-date { font-size: 0.7rem; color: var(--text2); margin-top: 8px; }

.review-form-wrap {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; max-width: 520px; margin: 0 auto;
}
.review-form-wrap h3 { font-family: 'Bebas Neue', cursive; font-size: 1.6rem; letter-spacing: 3px; color: var(--amarillo); margin-bottom: 16px; }
.star-selector { display: flex; gap: 8px; margin-bottom: 16px; }
.star-opt {
  font-size: 2rem; cursor: pointer; color: var(--border);
  transition: color var(--trans), transform var(--trans);
}
.star-opt.active, .star-opt:hover { color: var(--amarillo); transform: scale(1.2); }
.review-form-wrap input, .review-form-wrap textarea {
  width: 100%; padding: 10px 14px; margin-bottom: 12px;
  background: var(--input-bg); border: 1px solid var(--input-border);
  border-radius: 10px; color: var(--text); font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem; resize: none; transition: border-color var(--trans);
}
.review-form-wrap input:focus, .review-form-wrap textarea:focus {
  outline: none; border-color: var(--amarillo);
}
.btn-review-submit {
  width: 100%; padding: 12px; background: var(--rojo); color: #fff;
  border: none; border-radius: 50px; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 0.9rem; cursor: pointer;
  transition: background var(--trans), transform var(--trans);
}
.btn-review-submit:hover { background: var(--rojo-hover); transform: translateY(-2px); }

/* ── REVEAL ANIMATION ────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── CART FAB ────────────────────────────── */
.cart-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 950;
  background: var(--wa); color: #fff;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; cursor: pointer;
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
  transition: transform var(--trans); user-select: none;
}
.cart-fab:hover { transform: scale(1.1); }
.cart-count {
  position: absolute; top: 6px; right: 6px;
  background: var(--rojo); color: #fff;
  font-size: 0.62rem; font-weight: 700;
  width: 19px; height: 19px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}

/* ── MODAL ───────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65);
  z-index: 1100; opacity: 0; pointer-events: none;
  transition: opacity var(--trans);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal {
  position: fixed; top: 50%; left: 50%; z-index: 1200;
  width: min(560px, 95vw); max-height: 92vh;
  background: var(--modal-bg); border-radius: 20px;
  overflow-y: auto; box-shadow: var(--shadow);
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0; pointer-events: none;
  transition: transform var(--trans), opacity var(--trans);
}
.modal.open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1; pointer-events: all;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.1); border: none;
  color: var(--text); width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; font-size: 0.9rem; z-index: 10;
  transition: background var(--trans);
}
.modal-close:hover { background: var(--rojo); }
.modal-img-wrap { height: 220px; overflow: hidden; }
.modal-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { padding: 22px 24px 28px; }
.modal-body h2 {
  font-family: 'Bebas Neue', cursive; font-size: 2rem;
  letter-spacing: 3px; color: var(--amarillo); margin-bottom: 6px;
}
.modal-body > p { font-size: 0.85rem; color: var(--text2); margin-bottom: 16px; line-height: 1.55; }
.modal-section { margin-bottom: 18px; }
.modal-section h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.comp-hint { font-size: 0.75rem; color: var(--text2); margin-bottom: 8px; }

/* Precio options */
.precio-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.precio-opt {
  padding: 8px 16px; border: 2px solid var(--border);
  border-radius: 50px; cursor: pointer; font-size: 0.82rem; font-weight: 600;
  background: var(--input-bg); color: var(--text);
  transition: all var(--trans);
}
.precio-opt.sel { border-color: var(--amarillo); background: rgba(244,162,20,0.12); color: var(--amarillo); }

/* Carnes grupos */
.carnes-grupos { display: flex; flex-direction: column; gap: 12px; }
.carnes-grupo-label {
  font-size: 0.75rem; font-weight: 700; color: var(--text2);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px;
}
.carnes-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.carne-chip {
  padding: 7px 14px; border: 2px solid var(--border);
  border-radius: 50px; cursor: pointer; font-size: 0.8rem; font-weight: 600;
  background: var(--input-bg); color: var(--text);
  transition: all var(--trans); display: flex; align-items: center; gap: 5px;
}
.carne-chip.sel {
  border-color: var(--rojo); background: rgba(214,40,40,0.12); color: var(--rojo);
}
.carne-chip.premium.sel {
  border-color: var(--amarillo); background: rgba(244,162,20,0.12); color: var(--amarillo);
}

/* Complementos grid */
.comp-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.comp-chip {
  padding: 7px 13px; border: 2px solid var(--border);
  border-radius: 50px; cursor: pointer; font-size: 0.78rem; font-weight: 600;
  background: var(--input-bg); color: var(--text);
  transition: all var(--trans); display: flex; align-items: center; gap: 5px;
}
.comp-chip.sel-gratis {
  border-color: var(--verde); background: rgba(27,127,46,0.12); color: var(--verde);
}
.comp-chip.no-sel {
  opacity: 0.4; text-decoration: line-through;
}
.comp-chip.sel-extra {
  border-color: var(--amarillo); background: rgba(244,162,20,0.12); color: var(--amarillo);
}
.comp-chip .chip-precio { font-size: 0.7rem; font-weight: 700; }

/* Modal textarea y total */
.modal-body textarea {
  width: 100%; padding: 10px 12px;
  background: var(--input-bg); border: 1px solid var(--input-border);
  border-radius: 10px; color: var(--text);
  font-family: 'Montserrat', sans-serif; font-size: 0.82rem; resize: none;
  height: 64px; transition: border-color var(--trans);
}
.modal-body textarea:focus { outline: none; border-color: var(--amarillo); }
.modal-total {
  text-align: right; font-size: 1rem; font-weight: 700; margin: 16px 0 12px;
}
.modal-total strong { font-family: 'Bebas Neue', cursive; font-size: 2rem; color: var(--amarillo); }
.btn-add-modal {
  width: 100%; padding: 14px; background: var(--rojo); color: #fff;
  border: none; border-radius: 50px; font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  box-shadow: 0 6px 22px rgba(214,40,40,0.45);
  transition: all var(--trans);
}
.btn-add-modal:hover { background: var(--rojo-hover); transform: translateY(-2px); }

/* ── CART SIDEBAR ────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 1100; opacity: 0; pointer-events: none; transition: opacity var(--trans);
}
.cart-overlay.active { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed; top: 0; right: 0; width: min(420px, 100vw); height: 100vh;
  background: var(--modal-bg); z-index: 1200;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform var(--trans);
  border-left: 1px solid var(--border);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 22px 16px; border-bottom: 1px solid var(--border);
}
.cart-header h2 { font-family: 'Bebas Neue', cursive; font-size: 1.8rem; letter-spacing: 3px; color: var(--amarillo); }
.cart-close {
  background: var(--input-bg); border: none; color: var(--text);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  font-size: 1rem; transition: background var(--trans);
}
.cart-close:hover { background: var(--rojo); color: #fff; }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 20px; }
.cart-empty { text-align: center; color: var(--text2); padding: 40px 0; font-size: 0.9rem; }
.cart-item {
  padding: 12px 0; border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 4px;
}
.cart-item-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.cart-item-name { font-weight: 700; font-size: 0.88rem; flex: 1; }
.cart-item-price { font-family: 'Bebas Neue', cursive; font-size: 1.1rem; color: var(--amarillo); }
.cart-item-detail { font-size: 0.73rem; color: var(--text2); line-height: 1.5; }
.cart-item-qty { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty-btn {
  background: var(--input-bg); border: none; color: var(--text);
  width: 26px; height: 26px; border-radius: 50%; cursor: pointer;
  font-size: 1rem; transition: background var(--trans);
}
.qty-btn:hover { background: var(--rojo); color: #fff; }
.qty-num { font-weight: 700; min-width: 20px; text-align: center; }
.cart-bottom { padding: 16px 20px 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.cart-total { font-size: 0.95rem; font-weight: 700; text-align: right; }
.cart-total strong { font-family: 'Bebas Neue', cursive; font-size: 1.9rem; color: var(--amarillo); }
.cart-notes-wrap label { font-size: 0.8rem; color: var(--text2); display: block; margin-bottom: 6px; }
.cart-notes-wrap textarea {
  width: 100%; padding: 9px 12px;
  background: var(--input-bg); border: 1px solid var(--input-border);
  border-radius: 10px; color: var(--text);
  font-family: 'Montserrat', sans-serif; font-size: 0.8rem;
  resize: none; height: 60px; transition: border-color var(--trans);
}
.cart-notes-wrap textarea:focus { outline: none; border-color: var(--amarillo); }
.btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; background: var(--wa); color: #fff;
  border: none; border-radius: 50px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.95rem;
  cursor: pointer; box-shadow: 0 6px 22px rgba(37,211,102,0.4);
  transition: all var(--trans);
}
.btn-whatsapp:hover { background: var(--wa-hover); transform: translateY(-2px); }
.cart-info { font-size: 0.72rem; color: var(--text2); text-align: center; }

/* ── FOOTER ──────────────────────────────── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 60px 28px 28px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 44px; align-items: start;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-logo { width: 100px; filter: drop-shadow(0 0 12px rgba(244,162,20,0.3)); }
.footer-brand h3 { font-family: 'Bebas Neue', cursive; font-size: 1.5rem; letter-spacing: 3px; color: var(--amarillo); }
.footer-info p { font-size: 0.83rem; color: var(--text2); margin-bottom: 5px; line-height: 1.5; }
.footer-info a { color: var(--wa); text-decoration: none; }
.footer-cta { text-align: center; }
.footer-cta p { font-size: 0.88rem; color: var(--text2); margin-bottom: 12px; }
.btn-wa-footer {
  display: inline-block; padding: 13px 26px; background: var(--wa); color: #fff;
  text-decoration: none; border-radius: 50px; font-weight: 700; font-size: 0.88rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4); transition: all var(--trans);
}
.btn-wa-footer:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(37,211,102,0.5); }
.footer-bottom {
  max-width: 1200px; margin: 40px auto 0; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.72rem; color: var(--text2); text-align: center;
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .footer-brand { align-items: center; }
}
@media (max-width: 768px) {
  .navbar { padding: 10px 18px; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--nav-bg); padding: 18px;
    gap: 14px; border-top: 1px solid var(--border);
  }
  .menu-section { padding: 40px 14px; }
  .menu-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
  .cat-inner { padding: 10px 14px; }
}
@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 3.5rem; }
  .cart-fab { bottom: 18px; right: 14px; }
}

/* Notificaciones personalizadas tipo Sweet */
.custom-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--modal-bg);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 350px;
  pointer-events: auto;
}

.custom-notification.show {
  transform: translateX(0);
}

.custom-notification.success {
  border-left-color: #4CAF50;
}

.custom-notification.error {
  border-left-color: #f44336;
}

.custom-notification.warning {
  border-left-color: #ff9800;
}

.custom-notification.info {
  border-left-color: #2196F3;
}

.notification-icon {
  font-size: 24px;
}

.notification-content {
  flex: 1;
}

.notification-content strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text);
}

.notification-content p {
  font-size: 12px;
  color: var(--text2);
  margin: 0;
}

.notification-close {
  background: none;
  border: none;
  color: var(--text2);
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  transition: color 0.2s;
}

.notification-close:hover {
  color: var(--text);
}

/* Botón reset carnes */
.reset-carnes-btn {
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  margin-bottom: 12px;
}

.reset-carnes-btn:hover {
  background: var(--rojo);
  color: white;
  border-color: var(--rojo);
}

/* Contador de carnes */
.carne-chip .carne-count {
  background: var(--rojo);
  color: white;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-left: 8px;
  display: inline-block;
  text-align: center;
  animation: countPulse 0.2s ease;
}

@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Estilos para bloqueo de carnes */
.carne-chip[style*="pointer-events: none"] {
  opacity: 0.4 !important;
  filter: grayscale(0.3);
  position: relative;
}

/* Label de carnes mejorado */
#carnesLabel {
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

/* Precio pequeño */
.price-sm {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  color: var(--text2);
  margin-top: 2px;
}

/* Comp chips mejorados */
.comp-chip.sel-extra {
  border-color: var(--amarillo);
  background: rgba(244,162,20,0.12);
  color: var(--amarillo);
}

.comp-chip .chip-precio {
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 4px;
}

/* Responsive para notificaciones */
@media (max-width: 480px) {
  .custom-notification {
    left: 20px;
    right: 20px;
    max-width: calc(100% - 40px);
  }
}

/* Estilos para el bloqueo de carnes */
.carne-chip[style*="pointer-events: none"] {
  opacity: 0.4 !important;
  filter: grayscale(0.3);
  position: relative;
}

.carne-chip[style*="pointer-events: none"]::after {
  content: "🔒";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  opacity: 0.8;
}

/* Contador de carnes */
.carne-count {
  background: var(--rojo);
  color: white;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-left: 8px;
  display: inline-block;
  text-align: center;
  animation: countPulse 0.2s ease;
}

@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Label de carnes mejorado */
#carnesLabel {
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

/* Precio pequeño */
.price-sm {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  color: var(--text2);
  margin-top: 2px;
}

/* Comp chips mejorados */
.comp-chip.sel-extra {
  border-color: var(--amarillo);
  background: rgba(244,162,20,0.12);
  color: var(--amarillo);
}

.comp-chip .chip-precio {
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 4px;
}
/* Notificaciones personalizadas tipo Sweet */
.custom-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--modal-bg);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid;
  transform: translateX(120%);
  transition: transform 0.3s ease;
  max-width: 350px;
  pointer-events: auto;
}

.custom-notification.show {
  transform: translateX(0);
}

.custom-notification.success { border-left-color: #4CAF50; }
.custom-notification.error { border-left-color: #f44336; }
.custom-notification.warning { border-left-color: #ff9800; }
.custom-notification.info { border-left-color: #2196F3; }

.notification-icon { font-size: 24px; }
.notification-content { flex: 1; }
.notification-content strong { display: block; font-size: 14px; margin-bottom: 4px; color: var(--text); }
.notification-content p { font-size: 12px; color: var(--text2); margin: 0; }
.notification-close { background: none; border: none; color: var(--text2); cursor: pointer; font-size: 14px; padding: 4px; transition: color 0.2s; }
.notification-close:hover { color: var(--text); }

/* Botones reset */
.reset-carnes-btn {
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.reset-carnes-btn:hover {
  background: var(--rojo);
  color: white;
  border-color: var(--rojo);
}

/* Contadores de carnes y huevos */
.carne-chip .carne-count,
.extra-count {
  background: var(--rojo);
  color: white;
  border-radius: 20px;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: bold;
  margin-left: 8px;
  animation: countPulse 0.2s ease;
}

@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Bloqueo de carnes al llegar al límite */
.carne-chip[style*="pointer-events: none"] {
  opacity: 0.4 !important;
  filter: grayscale(0.3);
  position: relative;
}

.carne-chip[style*="pointer-events: none"]::after {
  content: "🔒";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  opacity: 0.8;
}

/* Precio pequeño para tamaños */
.price-sm {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  color: var(--text2);
  margin-top: 2px;
}

/* Complementos seleccionados */
.comp-chip.sel-extra {
  border-color: var(--amarillo);
  background: rgba(244,162,20,0.12);
  color: var(--amarillo);
}

.comp-chip .chip-precio {
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 4px;
}

/* Responsive para notificaciones */
@media (max-width: 480px) {
  .custom-notification {
    left: 20px;
    right: 20px;
    max-width: calc(100% - 40px);
  }
}