/* ============================================================
   css/style.css — Sistema de Pedidos Sushi
   Tema: Dark / Elegante / Japonés moderno
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ---- Variables ---- */
:root {
  --bg:          #0d0d0d;
  --bg2:         #141414;
  --bg3:         #1c1c1c;
  --border:      #2a2a2a;
  --text:        #f0ece4;
  --text-muted:  #888;
  --accent:      #e94560;
  --accent2:     #c4373f;
  --white:       #ffffff;
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 4px 24px rgba(0,0,0,.5);
  --font-serif:  'Noto Serif JP', serif;
  --font-sans:   'DM Sans', sans-serif;
  --transition:  .2s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  height: 100px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
/* Logo centrado con grid */
.site-header .logo {
  grid-column: 2;
  display: flex;
  justify-content: center;
}
/* Carrito a la derecha */
.btn-carrito-header {
  grid-column: 3;
  justify-self: end;
}
.site-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-header .logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
  padding: 6px 0;
}
.site-header .logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text);
}
.site-header .logo-text span {
  color: var(--accent);
}

/* ── WhatsApp flotante ── */
.btn-wa-flotante {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-wa-flotante:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}
.btn-wa-flotante svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* Carrito botón en header */
.btn-carrito-header {
  position: relative;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 18px 8px 14px;
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color var(--transition), background var(--transition);
}
.btn-carrito-header:hover { border-color: var(--accent); background: var(--bg2); }
.btn-carrito-header .icon { font-size: 1.1rem; }
.carrito-count {
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  transition: transform var(--transition);
}
.carrito-count.bump { transform: scale(1.4); }

/* ============================================================
   HERO BANNER
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0a0e 60%, #2a1015 100%);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Imagen de fondo del hero cuando está configurada */
.hero[style*="--hero-bg"] {
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Video de fondo */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
/* Overlay oscuro sobre video o imagen */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
/* En móvil el video se muestra pero más pequeño */
@media (max-width: 768px) {
  .hero { min-height: 280px; }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(233,69,96,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
/* Estado abierto/cerrado en hero */
.hero-abierto {
  display: inline-block;
  margin-top: 14px;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.35);
  color: #22c55e;
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
}
.hero-cerrado {
  display: inline-block;
  margin-top: 14px;
  background: rgba(239,68,68,.15);
  border: 1px solid rgba(239,68,68,.35);
  color: #ef4444;
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  max-width: 500px;
}
.hero-slogan {
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}
/* Botón agregar deshabilitado cuando cerrado */
.btn-agregar-off {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: .82rem;
  font-weight: 500;
  cursor: not-allowed;
  white-space: nowrap;
  opacity: .5;
  text-decoration: line-through;
}
/* Tarjeta completa atenuada cuando local cerrado */
.prod-card.local-cerrado {
  opacity: .6;
  pointer-events: none;
}
.prod-card.local-cerrado .prod-img-wrap img {
  filter: grayscale(40%);
}
/* Banner cerrado en hero */
.hero-cerrado {
  display: inline-block;
  margin-top: 14px;
  background: rgba(239,68,68,.2);
  border: 1px solid rgba(239,68,68,.5);
  color: #ef4444;
  font-size: .9rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  max-width: 520px;
  animation: pulso 2s ease-in-out infinite;
}
@keyframes pulso {
  0%, 100% { opacity: 1; }
  50% { opacity: .7; }
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================================
   NAVEGACIÓN DE CATEGORÍAS (sticky bajo header)
   ============================================================ */
.cat-nav-wrap {
  position: sticky;
  top: 100px;
  z-index: 90;
  background: rgba(13,13,13,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-nav-wrap::-webkit-scrollbar { display: none; }
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
  justify-content: center;
}
.cat-nav a {
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all var(--transition);
}
.cat-nav a:hover { color: var(--text); border-color: var(--border); }
.cat-nav a.activa {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(233,69,96,.4);
}

/* ============================================================
   CONTENIDO PRINCIPAL
   ============================================================ */
.main-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px 120px;
}

/* ---- Sección de categoría ---- */
.seccion-categoria {
  margin-bottom: 72px;
  padding-top: 8px;
  scroll-margin-top: 180px;
}
.seccion-categoria h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.seccion-categoria h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---- Grid de productos ---- */
.productos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.productos-grid .prod-card {
  flex: 0 1 calc(25% - 12px);
  min-width: 200px;
  max-width: 300px;
}

/* ---- Tarjeta producto ---- */
.prod-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.prod-card:hover {
  border-color: rgba(233,69,96,.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.prod-card.agotado { opacity: .5; pointer-events: none; }

.prod-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg3);
}
.prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.prod-card:hover .prod-img-wrap img { transform: scale(1.05); }
.prod-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: var(--bg3);
  color: var(--border);
}
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,.7);
  color: #aaa;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid #444;
}

