/* Cata en las tiendas · generado por tools/build_cata_css.py desde mc.css. No editar a mano. */
.sf .cata{--brand:#21aaff;--brand-700:#0a6fb0;--on-brand:#06202f;--ink:#14212b;--muted:#51616e;--line:#d6e2ea;--soft:#f3f7fa;--ok:#12805c;--r-xs:8px;--r-sm:12px;--r:14px;--r-lg:20px;--float:0 18px 40px -16px rgba(20,33,43,.32),0 2px 6px rgba(20,33,43,.06);--t-press:140ms;--t-ui:180ms;--t-panel:260ms;--ease-out:cubic-bezier(.23,1,.32,1);color:#14212b}
.cata{position:fixed;right:18px;bottom:18px;z-index:80;font:16px/1.5 var(--bf)}
.cata-launch{position:relative;display:grid;place-items:center;width:62px;height:62px;padding:0;border:0;border-radius:50%;background:#fff;box-shadow:0 0 0 1.5px var(--ink),0 10px 22px -10px rgba(20,33,43,.5);transition:transform var(--t-press) var(--ease-out)}
.cata-launch:active{transform:scale(.95)}
.cata-eye{animation:cata-blink 5s infinite;transform-origin:center;transform-box:fill-box}
@keyframes cata-blink{0%,93%,100%{transform:scaleY(1)}96%{transform:scaleY(.1)}}
.cata-hint{position:absolute;right:74px;bottom:12px;width:max-content;max-width:220px;padding:10px 14px;border-radius:var(--r) var(--r) 4px var(--r);background:var(--ink);color:#fff;font-size:15px;font-weight:600;transform-origin:100% 100%;animation:cata-in var(--t-panel) var(--ease-out)}
.cata.is-open .cata-launch{box-shadow:0 0 0 2.5px var(--brand-700)}
.cata-box{position:absolute;right:0;bottom:76px;width:min(380px,calc(100vw - 24px));height:min(560px,calc(100vh - 120px));display:flex;flex-direction:column;border-radius:var(--r-lg);background:#fff;box-shadow:0 0 0 1.5px var(--ink),var(--float);overflow:hidden;transform-origin:100% 100%;animation:cata-in var(--t-panel) var(--ease-out)}
@keyframes cata-in{from{opacity:0;transform:translateY(8px) scale(.96)}}
.cata-head{display:flex;align-items:center;gap:10px;padding:12px 12px 12px 14px;background:var(--brand);color:var(--on-brand)}
.cata-head .cata-avatar{background:#fff;border-radius:50%;padding:3px}
.cata-head div{flex:1;line-height:1.2}
.cata-head b{display:block;font:800 19px var(--hf);letter-spacing:-.02em}
.cata-head small{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:500}
.cata-head small i{width:8px;height:8px;border-radius:50%;background:var(--ok)}
.cata-x{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:var(--r-xs);background:transparent;color:var(--on-brand)}
.cata-x:hover{background:rgba(6,32,47,.12)}
.cata-log{flex:1;overflow-y:auto;padding:14px 12px 6px;display:flex;flex-direction:column;gap:8px;scroll-behavior:smooth;background:var(--soft);scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.cata-msg{display:flex;align-items:flex-end;gap:6px;max-width:88%}
.cata-msg.in{animation:cata-msg var(--t-panel) var(--ease-out)}
@keyframes cata-msg{from{opacity:0;transform:translateY(6px)}}
.cata-msg p{margin:0;padding:10px 13px;border-radius:16px;font-size:15px;line-height:1.5}
.cata-msg.bot p{background:#fff;color:var(--ink);border-bottom-left-radius:5px}
.cata-msg.user{align-self:flex-end}
.cata-msg.user p{background:var(--ink);color:#fff;border-bottom-right-radius:5px}
.cata-msg a{color:var(--brand-700);font-weight:600}
.cata-mini{flex:none;width:26px;height:26px}
.cata-mini svg{width:26px;height:26px}
.cata-msg + .cata-msg.bot .cata-mini{visibility:hidden}
.cata-msg.user + .cata-msg.bot .cata-mini{visibility:visible}
.cata-msg.typing p{display:flex;gap:4px;padding:13px 14px}
.cata-msg.typing i{width:7px;height:7px;border-radius:50%;background:#9fb0bc;animation:cata-dot 1s infinite}
.cata-msg.typing i:nth-child(2){animation-delay:.15s}.cata-msg.typing i:nth-child(3){animation-delay:.3s}
@keyframes cata-dot{30%{transform:translateY(-4px);background:var(--brand-700)}}
.cata-chips{display:flex;flex-wrap:wrap;gap:6px;padding:8px 12px 10px;max-height:40%;overflow-y:auto;background:var(--soft)}
.cata-chips:empty{display:none}
.cata-chips button{min-height:38px;padding:6px 13px;border:0;border-radius:var(--r-sm);background:#fff;box-shadow:inset 0 0 0 1.5px var(--brand-700);color:var(--brand-700);font-size:14.5px;font-weight:600;text-align:left;transition:background var(--t-ui) ease,color var(--t-ui) ease,transform var(--t-press) var(--ease-out)}
.cata-chips button:active{transform:scale(.97)}
.cata-input{display:flex;gap:6px;padding:10px;border-top:1px solid var(--line);background:#fff}
.cata-input input{flex:1;min-width:0;height:44px;padding:0 14px;border:0;border-radius:var(--r-sm);box-shadow:inset 0 0 0 1px #b9c8d3;outline:0;font-size:16px}
.cata-input input:focus{box-shadow:inset 0 0 0 2px var(--brand-700)}
.cata-input button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:var(--r-sm);background:var(--brand);color:var(--on-brand)}
@media(hover:hover){.cata-launch:hover{transform:translateY(-2px)}.cata-chips button:hover{background:var(--brand-700);color:#fff}}
body.panel .cata{bottom:22px}
body.is-design .cata,body.is-wizard .cata{bottom:92px}
@media(max-width:560px){.cata{right:12px;bottom:12px}.cata-launch{width:56px;height:56px}.cata-launch svg{width:46px;height:46px}.cata-box{position:fixed;right:8px;left:8px;bottom:80px;width:auto;height:min(70vh,560px)}.cata-hint{right:64px}}
.cata-msg:has(.cata-fb){flex-wrap:wrap}
.cata-fb{flex-basis:100%;display:flex;align-items:center;gap:6px;margin:2px 0 0 32px;font-size:13px;color:var(--muted)}
.cata-fb button{border:0;box-shadow:inset 0 0 0 1px var(--line);background:#fff;border-radius:var(--r-xs);padding:3px 9px;font-size:14px;line-height:1.4;cursor:pointer}
@keyframes mc-fade{from{opacity:0}}
/* En la tienda, Cata va abajo a la izquierda: a la derecha está el botón de WhatsApp. Sube cuando aparece la barra del carrito. */
.sf .cata{left:18px;right:auto;z-index:44}
.sf .cata-box{left:0;right:auto;transform-origin:0 100%}
.sf .cata-hint{left:74px;right:auto;border-radius:var(--r) var(--r) var(--r) 4px;transform-origin:0 100%}
.sf .cata-launch{width:56px;height:56px}.sf .cata-launch svg{width:46px;height:46px}
.sf.has-cart .cata{bottom:92px}
.sf .cata button{font-family:inherit}
@media(max-width:560px){.sf .cata{left:12px;right:auto;bottom:14px}.sf .cata-box{left:8px;right:8px}.sf .cata-launch{width:52px;height:52px}.sf .cata-launch svg{width:42px;height:42px}.sf .cata-hint{left:62px;max-width:min(220px,calc(100vw - 150px))}.sf.has-cart .cata{bottom:84px}.sf.has-cart .cata-box{bottom:150px}}
@media(prefers-reduced-motion:reduce){.cata-eye,.cata-msg.typing i{animation:none}.cata-box,.cata-hint,.cata-msg.in{animation:mc-fade .15s ease}.cata-launch:active,.cata-chips button:active{transform:none}}
