/* Base de todos los sitios. El diseño lo pone cada sección; esto solo da un piso sano y viste las piezas del ERP con las variables del tema. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fondo, #fff); color: var(--texto, #1a1a1a); font-family: var(--fuente-texto, system-ui, -apple-system, 'Segoe UI', sans-serif); font-size: 17px; line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--fuente-titulos, inherit); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.cq-s { position: relative; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Piezas y datos */
.cq-btn { display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: .75em 1.25em; border: 0; border-radius: var(--radio, 8px); background: var(--primario, #1a1a1a); color: var(--sobre-primario, #fff); font: 600 16px/1.2 var(--fuente-texto, inherit); text-decoration: none; cursor: pointer; transition: transform .15s ease, opacity .15s ease; }
.cq-btn:hover { opacity: .92; } .cq-btn:active { transform: scale(.98); }
.cq-btn[disabled] { opacity: .5; cursor: default; }
.cq-wa-ico { flex: none; }
.cq-horarios { display: grid; gap: .25em; margin: 0; }
.cq-horarios > div { display: flex; justify-content: space-between; gap: 1em; border-bottom: 1px solid var(--borde, rgba(0,0,0,.1)); padding: .35em 0; }
.cq-horarios dt { font-weight: 600; } .cq-horarios dd { margin: 0; text-align: right; }
.cq-sucursales { list-style: none; padding: 0; margin: 0; display: grid; gap: 1em; }
.cq-sucursales li { display: grid; gap: .15em; }
.cq-nota { font-size: 15px; opacity: .8; margin: .5em 0 0; }
.cq-nota.cq-error { color: #b42318; opacity: 1; } .cq-nota.cq-ok { opacity: 1; font-weight: 600; }
.cq-w input, .cq-w textarea, .cq-w select { width: 100%; font: 16px/1.4 var(--fuente-texto, inherit); padding: .7em .8em; border: 1px solid var(--borde, rgba(0,0,0,.2)); border-radius: var(--radio, 8px); background: var(--campo, #fff); color: var(--sobre-campo, #1a1a1a); }
.cq-w label { display: grid; gap: .3em; font-weight: 600; font-size: 15px; }
.cq-contacto { display: grid; gap: 1em; max-width: 560px; }
.cq-catalogo .cq-cat { margin-top: 1.5em; }
.cq-productos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1.25em; }
.cq-producto { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--borde, rgba(0,0,0,.1)); border-radius: var(--radio, 8px); overflow: hidden; background: var(--suave, transparent); }
.cq-producto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cq-producto-info { display: grid; gap: .35em; padding: 1em; align-content: start; }
.cq-producto h4 { margin: 0; font-size: 18px; } .cq-producto p { margin: 0; font-size: 15px; opacity: .8; }
.cq-precio { font-weight: 700; font-variant-numeric: tabular-nums; }
.cq-pedir { justify-self: start; display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: 15px; text-decoration: none; margin-top: .25em; min-height: 44px; }
.cq-reservas { display: grid; gap: 1.25em; max-width: 720px; }
.cq-paso { display: grid; gap: .6em; }
.cq-paso > span { font-weight: 600; }
.cq-opciones { display: flex; flex-wrap: wrap; gap: .5em; }
.cq-opcion { min-height: 44px; padding: .55em .9em; border: 1px solid var(--borde, rgba(0,0,0,.2)); border-radius: var(--radio, 8px); background: transparent; color: inherit; font: 500 15px/1.2 var(--fuente-texto, inherit); cursor: pointer; }
.cq-opcion[aria-pressed="true"] { background: var(--primario, #1a1a1a); color: var(--sobre-primario, #fff); border-color: transparent; }
.cq-dias { overflow-x: auto; flex-wrap: nowrap; padding-bottom: .25em; scrollbar-width: thin; }
.cq-dias .cq-opcion { display: grid; justify-items: center; min-width: 64px; }
.cq-dias .cq-opcion small { font-size: 12px; opacity: .8; }
.cq-datos { display: grid; gap: .8em; max-width: 560px; }
.cq-respaldo { display: flex; }
.cq-servicios { list-style: none; padding: 0; margin: 0; display: grid; }
.cq-servicios li { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; padding: .8em 0; border-bottom: 1px solid var(--borde, rgba(0,0,0,.12)); }
.cq-servicio-nombre { display: grid; gap: .15em; } .cq-servicio-nombre span { font-size: 15px; opacity: .8; }
.cq-servicio-meta { display: flex; gap: .9em; align-items: baseline; white-space: nowrap; } .cq-duracion { font-size: 14px; opacity: .7; }

/* Pastilla de ClientiQ: blanca, centrada, en todo pie público */
.cq-pie { display: flex; justify-content: center; padding: 28px 16px 36px; }
.cq-pastilla { display: inline-flex; gap: .3em; align-items: center; padding: 6px 14px; border-radius: 999px; background: #fff; color: #1a1a1a; font: 500 13px/1 system-ui, sans-serif; text-decoration: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.cq-vacio main { max-width: 560px; margin: 18vh auto 0; padding: 0 20px; }