.prod-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prod-nombre {
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.3;
}
.prod-desc {
  font-size: .82rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 14px;
  line-height: 1.5;
}
.prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.prod-precio {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.btn-agregar {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: .85rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-agregar:hover { background: var(--accent2); transform: scale(1.04); }
.btn-agregar:active { transform: scale(.97); }

/* ============================================================
   CARRITO LATERAL (drawer)
   ============================================================ */
.carrito-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 200;
  backdrop-filter: blur(3px);
}
.carrito-overlay.open { display: block; }

.carrito-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(440px, 100vw);
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.carrito-drawer.open { transform: translateX(0); }

.carrito-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.carrito-header h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
}
.btn-cerrar-carrito {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.btn-cerrar-carrito:hover { background: var(--border); }

.carrito-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.carrito-vacio {
  text-align: center;
  color: var(--text-muted);
  margin: auto;
  padding: 40px 20px;
}
.carrito-vacio .icon-vacio { font-size: 3rem; margin-bottom: 12px; opacity: .4; }

/* ---- Item carrito ---- */
.item-carrito {
  display: flex;
  gap: 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  align-items: flex-start;
}
.item-carrito img {
  width: 56px; height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--border);
}
.item-info { flex: 1; min-width: 0; }
.item-nombre {
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}
.item-precio { font-size: .82rem; color: var(--text-muted); }
.item-controles {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.btn-qty {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.btn-qty:hover { background: var(--border); }
.item-qty { font-size: .9rem; font-weight: 600; min-width: 20px; text-align: center; }
.item-subtotal { font-size: .9rem; font-weight: 700; white-space: nowrap; }
.btn-quitar {
  color: var(--text-muted);
  font-size: .8rem;
  padding: 4px;
  margin-left: auto;
  transition: color var(--transition);
}
.btn-quitar:hover { color: var(--accent); }

/* ---- Notas del item ---- */
.item-notas-input {
  width: 100%;
  margin-top: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: .8rem;
  padding: 6px 10px;
  resize: none;
  height: 46px;
  transition: border-color var(--transition);
}
.item-notas-input:focus { outline: none; border-color: var(--accent); }

/* ---- Footer carrito ---- */
.carrito-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
}
.carrito-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.carrito-total-label { font-size: .9rem; color: var(--text-muted); }
.carrito-total-valor {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}
.btn-checkout {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.btn-checkout:hover { background: var(--accent2); }
.btn-checkout:active { transform: scale(.98); }

/* ============================================================
   MODAL CHECKOUT
   ============================================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 300;
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn .25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 { font-family: var(--font-serif); font-size: 1.15rem; }
.modal-body { padding: 24px; }

/* ---- Formulario ---- */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: .92rem;
  padding: 10px 14px;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 80px; }

/* Métodos de pago */
.pago-opciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pago-opcion {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  text-align: center;
}
.pago-opcion input { display: none; }
.pago-opcion:has(input:checked) {
  border-color: var(--accent);
  background: rgba(233,69,96,.08);
}
.pago-icon { font-size: 1.5rem; margin-bottom: 4px; }
.pago-label { font-size: .85rem; font-weight: 600; }

/* Info transferencia */
.transferencia-info {
  display: none;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: .83rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.7;
}
.transferencia-info.visible { display: block; }

/* Resumen pedido en modal */
.resumen-pedido {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 18px;
}
.resumen-titulo {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.resumen-item {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  padding: 3px 0;
}
.resumen-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 8px;
}

/* Botones acción modal */
.modal-acciones {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border-radius: var(--radius);
  padding: 13px;
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition);
}
.btn-whatsapp:hover { background: #1da851; }
.btn-imprimir {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--radius);
  padding: 13px;
  font-size: .95rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background var(--transition);
}
.btn-imprimir:hover { background: var(--border); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .85rem;
  margin-top: 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.footer-slogan {
  color: var(--text-muted);
  font-size: .85rem;
  line-height: 1.6;
  margin-top: 8px;
}
.footer-title {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.footer-item {
  display: block;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .78rem;
}
.footer-dev { color: var(--text-muted); }
.footer-dev-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--transition);
}
.footer-dev-link:hover { opacity: .8; }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 32px 20px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .productos-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .prod-body { padding: 10px 12px 12px; }
  .hero { padding: 40px 16px; }
  .main-wrap { padding: 24px 12px 100px; }
}
@media (max-width: 380px) {
  .productos-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   NAV HAMBURGUESA (móvil)
   ============================================================ */
.cat-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  font-family: var(--font-sans);
}
.cat-nav-toggle .toggle-icon { font-size: 1.1rem; transition: transform .2s; }
.cat-nav-toggle.abierto .toggle-icon { transform: rotate(90deg); }
.cat-nav-toggle .cat-activa-label { flex:1; text-align:left; color:var(--accent); font-weight:600; }

@media (max-width: 768px) {
  .cat-nav-toggle { display: flex; }
  .cat-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px 12px;
  }
  .cat-nav.abierto { display: flex; }
  .cat-nav a {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: .9rem;
  }
  .cat-nav a.activa { background: var(--accent); border-color: var(--accent); color: #fff; }
  .cat-nav-wrap { top: 100px; }
}
/* ============================================================
   PRINT (comanda)
   ============================================================ */
@media print {
  body * { visibility: hidden; }
  #comanda-print, #comanda-print * { visibility: visible; }
  #comanda-print {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    font-family: monospace;
    font-size: 13px;
    color: #000;
    background: #fff;
    padding: 16px;
  }
}
