/* ============================================================
   GUANAJUATO TACOS Y BURROS · estilos.css · v2.1 "Manual de marca"
   Paleta del Manual de Identidad (Misul Digital):
   café #471D16 · rojo ladrillo #8C200B · rojo vivo #ED1F1C
   dorado #A97A29 · ámbar #F29F27 · arena #CDB291 · blanco/negro.
   Tipografía de marca: Montserrat. Mismas clases y estructura:
   solo cambia la piel.
   ============================================================ */

:root {
  --papel:      #F7F2EA;   /* fondo */
  --hoja:       #FFFFFF;   /* superficies */
  --tinta:      #471D16;   /* texto */
  --tinta-2:    #7A5B4E;   /* texto secundario */
  --rojo:       #8C200B;   /* vinotinto: marca, acción principal */
  --rojo-hover: #701A09;
  --vino:       #471D16;   /* footer */
  --linea:      #EAE0D0;   /* separadores */
  --marco:      #CDB291;   /* bordes de campos */
  --suave:      #F6EFE3;   /* fondos tenues */
  --nopal:      #3F6B35;   /* abierto / confirmado (funcional) */
  --arena:      #CDB291;   /* arena de marca */
  --dorado:     #A97A29;   /* dorado de marca */
  --ambar:      #F29F27;   /* ámbar de marca */
  --rojo-vivo:  #ED1F1C;   /* rojo vivo de marca: ofertas */
  --rail:       1080px;
  --fuente:     'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sombra:     0 1px 2px rgba(71, 29, 22, .06), 0 6px 20px rgba(71, 29, 22, .07);
  --sombra-alta: 0 18px 44px rgba(71, 29, 22, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--papel); color: var(--tinta);
  font-family: var(--fuente); font-size: 15.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--rojo); }
button { color: inherit; font-family: var(--fuente); }
[x-cloak] { display: none !important; }
:focus-visible { outline: 2px solid var(--rojo); outline-offset: 3px; border-radius: 6px; }
.ico { display: block; flex: none; }

