/* Punto y Capa — estilos de la tienda */
:root {
  --tomate: #E4572E;
  --tomate-osc: #C2441F;
  --mostaza: #C77D00;
  --turquesa: #1F8A86;
  --azul: #3D5A98;
  --grafito: #2B2B33;
  --gris: #5E5E68;
  --linea: #E8E4DA;
  --crema: #F6F4EF;
  --crema-2: #EFEBE2;
  --blanco: #FFFFFF;
  --ok: #1F7A4D;
  --ok-fondo: #E7F4EC;
  --aviso-fondo: #FFF3DC;
  --error: #B42318;
  --error-fondo: #FDECEA;
  --radio: 20px;
  --radio-chico: 12px;
  --sombra: 0 1px 2px rgba(43,43,51,.06), 0 8px 24px rgba(43,43,51,.08);
  --titulos: 'Fredoka', system-ui, sans-serif;
  --texto: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ancho: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--crema); color: var(--grafito); font: 17px/1.55 var(--texto); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3, h4 { font-family: var(--titulos); font-weight: 600; line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.005em; }
h1 { font-size: clamp(34px, 5.4vw, 58px); }
h2 { font-size: clamp(27px, 3.6vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.chico { font-size: 14px; }
.suave { color: var(--gris); }
.oculto { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; border-radius: 6px; }

/* ---------- barra de aviso y cabecera */
.aviso-barra { background: var(--grafito); color: var(--crema); font-size: 14px; text-align: center; padding: 8px 16px; }
.aviso-barra b { color: #F3B23A; }
.aviso-barra a { color: inherit; }
.cabecera { position: sticky; top: 0; z-index: 30; background: rgba(246,244,239,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--linea); }
.cabecera .contenedor { display: flex; align-items: center; gap: 20px; height: 68px; }
.marca img { height: 38px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; color: var(--grafito); font-weight: 700; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover { background: var(--crema-2); }
.nav a.activo { background: var(--grafito); color: var(--crema); }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; font: inherit; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--grafito); margin: 5px 0; border-radius: 2px; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--crema); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; border-bottom: 1px solid var(--linea); box-shadow: var(--sombra); }
  .nav.abierto { display: flex; }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .marca img { height: 32px; }
}

/* ---------- botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 17px/1 var(--texto); padding: 15px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s ease, background .15s ease; min-height: 52px; }
.btn:active { transform: translateY(1px); }
.btn-primario { background: var(--tomate); color: #fff; }
.btn-primario:hover { background: var(--tomate-osc); }
.btn-secundario { background: transparent; color: var(--grafito); border-color: var(--grafito); }
.btn-secundario:hover { background: var(--grafito); color: var(--crema); }
.btn-suave { background: var(--crema-2); color: var(--grafito); }
.btn-suave:hover { background: var(--linea); }
.btn-ok { background: var(--ok); color: #fff; }
.btn-peligro { background: transparent; color: var(--error); border-color: var(--error); }
.btn-chico { padding: 9px 14px; min-height: 38px; font-size: 15px; }
.btn-ancho { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-wsp { background: #1F8A4C; color: #fff; }

/* ---------- portada */
.hero { padding: 48px 0 56px; }
.hero .contenedor { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--tomate); }
.hero .bajada { font-size: 20px; color: var(--gris); max-width: 34em; }
.hero-foto { position: relative; }
.hero-foto img { border-radius: 28px; box-shadow: var(--sombra); aspect-ratio: 1; object-fit: cover; width: 100%; }
.hero-foto .sello { position: absolute; left: -18px; bottom: 28px; background: var(--blanco); border-radius: 18px; padding: 12px 16px; box-shadow: var(--sombra); font-size: 15px; max-width: 240px; }
.hero-foto .sello b { font-family: var(--titulos); font-size: 18px; display: block; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.confianza { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0; list-style: none; font-size: 15px; font-weight: 700; }
.confianza li { display: flex; align-items: center; gap: 8px; }
.confianza li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--turquesa); box-shadow: inset -2px -2px 0 rgba(0,0,0,.15); }
.confianza li:nth-child(2)::before { background: var(--mostaza); }
.confianza li:nth-child(3)::before { background: var(--azul); }
@media (max-width: 860px) {
  .hero { padding: 24px 0 40px; }
  .hero .contenedor { grid-template-columns: 1fr; gap: 28px; }
  .hero-foto { order: -1; }
  .hero-foto .sello { left: 12px; bottom: 12px; }
  .hero .bajada { font-size: 18px; }
  .acciones .btn { flex: 1 1 100%; }
}

