/* =========================================================================
   La Estación · Café & Brasa — Sistema de diseño
   Tokens y componentes tomados de ESPECIFICACION-VISUAL-PARA-CODE.
   No se rediseña: colores, tipografías y escalas son las aprobadas.
   ========================================================================= */

:root {
  /* Paleta */
  --carbon: #1C1512;
  --madera: #5B3A29;
  --brasa: #E2491C;
  --brasa-hover: #C43C13;
  --crema: #FBF8F3;
  --surface: #FFFFFF;
  --borde: #E7DED2;
  --texto-2: #6B5C50;
  --texto-3: #8A7A6C;
  --exito: #2F7D4F;
  --exito-bg: #E8F3EC;
  --disabled: #C9BEB2;
  --carbon-2: #2A211C;
  --carbon-3: #33281F;

  /* Tipografía */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --shadow-card: 0 14px 30px rgba(28,21,18,0.12);
  --shadow-modal: 0 30px 80px rgba(0,0,0,0.35);

  --maxw: 1280px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--crema);
  color: var(--carbon);
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brasa); text-decoration: none; }
a:hover { color: var(--brasa-hover); }
h1, h2, h3 { font-family: var(--serif); margin: 0; }
:focus-visible { outline: 3px solid var(--brasa); outline-offset: 2px; border-radius: 4px; }

/* Scrollbars finas */
::-webkit-scrollbar { height: 8px; width: 8px; }
::-webkit-scrollbar-thumb { background: var(--borde); border-radius: 8px; }

