/* 2.49.0: pasos claros en los diseñadores (ver assets/js/pasos.js). */
.eew-go{--g-ink:#1f262a;--g-mag:#c8146f;position:fixed;left:0;right:0;bottom:0;z-index:9990;display:flex;align-items:center;gap:12px;
  padding:10px max(14px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(14px,env(safe-area-inset-left,0px));
  background:#fff;color:var(--g-ink);border-top:1px solid #dde1e6;box-shadow:0 -8px 24px rgba(20,24,28,.12);
  font-family:"Public Sans","EE Public",system-ui,-apple-system,"Segoe UI",sans-serif}
.eew-go[hidden]{display:none}
.eew-go-t{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
.eew-go-t small{font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--g-mag)}
.eew-go-t b{font-size:.92rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.eew-go-b{flex:none;max-width:56%;min-height:46px;padding:0 18px;border:0;border-radius:999px;background:var(--g-mag);color:#fff;font:inherit;font-weight:800;font-size:.95rem;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eew-go-b:disabled{opacity:.45;cursor:not-allowed}
.eew-go-b:focus-visible{outline:3px solid var(--g-ink);outline-offset:2px}
/* Lo que flota abajo (WhatsApp, «Tu pedido») sube para no tapar la barra. */
.eew-lift{bottom:calc(84px + env(safe-area-inset-bottom,0px))!important;transition:bottom .2s ease}
@media (max-width:860px){
  #dz .mat,#propsBox,#wizard,#editor,#order{scroll-margin-top:118px}
  body.eew-go-on{padding-bottom:76px}
  /* Mientras editas, la vista previa va arriba y las otras propuestas al final. */
  #dz.eew-edit .stage{display:contents}
  #dz.eew-edit .stage .mat{order:-1}
  #dz.eew-edit #propsBox{order:2}
}
@media (min-width:861px){
  #dz,#propsBox,#order{scroll-margin-top:96px}
  .eew-go{left:50%;right:auto;bottom:20px;transform:translateX(-50%);width:min(620px,calc(100vw - 40px));border:1px solid #dde1e6;border-radius:18px;padding:10px 10px 10px 18px;box-shadow:0 14px 40px rgba(20,24,28,.22)}
  .eew-lift{bottom:20px!important}
}
@media (max-width:420px){.eew-go-b{max-width:60%;padding:0 14px;font-size:.9rem}}
body.eew-go-on .cop-mbar,body.eew-go-on .pla-mbar{display:none!important}
/* 2.57.0 · Orden de compra: 1 ¿cómo lo quieres? 2 características y precio 3 diseño */
#ordP{display:flex;flex-direction:column;gap:14px}
#ordP[hidden],#ordBack[hidden]{display:none!important}
#ordBack{margin-bottom:10px}
#ordP .ord-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#ordP .ord-big{font:inherit;display:flex;flex-direction:column;gap:6px;text-align:left;border:2px solid var(--line,#e2e4ea);border-radius:14px;padding:16px;background:var(--surface,#fff);color:var(--ink,#1f262a);cursor:pointer;transition:border-color .15s,transform .15s}
#ordP .ord-big:hover,#ordP .ord-big:focus-visible{border-color:var(--accent,#c8146f);transform:translateY(-2px);outline:none}
#ordP .ord-big .ic{width:42px;height:42px;border-radius:11px;display:grid;place-items:center;background:#fbe7f2;color:#c8146f;font-size:20px}
#ordP .ord-big.ia .ic{background:linear-gradient(135deg,#c8146f,#7b2ff7 55%,#1aa0e8);color:#fff}
#ordP .ord-big b{font-size:1.08rem;font-weight:800}
#ordP .ord-big span:not(.ic){color:var(--muted,#5b6770);font-size:13.5px;line-height:1.4}
#ordP .ord-cfg{display:flex;flex-direction:column;gap:10px}
#ordP .ord-cfg hr:first-child{display:none}
#ordP .actions{display:flex;justify-content:space-between;gap:10px}
@media (max-width:520px){#ordP .ord-two{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){#ordP .ord-big{transition:none}}

/* 2.58.1 · «Diseñar con IA» en un solo paso (bloque UNPASO de cada landing.js). */
#stepBody .one-head{padding:4px 0 6px}
#stepBody .one-k{margin:0;font:600 .72rem/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.14em;text-transform:uppercase;color:#5b6770}
#stepBody .one-t{margin:.25rem 0 .3rem;font-size:1.25rem;line-height:1.2}
#stepBody .one-n{margin:0;color:#5b6770;font-size:.92rem}
#stepBody .one-blk{padding:14px 0;border-top:1px solid #dde1e6}
#stepBody .one-blk:first-of-type{border-top:0}
#stepBody .one-fotos{margin-top:14px}
#stepBody .one-th{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
#stepBody .one-th span{width:64px;height:64px;border-radius:10px;background:#eceef2 center/cover no-repeat;border:1px solid #dde1e6;position:relative}
#stepBody .one-th button{position:absolute;top:-8px;right:-8px;width:24px;height:24px;border-radius:50%;border:0;background:#1f262a;color:#fff;font-size:15px;line-height:24px;cursor:pointer;padding:0}
#stepBody .one-act{padding-top:14px;margin-top:6px;border-top:1px solid #dde1e6}
#stepBody .one-act #gen{flex:1;padding:.9rem 1rem;font-size:1.05rem}
#disenador.ia-wait:has(#wizard:not([hidden])) :is(#propsBox,#props,#propsTitle){display:none}
#disenador.ia-wait:has(#wizard:not([hidden])) #cv{opacity:.12;filter:grayscale(1)}
#disenador.ia-wait:has(#wizard:not([hidden])) :has(> #cv){position:relative}
#disenador.ia-wait:has(#wizard:not([hidden])) :has(> #cv)::after{content:"Aquí saldrán tus 3 propuestas cuando pulses «Hacer propuesta con IA»";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(320px,80%);background:#fff;border:1px solid #dde1e6;border-radius:14px;padding:16px 20px;text-align:center;font-weight:600;color:#1f262a;box-shadow:0 14px 30px -18px rgba(0,0,0,.35);pointer-events:none}
/* La muestra del diseño acompaña al bajar por las opciones (usuario 11/11): las propuestas quedan arriba y el lienzo se queda fijo a la vista. */
@media (min-width:861px){
  #dz .grid{align-items:stretch}
  #dz .stage{position:static!important;top:auto}
  #dz .stage>.mat{position:sticky;top:calc(var(--eew-head,110px) + 12px);z-index:3}
}
/* Mientras editas, las propuestas pasan a una tira de miniaturas: manda el diseño elegido (usuario 11/11). */
#dz:has(#editor:not([hidden])) #propsBox .props{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#dz:has(#editor:not([hidden])) #propsBox .prop{flex-direction:row;align-items:center;gap:8px;padding:5px 8px 5px 5px;min-width:0}
#dz:has(#editor:not([hidden])) #propsBox .prop .pv{flex:0 0 64px;width:64px;height:48px;aspect-ratio:auto;padding:3px}
#dz:has(#editor:not([hidden])) #propsBox .prop .pv canvas{width:auto!important;height:auto;max-width:100%;max-height:42px;aspect-ratio:auto!important}
#dz:has(#editor:not([hidden])) #propsBox .prop span{display:none}
#dz:has(#editor:not([hidden])) #propsBox .prop b{font-size:12px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
#dz:has(#editor:not([hidden])) #propsTitle{font-size:11px;margin-bottom:6px!important}
@media (max-width:520px){ #dz:has(#editor:not([hidden])) #propsBox .prop .pv{flex-basis:44px;width:44px;height:36px} #dz:has(#editor:not([hidden])) #propsBox .prop b{font-size:11px} }
/* 2.58.50 · Barra «Pedir ahora» del móvil (assets/js/compra.js) */
.eew-mb{display:none}
body.eew-mb-ok a[id$="-mbar"]{display:none!important}
@media (max-width:860px){
  .eew-mb{display:flex;position:fixed;left:max(12px,env(safe-area-inset-left,0px));right:82px;bottom:calc(14px + env(safe-area-inset-bottom,0px));z-index:9989;min-height:54px;align-items:center;justify-content:space-between;gap:10px;padding:6px 6px 6px 18px;border-radius:999px;background:#1f262a;color:#fff;text-decoration:none;font-family:"Public Sans","EE Public",system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 8px 22px rgba(0,0,0,.28);transform:translateY(100px);opacity:0;pointer-events:none;transition:transform .25s,opacity .25s}
  .eew-mb.on{transform:none;opacity:1;pointer-events:auto}
  .eew-mb-p{display:flex;flex-direction:column;line-height:1.1;min-width:0}
  .eew-mb-p small{font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.75}
  .eew-mb-p b{font-size:1.02rem;font-weight:800;white-space:nowrap}
  .eew-mb-p i{font-style:normal;font-weight:600;font-size:.72rem;opacity:.8}
  .eew-mb-b{flex:none;display:flex;align-items:center;gap:6px;min-height:42px;padding:0 16px;border-radius:999px;background:#c8146f;color:#fff;font-weight:800;font-size:.95rem;white-space:nowrap}
  .eew-mb:focus-visible{outline:3px solid #c8146f;outline-offset:3px}
}
@media (max-width:860px) and (prefers-reduced-motion:reduce){.eew-mb{transition:none}}
/* «¿Lo mismo que la otra vez?» */
.eew-rep{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 18px;margin:0 0 16px;padding:14px 16px;border:2px solid #c8146f;border-radius:14px;background:#fff7fb;color:#1f262a;font-family:"Public Sans","EE Public",system-ui,-apple-system,"Segoe UI",sans-serif}
.eew-rep-t{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1 1 280px}
.eew-rep-t b{font-size:1.02rem;font-weight:800}
.eew-rep-t span{font-size:.92rem;line-height:1.4}
.eew-rep-t small{font-size:.8rem;color:#5b6770}
.eew-rep-a{display:flex;flex-wrap:wrap;gap:8px}
.eew-rep-go,.eew-rep-no{font:inherit;font-weight:800;font-size:.92rem;min-height:42px;padding:0 16px;border-radius:999px;cursor:pointer}
.eew-rep-go{border:0;background:#c8146f;color:#fff}
.eew-rep-go:disabled{opacity:.6;cursor:wait}
.eew-rep-no{border:1px solid #cfd5db;background:#fff;color:#1f262a}
/* «Añade también…» tras añadir a la cesta */
.eew-x{display:flex;flex-direction:column;gap:10px;padding-top:14px;border-top:1px solid #e2e4ea}
.eew-x-h{margin:0;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}
.eew-x-h b{font-size:1.02rem;font-weight:800}
.eew-x-h span{font-size:.88rem;color:#5b6770}
.eew-x-g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.eew-x-c{display:flex;flex-direction:column;border:1px solid #dde1e6;border-radius:12px;overflow:hidden;background:#fff;color:#1f262a;text-decoration:none;min-width:0;transition:border-color .15s,transform .15s}
.eew-x-c:hover,.eew-x-c:focus-visible{border-color:#c8146f;transform:translateY(-2px);outline:none}
.eew-x-c img,.eew-x-ph{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;background:#eceef2}
.eew-x-t{display:flex;flex-direction:column;gap:2px;padding:8px 10px 10px}
.eew-x-t b{font-size:.9rem;line-height:1.2}
.eew-x-t small{font-size:.8rem;color:#c8146f;font-weight:700}
@media (max-width:520px){.eew-x-g{grid-template-columns:1fr}.eew-x-c{flex-direction:row;align-items:center}.eew-x-c img,.eew-x-ph{width:84px;flex:none}}
@media (prefers-reduced-motion:reduce){.eew-x-c{transition:none}.eew-x-c:hover{transform:none}}
.eew-x-ok{position:fixed;left:50%;top:84px;transform:translateX(-50%);z-index:10000;max-width:calc(100vw - 32px);padding:12px 18px;border-radius:12px;background:#1f262a;color:#fff;font:600 .95rem/1.3 "Public Sans","EE Public",system-ui,sans-serif;box-shadow:0 12px 30px rgba(0,0,0,.25)}
/* 2.59.0 · Compra en 3 pasos: barra Elige · Diseña · Paga encima del diseñador */
.eew-3p{list-style:none;margin:0 0 14px;padding:10px 12px;display:flex;align-items:center;justify-content:center;gap:6px;background:#fff;border:1px solid #e2e4ea;border-radius:999px;font-family:"Public Sans","EE Public",system-ui,-apple-system,"Segoe UI",sans-serif}
.eew-3p[hidden]{display:none}
.eew-3p li{display:flex;align-items:center;gap:6px;min-width:0}
.eew-3p li+li::before{content:"";width:clamp(14px,5vw,48px);height:2px;background:#dde1e6;border-radius:2px}
.eew-3p li.done+li::before,.eew-3p li.on::before{background:#1f8a4c}
.eew-3p button{display:flex;align-items:center;gap:8px;border:0;background:none;padding:4px 6px;font:inherit;font-weight:700;font-size:.95rem;color:#5b6770;cursor:pointer;border-radius:999px}
.eew-3p button:focus-visible{outline:3px solid #c8146f;outline-offset:2px}
.eew-3p i{font-style:normal;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:2px solid #cfd4da;font-size:.85rem;flex:none}
.eew-3p li.on button{color:#1f262a}
.eew-3p li.on i{background:#c8146f;border-color:#c8146f;color:#fff}
.eew-3p li.done i{background:#1f8a4c;border-color:#1f8a4c;color:#fff;font-size:0}
.eew-3p li.done i::after{content:"✓";font-size:.9rem}
@media (max-width:420px){.eew-3p{padding:8px 8px;gap:4px}.eew-3p button{font-size:.85rem;gap:5px;padding:2px}}
#ordP .ord-go{display:flex;flex-direction:column;gap:10px;padding-top:6px;border-top:1px solid var(--line,#e2e4ea)}
#ordP .ord-q{margin:6px 0 0;font-weight:800;font-size:1.05rem}
#ordP .ord-big.on{border-color:var(--accent,#c8146f);box-shadow:0 0 0 3px rgba(200,20,111,.15)}
/* 2.59.1 (usuario 16/11): el diseño a la izquierda y las opciones a la derecha, como en la maqueta de 3 pasos. */
@media (min-width:861px){#dz>.grid{grid-template-columns:minmax(0,1fr) minmax(0,400px)}#dz>.grid>.panel{order:2}#dz>.grid>.stage{order:1}}
/* Paso 1: en vez del lienzo en blanco, la foto del modelo elegido y «Aquí verás tu diseño». */
.ord-ph-on{position:relative}
.ord-ph{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:18px;border-radius:10px;background:rgba(244,245,247,.86);pointer-events:none;text-align:center}
.ord-ph.foto{background:#fff}
.ord-ph img{max-width:min(100%,460px);max-height:68%;object-fit:contain;border-radius:10px}
.ord-ph p{margin:0;display:flex;flex-direction:column;gap:2px;background:#fff;border:1px solid #dde1e6;border-radius:12px;padding:10px 16px;box-shadow:0 10px 24px -16px rgba(0,0,0,.35);color:#1f262a;font-size:.95rem}
.ord-ph p span{font-size:.82rem;color:#5b6770}
/* 2.59.1 (usuario 16/11): en el paso 1 (ordenador) los modelos van solo con texto y la foto se ve en grande a la izquierda. En el móvil siguen las miniaturas porque la foto grande queda abajo. */
@media (min-width:861px){#dz #ordP .bopt img,#dz #ordP .bopt .cardico{display:none}#dz #ordP .bopt{justify-content:center;min-height:62px;padding:10px 8px}}

/* 2.59.3 (usuario 16/11): la foto de la cabecera (junto al H1) va con su fondo original dentro de un recuadro blanco,
   un 20 % más pequeño, para que no se mezcle con la mariposa. No en textil (sus plantillas no llevan .eew-box). */
.hero-shot.eew-box{max-width:368px!important;justify-self:center}
.hero-shot.eew-box .shot{background:#fff!important;border-radius:18px!important;box-shadow:0 24px 50px -20px rgba(20,30,40,.35)!important;padding:0!important;overflow:hidden!important;aspect-ratio:1/1!important}
.hero-shot.eew-box .shot img{width:100%!important;height:100%!important;object-fit:contain!important;filter:none!important}
.hero-shot.eew-box .shot:hover img{transform:scale(1.03)}
.hero-shot.eew-box.hero-recorte{background:#fff;border-radius:18px;box-shadow:0 24px 50px -20px rgba(20,30,40,.35);aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:18px;box-sizing:border-box}
.hero-shot.eew-box.hero-recorte img{max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;filter:none!important;margin:0 auto}
@media (max-width:860px){.hero-shot.eew-box{max-width:340px!important;margin-inline:auto}}

/* v2.59.4 cabecera con RECORTE (-cab.webp): sin recuadro, grande y con sombra, como en textil.
   Las fotos de ambiente (sin -cab) siguen en el recuadro blanco. */
.hero-shot.eew-box:has(img[src*="-cab.webp"]){max-width:600px!important;width:100%;justify-self:center}
.hero-shot.eew-box:has(img[src*="-cab.webp"]) .shot{background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important;aspect-ratio:auto!important;border:0!important;width:100%;height:auto;display:block;padding:0!important}
.hero-shot.eew-box img[src*="-cab.webp"]{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:min(576px,72vh)!important;margin:0 auto;object-fit:contain!important;filter:drop-shadow(0 24px 30px rgba(20,30,40,.30))!important;transform:none!important}
.hero-shot.eew-box.hero-recorte:has(img[src*="-cab.webp"]){background:transparent;box-shadow:none;border-radius:0;aspect-ratio:auto;padding:0;overflow:visible}
@media (max-width:860px){.hero-shot.eew-box:has(img[src*="-cab.webp"]){max-width:440px!important;margin-inline:auto}.hero-shot.eew-box img[src*="-cab.webp"]{max-height:min(440px,60vh)!important}}

/* v2.59.4 MINIATURAS: la foto entera dentro de la miniatura (sin cortar), fondo blanco. No toca la foto de cabecera. */
section:not(.hero) .shot img,.ph img,.eew-x-c img,.eew-x-ph,.tol-type img,.tol-subo img,#dz .bopt img{object-fit:contain!important;background:#fff!important}
@media (min-width:861px){section.hero .wrap:has(> figure.hero-shot img[src*="-cab.webp"]){grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important}}
/* v2.59.9 · iPhone: con letra menor de 16 px en una casilla, Safari amplía la página al tocarla. En móvil y tableta, 16 px. */
@media (max-width:1024px),(pointer:coarse){input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]),select,textarea{font-size:16px!important}}
/* v2.59.12 precio «desde» bajo los botones del hero */
.hero .eew-hdes{margin:.7rem 0 0;font-size:1rem;color:var(--muted,#5b6470)}
.hero .eew-hdes b{font-size:1.35rem;color:var(--ink,#1d232b);font-weight:800;letter-spacing:-.01em}
/* v2.59.13 aviso en la vista 3D / acabado */
.eew-h3d{position:absolute;left:50%;bottom:14px;transform:translate(-50%,8px);z-index:5;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 12px;max-width:min(92%,460px);padding:10px 14px;border-radius:14px;background:#1d2327;color:#fff;font-size:.88rem;line-height:1.35;text-align:center;box-shadow:0 8px 24px rgba(0,0,0,.25);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
.eew-h3d.on{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.eew-h3d button{border:0;border-radius:999px;background:#fff;color:#1d2327;font:700 .85rem/1 inherit;padding:9px 14px;cursor:pointer}
/* 2.59.13 · botón «Aplicar» de la IA difuminado cuando la IA no está disponible */
.btn.ia-off,.btn.ia-off:hover{background:#d5d9de!important;border-color:#d5d9de!important;color:#7d8590!important;cursor:not-allowed;box-shadow:none!important;opacity:.8}
input#aiTxt:disabled{background:#f3f4f6;color:#7d8590;cursor:not-allowed}
/* 2.60.0 · mientras se envía el pedido, el progreso no sale en color de error */
.o-err.o-busy{color:#5b6470!important}
.eew-qfix{margin:.3rem 0 0;font-size:.82rem;line-height:1.35;color:#8a5a00;background:#fff6e0;border-radius:6px;padding:.35rem .55rem}
/* 2.60.0 · ficha de características en el catálogo (todos los productos) */
#formatos .fmt .carac{margin:0;display:grid;border-top:1px solid var(--line,#e3e7ec);align-self:start}
#formatos .fmt .carac div{display:grid;grid-template-columns:5.6rem 1fr;gap:.5rem;padding:.42rem 0;border-bottom:1px solid var(--line,#e3e7ec)}
#formatos .fmt .carac dt{font:600 .7rem/1.35 var(--f-mono,ui-monospace,monospace);letter-spacing:.04em;text-transform:uppercase;color:var(--muted,#5b6470)}
#formatos .fmt .carac dd{margin:0;font-size:.86rem;line-height:1.35;color:var(--ink,#1d232b)}
#formatos .fmt:has(> .carac){grid-template-rows:minmax(150px,auto) auto auto 1fr auto}
#formatos .fmt .go{white-space:nowrap}
#formatos .fmt:target{border-color:var(--magenta,#d6127a)}
#formatos .fmt:has(> .carac) .dims{display:none}
/* 2.60.0 · móvil (usuario 17/11): sin foto en la cabecera; tras el H1 y los botones se ve directamente el catálogo con los productos */
@media (max-width:860px){
 .hero:has(+ #formatos) > .wrap > :not(:first-child){display:none!important}
 .hero:has(+ #formatos){padding-bottom:8px}
 .hero + #formatos{padding-top:18px!important}
}
/* 2.89.5 · bajo las preguntas de cada producto: enlace a las preguntas de tienda (IVA, pago, factura, envío, recogida) */
.faq-tienda{margin:14px 0 0;padding:12px 16px;border-radius:12px;background:#fff7fb;border:1px solid #f6d5e6;font-size:.93rem;color:#3c464d}
.faq-tienda a{color:#c8146f;font-weight:700;text-decoration:underline;text-underline-offset:2px}

/* ===== 2.94.0 · Diseñador más claro: preguntas en apartados (acordeón). Usuario 27/11, maqueta opción A. ===== */
#stepBody .one-acc{display:grid;gap:10px;margin-top:12px}
#stepBody .acc-s{border:1px solid #dde1e6;border-radius:14px;background:#fff;transition:border-color .15s}
#stepBody .acc-s.acc-opt{border-style:dashed}
#stepBody .acc-s.on{border-color:#1f262a;box-shadow:0 6px 22px rgba(31,38,42,.08)}
#stepBody .acc-h{all:unset;box-sizing:border-box;width:100%;display:flex;align-items:center;gap:12px;padding:13px 14px;cursor:pointer;border-radius:14px}
#stepBody .acc-h:focus-visible{outline:3px solid #c8146f;outline-offset:2px}
#stepBody .acc-n{flex:none;width:28px;height:28px;border-radius:50%;background:#1f262a;color:#fff;display:grid;place-items:center;font-weight:700;font-size:.85rem}
#stepBody .acc-s.done .acc-n{background:#1f8a4c}
#stepBody .acc-s.acc-opt:not(.on):not(.done) .acc-n{background:#8a949c}
#stepBody .acc-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
#stepBody .acc-t b{font-size:1rem;font-weight:700;color:#1f262a;line-height:1.25}
#stepBody .acc-sum{font-size:.82rem;color:#5b6770;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#stepBody .acc-s.on .acc-sum{display:none}
#stepBody .acc-c{flex:none;font-size:.82rem;font-weight:600;color:#c8146f;text-decoration:underline}
#stepBody .acc-s.on .acc-c{visibility:hidden}
#stepBody .acc-dot{display:inline-block;width:11px;height:11px;border-radius:50%;vertical-align:-1px;margin-left:4px;box-shadow:0 0 0 1px rgba(0,0,0,.15)}
#stepBody .acc-b{padding:0 14px 14px;display:grid;gap:10px}
#stepBody .acc-b[hidden]{display:none}
#stepBody .acc-hint{margin:-4px 0 0;color:#5b6770;font-size:.86rem}
/* las preguntas de dentro (las escribe el servidor: includes/nucleo/preguntas.php) */
#stepBody .wz-q{margin:6px 0 0;display:flex;flex-direction:column;gap:1px}
#stepBody .wz-q b{font-size:.95rem;font-weight:700;color:#1f262a}
#stepBody .wz-h{display:block;font-weight:400;color:#5b6770;font-size:.82rem}
#stepBody .wz-q[hidden],#stepBody .wz-h[hidden],#stepBody [data-wz-si][hidden]{display:none}
#stepBody .wz-solo{width:100%;box-sizing:border-box}
#stepBody textarea.wz-solo{min-height:84px}
#stepBody .wz-img .drop small{display:block}
#stepBody .one-acc .one-fotos{margin-top:4px}
#stepBody .acc-next{justify-self:stretch;padding:.75rem 1rem;font-weight:700;border-radius:12px}
/* estilos con miniatura */
#stepBody .chips.stx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#stepBody .chips.stx-grid .chip{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:6px 6px 8px;border-radius:12px;text-align:center;height:auto;white-space:normal}
#stepBody .stx{position:relative;display:block;aspect-ratio:85/55;border-radius:5px;background:#fff;box-shadow:inset 0 0 0 1px #dde1e6;overflow:hidden}
#stepBody .stx i{position:absolute;display:block;border-radius:2px}
#stepBody .stx i:nth-child(1){left:14%;top:30%;width:46%;height:12%;background:var(--acc-c,#c8146f)}
#stepBody .stx i:nth-child(2){left:14%;top:50%;width:32%;height:7%;background:#9aa3a9}
#stepBody .stx i:nth-child(3){left:14%;top:66%;width:40%;height:6%;background:#c5cbd0}
#stepBody .stx-corporativo::before{content:"";position:absolute;left:0;top:0;bottom:0;width:9%;background:var(--acc-c,#c8146f)}
#stepBody .stx-minimal i:nth-child(1){left:27%;width:46%;background:#1f262a}
#stepBody .stx-minimal i:nth-child(2){left:34%}
#stepBody .stx-minimal i:nth-child(3){left:30%}
#stepBody .stx-elegante{background:#1f262a}
#stepBody .stx-elegante i:nth-child(1){left:27%;width:46%;background:#e9dcc0}
#stepBody .stx-elegante i:nth-child(2){left:34%;background:#8d8577}
#stepBody .stx-elegante i:nth-child(3){left:30%;background:#5d5a55}
#stepBody .stx-moderno{background:var(--acc-c,#c8146f)}
#stepBody .stx-moderno i:nth-child(1){background:#fff}
#stepBody .stx-moderno i:nth-child(2),#stepBody .stx-moderno i:nth-child(3){background:rgba(255,255,255,.6)}
#stepBody .stx-natural{background:#f1ede2}
#stepBody .stx-natural i:nth-child(1){background:#4b5d43}
#stepBody .stx-creativo::before{content:"";position:absolute;right:-18%;top:-40%;width:55%;height:180%;background:var(--acc-c,#c8146f);transform:rotate(18deg)}
#stepBody .stx-alegre{background:#fff5d6}
#stepBody .stx-alegre::before{content:"";position:absolute;right:8%;top:14%;width:26%;aspect-ratio:1;border-radius:50%;background:var(--acc-c,#c8146f)}
#stepBody .stx-fotografico{background:linear-gradient(160deg,#9fb4c4,#5e7588)}
#stepBody .stx-fotografico i:nth-child(1){background:#fff}
#stepBody .stx-fotografico i:nth-child(2),#stepBody .stx-fotografico i:nth-child(3){background:rgba(255,255,255,.7)}
/* botón final siempre a la vista dentro del panel */
#stepBody .acc-go{position:sticky;bottom:0;z-index:2;background:#fff;display:flex;flex-direction:column;gap:6px;padding:12px 0 10px;margin-top:4px;border-top:1px solid #dde1e6}
#stepBody .acc-go #gen{width:100%;padding:.95rem 1rem;font-size:1.05rem;border-radius:12px}
#stepBody .acc-free{text-align:center;color:#5b6770;font-size:.8rem}
/* el botón de WhatsApp no tapa las preguntas: solo el icono mientras respondes */
body:has(#stepBody .one-acc) a[href*="wa.me"][class$="-wa"] span{display:none}
/* La tarjeta de prueba se ve mientras respondes (no apagada) */
#disenador.ia-wait:has(#wizard:not([hidden])):has(.one-acc) #cv{opacity:1;filter:none}
#disenador.ia-wait:has(#wizard:not([hidden])):has(.one-acc) :has(> #cv)::after{content:none}
/* Móvil: la tarjeta de prueba se queda arriba, en pequeño, mientras respondes */
@media (max-width:860px){
  #dz:has(#stepBody .one-acc):has(#wizard:not([hidden])) .grid>.stage{order:-1;padding:8px;background:#eef0f3;border-radius:12px;position:sticky!important;top:calc(var(--eew-top,64px) + 4px);z-index:5}
  #dz:has(#stepBody .one-acc):has(#wizard:not([hidden])) .stage>.mat{box-shadow:0 8px 20px rgba(31,38,42,.12)}
  #dz:has(#stepBody .one-acc):has(#wizard:not([hidden])) .stage>.mat :is(.mat-head,.legend){display:none}
  #dz:has(#stepBody .one-acc):has(#wizard:not([hidden])) .stage>.mat{padding:10px}
  #dz:has(#stepBody .one-acc):has(#wizard:not([hidden])) .stage>.mat #cv{max-height:150px;width:auto!important;margin-inline:auto;display:block}
}
/* 2.95.0 · IA con cuenta (includes/ia-credito.php + cuenta.js): email y código antes de las propuestas,
   contador ✦ de cambios con IA y «10 cambios más con IA por 1,95 €» solo cuando se acaban. */
.iag{display:flex;flex-direction:column;gap:8px}
.iag[hidden],.iag-p[hidden],.iag-on~#gen,.iag-on~.acc-free{display:none!important}
.iag-p{display:flex;flex-direction:column;gap:8px;margin:0}
.iag-l{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:1rem;color:#1f262a}
.iag-l input{font-family:inherit;font-size:16px;font-weight:400;border:1px solid #c9ced4;border-radius:10px;padding:12px;width:100%;box-sizing:border-box}
.iag-l input:focus{outline:2px solid var(--eew-pink,#c8146f);outline-offset:1px}
.iag .iag-code{font-size:24px;font-weight:700;letter-spacing:.55em;text-align:center;padding:10px 0 10px .55em;font-variant-numeric:tabular-nums}
.iag .btn.primary{width:100%;padding:.95rem 1rem;font-size:1.05rem;border-radius:12px}
.iag-otro{align-self:center;background:none;border:0;color:#5b6770;text-decoration:underline;font-size:.85rem;cursor:pointer;padding:2px}
.iag-err{margin:0;font-size:.9rem;color:#b3261e;min-height:0}
.iag-err:empty{display:none}
.iag-err.ok{color:#1d6b3a}
.iag-mas{display:flex;align-items:center;gap:10px;justify-content:space-between;border:2px solid var(--eew-pink,#c8146f);border-radius:12px;padding:10px 12px;margin-top:8px;font-weight:600;font-size:.95rem;flex-wrap:wrap}
.iag-mas .btn{width:auto!important;padding:9px 16px!important;font-size:.95rem!important}
.iac-n{display:none}
:root[data-iac] .iac-n{display:inline-flex;align-items:center;background:#fde8f2;color:var(--eew-pink,#c8146f);font-weight:700;font-size:.8rem;border-radius:99px;padding:2px 8px;margin-left:8px;vertical-align:middle;text-transform:none;letter-spacing:0}
:root[data-iac] .iac-n::after{content:var(--eew-iac,"")}
