/* ============================================================
   Sara Milagros — tienda pública · "belleza editorial + vidrio"
   Estilo liquid-glass aplicado con criterio: header y chat en
   vidrio (backdrop-blur), promos en gradiente rosa→lavanda,
   tarjetas editoriales con serif. Contraste AA verificado.
   ============================================================ */
@import url("fuentes.css");

:root {
  --rosa-vivo: #ec4899; --lavanda: #8b5cf6;
  --primario: #a8336b; --primario-osc: #8e3557; --vino: #831843;
  --tinta: #46243a; --tinta2: #6b4a60;
  --fondo: #fdf5f8; --suave: #fbe9f1; --borde: #f2dde6;
  --transicion: 180ms ease-out;
}
* { box-sizing: border-box; }
body {
  margin: 0; font: 15px/1.6 "Inter", system-ui, sans-serif; color: var(--tinta);
  background:
    radial-gradient(700px 420px at 90% -5%, rgba(236, 72, 153, .10), transparent 60%),
    radial-gradient(600px 400px at -5% 30%, rgba(139, 92, 246, .07), transparent 60%),
    var(--fondo);
  background-attachment: fixed;
}
/* Jardín vivo: el cerezo cubre TODA la página, FIJO al hacer scroll, y ondula
   suave como movido por el viento (solo transform: no repinta ni afecta CLS).
   La peonía abajo-derecha ondula a otro ritmo (sensación de profundidad).
   Imágenes CC0/dominio público (assets/CREDITOS.md). */
body::before {
  content: ""; position: fixed; inset: -4vh -4vw; z-index: -1;
  background: url("assets/flor-cerezo.jpg") center / cover no-repeat;
  opacity: .20; pointer-events: none; will-change: transform;
  animation: viento 16s ease-in-out infinite alternate;
}
body::after {
  content: ""; position: fixed; right: -90px; bottom: -70px; width: 480px; height: 480px; z-index: -1;
  background: url("assets/flor-jardin.jpg") center / cover no-repeat; border-radius: 50%;
  opacity: .14; pointer-events: none; will-change: transform;
  mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(closest-side, #000 35%, transparent 100%);
  animation: brisa 12s ease-in-out infinite alternate;
}
/* Ondulación: deriva + leve giro y respiración, muy lenta (viento suave). */
@keyframes viento {
  0%   { transform: translate3d(0, 0, 0) scale(1.04) rotate(0deg); }
  50%  { transform: translate3d(-1.4%, 1%, 0) scale(1.07) rotate(.5deg); }
  100% { transform: translate3d(1.2%, -0.8%, 0) scale(1.05) rotate(-.4deg); }
}
@keyframes brisa {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(-14px, -10px, 0) rotate(2.5deg); }
}
:focus-visible { outline: 2px solid var(--primario); outline-offset: 2px; border-radius: 4px; }

header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 253, 252, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(242, 221, 230, .8);
  padding: 12px 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.marca { font: 400 32px/1.1 "Great Vibes", cursive; color: var(--vino); }