.container { max-width: var(--maxw); margin: 0 auto; padding-left: 48px; padding-right: 48px; }
.section { padding-top: 72px; padding-bottom: 72px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Botones ---------- */
.btn { font-family: var(--sans); font-weight: 700; font-size: 14.5px; border: none;
  border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; padding: 14px 26px; text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease; line-height: 1; }
.btn-primary { background: var(--brasa); color: var(--carbon); }
.btn-primary:hover { background: var(--brasa-hover); color: #fff; }
.btn-dark { background: var(--carbon); color: var(--crema); }
.btn-dark:hover { background: var(--carbon-2); color: #fff; }
.btn-outline { background: transparent; color: var(--carbon); border: 1.5px solid var(--carbon); font-weight: 600; }
.btn-outline:hover { background: var(--carbon); color: var(--crema); }
.btn-block { display: flex; width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { background: transparent; color: var(--disabled);
  border: 1.5px solid var(--disabled); cursor: default; }
.btn-add { width: 36px; height: 36px; padding: 0; border-radius: 50%; background: var(--brasa);
  color: var(--carbon); font-size: 18px; font-weight: 700; flex-shrink: 0; }
.btn-add:hover { background: var(--brasa-hover); color: #fff; }

/* ---------- Placeholder de foto medido (rayado) ---------- */
.ph { position: relative; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 10px; color: var(--texto-3);
  background: repeating-linear-gradient(45deg,#F1E9DC,#F1E9DC 10px,#E7DED2 10px,#E7DED2 20px); }
.ph .ph-label { font-family: monospace; font-size: 10.5px; line-height: 1.4; color: #8A7A6C; }
.ph-dark { background: repeating-linear-gradient(45deg,#2A211C,#2A211C 10px,#332822 10px,#332822 20px); }
.ph-dark .ph-label { color: #9C8B7C; }

/* ---------- Header (desktop) ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--carbon);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 28px; height: 80px; border-bottom: 1px solid var(--carbon-2); }
.site-header .brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
.site-header .brand img { height: 44px; width: 44px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; }
.site-header .brand-name { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--crema); line-height: 1.15; }
.site-header .brand-sub { font-family: var(--sans); font-size: 9.5px; letter-spacing: 1.5px; font-weight: 600; color: var(--brasa); }
.site-nav { display: flex; align-items: center; gap: 20px; min-width: 0; }
.site-nav a { color: var(--borde); font-size: 13.5px; font-weight: 500; padding-bottom: 4px;
  border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav a:hover { color: #fff; }
.site-nav a.active { color: var(--brasa); border-bottom-color: var(--brasa); }
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-actions a.icon, .header-actions button.icon { color: var(--crema); background: none; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; padding: 0; position: relative; }
.cart-badge { position: absolute; top: -8px; right: -10px; background: var(--brasa); color: #fff;
  font-size: 10px; font-weight: 700; border-radius: 50%; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px; }
.header-actions .btn { padding: 11px 18px; font-size: 13.5px; }

/* Mobile chrome (oculto en desktop) */
.mobile-topbar, .mobile-bottombar, .mobile-menu, .mobile-menu-overlay { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--carbon); color: #C9BBAE; padding: 64px 48px 32px; }
.site-footer .cols { max-width: 1200px; margin: 0 auto; display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--carbon-3); }
.site-footer img.logo { width: 56px; height: 56px; border-radius: 50%; background: #fff; object-fit: contain; padding: 4px; }
.site-footer h4 { color: var(--crema); font-weight: 600; font-size: 14px; margin: 0 0 4px; font-family: var(--sans); }
.site-footer .col { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: #C9BBAE; font-size: 13.5px; }
.site-footer a:hover { color: #fff; }
.site-footer p, .site-footer span { font-size: 13.5px; line-height: 1.6; color: #9C8B7C; margin: 0; }
.site-footer .pending { color: #7A6B5D; }
.site-footer .copy { max-width: 1200px; margin: 24px auto 0; font-size: 12.5px; color: #7A6B5D; text-align: center; }

/* ---------- Card de producto ---------- */
.grid-productos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--borde); border-radius: 16px;
  overflow: hidden; display: flex; flex-direction: column; cursor: pointer;
  transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.card .card-img { width: 100%; aspect-ratio: 1/1; }
.card .card-tag { position: absolute; top: 10px; left: 10px; background: var(--carbon); color: var(--crema);
  font-size: 10.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.card .card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .card-cat { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--brasa); }
.card .card-name { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--carbon); line-height: 1.25; }
.card .card-desc { font-size: 13px; color: var(--texto-2); line-height: 1.4; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px; }
.card .card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.card .card-price { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--carbon); }

/* ---------- Chips de categoría ---------- */
.chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 14px;
  border-bottom: 1px solid var(--borde); }
.chip { flex-shrink: 0; white-space: nowrap; padding: 10px 20px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; cursor: pointer; background: #fff; color: var(--madera);
  border: 1.5px solid var(--borde); font-family: var(--sans); }
.chip.active { background: var(--brasa); color: var(--carbon); border-color: var(--brasa); }

/* ---------- Inputs ---------- */
.input { width: 100%; box-sizing: border-box; border: 1.5px solid var(--borde); border-radius: 12px;
  padding: 12px 14px; font-size: 14px; font-family: var(--sans); color: var(--carbon); background: #fff; }
.input-pill { border-radius: 999px; padding: 12px 18px; }
textarea.input { min-height: 64px; resize: vertical; }
label.field-label { font-size: 13px; font-weight: 600; color: var(--carbon); display: block; margin-bottom: 8px; }
.field-error { color: var(--brasa-hover); font-size: 12.5px; margin: 6px 0 0; }

/* ---------- Overlay + Modal producto ---------- */
.overlay { position: fixed; inset: 0; background: rgba(28,21,18,0.6); z-index: 110; }
.modal { position: fixed; top: 5vh; left: 50%; transform: translateX(-50%);
  width: min(1040px, 92vw); height: 90vh; background: #fff; border-radius: 20px; overflow: hidden;
  z-index: 111; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-modal); }
.modal .modal-img { position: relative; }
.modal .modal-right { position: relative; display: flex; flex-direction: column; height: 100%; min-width: 0; }
.modal .modal-close { position: absolute; top: 18px; right: 18px; background: var(--crema); border: none;
  width: 36px; height: 36px; border-radius: 50%; font-size: 16px; cursor: pointer; z-index: 112;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.modal .modal-scroll { flex: 1; overflow-y: auto; padding: 36px 36px 16px; display: flex; flex-direction: column; gap: 16px; }
.modal .modal-cat { font-size: 11.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--brasa); }
.modal h2 { font-size: 28px; font-weight: 600; color: var(--carbon); line-height: 1.2; }
.modal .modal-info { border-top: 1px solid var(--borde); padding-top: 16px; }
.modal .modal-info-title { font-size: 13px; font-weight: 700; color: var(--carbon); text-transform: uppercase; letter-spacing: .5px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { background: #F1E9DC; color: var(--madera); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.suggest-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--borde); border-radius: 12px; padding: 10px; }
.suggest-row .thumb { width: 48px; height: 48px; border-radius: 8px; flex-shrink: 0;
  background: repeating-linear-gradient(45deg,#F1E9DC,#F1E9DC 6px,#E7DED2 6px,#E7DED2 12px); }
.modal .modal-bar { border-top: 1px solid var(--borde); padding: 18px 36px; display: flex; align-items: center; gap: 16px; background: #fff; }
.stepper { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--borde); border-radius: 999px; padding: 8px 16px; }
.stepper button { background: none; border: none; color: var(--carbon); font-size: 16px; cursor: pointer; width: 18px; }
.stepper .qty { font-size: 14px; font-weight: 700; color: var(--carbon); min-width: 16px; text-align: center; }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: 440px; max-width: 92vw;
  background: var(--crema); z-index: 101; display: flex; flex-direction: column;
  box-shadow: -12px 0 40px rgba(0,0,0,0.25); transform: translateX(100%); transition: transform .28s ease; }
.drawer.open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(28,21,18,0.55); z-index: 100; opacity: 0;
  visibility: hidden; transition: opacity .28s ease, visibility .28s ease; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--borde); }
.drawer-head h3 { font-size: 22px; color: var(--carbon); }
.drawer-close { background: none; border: none; cursor: pointer; color: var(--carbon); font-size: 22px; line-height: 1; padding: 4px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; display: flex; flex-direction: column; gap: 18px; }
.cart-line { display: flex; gap: 14px; }
.cart-line .thumb { width: 72px; height: 72px; border-radius: 12px; flex-shrink: 0;
  background: repeating-linear-gradient(45deg,#EFE6D8,#EFE6D8 8px,#E7DED2 8px,#E7DED2 16px);
  display: flex; align-items: center; justify-content: center; font-size: 9px; color: var(--texto-2); font-family: monospace; }
.cart-line .line-main { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-line .line-top { display: flex; justify-content: space-between; gap: 8px; }
.cart-line .line-name { font-weight: 600; color: var(--carbon); font-size: 14.5px; }
.cart-line .line-note { font-size: 12px; color: var(--texto-2); font-style: italic; }
.cart-line .line-rm { background: none; border: none; color: var(--texto-2); cursor: pointer; font-size: 13px; padding: 0; }
.cart-line .line-bottom { display: flex; align-items: center; justify-content: space-between; }
.cart-line .line-price { font-weight: 700; color: var(--carbon); font-size: 14.5px; }
.cart-line .stepper { padding: 4px 10px; gap: 10px; }
.cart-line .stepper button { font-size: 14px; width: 16px; }
.cart-line .stepper .qty { font-size: 13px; min-width: 14px; }
.drawer-foot { border-top: 1px solid var(--borde); padding: 20px 24px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.subtotal-row { display: flex; justify-content: space-between; font-size: 15px; color: var(--texto-2); }
.subtotal-row strong { color: var(--carbon); }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 40px 32px; text-align: center; }
.cart-empty .circle { width: 64px; height: 64px; border-radius: 50%; background: #F1E9DC; display: flex; align-items: center; justify-content: center; }
.cart-empty p { margin: 0; }
.cart-empty .t { font-family: var(--serif); font-size: 19px; color: var(--carbon); }
.cart-empty .d { font-size: 14px; color: var(--texto-2); max-width: 260px; }

/* ---------- Chat widget ---------- */
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 58px; height: 58px;
  border-radius: 50%; background: var(--brasa); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(28,21,18,0.28); }
.chat-fab:hover { background: var(--brasa-hover); }
.chat-panel { position: fixed; right: 24px; bottom: 92px; z-index: 91; width: 360px; max-width: calc(100vw - 32px);
  height: 520px; max-height: calc(100vh - 130px); background: #fff; border: 1px solid var(--borde);
  border-radius: 18px; box-shadow: var(--shadow-modal); display: none; flex-direction: column; overflow: hidden; }
.chat-panel.open { display: flex; }
.chat-head { background: var(--carbon); color: var(--crema); padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.chat-head .t { font-family: var(--serif); font-size: 16px; }
.chat-head button { background: none; border: none; color: var(--crema); cursor: pointer; font-size: 18px; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--crema); }
.chat-notice { background: #F1E9DC; border: 1px solid var(--borde); border-radius: 12px; padding: 14px 16px;
  font-size: 13.5px; color: var(--madera); line-height: 1.55; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--borde); background: #fff; }
.chat-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; }
.chat-msg.assistant { background: #fff; border: 1px solid var(--borde); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--brasa); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg.typing { display: flex; gap: 4px; align-items: center; }
.chat-msg.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--texto-3); animation: chatdot 1s infinite; }
.chat-msg.typing span:nth-child(2) { animation-delay: .2s; }
.chat-msg.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chatdot { 0%,60%,100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat-cards { display: flex; flex-direction: column; gap: 8px; align-self: flex-start; max-width: 90%; }
.chat-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border: 1px solid var(--borde); border-radius: 12px; padding: 8px 12px; font-size: 12.5px; }
.chat-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--borde); background: #fff; }
.chat-input input { flex: 1; border: 1.5px solid var(--borde); border-radius: 999px; padding: 10px 14px; font-size: 13.5px; font-family: var(--sans); color: var(--carbon); }
.chat-input button { flex-shrink: 0; width: 40px; border: none; border-radius: 50%; background: var(--brasa); color: #fff; cursor: pointer; font-size: 15px; }
.chat-input button:hover { background: var(--brasa-hover); }

/* ---------- Reservas ---------- */
.pill-num { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--brasa);
  background: transparent; color: var(--brasa); font-weight: 600; font-size: 14px; cursor: pointer; font-family: var(--sans); }
.pill-num.active { background: var(--brasa); color: #fff; border-color: var(--brasa); }
.pill-time { padding: 11px 16px; border-radius: 999px; border: 1.5px solid var(--borde); background: #fff;
  color: var(--carbon); font-weight: 600; font-size: 13.5px; cursor: pointer; font-family: var(--sans); }
.pill-time.active { background: var(--brasa); color: #fff; border-color: var(--brasa); }
.pill-time:disabled { color: var(--disabled); border-color: var(--borde); cursor: default; background: #fff; }
.cal { border: 1px solid var(--borde); border-radius: 16px; padding: 18px; background: #fff; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head .month { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.cal-nav { background: none; border: 1.5px solid var(--borde); border-radius: 50%; width: 34px; height: 34px; cursor: pointer; font-size: 16px; color: var(--carbon); }
.cal-nav:disabled { color: var(--disabled); cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 11px; font-weight: 700; color: var(--texto-2); text-transform: uppercase; padding: 6px 0; }
.cal-cell { aspect-ratio: 1/1; border: none; background: none; border-radius: 50%; cursor: pointer;
  font-size: 13.5px; color: var(--carbon); font-family: var(--sans); display: flex; align-items: center; justify-content: center; }
.cal-cell:hover:not(:disabled) { background: #F1E9DC; }
.cal-cell.today { border: 2px solid var(--brasa); }
.cal-cell.active { background: var(--brasa); color: #fff; }
.cal-cell:disabled { color: var(--disabled); cursor: default; text-decoration: line-through; }
.cal-cell.empty { visibility: hidden; }

/* ---------- Chips de estado ---------- */
.status { display: inline-flex; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.status.ok { background: var(--exito-bg); color: var(--exito); }
.status.warn { background: #FBEDE7; color: var(--brasa-hover); }
.status.wood { background: #F1E9DC; color: var(--madera); }

/* ---------- Avisos ---------- */
.banner-demo { background: #F1E9DC; border: 1px solid var(--borde); color: var(--madera);
  padding: 12px 18px; border-radius: 12px; font-size: 13.5px; text-align: center; }
.eyebrow { color: var(--brasa); font-weight: 600; letter-spacing: 2px; font-size: 12.5px; text-transform: uppercase; }

/* =========================================================================
   Responsive — Tablet
   ========================================================================= */
@media (max-width: 1279px) {
  .grid-productos { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================================
   Responsive — Mobile (<768px)
   ========================================================================= */
@media (max-width: 767px) {
  .container { padding-left: 18px; padding-right: 18px; }
  .section { padding-top: 44px; padding-bottom: 44px; }

  /* Ocultar header desktop; mostrar chrome mobile */
  .site-header { display: none; }
  .mobile-topbar { display: flex; position: sticky; top: 0; z-index: 50; background: var(--carbon);
    height: 60px; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--carbon-2); }
  .mobile-topbar .brand { display: flex; align-items: center; gap: 8px; }
  .mobile-topbar .brand img { height: 38px; width: 38px; border-radius: 50%; background: #fff; object-fit: contain; padding: 2px; }
  .mobile-topbar .brand span { font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--crema); }
  .mobile-topbar button, .mobile-topbar a.icon { background: none; border: none; color: var(--crema); cursor: pointer;
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; padding: 0; position: relative; }
  .hamb { flex-direction: column; gap: 5px; }
  .hamb span { display: block; height: 2px; width: 22px; background: var(--crema); border-radius: 2px; }

  .mobile-bottombar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--carbon); border-top: 1px solid var(--carbon-2); height: 60px; }
  .mobile-bottombar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; color: var(--borde); font-size: 10.5px; font-weight: 600; position: relative; }
  .mobile-bottombar a.active { color: var(--brasa); }
  .mobile-bottombar .cart-badge { top: 6px; right: 22%; }

  body.has-mobilebar { padding-bottom: 60px; }

  .mobile-menu-overlay { display: block; position: fixed; inset: 0; background: rgba(28,21,18,0.55);
    z-index: 60; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .mobile-menu-overlay.open { opacity: 1; visibility: visible; }
  .mobile-menu { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100%;
    width: 78%; max-width: 320px; background: var(--carbon); z-index: 61; transform: translateX(-100%);
    transition: transform .28s ease; padding: 22px 20px; gap: 6px; }
  .mobile-menu.open { transform: translateX(0); }
  .mobile-menu a { color: var(--borde); font-size: 16px; font-weight: 500; padding: 14px 6px; border-bottom: 1px solid var(--carbon-3); }
  .mobile-menu a.active { color: var(--brasa); }

  /* Grillas */
  .grid-productos { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .card .card-body { padding: 12px; }
  .card .card-name { font-size: 15.5px; }
  .card .card-desc { font-size: 12px; }

  h1 { font-size: 28px !important; }

  /* Modal → bottom sheet */
  .modal { top: auto; bottom: 0; left: 0; transform: none; width: 100vw; height: 92vh;
    border-radius: 20px 20px 0 0; grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .modal .modal-img { aspect-ratio: 4/3; }
  .modal .modal-scroll { padding: 22px 20px 12px; }
  .modal .modal-bar { padding: 14px 20px; }

  /* Cart drawer → hoja completa desde abajo */
  .drawer { top: auto; bottom: 0; right: 0; width: 100vw; max-width: 100vw; height: 88vh;
    border-radius: 20px 20px 0 0; transform: translateY(100%); }
  .drawer.open { transform: translateY(0); }

  /* Chat FAB elevado sobre la barra inferior */
  .chat-fab { bottom: 80px; }
  .chat-panel { bottom: 148px; right: 16px; left: 16px; width: auto; }

  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (min-width: 768px) {
  /* La barra/menú mobile nunca aparece en desktop */
  .mobile-topbar, .mobile-bottombar, .mobile-menu, .mobile-menu-overlay { display: none !important; }
}