.seccion { padding: 64px 0; }
.seccion-blanca { background: var(--blanco); }
.seccion .intro { max-width: 640px; margin-bottom: 32px; }
.etiqueta { display: inline-block; font: 700 13px/1 var(--texto); letter-spacing: .08em; text-transform: uppercase; color: var(--tomate); margin-bottom: 10px; }

/* pasos */
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: paso; padding: 0; margin: 0; list-style: none; }
.pasos li { background: var(--crema); border-radius: var(--radio); padding: 22px; position: relative; }
.pasos li::before { counter-increment: paso; content: counter(paso); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; font: 600 19px var(--titulos); margin-bottom: 14px; background: var(--tomate); }
.pasos li:nth-child(2)::before { background: var(--mostaza); }
.pasos li:nth-child(3)::before { background: var(--turquesa); }
.pasos li:nth-child(4)::before { background: var(--azul); }
.pasos h3 { font-size: 19px; }
.pasos p { margin: 0; color: var(--gris); font-size: 16px; }
@media (max-width: 900px) { .pasos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pasos { grid-template-columns: 1fr; } }

/* tarjetas de producto */
.productos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .productos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .productos { grid-template-columns: 1fr; } }
.a-pedido { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
@media (max-width: 760px) { .a-pedido { grid-template-columns: 1fr; } }
.tarjeta-h { display: flex; gap: 18px; align-items: center; background: var(--blanco); border-radius: var(--radio); padding: 20px; box-shadow: var(--sombra); text-decoration: none; color: inherit; transition: transform .15s ease; }
.tarjeta-h:hover { transform: translateY(-3px); }
.tarjeta-h .icono { flex: none; width: 84px; height: 84px; border-radius: 22px; display: grid; place-items: center; }
.tarjeta-h h3 { margin: 0 0 4px; font-size: 20px; }
.tarjeta-h p { margin: 0; color: var(--gris); font-size: 15.5px; }
.tarjeta-h .precio { font: 600 18px var(--titulos); margin-top: 6px; color: var(--grafito); }
.tarjeta-h .flecha { margin-left: auto; font: 600 24px var(--titulos); color: var(--tomate); }
.tarjeta { background: var(--blanco); border-radius: var(--radio); overflow: hidden; box-shadow: var(--sombra); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s ease; }
.tarjeta:hover { transform: translateY(-3px); }
.tarjeta img { aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--crema-2); }
.tarjeta .cuerpo { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tarjeta h3 { margin: 0; font-size: 21px; }
.tarjeta .precio { font: 600 22px var(--titulos); margin-top: auto; padding-top: 8px; }
.tarjeta .eta { font-size: 14px; color: var(--ok); font-weight: 700; }
.chip { display: inline-block; font: 700 12px/1 var(--texto); text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; background: var(--aviso-fondo); color: #7A4B00; align-self: flex-start; }
.chip-ok { background: var(--ok-fondo); color: var(--ok); }
.chip-gris { background: var(--crema-2); color: var(--gris); }
.chip-rojo { background: var(--error-fondo); color: var(--error); }

/* bloque braille */
.dos-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.dos-col img { border-radius: 24px; box-shadow: var(--sombra); }
.lista-check { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.lista-check li { padding-left: 32px; position: relative; }
.lista-check li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-fondo); border: 2px solid var(--ok); }
.lista-check li::after { content: ''; position: absolute; left: 7px; top: 7px; width: 5px; height: 9px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 860px) { .dos-col { grid-template-columns: 1fr; gap: 28px; } }

/* garantía */
.garantia { background: var(--grafito); color: var(--crema); border-radius: 28px; padding: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.garantia h2 { color: #fff; }
.garantia p { color: #D9D6CF; }
.garantia ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
@media (max-width: 860px) { .garantia { grid-template-columns: 1fr; padding: 28px 22px; } }

/* preguntas */
.faq details { background: var(--blanco); border-radius: var(--radio-chico); margin-bottom: 10px; border: 1px solid var(--linea); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 600 24px/1 var(--titulos); color: var(--tomate); }
.faq details[open] summary::after { content: '–'; }
.faq details > div { padding: 0 20px 18px; color: var(--gris); }

/* pie */
.pie { background: var(--grafito); color: #D9D6CF; padding: 48px 0 32px; margin-top: 40px; font-size: 15px; }
.pie .contenedor { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.pie a { color: #fff; text-decoration: none; display: block; padding: 4px 0; }
.pie a:hover { text-decoration: underline; }
.pie h4 { color: #fff; font-size: 17px; }
.pie .legal { grid-column: 1 / -1; border-top: 1px solid #44444E; padding-top: 18px; font-size: 13px; color: #A9A6AE; }
@media (max-width: 760px) { .pie .contenedor { grid-template-columns: 1fr; } }

/* ---------- ficha de producto */
.ficha { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: 'galeria compra' 'detalle compra'; gap: 28px 44px; padding: 32px 0 56px; align-items: start; }
.galeria { grid-area: galeria; } .compra { grid-area: compra; } .ficha-detalle { grid-area: detalle; }
.galeria .principal { border-radius: 24px; overflow: hidden; background: var(--crema-2); box-shadow: var(--sombra); }
.galeria .principal img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.miniaturas { display: flex; gap: 10px; margin-top: 12px; }
.miniaturas button { border: 2px solid transparent; padding: 0; border-radius: 14px; overflow: hidden; width: 78px; height: 78px; cursor: pointer; background: none; }
.miniaturas button[aria-current="true"] { border-color: var(--tomate); }
.miniaturas img { width: 100%; height: 100%; object-fit: cover; }
.compra { position: sticky; top: 88px; }
.compra .precio { font: 600 34px var(--titulos); margin: 4px 0 12px; }
.caja-eta { background: var(--ok-fondo); border-radius: var(--radio-chico); padding: 14px 16px; margin: 16px 0; font-size: 16px; }
.caja-eta b { color: var(--ok); }
.caja-aviso { background: var(--aviso-fondo); border-radius: var(--radio-chico); padding: 14px 16px; margin: 16px 0; font-size: 15px; }
.caja-error { background: var(--error-fondo); color: var(--error); border-radius: var(--radio-chico); padding: 12px 16px; margin: 12px 0; font-weight: 700; }
@media (max-width: 900px) { .ficha { grid-template-columns: 1fr; grid-template-areas: 'galeria' 'compra' 'detalle'; gap: 24px; padding-top: 16px; } .compra { position: static; } }

/* ---------- formularios */
.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.campo label, .campo .rotulo { font-weight: 800; font-size: 15px; }
.campo .ayuda { font-size: 14px; color: var(--gris); }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=url], select, textarea {
  font: 17px var(--texto); color: var(--grafito); padding: 13px 14px; border: 1.5px solid #D3CEC3; border-radius: var(--radio-chico); background: #fff; width: 100%; min-height: 50px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--azul); outline: none; box-shadow: 0 0 0 3px rgba(61,90,152,.18); }
.fila { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .fila { grid-template-columns: 1fr; } }
.opciones-radio { display: grid; gap: 8px; }
.opciones-radio label { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1.5px solid #D3CEC3; border-radius: var(--radio-chico); background: #fff; cursor: pointer; font-weight: 600; }
.opciones-radio label:has(input:checked) { border-color: var(--tomate); box-shadow: 0 0 0 3px rgba(228,87,46,.14); }
.opciones-radio input { margin-top: 4px; accent-color: var(--tomate); width: 18px; height: 18px; }
.opciones-radio .der { margin-left: auto; font-weight: 800; white-space: nowrap; }
.opciones-radio small { display: block; color: var(--gris); font-weight: 500; }
.pastillas { display: flex; flex-wrap: wrap; gap: 8px; }
.pastillas label { position: relative; }
.pastillas input { position: absolute; opacity: 0; }
.pastillas span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #D3CEC3; background: #fff; font-weight: 700; cursor: pointer; }
.pastillas input:checked + span { border-color: var(--tomate); background: #FDEEE9; }
.pastillas input:focus-visible + span { outline: 3px solid var(--azul); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; margin: 10px 0; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--tomate); flex: none; }
.cantidad { display: inline-flex; align-items: center; border: 1.5px solid #D3CEC3; border-radius: 999px; background: #fff; }
.cantidad button { width: 46px; height: 46px; border: 0; background: none; font: 700 22px var(--texto); cursor: pointer; color: var(--grafito); }
.cantidad output { min-width: 32px; text-align: center; font-weight: 800; }

/* subida de fotos */
.subida { border: 2px dashed #CFC8BA; border-radius: var(--radio); padding: 18px; text-align: center; background: #fff; cursor: pointer; }
.subida.arrastrando { border-color: var(--tomate); background: #FDEEE9; }
.subida input { display: none; }
.fotos-angulos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.fotos-angulos .rotulo-angulo { display: block; font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.fotos-angulos .rotulo-angulo span { font-weight: 600; }
.fotos-angulos .obligatoria { color: var(--tomate); }
.fotos-angulos .subida { padding: 14px 10px; }
@media (max-width: 380px) { .fotos-angulos { grid-template-columns: 1fr; } }
.subidas { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 10px; }
.subidas .item { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--crema-2); display: grid; place-items: center; font-size: 13px; text-align: center; padding: 4px; }
.subidas .item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.subidas .item button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(43,43,51,.8); color: #fff; cursor: pointer; font-size: 16px; line-height: 1; }
.subidas .item .cargando { position: absolute; inset: 0; background: rgba(255,255,255,.7); display: grid; place-items: center; font-weight: 800; }

.resumen { background: #fff; border-radius: var(--radio); padding: 20px; box-shadow: var(--sombra); }
.resumen .linea { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.resumen .total { border-top: 1px solid var(--linea); margin-top: 6px; padding-top: 12px; font: 600 22px var(--titulos); }
.pago-logos { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--gris); margin-top: 10px; }
.pago-logos span { border: 1px solid var(--linea); border-radius: 8px; padding: 4px 8px; background: #fff; font-weight: 700; }

/* ---------- página de pedido */
.panel { background: #fff; border-radius: var(--radio); padding: 24px; box-shadow: var(--sombra); margin-bottom: 20px; }
.linea-tiempo { list-style: none; margin: 0; padding: 0; }
.linea-tiempo li { position: relative; padding: 0 0 18px 34px; color: var(--gris); }
.linea-tiempo li::before { content: ''; position: absolute; left: 6px; top: 6px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #CFC8BA; background: #fff; }
.linea-tiempo li::after { content: ''; position: absolute; left: 13px; top: 22px; bottom: -2px; width: 2px; background: #E2DDD2; }
.linea-tiempo li:last-child::after { display: none; }
.linea-tiempo li.hecho { color: var(--grafito); }
.linea-tiempo li.hecho::before { background: var(--turquesa); border-color: var(--turquesa); }
.linea-tiempo li.actual { color: var(--grafito); font-weight: 800; }
.linea-tiempo li.actual::before { background: var(--tomate); border-color: var(--tomate); box-shadow: 0 0 0 5px rgba(228,87,46,.18); }
.linea-tiempo small { display: block; font-weight: 500; color: var(--gris); }
.mensajes { display: grid; gap: 10px; margin-bottom: 14px; }
.mensaje { max-width: 85%; padding: 12px 14px; border-radius: 16px; background: var(--crema); font-size: 16px; white-space: pre-wrap; }
.mensaje.tienda { background: #E9EEF8; justify-self: start; }
.mensaje.cliente { background: #FDEEE9; justify-self: end; }
.mensaje small { display: block; color: var(--gris); font-size: 12px; margin-top: 4px; }
.mensaje .adj { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.mensaje .adj img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.previas { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 12px 0; }
.previas img { border-radius: 14px; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--crema-2); }
.grid-pedido { display: grid; grid-template-columns: 1.3fr .7fr; grid-template-areas: 'acc lado' 'msg lado'; gap: 0 20px; align-items: start; }
.grid-pedido > .g-acc { grid-area: acc; } .grid-pedido > aside { grid-area: lado; } .grid-pedido > .g-msg { grid-area: msg; }
@media (max-width: 900px) { .grid-pedido { grid-template-columns: 1fr; grid-template-areas: 'acc' 'lado' 'msg'; } }
dl.datos { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 15px; }
dl.datos dt { color: var(--gris); }
dl.datos dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }

/* ---------- chat */
.chat-boton { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 10px; background: var(--grafito); color: #fff; border: 0; border-radius: 999px; padding: 12px 18px 12px 12px; font: 800 16px var(--texto); box-shadow: 0 10px 30px rgba(0,0,0,.25); cursor: pointer; }
.chat-boton .puntos { display: grid; grid-template-columns: 8px 8px; gap: 3px; padding: 6px 8px; background: rgba(255,255,255,.1); border-radius: 50%; }
.chat-boton .puntos i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 41; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100dvh - 100px)); background: #fff; border-radius: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.28); display: flex; flex-direction: column; overflow: hidden; }
.chat header { background: var(--grafito); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.chat header b { font-family: var(--titulos); font-weight: 600; font-size: 18px; }
.chat header small { display: block; color: #C9C6CF; font-size: 13px; }
.chat header button { margin-left: auto; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; width: 40px; height: 40px; }
.chat .hilo { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--crema); }
.chat .burbuja { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15.5px; line-height: 1.45; white-space: pre-wrap; }
.chat .burbuja.ia { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat .burbuja.yo { background: var(--tomate); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat .burbuja a { color: inherit; font-weight: 800; }
.chat .sugerencias { display: flex; flex-wrap: wrap; gap: 6px; }
.chat .sugerencias button { border: 1.5px solid var(--linea); background: #fff; border-radius: 999px; padding: 7px 12px; font: 700 14px var(--texto); cursor: pointer; color: var(--grafito); }
.chat form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--linea); }
.chat form input { min-height: 46px; border-radius: 999px; }
.chat form button { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--tomate); color: #fff; font-size: 20px; cursor: pointer; }
.escribiendo span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gris); margin: 0 2px; animation: rebote 1s infinite; }
.escribiendo span:nth-child(2) { animation-delay: .15s; } .escribiendo span:nth-child(3) { animation-delay: .3s; }
@media (max-width: 600px) { .chat-boton { padding: 10px; font-size: 0; gap: 0; } .chat-boton .puntos { padding: 8px 9px; } }
@keyframes rebote { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* páginas de texto */
.texto-largo { max-width: 760px; padding: 32px 0 48px; }
.texto-largo h2 { font-size: 28px; margin-top: 36px; }
.texto-largo li { margin-bottom: 8px; }

/* admin */
.tabla { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.tabla th, .tabla td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--linea); vertical-align: top; }
.tabla tr:hover td { background: #FBFAF7; cursor: pointer; }
.tabla-scroll { overflow-x: auto; border-radius: var(--radio-chico); box-shadow: var(--sombra); }
.pestanas { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0; }
.pestanas button { border: 0; background: var(--crema-2); padding: 10px 16px; border-radius: 999px; font: 800 15px var(--texto); cursor: pointer; color: var(--grafito); }
.pestanas button[aria-selected="true"] { background: var(--grafito); color: #fff; }
.tarjetas-num { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.tarjetas-num div { background: #fff; border-radius: var(--radio-chico); padding: 14px 16px; box-shadow: var(--sombra); }
.tarjetas-num b { display: block; font: 600 26px var(--titulos); }