@keyframes gto-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes gto-niega { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ---------- Header ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linea);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px max(16px, calc((100% - var(--rail)) / 2));
}
.marca { display: flex; align-items: center; text-decoration: none; color: var(--rojo); min-width: 0; }
.marca-logo { display: block; height: 64px; width: auto; max-width: 260px; object-fit: contain; }
.marca-nombre { display: flex; flex-direction: column; line-height: 1; }
.marca-nombre b { font-weight: 900; font-size: 25px; letter-spacing: .04em; text-transform: uppercase; }
.marca-nombre small { font-weight: 700; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--tinta); margin-top: 5px; }
.topbar-der { display: flex; align-items: center; gap: 10px; flex: none; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap; background: var(--suave);
}
.chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chip-abierto { color: var(--nopal); background: #EAF1E6; }
.chip-cerrado { color: var(--rojo); }

.btn-carrito {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 14.5px;
  background: var(--rojo); color: #fff; border: 0; border-radius: 999px;
  padding: 10px 12px 10px 16px; cursor: pointer; transition: background .15s ease;
}
.btn-carrito:hover { background: var(--rojo-hover); }
.btn-carrito:active { transform: scale(.96); }
.bc-ico { display: none; }
.carrito-n { display: inline-block; min-width: 22px; text-align: center; background: #fff; color: var(--rojo); border-radius: 999px; padding: 1px 6px; font-size: 12.5px; font-weight: 800; }

.aviso-cerrado { background: var(--tinta); color: #fff; text-align: center; font-size: 14px; padding: 10px 16px; }

/* ---------- Tienda ---------- */
.tienda { max-width: var(--rail); margin: 0 auto; padding: 34px 16px 120px; min-height: 60vh; }

/* Portada */
.hero { text-align: center; padding: 6px 0 4px; }
.hero h1 {
  margin: 0; color: var(--rojo);
  font-weight: 900; font-size: clamp(34px, 8vw, 58px); line-height: 1.02;
  letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance;
}
.hero p { margin: 14px auto 0; max-width: 50ch; font-size: 15.5px; color: var(--tinta-2); text-wrap: pretty; }

.cat-ico {
  flex: none; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--rojo); color: #fff;
}
.cat-tiles { display: grid; gap: 12px; margin-top: 32px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.cat-tile {
  display: flex; align-items: center; gap: 14px; text-align: left;
  background: var(--hoja); border: 1px solid var(--linea); border-radius: 16px;
  padding: 14px; cursor: pointer; box-shadow: var(--sombra);
  transition: border-color .15s ease, transform .15s ease;
}
.cat-tile:hover { border-color: var(--rojo); transform: translateY(-2px); }
.cat-tile:active { transform: scale(.98); }
.cat-txt { display: flex; flex-direction: column; min-width: 0; }
.cat-nombre { font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; color: var(--tinta); }
.cat-n { font-size: 13px; color: var(--tinta-2); margin-top: 2px; }

.destacados { margin-top: 44px; }
.destacados h2 { margin: 0; font-weight: 900; font-size: 22px; text-transform: uppercase; color: var(--rojo); }

/* Sección */
.seccion { max-width: var(--rail); margin: 0 auto; }
.vista-cab { display: flex; align-items: center; margin: -14px 0 12px; }
.volver-cats {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14.5px; color: var(--tinta);
  background: var(--hoja); border: 1px solid var(--linea); border-radius: 999px;
  padding: 8px 15px; cursor: pointer;
}
.volver-cats:hover { border-color: var(--tinta); }
.hoja-cat { background: var(--hoja); border: 1px solid var(--linea); border-radius: 22px; box-shadow: var(--sombra); padding: 28px clamp(18px, 4vw, 40px) 14px; }
.hoja-cat h2 {
  display: flex; align-items: center; gap: 14px; margin: 0;
  font-weight: 900; font-size: clamp(25px, 5.6vw, 36px); line-height: 1.08;
  text-transform: uppercase; color: var(--rojo); text-wrap: balance;
}
.hoja-cat h2 .cat-ico { width: 48px; height: 48px; }
.cat-desc { margin: 12px 0 0; max-width: 60ch; font-size: 15px; color: var(--tinta-2); text-wrap: pretty; }
.sub-cat { margin: 30px 0 0; padding-bottom: 8px; border-bottom: 2px solid var(--rojo); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--rojo); }
.sub-cat + .grid { margin-top: 2px; }

/* Renglones de productos */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 56px; margin-top: 14px; }
@media (min-width: 860px) { .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.destacados .grid { background: var(--hoja); border: 1px solid var(--linea); border-radius: 22px; box-shadow: var(--sombra); padding: 4px clamp(18px, 4vw, 40px); margin-top: 16px; }

.card { position: relative; display: flex; gap: 14px; align-items: flex-start; min-width: 0; padding: 18px 0; border-bottom: 1px solid var(--linea); }
.card-cuerpo { flex: 1; min-width: 0; display: flex; flex-direction: column; align-self: stretch; }
.card-cab { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card h3 { margin: 0; font-weight: 800; font-size: 15.5px; text-transform: uppercase; letter-spacing: .01em; line-height: 1.25; }
.precios { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.card .precio { font-weight: 700; font-size: 16px; }
.precio-antes { text-decoration: line-through; color: var(--marco); font-size: 13.5px; }
.card .desc { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: var(--tinta-2); max-width: 62ch; }
.card-acc { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: auto; padding-top: 12px; }
.card select, .sel-btn {
  flex: 1; min-width: 0; width: 100%; height: 42px;
  font-family: var(--fuente); font-weight: 500; font-size: 14px;
  border: 1px solid var(--marco); border-radius: 10px; padding: 0 12px;
  background: var(--hoja); color: var(--tinta);
}
.card select:focus, .sel-btn:focus-visible { border-color: var(--rojo); box-shadow: 0 0 0 3px rgba(140, 32, 11, .14); outline: none; }
.card select.falta, .sel-btn.falta { border-color: var(--rojo); background: #F9ECE6; animation: gto-niega .25s ease 2; }
.card .agregar {
  flex: none; height: 42px; padding: 0 18px;
  font-weight: 700; font-size: 14px;
  background: var(--suave); color: var(--rojo); border: 0; border-radius: 999px; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.card .agregar::before { content: '+'; margin-right: 6px; font-weight: 800; }
.card .agregar:hover:not(:disabled) { background: var(--rojo); color: #fff; }
.card .agregar:active:not(:disabled) { transform: scale(.96); }
.card .agregar:disabled { color: var(--marco); cursor: not-allowed; }

.card-foto { flex: none; width: 76px; height: 76px; padding: 0; overflow: hidden; border: 0; border-radius: 14px; background: var(--suave); cursor: zoom-in; }
.card-img { width: 100%; height: 100%; object-fit: cover; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 7px; }
.oferta-cinta, .fav-chip { font-weight: 800; font-size: 11px; line-height: 1; text-transform: uppercase; letter-spacing: .05em; padding: 5px 9px; border-radius: 999px; }
.oferta-cinta { background: var(--rojo-vivo); color: #fff; }
.fav-chip { background: #FBEED3; color: var(--dorado); }
.card--oferta .precio { color: var(--rojo-vivo); }
.card--oferta .precios { flex-direction: column; align-items: flex-end; gap: 0; line-height: 1.25; }

/* Selector de opciones con imágenes */
.sel-sabor { position: relative; flex: 1; min-width: 0; }
.sel-btn { display: flex; align-items: center; gap: 9px; cursor: pointer; text-align: left; }
.sel-mini { width: 26px; height: 26px; object-fit: contain; }
.sel-caret { margin-left: auto; color: var(--marco); }
.sel-lista {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30;
  background: var(--hoja); border: 1px solid var(--linea); border-radius: 12px; box-shadow: var(--sombra-alta);
  padding: 8px; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px;
  animation: gto-entra .16s ease backwards;
}
.sel-buscar { position: sticky; top: 0; z-index: 1; font-family: var(--fuente); font-size: 14px; border: 1px solid var(--linea); border-radius: 8px; padding: 8px 10px; background: #fff; margin-bottom: 6px; color: var(--tinta); }
.sel-buscar:focus { border-color: var(--rojo); outline: none; }
.sel-op { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; border: 0; border-radius: 8px; background: transparent; color: var(--tinta); padding: 8px; cursor: pointer; text-align: left; }
.sel-op:hover { background: var(--suave); }
.sel-op img { width: 30px; height: 30px; object-fit: contain; }
.sel-op small { color: var(--tinta-2); }
.sel-ph { width: 30px; text-align: center; font-size: 19px; }

/* Foto en grande */
.foto-velo { position: fixed; inset: 0; z-index: 90; padding: 20px; background: rgba(36, 15, 11, .74); display: grid; place-items: center; }
.foto-velo figure { position: relative; margin: 0; width: min(92vw, 480px); background: var(--hoja); border-radius: 18px; overflow: hidden; box-shadow: var(--sombra-alta); animation: gto-entra .18s ease backwards; }
.foto-velo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.foto-velo figcaption { padding: 14px; text-align: center; font-weight: 800; font-size: 15px; text-transform: uppercase; }
.foto-velo .panel-cerrar { position: absolute; top: 10px; right: 10px; background: #fff; }

/* FAB y menú de secciones */
.fab {
  position: fixed; right: 16px; bottom: 20px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--rojo); color: #fff; border: 0; box-shadow: 0 10px 24px rgba(140, 32, 11, .35);
  font-size: 22px; cursor: pointer; transition: bottom .15s ease-out, background .15s ease;
}
.fab:hover { background: var(--rojo-hover); }
.fab:active { transform: scale(.94); }
.velo { position: fixed; inset: 0; z-index: 60; background: rgba(36, 15, 11, .5); }
.menu-flotante {
  position: fixed; z-index: 70; right: 16px; bottom: 90px;
  width: min(330px, calc(100vw - 32px)); max-height: 72vh; overflow-y: auto;
  background: var(--hoja); border-radius: 18px; box-shadow: var(--sombra-alta);
  padding: 14px; display: flex; flex-direction: column; gap: 2px; animation: gto-entra .18s ease backwards;
}
.mf-titulo { margin: 0 0 8px; font-weight: 900; font-size: 15px; text-transform: uppercase; color: var(--rojo); line-height: 1.2; }
.mf-item {
  display: flex; align-items: center; gap: 11px;
  font-weight: 600; font-size: 14.5px; text-align: left; color: var(--tinta); text-decoration: none;
  background: transparent; border: 0; border-radius: 10px; padding: 9px 10px; cursor: pointer;
}
.mf-item .ico { color: var(--rojo); }
.mf-item:hover { background: var(--suave); }
.mf-item.on, .mf-item.on:hover { background: var(--rojo); color: #fff; }
.mf-item.on .ico { color: #fff; }

/* Barra inferior: ver pedido */
.barra-pedido {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 55;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: min(540px, calc(100vw - 104px));
  background: var(--rojo); color: #fff; border: 0; border-radius: 999px;
  box-shadow: 0 12px 28px rgba(140, 32, 11, .38); padding: 14px 20px 14px 14px;
  font-weight: 700; font-size: 15.5px; cursor: pointer; transition: background .15s ease;
}
.barra-pedido:hover { background: var(--rojo-hover); }
.barra-pedido:active { transform: translateX(-50%) scale(.98); }
.barra-pedido b { font-weight: 800; }
.bp-n { background: #fff; color: var(--rojo); border-radius: 999px; min-width: 28px; text-align: center; padding: 2px 9px; font-size: 14px; font-weight: 800; }

/* Carrito */
.panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(420px, 100%); background: var(--hoja); box-shadow: -18px 0 44px rgba(36, 15, 11, .22); display: flex; flex-direction: column; }
.panel-cab { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; border-bottom: 1px solid var(--linea); }
.panel-cab h2 { margin: 0; font-weight: 900; font-size: 20px; text-transform: uppercase; color: var(--rojo); }
.panel-cerrar { width: 38px; height: 38px; border-radius: 50%; background: var(--suave); border: 0; color: var(--tinta); font-size: 15px; font-weight: 700; cursor: pointer; }
.panel-cerrar:hover { background: var(--linea); }
.panel-items { flex: 1; overflow-y: auto; padding: 4px 20px; }
.panel-vacio { text-align: center; color: var(--tinta-2); margin-top: 44px; font-size: 15px; }
.item { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--linea); }
.item-info { flex: 1; min-width: 0; }
.item-info strong { display: block; font-weight: 800; font-size: 14px; text-transform: uppercase; line-height: 1.25; }
.item-info span { display: block; font-size: 13px; color: var(--tinta-2); }
.item-qty { display: flex; align-items: center; gap: 8px; }
.item-qty button { width: 34px; height: 34px; font-size: 17px; font-weight: 700; line-height: 1; background: var(--suave); color: var(--rojo); border: 0; border-radius: 50%; cursor: pointer; }
.item-qty button:hover { background: var(--rojo); color: #fff; }
.item-qty b { min-width: 20px; text-align: center; font-size: 15px; }
.panel-pie { padding: 16px 20px 20px; border-top: 1px solid var(--linea); }
.panel-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-weight: 800; font-size: 18px; text-transform: uppercase; }

.btn-pagar, .btn-principal {
  display: block; width: 100%; text-align: center; text-decoration: none;
  font-family: var(--fuente); font-weight: 800; font-size: 16.5px;
  background: var(--rojo); color: #fff; border: 0; border-radius: 14px; padding: 15px; cursor: pointer;
  transition: background .15s ease;
}
.btn-pagar:hover, .btn-principal:hover:not(:disabled) { background: var(--rojo-hover); }
.btn-pagar:active, .btn-principal:active:not(:disabled) { transform: scale(.985); }
.btn-pagar[disabled], .btn-pagar.off { background: var(--linea); color: var(--tinta-2); pointer-events: none; }
.btn-principal:disabled { background: var(--marco); cursor: wait; }
.btn-seguir { display: block; width: 100%; text-align: center; margin-top: 10px; font-weight: 700; font-size: 15px; background: var(--suave); color: var(--tinta); border: 0; border-radius: 14px; padding: 12px; cursor: pointer; }
.btn-seguir:hover { background: var(--linea); }

/* ---------- Checkout / gracias / puntos ---------- */
.hoja { max-width: 640px; margin: 0 auto; padding: 26px 16px 60px; }
.hoja h1 { font-weight: 900; font-size: clamp(25px, 6vw, 32px); text-transform: uppercase; line-height: 1.12; margin: 0 0 18px; color: var(--rojo); text-wrap: balance; }
.hoja > p { margin: 0 0 12px; }
.volver { display: inline-block; margin-bottom: 14px; font-size: 14.5px; font-weight: 700; color: var(--tinta); text-underline-offset: 4px; }
.bloque { background: var(--hoja); border: 1px solid var(--linea); border-radius: 18px; box-shadow: var(--sombra); padding: 20px; margin-bottom: 16px; }
.bloque h2 { margin: 0 0 12px; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }
.campo { margin-bottom: 12px; }
.campo label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.campo input[type=text], .campo input[type=tel], .campo input[type=email], .campo textarea, .campo select {
  width: 100%; font-family: var(--fuente); font-weight: 500; font-size: 16px;
  border: 1px solid var(--marco); border-radius: 12px; padding: 12px 14px; background: #fff; color: var(--tinta);
}
.campo input::placeholder, .campo textarea::placeholder { color: #AD9C86; }
.campo input:focus, .campo textarea:focus, .campo select:focus { border-color: var(--rojo); box-shadow: 0 0 0 3px rgba(140, 32, 11, .14); outline: none; }
.campo textarea { resize: vertical; min-height: 64px; }
.opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opcion {
  border: 1px solid var(--marco); border-radius: 14px; background: #fff;
  padding: 13px; cursor: pointer; display: flex; gap: 9px; align-items: flex-start;
  font-size: 14.5px; font-weight: 700; line-height: 1.3;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.opcion:hover { border-color: var(--rojo); }
.opcion input { margin-top: 2px; accent-color: var(--rojo); }
.opcion.activa { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.opcion small { display: block; font-weight: 400; font-size: 13px; color: var(--tinta-2); margin-top: 3px; }
.opcion.activa small { color: rgba(255, 255, 255, .85); }
.opcion.activa input { accent-color: #fff; }
.linea { display: flex; justify-content: space-between; gap: 14px; font-size: 15px; padding: 4px 0; }
.linea small { color: var(--tinta-2); }
.linea.total { font-size: 18px; font-weight: 800; text-transform: uppercase; border-top: 1px solid var(--linea); margin-top: 8px; padding-top: 10px; }
.error { background: #F9ECE6; border: 1px solid var(--rojo); color: var(--rojo-hover); border-radius: 12px; padding: 12px 15px; font-size: 14.5px; font-weight: 600; margin-bottom: 14px; animation: gto-niega .25s ease 2; }
.nota-registro { margin: -2px 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--tinta-2); background: var(--suave); border-radius: 12px; padding: 10px 13px; }
.nota-registro b { color: var(--tinta); }

.pts-chip { display: inline-block; background: var(--rojo); color: #fff; border-radius: 999px; padding: 1px 11px; font-weight: 800; }
.pts-linea { font-size: 15.5px; }
.pts-linea small { color: var(--tinta-2); }
.canje-nota { margin: 10px 0 0; font-size: 13.5px; color: var(--tinta-2); }
.pts-panel { margin: 12px 0 2px; padding: 12px 15px; background: var(--suave); border-radius: 12px; animation: gto-entra .2s ease backwards; }
.pts-panel p { margin: 0 0 5px; font-size: 14.5px; font-weight: 600; }
.pts-panel p:last-child { margin-bottom: 0; }
.pts-panel .pts-estado { font-weight: 400; color: var(--tinta-2); }

.bumps { display: flex; flex-direction: column; }
.bump-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linea); }
.bump-item:last-child { border-bottom: 0; padding-bottom: 0; }
.bump-item > img { width: 52px; height: 52px; object-fit: cover; border-radius: 12px; }
.bump-ph { width: 52px; text-align: center; font-size: 25px; }
.bump-info { flex: 1; min-width: 0; }
.bump-info strong { display: block; font-weight: 800; font-size: 14px; text-transform: uppercase; }
.bump-add { white-space: nowrap; font-weight: 700; font-size: 14px; padding: 9px 15px; cursor: pointer; background: var(--suave); color: var(--rojo); border: 0; border-radius: 999px; }
.bump-add:hover { background: var(--rojo); color: #fff; }
.bump-add.ok, .bump-add.ok:hover { background: var(--nopal); color: #fff; }

.gracias-icono { width: 72px; height: 72px; border-radius: 50%; background: var(--nopal); color: #fff; font-size: 34px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.gracias-codigo { display: inline-block; margin: 6px 0 0; padding: 8px 18px; font-size: 21px; font-weight: 800; letter-spacing: .08em; background: var(--hoja); border: 1px dashed var(--rojo); border-radius: 12px; color: var(--rojo); }

/* Campanita */
.notif { position: relative; }
.notif-btn { width: 40px; height: 40px; border-radius: 50%; position: relative; background: var(--suave); border: 0; font-size: 17px; cursor: pointer; }
.notif-btn:hover { background: var(--linea); }
.notif-n { position: absolute; top: -4px; right: -4px; background: var(--rojo); color: #fff; font-size: 11px; font-weight: 800; min-width: 19px; line-height: 19px; padding: 0 5px; border-radius: 999px; }
.notif-panel { position: absolute; right: 0; top: calc(100% + 12px); z-index: 80; width: min(340px, calc(100vw - 28px)); max-height: 65vh; overflow-y: auto; background: var(--hoja); border-radius: 16px; box-shadow: var(--sombra-alta); padding: 14px; display: flex; flex-direction: column; gap: 4px; text-align: left; animation: gto-entra .18s ease backwards; }
.notif-item { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--linea); }
.notif-emoji { font-size: 22px; line-height: 1.2; }
.notif-item strong { display: block; font-size: 14.5px; }
.notif-item p { margin: 2px 0 0; font-size: 13.5px; color: var(--tinta-2); }

/* ---------- Footer vinotinto ---------- */
.pie { margin-top: 48px; background: var(--vino); color: #fff; }
.pie a { color: #fff; }
.pie-in {
  max-width: var(--rail); margin: 0 auto; padding: 40px 16px 26px;
  display: grid; gap: 28px; grid-template-columns: 1.3fr 1fr 1fr; align-items: center;
}
.pie-marca { display: flex; align-items: center; gap: 16px; }
.pie-sello { width: 88px; height: 88px; border-radius: 50%; flex: none; object-fit: contain; }
.pie-sello--ph { display: grid; place-items: center; background: #fff; color: var(--rojo); }
.pie-nombre { margin: 0; display: flex; flex-direction: column; line-height: 1.05; }
.pie-nombre b { font-weight: 900; font-size: 26px; letter-spacing: .05em; text-transform: uppercase; }
.pie-nombre span { font-weight: 700; font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; margin-top: 7px; opacity: .9; }
.pie-datos p { margin: 0; font-size: 14px; }
.pie-datos .pie-tit { font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; opacity: .8; }
.pie-dir { margin-top: 8px !important; opacity: .85; }
.pie-acc { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.pie-redes { display: flex; gap: 10px; }
.pie-redes a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .12); transition: background .15s ease, color .15s ease; }
.pie-redes a:hover { background: #fff; color: var(--vino); }
.pie-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; font-size: 14px; font-weight: 600; }
.pie-links a { text-underline-offset: 4px; }
.pie-legal { margin: 0; padding: 14px 16px 22px; text-align: center; font-size: 12px; border-top: 1px solid rgba(255, 255, 255, .14); opacity: .75; }

/* ---------- Persecución del checkout: el Comilón corre detrás del taco ---------- */
.persecucion { position: relative; height: 66px; margin: 26px 0 2px; overflow: hidden; }
.p-dulce {
  position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%;
  left: calc(4% + var(--i) * 8%);
  transform: translateY(-50%);
  background: #CDB291;
  animation: 18s linear infinite;
}
.p-runner {
  position: absolute; top: 50%; left: -15%;
  display: flex; align-items: center; gap: 16px;
  transform: translateY(-50%) scaleX(1);
  animation: p-corre 18s linear infinite;
  will-change: left, transform;
}
/* ida (0-48%) → media vuelta en el borde (48-52%) → regreso espejado (52-100%) */
@keyframes p-corre {
  0%   { left: -15%; transform: translateY(-50%) scaleX(1); }
  48%  { left: 115%; transform: translateY(-50%) scaleX(1); }
  52%  { left: 115%; transform: translateY(-50%) scaleX(-1); }
  100% { left: -15%; transform: translateY(-50%) scaleX(-1); }
}
.p-comilon { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--rojo); }
.p-comilon::before {
  content: ''; position: absolute; inset: 0; background: #fff;
  clip-path: polygon(52% 50%, 100% 12%, 100% 88%);
  animation: p-boca .38s ease-in-out infinite alternate;
}
.p-ojo { position: absolute; top: 9px; left: 15px; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.p-ojo::after { content: ''; position: absolute; top: 2px; left: 3.5px; width: 4px; height: 4px; border-radius: 50%; background: var(--tinta); }
.p-mejilla { position: absolute; bottom: 10px; left: 6px; width: 9px; height: 6px; border-radius: 50%; background: rgba(205, 178, 145, .8); filter: blur(.6px); }
@keyframes p-boca {
  from { clip-path: polygon(52% 50%, 100% 4%, 100% 96%); }
  to   { clip-path: polygon(52% 50%, 100% 44%, 100% 56%); }
}
.p-malteada { display: inline-flex; animation: p-huye .5s ease-in-out infinite alternate; }
@keyframes p-huye {
  from { transform: translateY(-2px) rotate(-4deg); }
  to   { transform: translateY(2px) rotate(5deg); }
}
/* Migas: comidas en la ida, reaparecen detrás de él en la vuelta */
.persecucion .p-dulce:nth-child(1)  { animation-name: pd0; }
.persecucion .p-dulce:nth-child(2)  { animation-name: pd1; }
.persecucion .p-dulce:nth-child(3)  { animation-name: pd2; }
.persecucion .p-dulce:nth-child(4)  { animation-name: pd3; }
.persecucion .p-dulce:nth-child(5)  { animation-name: pd4; }
.persecucion .p-dulce:nth-child(6)  { animation-name: pd5; }
.persecucion .p-dulce:nth-child(7)  { animation-name: pd6; }
.persecucion .p-dulce:nth-child(8)  { animation-name: pd7; }
.persecucion .p-dulce:nth-child(9)  { animation-name: pd8; }
.persecucion .p-dulce:nth-child(10) { animation-name: pd9; }
.persecucion .p-dulce:nth-child(11) { animation-name: pd10; }
.persecucion .p-dulce:nth-child(12) { animation-name: pd11; }
@keyframes pd0  { 0%, 4.4%  { opacity: 1; transform: translateY(-50%) scale(1); } 5.9%, 95.6%  { opacity: 0; transform: translateY(-50%) scale(.2); } 97.1%, 100% { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes pd1  { 0%, 7.4%  { opacity: 1; transform: translateY(-50%) scale(1); } 8.9%, 92.6%  { opacity: 0; transform: translateY(-50%) scale(.2); } 94.1%, 100% { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes pd2  { 0%, 10.3% { opacity: 1; transform: translateY(-50%) scale(1); } 11.8%, 89.7% { opacity: 0; transform: translateY(-50%) scale(.2); } 91.2%, 100% { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes pd3  { 0%, 13.3% { opacity: 1; transform: translateY(-50%) scale(1); } 14.8%, 86.7% { opacity: 0; transform: translateY(-50%) scale(.2); } 88.2%, 100% { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes pd4  { 0%, 16.2% { opacity: 1; transform: translateY(-50%) scale(1); } 17.7%, 83.8% { opacity: 0; transform: translateY(-50%) scale(.2); } 85.3%, 100% { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes pd5  { 0%, 19.2% { opacity: 1; transform: translateY(-50%) scale(1); } 20.7%, 80.8% { opacity: 0; transform: translateY(-50%) scale(.2); } 82.3%, 100% { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes pd6  { 0%, 22.2% { opacity: 1; transform: translateY(-50%) scale(1); } 23.7%, 77.8% { opacity: 0; transform: translateY(-50%) scale(.2); } 79.3%, 100% { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes pd7  { 0%, 25.1% { opacity: 1; transform: translateY(-50%) scale(1); } 26.6%, 74.9% { opacity: 0; transform: translateY(-50%) scale(.2); } 76.4%, 100% { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes pd8  { 0%, 28.1% { opacity: 1; transform: translateY(-50%) scale(1); } 29.6%, 71.9% { opacity: 0; transform: translateY(-50%) scale(.2); } 73.4%, 100% { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes pd9  { 0%, 31.0% { opacity: 1; transform: translateY(-50%) scale(1); } 32.5%, 69.0% { opacity: 0; transform: translateY(-50%) scale(.2); } 70.5%, 100% { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes pd10 { 0%, 34.0% { opacity: 1; transform: translateY(-50%) scale(1); } 35.5%, 66.0% { opacity: 0; transform: translateY(-50%) scale(.2); } 67.5%, 100% { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes pd11 { 0%, 36.9% { opacity: 1; transform: translateY(-50%) scale(1); } 38.4%, 63.1% { opacity: 0; transform: translateY(-50%) scale(.2); } 64.6%, 100% { opacity: 1; transform: translateY(-50%) scale(1); } }


/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .pie-in { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 22px; }
  .pie-marca { flex-direction: column; gap: 12px; }
  .pie-acc { align-items: center; }
  .pie-links { justify-content: center; }
}
@media (max-width: 560px) {
  .tienda { padding: 24px 12px 120px; }
  .topbar { padding: 8px 12px; gap: 8px; }
  .marca-logo { height: 50px; max-width: 170px; }
  .marca-nombre b { font-size: 20px; }
  .marca-nombre small { font-size: 8.5px; letter-spacing: .2em; }
  .chip { font-size: 12px; padding: 5px 9px; }
  .chip-h { display: none; }
  .btn-carrito { padding: 9px 10px 9px 12px; gap: 5px; }
  .bc-ico { display: block; }
  .bc-txt { display: none; }
  .notif-btn { width: 36px; height: 36px; font-size: 15px; }
  .cat-tiles { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 26px; }
  .cat-tile { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 12px; }
  .cat-ico { width: 46px; height: 46px; }
  .cat-nombre { font-size: 13.5px; }
  .hoja-cat { border-radius: 18px; padding: 22px 16px 8px; }
  .hoja-cat h2 { gap: 12px; }
  .hoja-cat h2 .cat-ico { width: 42px; height: 42px; }
  .card h3 { font-size: 14.5px; }
  .card .precio { font-size: 15px; }
  .card-foto { width: 64px; height: 64px; border-radius: 12px; }
  .opciones { grid-template-columns: 1fr; }
  .bloque { padding: 16px; }
}
@media (max-width: 380px) {
  .chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .persecucion { display: none; }
}

/* ============================================================
   v5 · agotado, cupones, reseñas y repetir pedido
   ============================================================ */

/* Agotado por hoy: se ve, pero no se puede pedir */
.card--agotada { filter: grayscale(.9); opacity: .72; }
.chip-agotado { display: inline-block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; background: var(--linea); color: var(--tinta-2); border-radius: 999px; padding: 3px 10px; }
.card .agregar--off { background: var(--linea); color: var(--tinta-2); cursor: not-allowed; }
.card .agregar--off::before { content: ''; margin: 0; }

/* Cupón en el checkout */
.fila-cupon { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.fila-cupon input[type=text] { flex: 1; min-width: 160px; font-family: var(--fuente); font-weight: 500; font-size: 16px; border: 1.5px solid var(--marco); border-radius: 12px; padding: 11px 13px; background: #fff; color: var(--tinta); }
.fila-cupon input[type=text]:focus { outline: 2px solid var(--rojo); outline-offset: 1px; }
.fila-cupon input[type=file] { flex: 1; min-width: 180px; font-size: 14px; }
.btn-cupon { font-weight: 700; font-size: 14.5px; cursor: pointer; background: var(--rojo); color: #fff; border: 0; border-radius: 999px; padding: 12px 22px; transition: background .15s ease; }
.btn-cupon:hover:not(:disabled) { background: var(--rojo-hover); }
.btn-cupon:disabled { background: var(--marco); cursor: wait; }
.cupon-error { color: var(--rojo); font-weight: 700; font-size: 14px; margin: 10px 0 0; }
.cupon-ok { background: var(--suave); border: 1px solid var(--linea); border-radius: 12px; padding: 11px 14px; font-size: 14.5px; margin: 10px 0 0; }
.cupon-quitar { display: inline-block; margin-left: 10px; background: none; border: 0; cursor: pointer; color: var(--tinta-2); font-weight: 700; font-size: 13px; text-decoration: underline; }

/* Reseñas de Google */
.resena-pasos { margin: 0 0 14px; padding-left: 20px; font-size: 15px; line-height: 1.7; }
.resena-pasos li { margin-bottom: 8px; }
.btn-resena { display: inline-block; font-weight: 700; font-size: 14.5px; background: var(--rojo); color: #fff; text-decoration: none; cursor: pointer; border: 0; border-radius: 999px; padding: 12px 22px; margin: 6px 8px 6px 0; transition: background .15s ease; }
.btn-resena:hover { background: var(--rojo-hover); }
.btn-resena--sec { background: var(--suave); color: var(--rojo); }
.btn-resena--sec:hover { background: var(--linea); }
.bloque-resena { border: 1.5px solid var(--rojo); }

/* Repetir pedido */
.rep-pedido { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid var(--linea); border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; background: var(--hoja); }
.rep-info { flex: 1; min-width: 200px; font-size: 14.5px; }
.rep-items { color: var(--tinta-2); font-size: 13.5px; }
.rep-falta { color: var(--rojo); font-size: 13px; font-weight: 700; }
.btn-repetir { font-weight: 700; font-size: 14px; cursor: pointer; background: var(--nopal); color: #fff; border: 0; border-radius: 999px; padding: 11px 20px; transition: filter .15s ease; white-space: nowrap; }
.btn-repetir:hover:not(:disabled) { filter: brightness(1.1); }
.btn-repetir:disabled { background: var(--marco); cursor: not-allowed; }

/* ============================================================
   v6 · Manual de marca en los tiles, íconos subidos por sección,
   datos del cliente ampliados y facturación electrónica
   ============================================================ */

/* Círculos de las secciones con los colores corporativos (pág. 18 del manual) */
.cat-tiles .cat-tile:nth-child(4n+1) .cat-ico { background: var(--dorado); }
.cat-tiles .cat-tile:nth-child(4n+2) .cat-ico { background: var(--ambar); }
.cat-tiles .cat-tile:nth-child(4n+3) .cat-ico { background: var(--rojo); }
.cat-tiles .cat-tile:nth-child(4n+4) .cat-ico { background: var(--tinta); }
.cat-tiles .cat-tile:nth-child(4n+1):hover { border-color: var(--dorado); }
.cat-tiles .cat-tile:nth-child(4n+2):hover { border-color: var(--ambar); }
.cat-tiles .cat-tile:nth-child(4n+4):hover { border-color: var(--tinta); }

/* Ícono subido (insignia tipo grabado): ocupa todo el círculo sobre fondo blanco */
.cat-ico--img { background: #fff !important; border: 2px solid currentColor; overflow: hidden; }
.cat-tiles .cat-tile:nth-child(4n+1) .cat-ico--img { color: var(--dorado); }
.cat-tiles .cat-tile:nth-child(4n+2) .cat-ico--img { color: var(--ambar); }
.cat-tiles .cat-tile:nth-child(4n+3) .cat-ico--img { color: var(--rojo); }
.cat-tiles .cat-tile:nth-child(4n+4) .cat-ico--img { color: var(--tinta); }
.cat-ico--img .cat-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hoja-cat h2 .cat-ico--img { color: var(--rojo); }
.mf-item .cat-img { width: 24px; height: 24px; object-fit: contain; border-radius: 50%; flex: none; }

/* Datos del cliente: dos columnas y cumpleaños día/mes */
.f-dos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
@media (max-width: 560px) { .f-dos { grid-template-columns: 1fr; } }
.f-cumple { display: flex; gap: 10px; }
.f-cumple select { flex: 1; font-family: var(--fuente); font-weight: 500; font-size: 16px; border: 1px solid var(--marco); border-radius: 12px; padding: 12px 14px; background: #fff; color: var(--tinta); }
.f-cumple select:focus { border-color: var(--rojo); box-shadow: 0 0 0 3px rgba(140, 32, 11, .14); outline: none; }
.nota-unavez { margin: -2px 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--tinta-2); background: #FBEED3; border-radius: 12px; padding: 10px 13px; }
.nota-unavez b { color: var(--dorado); }

/* Facturación electrónica: toggle SÍ/NO y recuadro de datos */
.fact-toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.fact-toggle p { margin: 0; font-size: 14.5px; color: var(--tinta-2); }
.fact-toggle p b { color: var(--tinta); display: block; font-size: 15.5px; margin-bottom: 2px; }
.fact-sino { display: inline-flex; flex: none; background: var(--suave); border: 1px solid var(--marco); border-radius: 999px; padding: 3px; }
.fact-sino button { font-family: var(--fuente); font-weight: 800; font-size: 13.5px; letter-spacing: .02em; border: 0; border-radius: 999px; padding: 7px 16px; background: transparent; color: var(--tinta-2); cursor: pointer; transition: background .15s ease, color .15s ease; }
.fact-sino button.on { background: var(--tinta); color: #fff; }
.fact-datos { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linea); animation: gto-entra .18s ease backwards; }

/* ---------- Seguimiento del pedido en tiempo real ---------- */
.hoja-seguimiento h1 { margin-bottom: 10px; }
.seg-linea { display: flex; justify-content: space-between; position: relative; margin: 10px 2px 18px; }
.seg-linea::before {
  content: ''; position: absolute; top: 23px; left: 24px; right: 24px; height: 3px;
  background: var(--linea); border-radius: 2px;
}
.seg-paso { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; flex: 1; min-width: 0; }
.seg-circulo {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--hoja); border: 2px solid var(--linea); color: var(--marco);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.seg-nombre { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--tinta-2); text-align: center; line-height: 1.2; }
.seg-paso--ok .seg-circulo { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.seg-paso--ok .seg-nombre { color: var(--tinta); }
.seg-paso--actual .seg-circulo { background: var(--rojo); border-color: var(--rojo); color: #fff; animation: seg-late 1.6s ease-in-out infinite; }
.seg-paso--actual .seg-nombre { color: var(--rojo); }
@keyframes seg-late {
  0%, 100% { box-shadow: 0 0 0 0 rgba(140, 32, 11, .35); }
  50%      { box-shadow: 0 0 0 9px rgba(140, 32, 11, 0); }
}
.seg-mensaje { background: var(--suave); border-radius: 12px; padding: 14px 16px; font-size: 15px; font-weight: 600; text-align: center; }
.seg-mensaje--cancelado { background: #F9ECE6; border: 1px solid var(--rojo); color: var(--rojo-hover); margin-top: 18px; }
.seg-auto { margin: 10px 0 0; text-align: center; font-size: 12.5px; color: var(--tinta-2); }
@media (max-width: 480px) {
  .seg-circulo { width: 38px; height: 38px; }
  .seg-circulo svg { width: 18px; height: 18px; }
  .seg-nombre { font-size: 10px; }
  .seg-linea::before { top: 19px; left: 19px; right: 19px; }
}
@media (prefers-reduced-motion: reduce) { .seg-paso--actual .seg-circulo { animation: none; } }

/* ---------- Encuesta de satisfacción ---------- */
.enc-pregunta { padding: 12px 0; border-bottom: 1px solid var(--linea); }
.enc-pregunta:last-of-type { border-bottom: 0; }
.enc-pregunta p { margin: 0 0 8px; font-weight: 700; font-size: 15px; }
.enc-estrellas { display: flex; gap: 6px; }
.enc-estrellas button {
  font-size: 30px; line-height: 1; padding: 2px 4px; border: 0; background: transparent;
  color: var(--linea); cursor: pointer; transition: color .1s ease, transform .1s ease;
}
.enc-estrellas button.on { color: var(--ambar); }
.enc-estrellas button:active { transform: scale(1.2); }

/* ---------- Tabla de acumulación de puntos ---------- */
.tabla-puntos { width: 100%; border-collapse: collapse; font-size: 15px; }
.tabla-puntos th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--rojo); padding: 14px 0 6px; border-bottom: 2px solid var(--rojo); }
.tabla-puntos td { padding: 10px 0; border-bottom: 1px solid var(--linea); }
.tabla-puntos td:last-child { text-align: right; white-space: nowrap; color: var(--rojo); }

/* ---------- Políticas ---------- */
.pol-indice { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 18px; }
.pol-indice a { font-weight: 700; font-size: 13.5px; text-decoration: none; background: var(--suave); color: var(--rojo); border-radius: 999px; padding: 8px 14px; }
.pol-indice a:hover { background: var(--rojo); color: #fff; }
.hoja-politicas .bloque h2 { font-size: 17px; }
.hoja-politicas .bloque p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.65; }
.hoja-politicas .bloque p:last-child { margin-bottom: 0; }

/* Selector de sede en el checkout */
.opciones-sedes { grid-template-columns: 1fr; }
@media (min-width: 560px) { .opciones-sedes { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- Ubicaciones (sedes en el header) ---------- */
.ubic { position: relative; }
.ubic-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 13.5px; white-space: nowrap;
  background: transparent; color: var(--tinta); border: 1px solid var(--linea);
  border-radius: 999px; padding: 8px 13px; cursor: pointer;
  transition: border-color .15s ease, color .15s ease;
}
.ubic-btn:hover { border-color: var(--rojo); color: var(--rojo); }
.ubic-panel {
  position: absolute; left: 0; top: calc(100% + 12px); z-index: 80;
  width: min(300px, calc(100vw - 28px));
  background: var(--hoja); border-radius: 16px; box-shadow: var(--sombra-alta);
  padding: 14px; display: flex; flex-direction: column; gap: 2px; text-align: left;
}
.ubic-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px; border-radius: 10px; text-decoration: none; color: var(--tinta);
}
.ubic-item:hover { background: var(--suave); }
.ubic-item:hover svg { color: var(--rojo); }
.ubic-item strong { display: block; font-size: 14px; }
.ubic-item small { display: block; font-size: 12.5px; color: var(--tinta-2); margin-top: 1px; }
.ubic-item svg { flex: none; color: var(--marco); }
@media (max-width: 700px) {
  .ubic-txt { display: none; }
  .ubic-btn { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .ubic-panel { left: auto; right: -70px; }
}

/* ---------- Botones del catálogo sobre rojo ladrillo de marca ---------- */
.cat-tile { background: var(--rojo); border-color: var(--rojo); }
.cat-tile:hover, .cat-tiles .cat-tile:nth-child(4n+1):hover,
.cat-tiles .cat-tile:nth-child(4n+2):hover, .cat-tiles .cat-tile:nth-child(4n+4):hover { border-color: var(--tinta); }
.cat-nombre { color: #fff; }
.cat-n { color: #F2E4DC; }
/* El círculo que era rojo se pierde sobre el fondo rojo: pasa a café */
.cat-tiles .cat-tile:nth-child(4n+3) .cat-ico { background: var(--tinta); }
.cat-tiles .cat-tile:nth-child(4n+3) .cat-ico--img { color: #fff; }

/* ---------- eNPS 0-10 en la encuesta ---------- */
.enc-nps { display: flex; flex-wrap: wrap; gap: 6px; }
.enc-nps button {
  flex: 1; min-width: 34px; height: 42px; font-family: var(--fuente); font-weight: 700; font-size: 15px;
  border: 1px solid var(--marco); border-radius: 10px; background: #fff; color: var(--tinta); cursor: pointer;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.enc-nps button.on { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.enc-nps-lbl { display: flex; justify-content: space-between; margin-top: 7px; font-size: 12px; color: var(--tinta-2); }
.opcion.activa a { color: #fff; text-decoration: underline; }

/* ===== v13 · Tiles del menú con foto real + degradado ===== */
.cat-tiles .cat-tile--foto {
  position: relative; overflow: hidden; border: 0; padding: 0;
  min-height: 178px; background-size: cover; background-position: center;
  background-color: var(--rojo); isolation: isolate;
}
.cat-tiles .cat-tile--foto::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(71,29,22,0) 30%, rgba(44,12,6,.55) 60%, rgba(44,12,6,.92) 100%);
  transition: background-color .15s ease;
}
.cat-tiles .cat-tile--foto:hover::before { background-color: rgba(44,12,6,.18); }
.cat-tiles .cat-tile--foto .cat-foto-in {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start;
  justify-content: flex-end; gap: 6px; width: 100%; height: 100%; min-height: inherit;
  padding: 14px; text-align: left;
}
.cat-tiles .cat-tile--foto .cat-ico,
.cat-tiles .cat-tile--foto .cat-ico--img { color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.45)); }
.cat-tiles .cat-tile--foto .cat-ico--img img { border-color: rgba(255,255,255,.85); }
.cat-tiles .cat-tile--foto .cat-nombre { color: #fff; font-size: 16px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.cat-tiles .cat-tile--foto .cat-n { color: #F2E4DC; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.cat-tiles .cat-tile--foto:hover { transform: translateY(-2px); }
@media (max-width: 640px) {
  .cat-tiles .cat-tile--foto { min-height: 150px; }
  .cat-tiles .cat-tile--foto .cat-foto-in { padding: 12px; }
}
