/* FOX IA Asesor — diseño europeo FOX: blanco y negro, tipografía de la tienda, sin elementos flotantes. */
.fox-v4-header .fox-ia-help{background:none;border:0;padding:0;margin-left:auto;cursor:pointer;font:inherit;font-size:12px;font-weight:300;color:#11120f;white-space:nowrap;}
.fox-v4-header .fox-ia-help:hover,.fox-v4-header .fox-ia-help:focus-visible{text-decoration:underline;}
.fox-v4-header .fox-ia-help + .fox-v4-wa{margin-left:0!important;}
.fox-ia-lock body{overflow:hidden;}
.fox-ia-panel{position:fixed;top:0;right:0;bottom:0;width:min(420px,100vw);background:#fff;color:#11120f;z-index:100000;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .25s ease;box-shadow:-1px 0 0 #e5e5e5;font-family:"FOX V4 Sans",Arial,Helvetica,sans-serif;}
.fox-ia-panel.is-open{transform:none;}
.fox-ia-head{position:relative;padding:22px 56px 16px 22px;border-bottom:1px solid #e5e5e5;}
.fox-ia-head strong{display:block;font-size:16px;font-weight:600;letter-spacing:.01em;}
.fox-ia-sub{display:block;margin-top:4px;font-size:12px;color:#707072;}
.fox-ia-close{position:absolute;top:16px;right:16px;width:36px;height:36px;border:0;border-radius:50%;background:#f5f5f5;font-size:22px;line-height:36px;cursor:pointer;color:#11120f;}
.fox-ia-close:hover{background:#e5e5e5;}
.fox-ia-log{flex:1;overflow-y:auto;padding:18px 22px;display:flex;flex-direction:column;gap:12px;}
.fox-ia-msg p{margin:0;font-size:14px;line-height:1.5;white-space:pre-line;}
.fox-ia-asesor{align-self:flex-start;max-width:100%;}
.fox-ia-cliente{align-self:flex-end;max-width:85%;background:#11120f;color:#fff;padding:10px 14px;border-radius:18px;}
.fox-ia-wait p{color:#707072;}
.fox-ia-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;}
.fox-ia-card{display:flex;flex-direction:column;gap:4px;text-decoration:none;color:#11120f;}
.fox-ia-card img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f5f5f5;}
.fox-ia-card-name{font-size:12px;line-height:1.35;font-weight:500;}
.fox-ia-card-price{font-size:13px;font-weight:600;}
.fox-ia-card-price s{font-weight:400;color:#707072;}
.fox-ia-card-cta{font-size:12px;text-decoration:underline;text-underline-offset:3px;}
.fox-ia-wa{display:inline-block;margin-top:8px;font-size:13px;color:#11120f;text-decoration:underline;text-underline-offset:3px;}
.fox-ia-form{display:flex;gap:8px;padding:12px 22px;border-top:1px solid #e5e5e5;}
.fox-ia-form input{flex:1;min-width:0;height:44px;padding:0 18px;border:0;border-radius:22px;background:#f5f5f5;font:inherit;font-size:14px;color:#11120f;}
.fox-ia-form input:focus{outline:2px solid #11120f;outline-offset:0;}
.fox-ia-form button{height:44px;padding:0 20px;border:0;border-radius:22px;background:#11120f;color:#fff;font:inherit;font-size:14px;cursor:pointer;}
.fox-ia-foot{margin:0;padding:0 22px 16px;font-size:11px;line-height:1.4;color:#707072;}
.fox-ia-foot a{color:#707072;}
.fox-ia-ask{display:block;width:100%;margin-top:12px;height:52px;border:1px solid #cacacb;border-radius:30px;background:#fff;color:#11120f;font:inherit;font-size:15px;font-weight:500;cursor:pointer;}
.fox-ia-ask:hover{border-color:#11120f;}
.fox-ia-search{margin:0 0 24px;padding:18px 20px;border:1px solid #e5e5e5;}
.fox-ia-search-title{display:block;font-size:13px;letter-spacing:.04em;text-transform:uppercase;}
.fox-ia-search-text{margin:6px 0 0;font-size:14px;line-height:1.5;}
.fox-ia-search .fox-ia-cards{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));max-width:720px;}
.fox-ia-search .fox-ia-ask{width:auto;display:inline-block;padding:0 24px;height:44px;}
@media(max-width:767px){.fox-ia-panel{width:100vw;}}
@media(min-width:768px){.fox-v4-header .fox-v4-search{flex:0 1 400px;min-width:220px;}.fox-v4-header .fox-v4-nav{white-space:nowrap;flex-shrink:0;}}
/* Identidad IA: chispa + etiqueta clara, sin romper el blanco y negro europeo. */
.fox-ia-spark{width:1em;height:1em;fill:currentColor;vertical-align:-.12em;display:inline-block;}
.fox-v4-header .fox-ia-help{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 12px!important;border:1px solid #11120f!important;border-radius:15px;background:#11120f!important;color:#fff!important;font-weight:500!important;}
.fox-v4-header .fox-ia-help:hover,.fox-v4-header .fox-ia-help:focus-visible{background:#fff!important;color:#11120f!important;text-decoration:none;}
.fox-ia-ask-pdp{height:auto!important;padding:12px 20px!important;border:1.5px solid #11120f!important;background:#fff!important;color:#11120f!important;text-align:left;display:flex!important;flex-direction:column;gap:3px;border-radius:30px;}
.fox-ia-ask-pdp:hover{background:#f5f5f5!important;}
.fox-ia-ask-main{font-size:15px;font-weight:600;display:flex;align-items:center;gap:8px;}
.fox-ia-ask-main .fox-ia-spark{width:18px;height:18px;}
.fox-ia-ask-sub{font-size:12px;font-weight:300;color:#707072;padding-left:26px;}
.fox-ia-head strong{display:flex!important;align-items:center;gap:6px;}
.fox-ia-search-title{display:flex!important;align-items:center;gap:6px;}
.fox-ia-ask-sm{display:inline-flex!important;align-items:center;gap:6px;background:#11120f!important;color:#fff!important;border:0!important;}
@media(max-width:767px){.fox-v4-header .fox-ia-help{height:28px;padding:0 10px!important;}}
.fox-ia-human{display:flex;align-items:center;gap:8px;padding:10px 22px;border-bottom:1px solid #e5e5e5;font-size:12px;color:#11120f;text-decoration:none;background:#fafafa;}
.fox-ia-human:hover{text-decoration:underline;}
.fox-ia-human-dot{width:8px;height:8px;border-radius:50%;background:#25d366;flex-shrink:0;}
.fox-ia-foot .fox-ia-human{display:inline-flex;padding:0;border:0;background:none;font-size:11px;color:#707072;gap:5px;}
.fox-ia-foot .fox-ia-human-dot{width:6px;height:6px;}
/* ===== v0.4.0 · Barra de búsqueda con IA (estilo europeo: blanco y negro + aura iridiscente de IA) ===== */
@property --foxia-a{syntax:'<angle>';inherits:false;initial-value:0deg;}
@keyframes foxia-spin{to{--foxia-a:360deg;}}
@keyframes foxia-twinkle{0%,100%{transform:scale(1) rotate(0);opacity:1;}50%{transform:scale(.82) rotate(18deg);opacity:.85;}}
@keyframes foxia-rotate{to{transform:rotate(360deg);}}
@keyframes foxia-in{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:none;}}
html body header.fox-v4-header form.fox-ia-bar{position:relative!important;display:flex!important;align-items:center!important;gap:8px!important;height:46px!important;padding:0 5px 0 16px!important;border:0!important;border-radius:999px!important;background:#fff!important;isolation:isolate;box-shadow:0 1px 2px rgba(17,18,15,.06);}
html body header.fox-v4-header form.fox-ia-bar::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:conic-gradient(from var(--foxia-a),#11120f 0deg,#7b61ff 70deg,#00b3ff 140deg,#ff4d8d 210deg,#ffb800 260deg,#11120f 320deg);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:foxia-spin 5s linear infinite;z-index:-1;pointer-events:none;}
html body header.fox-v4-header form.fox-ia-bar::after{content:"";position:absolute;inset:4px 18px -6px;border-radius:inherit;background:conic-gradient(from var(--foxia-a),#7b61ff,#00b3ff,#ff4d8d,#ffb800,#7b61ff);filter:blur(16px);opacity:0;transition:opacity .3s ease;animation:foxia-spin 5s linear infinite;z-index:-2;pointer-events:none;}
html body header.fox-v4-header form.fox-ia-bar:hover::after{opacity:.22;}
html body header.fox-v4-header form.fox-ia-bar:focus-within::after{opacity:.38;}
html body header.fox-v4-header form.fox-ia-bar .fox-ia-bar-spark{width:20px;height:20px;flex:0 0 20px;animation:foxia-twinkle 2.6s ease-in-out infinite;}
html body header.fox-v4-header form.fox-ia-bar input[type="search"]{flex:1 1 auto!important;min-width:0!important;height:44px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;font:inherit!important;font-size:14px!important;color:#11120f!important;}
html body header.fox-v4-header form.fox-ia-bar input[type="search"]::placeholder{color:#707072!important;opacity:1;}
html body header.fox-v4-header form.fox-ia-bar input[type="search"]::-webkit-search-cancel-button{display:none;}
html body header.fox-v4-header form.fox-ia-bar button[type="submit"]{display:inline-flex!important;align-items:center!important;gap:6px!important;flex:0 0 auto!important;width:auto!important;height:36px!important;padding:0 16px!important;border:0!important;border-radius:999px!important;background:#11120f!important;color:#fff!important;font:inherit!important;font-size:13px!important;font-weight:600!important;letter-spacing:.01em;cursor:pointer;transition:transform .15s ease,background .2s ease;}
html body header.fox-v4-header form.fox-ia-bar button[type="submit"] .fox-ia-spark{width:14px;height:14px;fill:#fff;}
html body header.fox-v4-header form.fox-ia-bar button[type="submit"]:hover{transform:translateY(-1px);background:#2b2c28!important;}
@media(min-width:768px){html body header.fox-v4-header:has(.fox-ia-bar) .fox-ia-help{display:none!important;}}
@media(max-width:1100px){html body header.fox-v4-header form.fox-ia-bar .fox-ia-bar-go{display:none;}html body header.fox-v4-header form.fox-ia-bar button[type="submit"]{width:36px!important;padding:0!important;justify-content:center!important;}}
@media(prefers-reduced-motion:reduce){html body header.fox-v4-header form.fox-ia-bar::before,html body header.fox-v4-header form.fox-ia-bar::after,.fox-ia-spark{animation:none!important;}}
/* Panel */
.fox-ia-head strong{font-size:17px!important;}
.fox-ia-head .fox-ia-spark{width:20px;height:20px;}
.fox-ia-badge{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:999px;font-size:10px;font-weight:700;letter-spacing:.08em;color:#fff;background:linear-gradient(90deg,#7b61ff,#00b3ff,#ff4d8d);}
.fox-ia-head::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:linear-gradient(90deg,#7b61ff,#00b3ff,#ff4d8d,#ffb800);}
.fox-ia-msg{animation:foxia-in .25s ease both;}
.fox-ia-thinking{display:flex;align-items:center;gap:8px;}
.fox-ia-spark.is-spin{width:18px;height:18px;animation:foxia-rotate 1.4s linear infinite;}
.fox-ia-chips{display:flex;flex-wrap:wrap;gap:8px;}
.fox-ia-chip{height:34px;padding:0 14px;border:1px solid #cacacb;border-radius:999px;background:#fff;color:#11120f;font:inherit;font-size:13px;cursor:pointer;transition:border-color .2s ease,background .2s ease;}
.fox-ia-chip:hover{border-color:#11120f;background:#f5f5f5;}
.fox-ia-cards.is-rail{display:grid;grid-auto-flow:column;grid-auto-columns:44%;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px;scrollbar-width:thin;}
.fox-ia-cards.is-rail .fox-ia-card{scroll-snap-align:start;}
.fox-ia-rail-hint{display:block;margin-top:4px;font-size:11px;color:#707072;}
.fox-ia-all{display:inline-flex;align-items:center;margin-top:12px;height:40px;padding:0 18px;border-radius:999px;background:#11120f;color:#fff!important;font-size:13px;font-weight:600;text-decoration:none!important;}
.fox-ia-all:hover{background:#2b2c28;}
.fox-ia-form input{border-radius:999px!important;}
.fox-ia-form button{width:44px;padding:0!important;font-size:18px!important;font-weight:700;}
.fox-ia-search .fox-ia-cards.is-rail{grid-auto-columns:minmax(150px,170px);max-width:none;}