.marca small { display: block; font: 500 10.5px "Inter", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--tinta2); margin-top: 0; }
header nav { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
header button {
  border: 0; background: rgba(251, 233, 241, .9); color: var(--primario-osc); border-radius: 99px;
  padding: 8px 16px; font: 500 13.5px "Inter", sans-serif; cursor: pointer;
  transition: background var(--transicion), transform var(--transicion), box-shadow var(--transicion);
}
header button:hover { background: #f6dbe8; }
header button:active { transform: scale(.97); }
header button.primario { background: var(--primario); color: #fff; }
header button.primario:hover { background: var(--primario-osc); box-shadow: 0 2px 10px rgba(142, 53, 87, .3); }

main { max-width: 1060px; margin: 0 auto; padding: 22px 18px; }
.aviso-piloto { background: rgba(251, 233, 241, .7); border: 1px dashed #e8b7cd; border-radius: 12px; padding: 9px 14px; font-size: 12.5px; color: var(--primario-osc); margin-bottom: 16px; }

.promos { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.promo {
  position: relative; overflow: hidden; color: #fff; border-radius: 16px; padding: 18px 20px; flex: 1 1 260px;
  background: linear-gradient(115deg, var(--rosa-vivo) 0%, var(--primario) 45%, var(--lavanda) 110%);
  box-shadow: 0 6px 24px rgba(168, 51, 107, .25);
}
.promo::after { content: ""; position: absolute; top: -60%; left: -20%; width: 55%; height: 220%; transform: rotate(20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent); }
.promo b { display: block; font: 700 21px "Cormorant Garamond", serif; margin-bottom: 2px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(225px, 1fr)); gap: 16px; }
.prod {
  background: #fff; border: 1px solid var(--borde); border-radius: 18px; padding: 18px;
  display: flex; flex-direction: column; gap: 7px;
  transition: transform var(--transicion), box-shadow var(--transicion), border-color var(--transicion);
}
.prod:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(131, 24, 67, .10); border-color: #eac3d5; }
.prod .linea { font: 600 10px "Inter", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--primario); }
.prod b { font: 700 19px/1.2 "Cormorant Garamond", serif; color: var(--vino); }
.prod .desc { font-size: 12.5px; color: var(--tinta2); flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.prod .precio { font: 700 22px "Cormorant Garamond", serif; color: var(--vino); font-variant-numeric: lining-nums tabular-nums; }
.prod .fila-botones { display: flex; gap: 7px; }
.prod button {
  border: 0; border-radius: 99px; padding: 9px 12px; font: 500 13.5px "Inter", sans-serif; cursor: pointer;
  background: var(--primario); color: #fff; flex: 1; min-height: 38px;
  transition: background var(--transicion), transform var(--transicion), box-shadow var(--transicion);
}
.prod button:hover { background: var(--primario-osc); box-shadow: 0 2px 10px rgba(142, 53, 87, .28); }
.prod button:active { transform: scale(.97); }
.prod button.sec { background: var(--suave); color: var(--primario-osc); flex: 0 0 auto; width: 40px; padding: 0; display: grid; place-items: center; }
.prod button.sec:hover { background: #f6dbe8; box-shadow: none; }
.prod button.sec svg { width: 17px; height: 17px; }
.agotado .precio { color: var(--tinta2); }
.prod a { color: var(--primario); }

h2.seccion { margin: 34px 0 12px; font: 700 26px "Cormorant Garamond", serif; color: var(--vino); }
.noticia { background: #fff; border: 1px solid var(--borde); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.noticia .tipo { font: 600 10px "Inter", sans-serif; text-transform: uppercase; letter-spacing: .14em; color: var(--primario); }
.noticia b { font: 700 18px "Cormorant Garamond", serif; color: var(--vino); }
.noticia p { margin: 4px 0 0; font-size: 13.5px; color: var(--tinta2); }

/* Panel lateral (carrito / cuenta / pqr) — hoja de vidrio */
.panel-lateral {
  position: fixed; inset: 0 0 0 auto; width: min(410px, 100%);
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-left: 1px solid rgba(242, 221, 230, .9); box-shadow: -8px 0 32px rgba(70, 36, 58, .18);
  transform: translateX(105%); transition: transform 260ms ease-out; z-index: 45; display: flex; flex-direction: column;
}
.panel-lateral.abierto { transform: none; }
.panel-lateral .cab { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--borde); }
.panel-lateral .cab b { font: 700 21px "Cormorant Garamond", serif; color: var(--vino); }
.panel-lateral .cuerpo { padding: 16px 18px; overflow-y: auto; flex: 1; }
.panel-lateral .cerrar { border: 0; background: var(--suave); border-radius: 99px; width: 32px; height: 32px; font-size: 18px; line-height: 1; cursor: pointer; color: var(--primario-osc); }
.panel-lateral .cerrar:hover { background: #f6dbe8; }
.item-carrito { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--borde); font-size: 14px; align-items: center; }
.item-carrito button { border: 0; background: var(--suave); color: var(--primario-osc); border-radius: 99px; cursor: pointer; padding: 3px 9px; min-width: 26px; }
.item-carrito button:hover { background: #f6dbe8; }
input, textarea, select { font: inherit; width: 100%; padding: 9px 12px; border: 1px solid var(--borde); border-radius: 10px; margin-top: 4px; background: #fff; color: var(--tinta); transition: border-color var(--transicion), box-shadow var(--transicion); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primario); box-shadow: 0 0 0 3px rgba(168, 51, 107, .12); }
label { font-size: 12px; font-weight: 500; color: var(--tinta2); display: block; margin-top: 12px; }
.btn-lleno {
  width: 100%; border: 0; border-radius: 12px; background: var(--primario); color: #fff; padding: 12px;
  font: 500 15px "Inter", sans-serif; cursor: pointer; margin-top: 14px; min-height: 44px;
  transition: background var(--transicion), box-shadow var(--transicion), transform var(--transicion);
}
.btn-lleno:hover { background: var(--primario-osc); box-shadow: 0 3px 12px rgba(142, 53, 87, .3); }
.btn-lleno:active { transform: scale(.98); }
.error { color: #b23c2e; font-size: 13px; min-height: 17px; }
.exito { color: #217a56; font-size: 13px; }
.mono { font-family: ui-monospace, monospace; font-size: 12px; background: var(--suave); border-radius: 6px; padding: 5px 7px; word-break: break-all; display: block; margin: 3px 0; }

/* Chat flotante (piloto 1) — vidrio */
#chat-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  border: 0; cursor: pointer; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--rosa-vivo), var(--primario-osc));
  box-shadow: 0 6px 20px rgba(142, 53, 87, .45);
  transition: transform var(--transicion), box-shadow var(--transicion);
}
#chat-fab:hover { transform: scale(1.06); box-shadow: 0 8px 26px rgba(142, 53, 87, .55); }
#chat-fab svg { width: 26px; height: 26px; }
#chat-caja {
  position: fixed; right: 18px; bottom: 88px; z-index: 40; width: min(350px, calc(100vw - 36px));
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(242, 221, 230, .9); border-radius: 18px;
  box-shadow: 0 14px 44px rgba(70, 36, 58, .25); display: none; flex-direction: column; max-height: 470px;
}
#chat-caja.abierto { display: flex; }
#chat-caja .cab {
  padding: 12px 16px; color: #fff; border-radius: 18px 18px 0 0;
  background: linear-gradient(115deg, var(--primario-osc), var(--primario));
  font: 400 20px "Great Vibes", cursive; letter-spacing: .02em;
}
#chat-msgs { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.msg { max-width: 85%; padding: 8px 12px; border-radius: 14px; font-size: 13.5px; white-space: pre-wrap; }
.msg.cliente { align-self: flex-end; background: var(--primario); color: #fff; border-bottom-right-radius: 4px; }
.msg.bot, .msg.agente { align-self: flex-start; background: rgba(251, 233, 241, .95); border-bottom-left-radius: 4px; }
#chat-form { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--borde); }
#chat-form input { margin: 0; border-radius: 99px; }
#chat-form button { border: 0; border-radius: 99px; background: var(--primario); color: #fff; padding: 0 16px; font-size: 18px; cursor: pointer; min-width: 44px; }
#chat-form button:hover { background: var(--primario-osc); }
/* Aviso de IA y de no escribir datos personales: legible pero sin robarle sitio a
   la conversación (es una nota, no un mensaje del chat). */
.chat-aviso { margin: 0; padding: 0 12px 10px; font-size: 11.5px; line-height: 1.35; color: var(--tinta2); text-align: center; }

footer { text-align: center; color: var(--tinta2); font-size: 12.5px; padding: 34px 10px; }

@media (max-width: 560px) {
  header { padding: 10px 12px; }
  .marca { font-size: 19px; }
  header nav { width: 100%; margin-left: 0; }
  header nav button { flex: 1; padding: 8px 6px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .promo::after { display: none; }
  .prod:hover { transform: none; }
}

.flor-marca { width: 21px; height: 21px; vertical-align: -3px; margin-right: 5px; color: var(--rosa-vivo); }

/* Foto de producto (fondo floral compuesto) */
.prod .foto { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 0; border-radius: 12px; margin-bottom: 4px; }
.agotado .foto { filter: grayscale(.15); }
.prod button:disabled { background: var(--suave); color: var(--tinta2); cursor: default; box-shadow: none; }

/* Chips de filtro por línea */
.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { border: 1px solid var(--borde); background: #fff; color: var(--tinta2); border-radius: 99px; padding: 7px 16px; font: 500 13.5px "Inter", sans-serif; cursor: pointer; transition: background var(--transicion), color var(--transicion), border-color var(--transicion); }
.chip:hover { border-color: var(--primario); color: var(--primario-osc); }
.chip.activo { background: var(--primario); border-color: var(--primario); color: #fff; }


/* ---------- Emergente de producto (imagen en grande sobre el jardín) ---------- */
.prod { cursor: zoom-in; }
.prod button, .prod a { cursor: pointer; }
#modal-prod {
  position: fixed; inset: 0; z-index: 50; display: none;
  align-items: center; justify-content: center; padding: 18px;
  background: rgba(70, 36, 58, .30); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
#modal-prod.abierto { display: flex; }
.mp-caja { max-width: min(640px, 94vw); max-height: 94vh; overflow-y: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; animation: mp-entra 220ms ease-out; padding: 4px; scrollbar-width: thin; }
@keyframes mp-entra { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.mp-caja img { max-width: min(100%, 460px); max-height: 46vh; flex: 0 0 auto; border-radius: 16px; box-shadow: 0 18px 44px rgba(44, 21, 36, .35); }
.mp-info { background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-radius: 16px; padding: 14px 20px; text-align: center; max-width: 560px; }
.mp-info b { font: 700 24px/1.2 "Cormorant Garamond", serif; color: var(--vino); display: block; }
.mp-info .precio { font: 700 24px "Cormorant Garamond", serif; color: var(--vino); font-variant-numeric: lining-nums tabular-nums; }
.mp-info p { margin: 6px 0; font-size: 13.5px; color: var(--tinta2); }
.mp-acciones { display: flex; gap: 8px; justify-content: center; margin-top: 8px; }
.mp-acciones button { border: 0; border-radius: 99px; padding: 10px 20px; font: 500 14px "Inter", sans-serif; cursor: pointer; background: var(--primario); color: #fff; min-height: 42px; }
.mp-acciones button:hover { background: var(--primario-osc); }
.mp-acciones button:disabled { background: var(--suave); color: var(--tinta2); cursor: default; }
/* La × va SIEMPRE por encima de la caja (en móvil la caja llena la pantalla y la tapaba). */
.mp-cerrar { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; z-index: 10; border: 0; background: rgba(255,255,255,.95); color: var(--primario-osc); width: 44px; height: 44px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(70,36,58,.25); }
.mp-cerrar:hover { background: #fff; }

@media (prefers-reduced-motion: reduce) {
  body::before, body::after { animation: none !important; }
  .mp-caja { animation: none; }
}

/* Ocultar asistente + tarjetas de producto dentro del chat */
#chat-caja .cab { display: flex; align-items: center; justify-content: space-between; }
#chat-cerrar { border: 0; background: rgba(255,255,255,.18); color: #fff; width: 28px; height: 28px; border-radius: 50%; font-size: 16px; line-height: 1; cursor: pointer; }
#chat-cerrar:hover { background: rgba(255,255,255,.32); }
.chat-prods { display: flex; flex-direction: column; gap: 6px; align-self: stretch; }
.chat-prod { display: flex; gap: 10px; align-items: center; text-align: left; border: 1px solid var(--borde); background: #fff; border-radius: 12px; padding: 7px 10px; cursor: pointer; font: inherit; transition: border-color var(--transicion), box-shadow var(--transicion); }
.chat-prod:hover { border-color: var(--primario); box-shadow: 0 2px 10px rgba(142,53,87,.15); }
.chat-prod img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.chat-prod span { display: flex; flex-direction: column; font: 500 12.5px/1.3 "Inter", sans-serif; color: var(--tinta); }
.chat-prod small { color: var(--vino); font: 700 13px "Cormorant Garamond", serif; }

/* Opciones de entrega del checkout */
.entrega-ops { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.op-radio { display: flex; gap: 8px; align-items: center; font-size: 13.5px; margin: 0; padding: 9px 12px; border: 1px solid var(--borde); border-radius: 10px; cursor: pointer; background: #fff; }
.op-radio:has(input:checked) { border-color: var(--primario); background: var(--suave); }
.op-radio input { width: auto; margin: 0; accent-color: var(--primario); }
.op-radio b { color: var(--primario-osc); margin-left: auto; }


/* Botón + rápido sobre la foto (agrega sin entrar al producto) */
.prod { position: relative; }
.prod .mas {
  position: absolute; top: 24px; right: 24px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--primario); color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(142, 53, 87, .4);
  transition: transform var(--transicion), background var(--transicion), box-shadow var(--transicion);
}
.prod .mas:hover { background: var(--primario-osc); transform: scale(1.12); }
.prod .mas:active { transform: scale(.95); }

/* "Sara está escribiendo…" — tres puntos que laten */
.msg.escribiendo { display: flex; gap: 4px; align-items: center; padding: 10px 14px; width: fit-content; }
.msg.escribiendo i { width: 7px; height: 7px; border-radius: 50%; background: var(--primario); opacity: .35; animation: latir 1.2s ease-in-out infinite; }
.msg.escribiendo i:nth-child(2) { animation-delay: .2s; }
.msg.escribiendo i:nth-child(3) { animation-delay: .4s; }
@keyframes latir { 0%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: .9; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .msg.escribiendo i { animation: none; opacity: .6; } }

/* Detalle completo del producto (contenido oficial formateado) */
.mp-detalle { text-align: left; font-size: 13.5px; color: var(--tinta); max-height: 34vh; overflow-y: auto; margin-top: 10px; padding: 12px 14px; background: var(--suave); border-radius: 12px; scrollbar-width: thin; }
.mp-detalle p { margin: 6px 0; }
.mp-detalle strong, .mp-detalle b { color: var(--vino); }
.mp-detalle h2, .mp-detalle h3, .mp-detalle h4 { font: 700 15px "Cormorant Garamond", serif; color: var(--vino); margin: 10px 0 4px; }
.mp-detalle ul, .mp-detalle ol { margin: 6px 0; padding-left: 20px; }
.mp-detalle li { margin: 3px 0; }

/* ---------- Lupa de imagen a pantalla completa ---------- */
#zoom-luz { position: fixed; inset: 0; z-index: 60; display: none; background: rgba(44, 21, 36, .78); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
#zoom-luz.abierto { display: block; }
#zoom-marco { position: absolute; inset: 0; overflow: auto; display: grid; place-items: center; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
#zoom-img { max-width: 94vw; max-height: 92vh; cursor: zoom-in; border-radius: 8px; box-shadow: 0 30px 60px rgba(0,0,0,.5); transition: max-width 180ms ease-out; }
#zoom-img.ampliada { max-width: none; max-height: none; width: 230vw; cursor: zoom-out; }
@media (min-width: 700px) { #zoom-img.ampliada { width: 160vw; } }
#zoom-luz .mp-cerrar { position: fixed; z-index: 5; }
@media (prefers-reduced-motion: reduce) { #zoom-img { transition: none; } }

/* Secciones oficiales en acordeón (Beneficios / Modo de uso / Ingredientes) */
.mp-seccion { margin-top: 8px; border-top: 1px solid #eddbe4; padding-top: 8px; }
.mp-seccion summary { font: 700 14px "Cormorant Garamond", serif; color: var(--vino); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.mp-seccion summary::after { content: "▾"; font-size: 10px; color: var(--primario); transition: transform var(--transicion); }
.mp-seccion[open] summary::after { transform: rotate(180deg); }
.mp-seccion > div { margin-top: 6px; }

/* Carrito: control de cantidades y caja de gracias (checkout invitada) */
.cant-ctl { display: inline-flex; align-items: center; gap: 6px; }
.cant-ctl button { border: 1px solid #e6cdd6; background: #fff; color: var(--primario-osc); width: 26px; height: 26px; border-radius: 8px; cursor: pointer; font-size: 15px; line-height: 1; }
.cant-ctl button:hover { background: #fbeef3; }
#invitado-wrap input { width: 100%; }
.gracias-caja { background: #fdf3f7; border: 1px solid #f3d7e3; border-radius: 14px; padding: 14px; margin-top: 10px; }
.gracias-caja p { margin: 6px 0; }

/* Buscador del catálogo, precio tachado de promo y enlaces de confianza */
#busca { width: 100%; margin: 0 0 12px; padding: 11px 16px; border: 1px solid var(--borde); border-radius: 99px; font: 14px "Inter", sans-serif; background: rgba(255,255,255,.9); color: var(--tinta); }
#busca:focus { outline: 2px solid var(--primario); outline-offset: 1px; }
.precio-antes { color: var(--tinta2); font-size: .72em; font-weight: 400; margin-right: 2px; }
#f-enlaces { margin-bottom: 6px; }
#f-enlaces a { color: var(--primario-osc); }
#p-info .cuerpo a { color: var(--primario-osc); }

/* Encargo de producto agotado (emergente) */
.mp-encargo { background: #fdf3f7; border: 1px solid #f3d7e3; border-radius: 12px; padding: 12px; margin: 10px 0; }
.mp-encargo input { width: 100%; margin: 4px 0; padding: 9px 12px; border: 1px solid var(--borde); border-radius: 10px; font: 14px "Inter", sans-serif; }
.mp-encargo button { width: 100%; margin-top: 6px; border: 0; border-radius: 99px; padding: 10px; background: var(--primario); color: #fff; font: 500 14px "Inter", sans-serif; cursor: pointer; }
.mp-encargo button:hover { background: var(--primario-osc); }

/* En el celular el asistente aprovecha la pantalla: una rutina de kit son 6
   productos y con 470 px había que ir raspando el scroll para leerla. */
@media (max-width: 760px) {
  #chat-caja { max-height: min(72vh, 620px); bottom: 84px; }
  #chat-msgs { scroll-padding-bottom: 12px; }
}
