/* F252 · voz visual: editorial, sobria, cálida. Encapsulada para no afectar la tienda. */
#tcdc-asistente-f252{--a-ink:#30272a;--a-wine:#8d4b50;--a-paper:#fffaf7;--a-cream:#f5eee9;--a-line:#e9dcd7;--a-muted:#766a69;position:fixed;right:22px;bottom:22px;z-index:1900;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--a-ink);font-size:14px;line-height:1.42;box-sizing:border-box}
#tcdc-asistente-f252 *{box-sizing:border-box}
#tcdc-asistente-f252 button{font:inherit;cursor:pointer}
#tcdc-asistente-f252 [hidden]{display:none!important}
#tcdc-asistente-f252 .tcdc-a-trigger{border:1px solid #decac4;border-radius:999px;background:#fffaf7;color:var(--a-ink);display:flex;align-items:center;gap:10px;padding:7px 12px 7px 7px;box-shadow:0 9px 30px rgba(42,27,29,.15);max-width:330px;text-align:left;transition:transform .15s,box-shadow .15s}
#tcdc-asistente-f252 .tcdc-a-trigger:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(42,27,29,.22)}
#tcdc-asistente-f252 .tcdc-a-trigger:focus-visible,#tcdc-asistente-f252 button:focus-visible{outline:3px solid #c58c86;outline-offset:3px}
#tcdc-asistente-f252 .tcdc-a-trigger-avatar,#tcdc-asistente-f252 .tcdc-a-face{flex:none;width:43px;height:43px;border-radius:50%;overflow:hidden;background:#e9d7d0;color:#6f4245;display:grid;place-items:center;position:relative;font-weight:700;letter-spacing:.04em}
#tcdc-asistente-f252 .tcdc-a-trigger-avatar img,#tcdc-asistente-f252 .tcdc-a-face img{display:block;width:100%;height:100%;object-fit:cover}
#tcdc-asistente-f252 .tcdc-a-trigger-text{display:flex;flex-direction:column;gap:1px;min-width:0}
#tcdc-asistente-f252 .tcdc-a-trigger-text strong{font-size:13px;font-weight:700;color:var(--a-ink)}
#tcdc-asistente-f252 .tcdc-a-trigger-text small{font-size:11px;color:var(--a-muted)}
#tcdc-asistente-f252 .tcdc-a-trigger-chevron{color:var(--a-wine);font-weight:700;font-size:19px;margin-left:auto}
#tcdc-asistente-f252 .tcdc-a-panel{position:absolute;right:0;bottom:0;width:min(390px,calc(100vw - 28px));height:min(640px,calc(100dvh - 36px));background:var(--a-paper);border:1px solid var(--a-line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 22px 72px rgba(36,24,28,.28);animation:tcdc-a-open .17s ease both}
@keyframes tcdc-a-open{from{opacity:.5;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
#tcdc-asistente-f252 .tcdc-a-header{display:flex;gap:11px;align-items:center;padding:14px 14px 13px 16px;background:#fff;border-bottom:1px solid var(--a-line);min-height:75px}
#tcdc-asistente-f252 .tcdc-a-face{width:45px;height:45px}
#tcdc-asistente-f252 .tcdc-a-heading{display:flex;flex-direction:column;min-width:0;gap:3px;flex:1}
#tcdc-asistente-f252 .tcdc-a-heading strong{font-family:Georgia,'Times New Roman',serif;font-weight:600;font-size:15px;color:var(--a-ink)}
#tcdc-asistente-f252 .tcdc-a-heading small{display:flex;align-items:center;gap:6px;color:var(--a-muted);font-size:11px}
#tcdc-asistente-f252 .tcdc-a-online{background:#368b59;width:7px;height:7px;border-radius:50%;display:inline-block;flex:none}
#tcdc-asistente-f252 .tcdc-a-close{border:0;background:transparent;color:var(--a-muted);font-size:27px!important;line-height:1;width:35px;height:35px;border-radius:50%}
#tcdc-asistente-f252 .tcdc-a-close:hover{background:var(--a-cream)}
#tcdc-asistente-f252 .tcdc-a-talk{flex:1;min-height:0;overflow:auto;padding:17px 16px;overscroll-behavior:contain;display:flex;flex-direction:column;align-items:stretch;gap:10px;background:linear-gradient(180deg,#fdfaf7 0%,#f8f3ef 100%)}
#tcdc-asistente-f252 .tcdc-a-bubble{max-width:91%;align-self:flex-start;background:#fff;border:1px solid var(--a-line);border-radius:3px 14px 14px 14px;padding:11px 13px;box-shadow:0 2px 7px rgba(49,32,35,.035);color:var(--a-ink);font-size:13px;line-height:1.57;white-space:pre-line;animation:tcdc-a-open .2s ease}
#tcdc-asistente-f252 .tcdc-a-choice{align-self:flex-end;background:#e9d9d3;border:1px solid #dbc2bb;border-radius:14px 14px 3px 14px;padding:9px 12px;max-width:86%;font-size:13px;color:#4b3034}
#tcdc-asistente-f252 .tcdc-a-typing{display:flex;align-items:center;gap:4px;width:max-content;background:white;border:1px solid var(--a-line);border-radius:3px 14px 14px 14px;padding:12px 13px;min-width:56px}
#tcdc-asistente-f252 .tcdc-a-typing i{display:block;width:6px;height:6px;border-radius:50%;background:#a78a83;animation:tcdc-a-dot 1.25s infinite ease-in-out}
#tcdc-asistente-f252 .tcdc-a-typing i:nth-child(2){animation-delay:.16s}#tcdc-asistente-f252 .tcdc-a-typing i:nth-child(3){animation-delay:.32s}
@keyframes tcdc-a-dot{0%,60%,100%{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
#tcdc-asistente-f252 .tcdc-a-bottom{background:#fff;border-top:1px solid var(--a-line);padding:12px 13px 10px;max-height:44%;overflow:auto}
#tcdc-asistente-f252 .tcdc-a-actions{display:flex;flex-direction:column;gap:7px}
#tcdc-asistente-f252 .tcdc-a-option{width:100%;text-align:left;border:1px solid #d8c3be;background:#fff;padding:11px 12px;border-radius:10px;color:#6b4145;font-size:12.5px;line-height:1.35;font-weight:600;transition:background .16s,border-color .16s}
#tcdc-asistente-f252 .tcdc-a-option:hover{background:#f7efec;border-color:#ad797b}
#tcdc-asistente-f252 .tcdc-a-option:disabled{opacity:.58;cursor:default}
#tcdc-asistente-f252 .tcdc-a-option[data-cta="1"]{background:#72383f;border-color:#72383f;color:#fff}
#tcdc-asistente-f252 .tcdc-a-option[data-cta="1"]:hover{background:#8b4b53}
#tcdc-asistente-f252 .tcdc-a-foot{display:flex;gap:7px;align-items:center;justify-content:space-between;margin-top:11px;color:var(--a-muted);font-size:10px}
@media(max-width:600px){#tcdc-asistente-f252{right:10px;bottom:78px}#tcdc-asistente-f252 .tcdc-a-trigger{max-width:calc(100vw - 20px)}#tcdc-asistente-f252 .tcdc-a-panel{position:fixed;right:0;bottom:0;width:100vw;height:min(720px,94dvh);border-radius:18px 18px 0 0}#tcdc-asistente-f252 .tcdc-a-bottom{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){#tcdc-asistente-f252 *,#tcdc-asistente-f252 *:before,#tcdc-asistente-f252 *:after{animation:none!important;transition:none!important}}

/* F253: fichas de decisión con beneficios comprobables, sin degradar legibilidad. */
#tcdc-asistente-f252 .tcdc-a-option[data-cta="1"]{display:flex;flex-direction:column;gap:3px;align-items:flex-start}
#tcdc-asistente-f252 .tcdc-a-option-title{font-weight:700;font-size:12.5px;line-height:1.35}
#tcdc-asistente-f252 .tcdc-a-option-detail{font-size:10.5px;line-height:1.4;color:#f7e7e4;opacity:.93;font-weight:400}
#tcdc-asistente-f252 .tcdc-a-option[data-cta="1"]:focus-visible{outline-color:#c58c86;outline-offset:2px}

/* F260: controles de navegación anteriores retirados; sólo minimizar y cerrar. */
#tcdc-asistente-f252 .tcdc-a-foot>span{max-width:54%;line-height:1.4}
#tcdc-asistente-f252 .tcdc-a-option:focus-visible{outline:3px solid #c58c86;outline-offset:2px}

/* F255: acciones extensas desplazables, navegación siempre accesible. */
#tcdc-asistente-f252 .tcdc-a-bottom{display:flex;flex-direction:column;max-height:55%;overflow:hidden;min-height:0}
#tcdc-asistente-f252 .tcdc-a-actions{overflow-y:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;padding:1px}
#tcdc-asistente-f252 .tcdc-a-foot{flex-shrink:0;border-top:1px solid #eee3df;padding-top:8px;margin-top:9px}

/* F256: presentaciones comerciales discretas y verificables, no urgencias ficticias. */
#tcdc-asistente-f252 .tcdc-a-option-label{text-transform:uppercase;letter-spacing:.08em;font-weight:700;font-size:9px;line-height:1.2;color:#f5dad4;opacity:.96}
#tcdc-asistente-f252 .tcdc-a-option[data-cta="1"]{gap:4px}

/* F260 · chat visible entre navegación; sólo minimizar o cerrar en la cabecera. */
#tcdc-asistente-f252 .tcdc-a-controls{display:flex;align-items:center;flex-shrink:0;gap:5px}
#tcdc-asistente-f252 .tcdc-a-minimize{border:0;background:transparent;color:var(--a-muted);font-size:25px!important;line-height:1;width:35px;height:35px;border-radius:50%;display:grid;place-items:center}
#tcdc-asistente-f252 .tcdc-a-minimize:hover{background:var(--a-cream)}
#tcdc-asistente-f252.tcdc-a-minimized .tcdc-a-trigger{padding:6px 12px 6px 6px;max-width:240px}
#tcdc-asistente-f252.tcdc-a-minimized .tcdc-a-trigger-text small{display:none}
#tcdc-asistente-f252.tcdc-a-closed .tcdc-a-trigger{padding:5px;width:54px;height:54px;border-radius:50%;justify-content:center}
#tcdc-asistente-f252.tcdc-a-closed .tcdc-a-trigger-avatar{width:43px;height:43px}
#tcdc-asistente-f252.tcdc-a-closed .tcdc-a-trigger-text,#tcdc-asistente-f252.tcdc-a-closed .tcdc-a-trigger-chevron{display:none}
#tcdc-asistente-f252 .tcdc-a-foot>span{max-width:100%}

/* F271 · El estado seguro de navegación usa el pie existente, sin controles adicionales. */
#tcdc-asistente-f252 .tcdc-a-foot>span{max-width:100%;line-height:1.5}
#tcdc-asistente-f252 .tcdc-a-option[data-reintentar="1"]{border-style:dashed;color:#654348;background:#fff9f5}
