@charset "UTF-8";
:root{color-scheme:dark;--bg:#07151d;--surface:#0d212c;--line:#203d49;--ink:#effbff;--muted:#acc6d1;--cyan:#39d3ee;--green:#72ed94;--font:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;background:var(--bg);color:var(--ink);font-family:var(--font)}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.chat-shell{display:flex;flex-direction:column;height:100%;height:100dvh;max-width:500px;margin:auto;background:radial-gradient(ellipse at 100% 20%,#12404366,transparent 48%),var(--bg);overflow:hidden}.preview-notice{flex:none;padding:9px 16px;background:#493b16;color:#fff2b9;text-align:center;font-size:11px;font-weight:700;letter-spacing:.08em}.chat-header{height:82px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #203d4980;background:#07151df2}.brand{display:flex;align-items:center;gap:9px;text-decoration:none}.brand-mark{width:28px;height:28px;color:var(--green);filter:drop-shadow(0 0 10px #42dfe344)}.brand strong{display:block;font-size:21px;font-weight:750;letter-spacing:-.8px}.brand strong>span{margin-left:4px;color:var(--cyan);font-size:12px;font-weight:700;letter-spacing:1px}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:.02em;margin-top:1px}.icon-button{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;color:var(--muted);background:transparent;font-size:24px;line-height:1}.icon-button:hover{color:white;border-color:var(--cyan)}.conversation{flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#25434c transparent;padding:0 24px 22px;scroll-behavior:smooth}.welcome{position:relative;min-height:274px;padding-top:30px}.welcome-copy{position:relative;z-index:1;width:65%}.eyebrow{font-size:9px;font-weight:750;letter-spacing:.15em;color:var(--green);white-space:nowrap;display:flex;align-items:center;gap:6px}.eyebrow i{width:5px;height:5px;display:block;flex:none;border-radius:50%;background:var(--green);box-shadow:0 0 8px var(--green)}h1{margin:18px 0 14px;font-size:39px;line-height:1.08;letter-spacing:-1.8px;font-weight:720}h1 em{font-style:normal;color:var(--cyan)}.welcome p{max-width:220px;margin:0;color:var(--muted);font-size:15px;line-height:1.6}.welcome p strong{color:var(--ink);font-weight:650}.farmi-hero{position:absolute;right:-20px;bottom:8px;width:158px;height:254px;object-fit:contain;object-position:bottom;filter:drop-shadow(0 10px 20px #14f8c31a);pointer-events:none}.welcome-line{position:absolute;bottom:0;left:0;right:0;height:1px;background:linear-gradient(90deg,#48d9db88,#72ed9433,transparent)}.suggestions{display:grid;gap:10px;margin-top:20px}.suggestions button{padding:14px 13px;display:flex;gap:12px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:14px;background:linear-gradient(100deg,#112c37,#0b1d28);color:var(--ink);transition:border-color .15s,transform .15s}.suggestions button:hover{border-color:#39d3ee80;transform:translateY(-1px)}.suggest-icon{width:34px;height:34px;flex:none;border-radius:10px;display:grid;place-items:center;color:var(--cyan);background:#1a435244;font-size:25px;line-height:1}.suggestions button strong{font-size:15px;display:block;font-weight:600}.suggestions button small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.suggestions button b{margin-left:auto;font-size:20px;color:var(--green);font-weight:400}.chat-footer{padding:16px 20px max(13px,env(safe-area-inset-bottom));border-top:1px solid #203d4980;background:#081922;flex:none}.composer{display:flex;align-items:center;gap:8px;min-height:56px;border:1px solid #376071;border-radius:17px;padding:7px;background:#102832;box-shadow:0 0 25px #39d3ee05}.composer:focus-within{border-color:var(--cyan)}.composer input{flex:1;min-width:0;width:100%;font-size:16px;line-height:1.4;background:transparent;border:0;outline:none;padding:6px 8px;color:var(--ink)}.composer input::placeholder{color:#a9c1cb}.composer input:focus-visible{outline:none}.composer button{display:grid;place-items:center;flex:none;width:39px;height:39px;border:0;border-radius:12px;color:#06212a;background:linear-gradient(130deg,var(--cyan),var(--green))}.composer button svg{width:22px;height:22px}.composer button:disabled{opacity:.5;cursor:wait}.privacy{margin:10px 2px 12px;color:#a1bac6;font-size:10px;line-height:1.6}.privacy a{text-underline-offset:2px;color:#d3e9f0}.footer-note{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;color:#7899a9}.agency{font-size:7px;letter-spacing:.11em;color:#93aeba;white-space:nowrap}.messages{display:grid;gap:18px;padding-top:22px}.messages:empty{display:none}.message{min-width:0;max-width:100%;animation:appear .18s ease-out}.message-label{font-size:10px;font-weight:700;letter-spacing:.09em;margin:0 0 6px;color:var(--green)}.bubble{padding:14px 15px;background:#102834;border:1px solid #234452;border-radius:4px 16px 16px 16px;line-height:1.65;font-size:15px;overflow-wrap:anywhere;white-space:pre-wrap}.message--user{margin-left:32px}.message--user .message-label{text-align:right;color:#a5c2cc}.message--user .bubble{background:#183b47;border-color:#2a5867;border-radius:16px 4px 16px 16px}.message--error .bubble{border-color:#b0a07577}.message--loading .bubble{color:var(--muted)}.product-list{display:grid;gap:9px;margin-top:12px}.product-card{padding:13px 14px;border:1px solid #315362;border-radius:13px;text-decoration:none;display:block;background:#10232d;transition:border-color .15s}.product-card:hover{border-color:var(--cyan)}.product-card strong{font-weight:600;font-size:14px;line-height:1.45;display:block;overflow-wrap:anywhere}.product-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-top:12px}.product-price{font-size:23px;line-height:1.1;color:var(--green);font-weight:650;letter-spacing:-.6px}.product-price small{font-size:9px;letter-spacing:.08em;margin-left:4px;color:var(--muted)}.product-open{font-size:11px;color:var(--cyan);white-space:nowrap}.product-note{font-size:10px;line-height:1.6;margin:9px 1px 0;color:var(--muted)}.actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.action-link{display:inline-block;padding:10px 12px;border:1px solid #39d3ee66;border-radius:10px;text-decoration:none;font-size:12px;color:#b4eef6;line-height:1.4}.action-link:hover{background:#1b404b}.actions a[href^="https://wa.me"]{border-color:#72ed9466;color:#b0eebf}.is-chatting .welcome{display:none}.is-chatting .suggestions{display:none}.is-chatting .conversation{padding-top:0}@keyframes appear{from{transform:translateY(5px);opacity:0}to{transform:translateY(0);opacity:1}}@media(max-width:360px){.chat-header{padding-left:18px;padding-right:18px}.conversation{padding-left:18px;padding-right:18px}.welcome-copy{width:66%}h1{font-size:35px}.farmi-hero{width:137px;right:-16px}.welcome p{font-size:14px}.privacy{font-size:10px}.footer-note{font-size:8px}.agency{font-size:6px}}@media(max-height:650px){.chat-header{height:66px}.welcome{min-height:235px;padding-top:22px}h1{font-size:34px;margin-top:15px}.farmi-hero{height:220px;width:136px}.suggestions{gap:8px;margin-top:16px}.suggestions button{padding:11px}.chat-footer{padding-top:11px}.privacy{margin:7px 2px}.welcome p{font-size:14px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.is-embedded .chat-header{padding-right:62px}.is-embedded .icon-button{width:32px;height:32px;font-size:21px;flex:none}

/* Farmi v2: presence, scene changes and lightweight motion. */
.chat-header{height:74px;padding:15px 22px}
.farmi-presence{position:relative;flex:none;min-height:168px;display:flex;align-items:center;gap:12px;padding:6px 22px 8px 14px;border-bottom:1px solid #25485380;background:radial-gradient(ellipse at 10% 70%,#16757530,transparent 65%)}
.stage-art{position:relative;width:126px;height:154px;flex:none;isolation:isolate}
.stage-glow{position:absolute;inset:18px 4px 4px;border-radius:50%;background:radial-gradient(ellipse,#3adfd52e,transparent 68%);z-index:-1}
.farmi-character{display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom;transform-origin:50% 90%;animation:farmi-welcome 4s ease-in-out infinite}
.stage-trail{display:none;position:absolute;left:1px;right:1px;bottom:7px;height:3px;border-radius:100%;background:linear-gradient(90deg,transparent,#39d3ee,#72ed94,transparent);opacity:.6;z-index:-1}
.stage-signal{position:absolute;right:0;top:31%;display:flex;gap:3px}
.stage-signal i{height:4px;width:4px;border-radius:50%;background:var(--green);opacity:0;animation:farmi-signal 2.8s ease-in-out infinite}
.stage-signal i:nth-child(2){animation-delay:.15s}.stage-signal i:nth-child(3){animation-delay:.3s}
.presence-copy{min-width:0;flex:1;padding-bottom:3px}
.scene-title{font-size:21px;font-weight:650;line-height:1.2;letter-spacing:-.65px;margin:10px 0 7px;overflow-wrap:anywhere}
.scene-detail{font-size:12px;line-height:1.5;margin:0;color:var(--muted)}
.scene-badge{display:inline-block;font-size:10px;line-height:1.4;padding:4px 7px;margin-top:7px;border:1px solid #e6c37666;border-radius:6px;color:#f2d993;background:#79602222}
.motion-toggle{display:block;color:#94b7c3;font-size:10px;line-height:1.4;background:none;border:0;text-decoration:underline;text-underline-offset:3px;padding:7px 0 2px}
[data-scene="computer"] .farmi-character{animation:farmi-work .8s ease-in-out infinite}
[data-scene="computer"] .stage-signal i{animation-duration:1.3s}
[data-scene="packing"] .farmi-character{animation:farmi-pack 2.2s ease-in-out infinite}
[data-scene="packing"] .stage-glow{animation:farmi-glow 2.2s ease-in-out infinite}
[data-scene="riding"] .farmi-character{animation:farmi-ride 1.2s ease-in-out infinite}
[data-scene="riding"] .stage-trail{display:block;animation:farmi-road .8s linear infinite}
[data-scene="riding"] .stage-signal{top:62%;right:auto;left:0}
[data-motion="paused"] *,[data-motion="paused"] *::before,[data-motion="paused"] *::after{animation-play-state:paused!important}
.conversation{min-height:0;scroll-behavior:auto;padding-left:22px;padding-right:22px}
.welcome{min-height:0;padding-top:22px;padding-bottom:20px}.welcome-copy{width:100%}
h1{margin:0 0 10px;font-size:35px;line-height:1.08}.welcome p{max-width:none;font-size:14px}
.suggestions{margin-top:19px;gap:9px}.suggestions button{padding:12px}.suggestions button strong{font-size:14px}
.scene-picker{margin:18px 0 0;padding:0 0 16px;border-bottom:1px solid #25485380}
.scene-picker p{font-size:9px;letter-spacing:.12em;color:#c7dece;font-weight:700;margin:0 0 9px}
.scene-picker>div{display:flex;flex-wrap:wrap;gap:6px}
.scene-picker button{font-size:11px;line-height:1.4;border:1px solid #315362;color:#cce5ed;background:#102731;border-radius:8px;padding:8px 9px}
.scene-picker button:hover,.scene-picker button[aria-pressed="true"]{border-color:var(--cyan);color:#d3fcff;background:#17424b}
.scene-picker button:disabled{opacity:.5;cursor:wait}
.composer button{display:flex;gap:6px;width:auto;min-height:41px;padding:0 12px;align-items:center;justify-content:center;font-size:12px;font-weight:700}
.composer button svg{width:16px;height:16px}.composer button:disabled{opacity:.45;cursor:default}
.chat-footer{padding:13px 18px max(12px,env(safe-area-inset-bottom))}
.chat-status{margin:8px 2px 0;font-size:11px;line-height:1.5;color:#a9d6c6}.chat-status.status-error{color:#f5d39b}
.privacy{margin:9px 2px 11px;line-height:1.5}
.no-script{padding:14px;border:1px solid #f5d39b66;border-radius:10px;line-height:1.6;color:#f5d39b;font-size:13px}
.is-chatting .farmi-presence{min-height:146px}.is-chatting .stage-art{height:132px;width:112px}.is-chatting .scene-title{font-size:19px}
@keyframes farmi-welcome{0%,100%{transform:translateY(0) rotate(-.7deg)}50%{transform:translateY(-4px) rotate(.7deg)}}
@keyframes farmi-work{0%,100%{transform:translateY(0) rotate(-.25deg)}50%{transform:translateY(1.4px) rotate(.25deg)}}
@keyframes farmi-pack{0%,100%{transform:rotate(-1deg) translateY(0)}45%{transform:rotate(1deg) translateY(2px)}70%{transform:rotate(.3deg) translateY(-1px)}}
@keyframes farmi-ride{0%,100%{transform:translate(1px,0) rotate(-.6deg)}25%{transform:translate(2px,-2px) rotate(.5deg)}70%{transform:translate(-1px,1px) rotate(-.2deg)}}
@keyframes farmi-signal{0%,80%,100%{opacity:0;transform:translateY(1px)}35%{opacity:.9;transform:translateY(-2px)}}
@keyframes farmi-glow{0%,100%{opacity:.5}50%{opacity:1}}
@keyframes farmi-road{0%{transform:scaleX(.6) translateX(7px);opacity:0}35%{opacity:.9}100%{transform:scaleX(.9) translateX(-11px);opacity:0}}
@media(max-width:360px){.farmi-presence{padding-right:17px;padding-left:10px;gap:8px}.stage-art{width:108px;height:145px}.farmi-presence{min-height:157px}.scene-title{font-size:19px}.scene-detail{font-size:11px}.is-chatting .stage-art{width:98px}.composer button{padding:0 9px}}
@media(max-height:650px){.chat-header{height:62px}.farmi-presence{min-height:133px}.stage-art{height:120px;width:101px}.scene-title{font-size:19px;margin-top:7px}.is-chatting .farmi-presence{min-height:126px}.is-chatting .stage-art{height:114px;width:96px}.welcome{min-height:0;padding-top:18px}h1{font-size:31px}.chat-footer{padding-top:10px}.scene-picker{margin-top:13px;padding-bottom:12px}.motion-toggle{padding-top:5px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Tarjetas verificadas con fotografía del catálogo oficial de Tiendanube. */
.product-card{display:flex;align-items:center;gap:12px;min-width:0}
.product-photo{display:block;flex:none;width:76px;height:76px;object-fit:contain;object-position:center;border:1px solid #315362;border-radius:10px;background:#f7fcfd;padding:4px}
.product-copy{flex:1;min-width:0}
.product-copy .product-bottom{margin-top:8px;align-items:center;flex-wrap:wrap}
.product-copy .product-price{font-size:20px}
@media(max-width:360px){.product-card{gap:9px;padding:10px}.product-photo{width:64px;height:64px}.product-copy .product-price{font-size:18px}}


/* Farmi Dark Experience V2 — visible inside the cross-origin Vercel iframe. */
:root { --bg:#020a13; --surface:#081b2a; --line:#1c5262; --ink:#f2feff; --muted:#b5d4dd; --cyan:#00e9f0; --green:#50f69c; }
html,body { background:#020a13; }
.chat-shell { background:radial-gradient(ellipse at 0% 0%,rgba(1,173,213,.15),transparent 44%),radial-gradient(ellipse at 100% 34%,rgba(37,238,157,.08),transparent 50%),linear-gradient(170deg,#04101c,#020a13 70%); }
.is-embedded .chat-header { display:none; }
.farmi-presence { min-height:160px; padding:15px 16px 13px; gap:17px; background:linear-gradient(120deg,rgba(0,218,237,.10),rgba(11,58,78,.35) 52%,rgba(0,197,132,.07)); border-bottom:1px solid rgba(0,228,229,.28); }
.stage-art { width:115px; height:115px; border:2px solid rgba(6,241,231,.92); border-radius:50%; overflow:hidden; background:radial-gradient(circle at 45% 40%,#13516a,#071928 70%); box-shadow:0 0 0 5px rgba(0,222,234,.055),0 0 26px rgba(0,222,234,.34),inset 0 0 22px rgba(0,216,229,.14); }
.stage-glow { inset:9px; }
.farmi-character { width:100%; height:100%; object-fit:contain; object-position:center center; }
.stage-signal { right:12px; top:18%; }
.presence-copy .eyebrow { font-size:9px; letter-spacing:.16em; color:#62ffb1; }
.scene-title { font-weight:800; font-size:22px; color:#f5feff; letter-spacing:-.7px; margin:9px 0; }
.scene-detail { color:#b5d9e1; font-size:12px; line-height:1.55; }
.motion-toggle { font-size:10px; color:#97d9e3; text-decoration:none; border-bottom:1px solid rgba(0,215,223,.38); }
.conversation { padding:0 18px 18px; scrollbar-color:#1f6572 transparent; }
.welcome { padding:18px 0 15px; }
.welcome h1 { font-size:30px; font-weight:850; letter-spacing:-1.1px; }
.welcome h1 em { color:#05ebed; }
.welcome p { color:#a9cbd5; font-size:13px; line-height:1.5; }
.welcome-line { background:linear-gradient(90deg,#00dfe7,#50f69c,transparent); }
.suggestions { grid-template-columns:1fr 1fr; gap:9px; margin-top:14px; }
.suggestions button { position:relative; min-width:0; min-height:88px; padding:12px 10px; border-radius:15px; border:1px solid rgba(0,203,229,.35); background:linear-gradient(145deg,#0b2c40,#071521); box-shadow:inset 0 1px rgba(255,255,255,.04),0 9px 19px rgba(0,0,0,.23); display:flex; flex-direction:column; align-items:flex-start; gap:7px; }
.suggestions button:nth-child(3) { grid-column:span 2; min-height:66px; flex-direction:row; align-items:center; }
.suggestions button strong { font-size:12px; color:#f1feff; line-height:1.3; }
.suggestions button small { font-size:10px; color:#b8d1db; line-height:1.4; }
.suggestions button b { position:absolute; right:10px; top:10px; opacity:.65; }
.suggestions button:hover,.suggestions button:focus-visible { border-color:#01e6e4; box-shadow:0 0 17px rgba(0,219,232,.19); }
.suggest-icon { background:rgba(4,219,235,.13); color:#2ff3ed; width:31px; height:31px; }
.chat-footer { background:linear-gradient(180deg,#051524,#020b15); border-top:1px solid #176477; padding:12px 15px max(12px,env(safe-area-inset-bottom)); }
.composer { min-height:55px; border-radius:15px; border:1px solid #04d5e3; background:#071c2a; box-shadow:0 0 20px rgba(0,212,237,.12); }
.composer button { color:#041720; background:linear-gradient(110deg,#03dfef,#5bffa4); border-radius:12px; font-size:12px; font-weight:800; }
.composer button:disabled { opacity:.54; }
.message .bubble { background:#0b2636; border-color:#286274; border-radius:15px; box-shadow:0 7px 18px rgba(0,0,0,.15); }
.message--user .bubble { background:#0b3546; border-color:#078c9e; }
.product-card { border:1px solid rgba(0,223,236,.40); background:linear-gradient(145deg,#0c3040,#051825); border-radius:15px; }
.product-price { color:#66f6ae; }
@media(max-width:380px) { .farmi-presence { padding:12px 10px; gap:10px; } .stage-art { width:100px; height:100px; } .scene-title { font-size:18px; } }
@media(max-height:640px) { .farmi-presence { min-height:127px; padding:8px 13px; } .stage-art { width:91px; height:91px; } .welcome { padding:12px 0; } .welcome h1 { font-size:26px; } .suggestions button { min-height:70px; } .suggestions button:nth-child(3) { min-height:56px; } }


/* Premium product verification cards: catalog-grounded, not purchase-ready. */
.review-products{margin-top:14px;display:grid;gap:8px}
.review-heading{margin:0 0 3px;font-size:10px;font-weight:800;letter-spacing:.1em;color:#9fdbd8}
.review-card{display:flex;align-items:center;gap:12px;padding:12px;background:linear-gradient(135deg,rgba(12,52,67,.85),rgba(6,23,34,.97));border:1px solid rgba(0,222,222,.25);border-radius:15px}
.review-photo{flex:none;width:66px;height:66px;object-fit:contain;border-radius:12px;background:#f4fafb;border:1px solid rgba(255,255,255,.2);padding:4px}
.review-details{flex:1;min-width:0;display:grid;gap:8px}
.review-details strong{font-size:13px;line-height:1.42;overflow-wrap:anywhere;color:#fff}
.review-details span{font-size:11px;line-height:1.45;color:#b6d8df}
.is-embedded .farmi-presence{border-radius:0 0 20px 20px}
.is-embedded .chat-shell{background-color:#030a12}
.product-card{box-shadow:0 3px 22px rgba(0,217,227,.065)}
.product-photo{background:#f7fafa}
.product-copy .product-price{font-size:20px;font-weight:850;color:#5dffa7}
.product-copy .product-open{border:1px solid rgba(7,221,238,.44);padding:8px;border-radius:8px;color:#a0f7ff;font-size:10px}
.review-products + .actions{margin-top:14px}
.actions a{font-weight:650}
@media(max-width:375px){.review-photo{height:54px;width:54px}.review-card{padding:9px;gap:9px}}


/* Product match links are informational until merchant approval. */
.review-open{display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:100%;padding:7px 10px;text-decoration:none;border:1px solid rgba(0,224,234,.62);border-radius:9px;color:#88f3ff;font-weight:700;font-size:11px;line-height:1.4;background:#052937}
.review-open:hover,.review-open:focus-visible{border-color:#63fdb4;color:#d5fff6;background:#0d4351}
.review-details span{font-size:10px;line-height:1.4;color:#aad2dc}


/* Reset Farmi conversation inside the official Tiendanube embed. */
.reset-embedded{display:none;position:absolute;z-index:4;top:8px;right:11px;align-items:center;gap:5px;padding:7px 10px;border:1px solid rgba(14,227,233,.62);border-radius:999px;color:#ddfeff;background:rgba(2,24,34,.9);box-shadow:0 0 12px rgba(0,209,221,.13);font:700 11px/1.25 "Segoe UI",system-ui,sans-serif;white-space:nowrap;transition:background .15s,border-color .15s}
.reset-embedded span{font-size:17px;line-height:12px;color:#5affb5}
.reset-embedded:hover{background:#0d4353;border-color:#66ffc1}
.reset-embedded:disabled{opacity:.45;cursor:not-allowed}
.is-embedded .reset-embedded{display:inline-flex}
.is-embedded .farmi-presence{padding-top:35px;min-height:177px}
.is-embedded .stage-art{width:106px;height:106px}
.is-embedded .presence-copy{min-width:0}
.is-embedded .scene-title{font-size:19px}
@media(max-width:375px){.is-embedded .farmi-presence{padding-top:34px;min-height:160px}.is-embedded .stage-art{width:89px;height:89px}.is-embedded .scene-title{font-size:17px}.reset-embedded{right:9px;top:6px;padding:6px 8px}}
@media(max-height:600px){.is-embedded .farmi-presence{min-height:128px;padding-top:28px}.is-embedded .stage-art{width:84px;height:84px}.is-embedded .scene-title{font-size:17px}}
