/* ==========================================================================
   Demo viva "store-steps" (Tres pasos para abrir tu tienda, /tienda-online).
   Markup: resources/views/web/partials/anim/store-steps.blade.php
   Estados en la raíz:
     data-scene  wizard | product | store       (pantalla y píldora activa)
     data-wstep  1 | 3 | done                   (asistente de crear negocio)
     data-url    help | checking | ok           (estado de la dirección)
     data-color  color de marca elegido (#e11d48) aplicado
     data-focus  name | url | pname | price     (campo enfocado)
     data-pscroll · data-saving · data-saved    (alta de producto)
     data-prepop tarjeta del producto aún no aparece · data-cursor puntero visible
   Todos los colores viven en variables (claro aquí, oscuro abajo). Las muestras
   del asistente son los colores reales de $nbColors (iguales en ambos modos).
   ========================================================================== */

/* ---------- Paleta: modo claro ---------- */
.lla-store-steps {
  --lla-page: #f5f7fb;
  --lla-bg: #ffffff;
  --lla-surface: #f8f9fa;
  --lla-surface-2: #eef1f5;
  --lla-text: #1e2022;
  --lla-text-2: #3d4554;
  --lla-muted: #5b6676;
  --lla-border: #e7eaf3;
  --lla-border-2: #d9dde8;
  --lla-shadow: 0 32px 64px -24px rgba(22, 34, 58, .38), 0 10px 24px -10px rgba(22, 34, 58, .18);
  --lla-shadow-sm: 0 1px 3px rgba(22, 34, 58, .10), 0 1px 2px rgba(22, 34, 58, .06);
  --lla-glow-a: rgba(32, 134, 253, .18);
  --lla-glow-b: rgba(225, 29, 72, .12);
  --lla-dot-r: #ff5f57;
  --lla-dot-y: #febc2e;
  --lla-dot-g: #28c840;
  --lla-backdrop: rgba(0, 0, 0, .5);
  --lla-fav-bg: rgba(255, 255, 255, .92);
  --lla-cursor-fill: #1e2022;
  --lla-cursor-edge: #ffffff;
  --lla-cursor-ring: rgba(55, 125, 255, .55);

  /* Panel (tema Front de cuentas/company) */
  --lla-panel: #377dff;
  --lla-panel-hover: #2f6ad9;
  --lla-on-panel: #ffffff;
  --lla-panel-soft: #f5f8ff;
  --lla-panel-text: #1f5fd9;
  --lla-secondary-bg: #71869d;
  --lla-on-secondary: #ffffff;
  --lla-success: #0a7c43;
  --lla-success-soft: #e8f7ef;
  --lla-success-bg: #00a35f;
  --lla-on-success: #ffffff;
  --lla-gem: #377dff;
  --lla-swatch-ring: #ffffff;
  --lla-swatch-edge: #d9dde8;
  --lla-swatch-active: #1e2022;

  /* Muestras reales del asistente ($nbColors) */
  --lla-sw-1: #2086fd;
  --lla-sw-2: #635bff;
  --lla-sw-3: #16a34a;
  --lla-sw-4: #e11d48;
  --lla-sw-5: #f97316;
  --lla-sw-6: #d946ef;
  --lla-sw-7: #0891b2;
  --lla-sw-8: #0f172a;
  --lla-on-swatch: #ffffff;

  /* Tienda con el color elegido */
  --lla-store: #e11d48;
  --lla-on-store: #ffffff;
}

/* ---------- Sitio en modo oscuro: solo lo que está FUERA de las ventanas ----------
   Las tiendas (plantilla 4) y el panel (accounts) no tienen modo oscuro, así que las
   ventanas se quedan en claro. Aquí solo se adapta el halo y la sombra al fondo oscuro. */
html[data-theme="dark"] .lla-store-steps {
  --lla-glow-a: rgba(77, 159, 255, .16);
  --lla-glow-b: rgba(251, 113, 133, .12);
  --lla-shadow: 0 32px 64px -24px rgba(0, 0, 0, .75), 0 10px 24px -10px rgba(0, 0, 0, .5);
}

/* ---------- Paleta: modo oscuro (APAGADA) ----------
   Lista para cuando tiendas/panel tengan modo oscuro: basta con agregar el atributo
   data-dark a la raíz .lla-store-steps del partial para que las ventanas también se oscurezcan. */
html[data-theme="dark"] .lla-store-steps[data-dark] {
  --lla-page: #111827;
  --lla-bg: var(--ll-surface, #161d2d);
  --lla-surface: var(--ll-surface-2, #1e2638);
  --lla-surface-2: var(--ll-surface-3, #262f44);
  --lla-text: var(--ll-heading, #eef2f8);
  --lla-text-2: var(--ll-text, #b6c0d0);
  --lla-muted: #97a3b6;
  --lla-border: var(--ll-border-strong, rgba(255, 255, 255, .16));
  --lla-border-2: rgba(255, 255, 255, .22);
  --lla-shadow: 0 32px 64px -24px rgba(0, 0, 0, .75), 0 10px 24px -10px rgba(0, 0, 0, .5);
  --lla-shadow-sm: 0 1px 3px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .04);
  --lla-glow-a: rgba(77, 159, 255, .16);
  --lla-glow-b: rgba(251, 113, 133, .12);
  --lla-dot-r: #e9564f;
  --lla-dot-y: #e3ab2c;
  --lla-dot-g: #2fb64a;
  --lla-backdrop: rgba(0, 0, 0, .65);
  --lla-fav-bg: rgba(38, 47, 68, .92);
  --lla-cursor-fill: #ffffff;
  --lla-cursor-edge: #0b111c;
  --lla-cursor-ring: rgba(125, 184, 255, .65);

  --lla-panel: #5b9bff;
  --lla-panel-hover: #7db0ff;
  --lla-on-panel: #06162b;
  --lla-panel-soft: rgba(91, 155, 255, .14);
  --lla-panel-text: #8db8ff;
  --lla-secondary-bg: #8a9bb0;
  --lla-on-secondary: #0b111c;
  --lla-success: #4ad991;
  --lla-success-soft: rgba(74, 217, 145, .14);
  --lla-success-bg: #2fb26f;
  --lla-on-success: #04170d;
  --lla-gem: #8db8ff;
  --lla-swatch-ring: var(--ll-surface, #161d2d);
  --lla-swatch-edge: rgba(255, 255, 255, .22);
  --lla-swatch-active: #eef2f8;

  --lla-store: #fb7185;
  --lla-on-store: #2a0510;
}

/* ---------- Escena ---------- */
.lla-store-steps {
  max-width: 600px;
  margin-inline: auto;
  color: var(--lla-text);
  line-height: 1.3;
  text-align: left;
}

.lla .lla-store-steps__stage { --lla-w: 600; --lla-h: 470; }

.lla-store-steps :where(b, small) { margin: 0; font-size: inherit; color: inherit; }
.lla-store-steps .bi::before { vertical-align: 0; }
.lla-store-steps__muted { color: var(--lla-muted); }

.lla-store-steps__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.lla-store-steps__glow--a { left: -40px; top: 30px; width: 420px; height: 420px; background: radial-gradient(closest-side, var(--lla-glow-a), transparent); }
.lla-store-steps__glow--b { left: 260px; top: 90px; width: 400px; height: 400px; background: radial-gradient(closest-side, var(--lla-glow-b), transparent); }

/* ---------- Píldoras de pasos ---------- */
.lla-store-steps__chips {
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.lla-store-steps__chip {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--lla-border);
  border-radius: 999px;
  background: var(--lla-bg);
  color: var(--lla-muted);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .35s var(--lla-ease);
}

.lla-store-steps__chip > span { overflow: hidden; text-overflow: ellipsis; }

.lla-store-steps__chip i {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--lla-surface-2);
  color: var(--lla-text-2);
  font-size: 10px;
  font-style: normal;
}

.lla-store-steps__chip i::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--lla-panel);
  opacity: 0;
  transition: opacity .35s var(--lla-ease);
}

.lla-store-steps__chip i { isolation: isolate; }

.lla-store-steps[data-scene="wizard"] .lla-store-steps__chip--wizard,
.lla-store-steps[data-scene="product"] .lla-store-steps__chip--product,
.lla-store-steps[data-scene="store"] .lla-store-steps__chip--store { color: var(--lla-text); transform: translateY(-1px); }

.lla-store-steps[data-scene="wizard"] .lla-store-steps__chip--wizard i,
.lla-store-steps[data-scene="product"] .lla-store-steps__chip--product i,
.lla-store-steps[data-scene="store"] .lla-store-steps__chip--store i { color: var(--lla-on-panel); }

.lla-store-steps[data-scene="wizard"] .lla-store-steps__chip--wizard i::before,
.lla-store-steps[data-scene="product"] .lla-store-steps__chip--product i::before,
.lla-store-steps[data-scene="store"] .lla-store-steps__chip--store i::before { opacity: 1; }

/* ---------- Ventana ---------- */
.lla-store-steps__win {
  position: absolute;
  left: 12px;
  top: 40px;
  z-index: 1;
  width: 576px;
  height: 424px;
  overflow: hidden;
  border: 1px solid var(--lla-border);
  border-radius: 14px;
  background: var(--lla-bg);
  box-shadow: var(--lla-shadow);
}

.lla-store-steps__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 12px;
  border-bottom: 1px solid var(--lla-border);
  background: var(--lla-surface);
}

.lla-store-steps__dots { display: flex; flex: none; gap: 5px; }
.lla-store-steps__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--lla-dot-r); }
.lla-store-steps__dots i:nth-child(2) { background: var(--lla-dot-y); }
.lla-store-steps__dots i:nth-child(3) { background: var(--lla-dot-g); }

.lla-store-steps__url {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  flex: 0 1 340px;
  height: 20px;
  overflow: hidden;
  padding: 0 9px;
  border-radius: 6px;
  background: var(--lla-bg);
  color: var(--lla-muted);
  font-size: 10px;
  white-space: nowrap;
}

.lla-store-steps__url .bi { flex: none; font-size: 8.5px; color: var(--lla-success); }

.lla-store-steps__u {
  position: absolute;
  left: 24px;
  right: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity .3s var(--lla-ease);
}

.lla-store-steps[data-scene="wizard"] .lla-store-steps__u--wizard,
.lla-store-steps[data-scene="product"] .lla-store-steps__u--product,
.lla-store-steps[data-scene="store"] .lla-store-steps__u--store { opacity: 1; }

.lla-store-steps__vp {
  position: relative;
  height: calc(100% - 32px);
  overflow: hidden;
}

.lla-store-steps__scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity .45s var(--lla-ease), transform .5s var(--lla-ease);
}

.lla-store-steps[data-scene="wizard"] .lla-store-steps__scene--wizard,
.lla-store-steps[data-scene="product"] .lla-store-steps__scene--product,
.lla-store-steps[data-scene="store"] .lla-store-steps__scene--store { opacity: 1; transform: none; }

/* ---------- Controles comunes (Bootstrap/Front del panel) ---------- */
.lla-store-steps__label { display: block; margin: 8px 0 4px; color: var(--lla-text-2); font-size: 10.5px; }
.lla-store-steps__label--bold { margin-top: 0; font-weight: 700; color: var(--lla-text); }
.lla-store-steps__h6 { display: block; font-size: 13px; font-weight: 700; }
.lla-store-steps__help { display: block; margin-top: 2px; font-size: 10.5px; }

.lla-store-steps__input {
  position: relative;
  display: block;
  height: 30px;
  padding: 0 10px;
  overflow: hidden;
  border: 1px solid var(--lla-border-2);
  border-radius: 6px;
  background: var(--lla-bg);
  font-size: 11.5px;
  line-height: 28px;
  white-space: nowrap;
  transition: box-shadow .25s var(--lla-ease);
}

.lla-store-steps__input--grow { flex: 1; min-width: 0; border-radius: 0; }

.lla-store-steps__ph { position: absolute; left: 10px; color: var(--lla-muted); opacity: 0; }
.lla-store-steps__val:empty + .lla-store-steps__ph { opacity: .85; }
.lla-store-steps__val.is-typing + .lla-store-steps__ph { opacity: 0; }

.lla-store-steps[data-focus="name"] [data-ref="f-name"],
.lla-store-steps[data-focus="url"] [data-ref="f-url"],
.lla-store-steps[data-focus="pname"] [data-ref="f-pname"],
.lla-store-steps[data-focus="price"] [data-ref="f-price"] { box-shadow: 0 0 0 2px var(--lla-panel); }

.lla-store-steps__igroup { display: flex; }
.lla-store-steps__igroup.is-disabled { opacity: .6; }

.lla-store-steps__iaddon {
  display: flex;
  flex: none;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--lla-border-2);
  background: var(--lla-surface);
  color: var(--lla-muted);
  font-size: 10.5px;
}

.lla-store-steps__iaddon:first-child { border-right: 0; border-radius: 6px 0 0 6px; }
.lla-store-steps__iaddon:last-child { border-left: 0; border-radius: 0 6px 6px 0; }

.lla-store-steps__bprimary,
.lla-store-steps__bsecondary,
.lla-store-steps__bghost,
.lla-store-steps__bsuccess {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 30px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .2s var(--lla-ease);
}

.lla-store-steps__bprimary { background: var(--lla-panel); color: var(--lla-on-panel); }
.lla-store-steps__bsecondary { background: var(--lla-secondary-bg); color: var(--lla-on-secondary); }
.lla-store-steps__bghost { color: var(--lla-muted); }
.lla-store-steps__bsuccess { width: 100%; margin-top: 14px; background: var(--lla-success-bg); color: var(--lla-on-success); }
.lla-store-steps .is-pressed { transform: scale(.95); }

/* ---------- 1. Asistente ---------- */
.lla-store-steps__scene--wizard { background: var(--lla-page); }

.lla-store-steps__nb {
  position: relative;
  width: 400px;
  height: 360px;
  margin: 14px auto 0;
  border: 1px solid var(--lla-border);
  border-radius: 12px;
  background: var(--lla-bg);
  box-shadow: var(--lla-shadow-sm);
}

.lla-store-steps__nb-view { position: absolute; inset: 0; transition: opacity .4s var(--lla-ease), transform .45s var(--lla-ease); }
.lla-store-steps__nb-view--form { display: flex; flex-direction: column; }

.lla-store-steps__nb-view--done {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;
  text-align: center;
  opacity: 0;
  transform: scale(.97);
}

.lla-store-steps[data-wstep="done"] .lla-store-steps__nb-view--form { opacity: 0; transform: scale(.97); }
.lla-store-steps[data-wstep="done"] .lla-store-steps__nb-view--done { opacity: 1; transform: none; }

.lla-store-steps__nb-head { padding: 14px 16px 10px; border-bottom: 1px solid var(--lla-border); }
.lla-store-steps__nb-h1 { display: block; font-size: 16px; font-weight: 800; }
.lla-store-steps__nb-head small { display: block; font-size: 10.5px; }
.lla-store-steps__nb-steplabel { margin-top: 4px; }

.lla-store-steps__nb-body { position: relative; flex: 1; padding: 12px 16px; }

.lla-store-steps__progress {
  display: block;
  height: 4px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--lla-surface-2);
}

.lla-store-steps__progress i {
  display: block;
  height: 100%;
  background: var(--lla-panel);
  transform-origin: 0 50%;
  transform: scaleX(.6);
  transition: transform .25s var(--lla-ease);
}

.lla-store-steps[data-wstep="1"] .lla-store-steps__progress i { transform: scaleX(.2); }

.lla-store-steps__nb-step { position: absolute; top: 28px; left: 16px; right: 16px; transition: opacity .3s var(--lla-ease), transform .35s var(--lla-ease); }
.lla-store-steps__nb-step--1 { opacity: 0; transform: translateX(-12px); }
.lla-store-steps[data-wstep="1"] .lla-store-steps__nb-step--1 { opacity: 1; transform: none; }
.lla-store-steps[data-wstep="1"] .lla-store-steps__nb-step--3 { opacity: 0; transform: translateX(12px); }

.lla-store-steps__status { position: relative; display: block; height: 15px; margin-top: 4px; font-size: 10px; }
.lla-store-steps__st { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .2s var(--lla-ease); }
.lla-store-steps__st--help { color: var(--lla-muted); opacity: 1; }
.lla-store-steps__st--checking { color: var(--lla-muted); }
.lla-store-steps__st--ok { color: var(--lla-success); font-weight: 600; }
.lla-store-steps[data-url="checking"] .lla-store-steps__st--help,
.lla-store-steps[data-url="ok"] .lla-store-steps__st--help { opacity: 0; }
.lla-store-steps[data-url="checking"] .lla-store-steps__st--checking,
.lla-store-steps[data-url="ok"] .lla-store-steps__st--ok { opacity: 1; }

.lla-store-steps__swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 12px 0 14px; }

.lla-store-steps__sw {
  position: relative;
  width: 26px;
  height: 26px;
  border: 2px solid var(--lla-swatch-ring);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--lla-swatch-edge);
  transition: transform .2s var(--lla-ease);
}

.lla-store-steps__sw::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--lla-swatch-active);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .2s var(--lla-ease);
}

.lla-store-steps__sw--1 { background: var(--lla-sw-1); }
.lla-store-steps__sw--2 { background: var(--lla-sw-2); }
.lla-store-steps__sw--3 { background: var(--lla-sw-3); }
.lla-store-steps__sw--4 { background: var(--lla-sw-4); }
.lla-store-steps__sw--5 { background: var(--lla-sw-5); }
.lla-store-steps__sw--6 { background: var(--lla-sw-6); }
.lla-store-steps__sw--7 { background: var(--lla-sw-7); }
.lla-store-steps__sw--8 { background: var(--lla-sw-8); }

.lla-store-steps:not([data-color]) .lla-store-steps__sw--1::after,
.lla-store-steps[data-color] .lla-store-steps__sw--4::after { opacity: 1; }

.lla-store-steps__other { display: flex; align-items: center; gap: 5px; margin-left: 2px; color: var(--lla-muted); font-size: 10.5px; }
.lla-store-steps__picker { width: 26px; height: 26px; border-radius: 4px; background: var(--lla-sw-1); }

.lla-store-steps__preview { display: block; overflow: hidden; border: 1px solid var(--lla-border); border-radius: 10px; }

/* Tinte: capa del color previo + capa del elegido que aparece (solo opacity) */
.lla-store-steps__tint { position: relative; display: block; overflow: hidden; background: var(--lla-sw-1); }
.lla-store-steps__tint > i { position: absolute; inset: 0; background: var(--lla-sw-4); opacity: 0; transition: opacity .4s var(--lla-ease); }
.lla-store-steps[data-color] .lla-store-steps__tint > i { opacity: 1; }
.lla-store-steps__tint--bar { height: 6px; }

.lla-store-steps__tint--btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  margin: 0 10px 10px;
  border-radius: 5px;
  color: var(--lla-on-swatch);
  font-size: 10.5px;
  font-weight: 600;
}

.lla-store-steps__tint--btn > span { position: relative; }

.lla-store-steps__preview-row { display: flex; align-items: center; gap: 10px; padding: 10px; }
.lla-store-steps__nblogo { display: flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; background: var(--lla-surface-2); color: var(--lla-muted); }
.lla-store-steps__preview-txt b { display: block; font-size: 12px; font-weight: 700; }
.lla-store-steps__preview-txt small { display: block; font-size: 10px; }

.lla-store-steps__nb-foot { display: flex; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--lla-border); }

.lla-store-steps__done-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lla-success-soft);
  color: var(--lla-success);
  font-size: 24px;
}

.lla-store-steps__done-title { margin-top: 10px; font-size: 17px; font-weight: 800; }
.lla-store-steps__done-help { display: block; margin: 4px 0 14px; font-size: 11px; }

.lla-store-steps__linkbox {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 5px 5px 5px 11px;
  border: 1px solid var(--lla-border);
  border-radius: 10px;
  font-size: 11.5px;
  text-align: left;
}

.lla-store-steps__linkbox > .bi { color: var(--lla-panel-text); }
.lla-store-steps__linkbox b { flex: 1; min-width: 0; overflow: hidden; color: var(--lla-panel-text); font-weight: 600; text-overflow: ellipsis; }
.lla-store-steps__copy { display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 5px; color: var(--lla-panel-text); font-size: 10.5px; white-space: nowrap; }
.lla-store-steps__bprimary--block { width: 100%; margin-top: 10px; }

/* ---------- 2. Nuevo producto ---------- */
.lla-store-steps__pe-scroll { padding: 14px 16px; transition: transform .6s var(--lla-ease); will-change: transform; }
.lla-store-steps[data-pscroll] .lla-store-steps__pe-scroll { transform: translateY(-24px); }

.lla-store-steps__pe-head { display: flex; align-items: center; gap: 10px; }
.lla-store-steps__pe-back { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--lla-border-2); border-radius: 6px; color: var(--lla-muted); }
.lla-store-steps__pe-title { font-size: 16px; font-weight: 700; }

.lla-store-steps__pe-ai {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid var(--lla-panel);
  border-radius: 5px;
  color: var(--lla-panel-text);
  font-size: 10.5px;
  white-space: nowrap;
}

.lla-store-steps__tabs {
  display: flex;
  gap: 2px;
  margin: 12px 0 12px;
  border-bottom: 1px solid var(--lla-border);
  font-size: 10.5px;
  white-space: nowrap;
}

.lla-store-steps__tabs span { padding: 6px 9px; color: var(--lla-muted); }
.lla-store-steps__tabs .is-active { margin-bottom: -1px; border: 1px solid var(--lla-border); border-bottom-color: var(--lla-bg); border-radius: 6px 6px 0 0; color: var(--lla-text); font-weight: 600; }
.lla-store-steps__tabs .bi, .lla-store-steps__gem { color: var(--lla-gem); font-size: 9px; }

.lla-store-steps__pe-general { display: flex; gap: 14px; }
.lla-store-steps__pe-image { flex: none; width: 150px; }

.lla-store-steps__drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 130px;
  border: 2px dashed var(--lla-border-2);
  border-radius: 8px;
  color: var(--lla-muted);
  text-align: center;
}

.lla-store-steps__drop span { font-size: 26px; line-height: 1; opacity: .6; }
.lla-store-steps__drop small { padding: 0 8px; font-size: 10px; }

.lla-store-steps__pe-identity { flex: 1; min-width: 0; }
.lla-store-steps__pe-identity > .lla-store-steps__label:first-child { margin-top: 0; }
.lla-store-steps__pe-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lla-store-steps__pe-prices .lla-store-steps__label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.lla-store-steps__switch { display: flex; align-items: center; gap: 6px; margin-top: 7px; color: var(--lla-text-2); font-size: 10px; }
.lla-store-steps__switch i { position: relative; width: 24px; height: 13px; border: 1px solid var(--lla-border-2); border-radius: 7px; }
.lla-store-steps__switch i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--lla-border-2); }

.lla-store-steps__editor { display: block; height: 70px; overflow: hidden; border: 1px solid var(--lla-border-2); border-radius: 6px; }
.lla-store-steps__editor i { display: block; height: 24px; border-bottom: 1px solid var(--lla-border); background: var(--lla-surface); }

.lla-store-steps__pe-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.lla-store-steps__bprimary--save { display: inline-grid; }
.lla-store-steps__save-a, .lla-store-steps__save-b { grid-area: 1 / 1; text-align: center; transition: opacity .25s var(--lla-ease); }
.lla-store-steps__save-b { opacity: 0; }
.lla-store-steps[data-saving] .lla-store-steps__save-a { opacity: 0; }
.lla-store-steps[data-saving] .lla-store-steps__save-b { opacity: 1; }

.lla-store-steps__backdrop { position: absolute; inset: 0; z-index: 3; background: var(--lla-backdrop); opacity: 0; transition: opacity .3s var(--lla-ease); }

.lla-store-steps__modal {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 250px;
  margin: -90px 0 0 -125px;
  padding: 20px 18px 16px;
  border-radius: 10px;
  background: var(--lla-bg);
  box-shadow: var(--lla-shadow);
  font-size: 11px;
  text-align: center;
  opacity: 0;
  transform: scale(.94);
  transition: opacity .3s var(--lla-ease), transform .35s var(--lla-ease);
}

.lla-store-steps[data-saved] .lla-store-steps__backdrop { opacity: 1; }
.lla-store-steps[data-saved] .lla-store-steps__modal { opacity: 1; transform: none; }

.lla-store-steps__modal-ic { color: var(--lla-success); font-size: 38px; line-height: 1; }
.lla-store-steps__modal-title { margin: 10px 0 4px; font-size: 15px; font-weight: 700; }

/* ---------- 3. Tienda publicada ---------- */
.lla-store-steps__menu { display: flex; align-items: center; gap: 2px; height: 48px; padding: 0 10px 0 16px; border-bottom: 1px solid var(--lla-border); }
.lla-store-steps__logo { flex: 1; font-size: 15px; font-weight: 800; }
.lla-store-steps__icon { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; font-size: 15px; }

.lla-store-steps__ptitle { margin: 16px 0 12px; font-size: 17px; font-weight: 800; text-align: center; }
.lla-store-steps__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 420px; margin: 0 auto; padding: 0 16px; }

.lla-store-steps__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--lla-border);
  border-radius: 8px;
  background: var(--lla-bg);
  box-shadow: var(--lla-shadow-sm);
  text-align: center;
  transition: opacity .45s var(--lla-ease), transform .55s var(--lla-ease);
}

.lla-store-steps[data-prepop] .lla-store-steps__card { opacity: 0; transform: translateY(12px) scale(.94); }

.lla-store-steps__img { position: relative; display: flex; align-items: center; justify-content: center; height: 110px; background: var(--lla-surface); color: var(--lla-muted); font-size: 26px; }
.lla-store-steps__img > .bi { opacity: .45; }
/* Foto del producto encima del ícono bi-image (que queda como respaldo). */
.lla-store-steps__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lla-store-steps__fav { position: absolute; top: 6px; right: 6px; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lla-fav-bg); box-shadow: var(--lla-shadow-sm); font-size: 12px; }
.lla-store-steps__card-body { padding: 10px 10px 0; }
.lla-store-steps__card-title { display: block; font-size: 12px; font-weight: 700; }
.lla-store-steps__card-price { display: block; margin-top: 3px; font-size: 14.5px; font-weight: 700; }
.lla-store-steps__card-foot { padding: 10px; }

.lla-store-steps__sbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
  border-radius: 999px;
  background: var(--lla-store);
  color: var(--lla-on-store);
  font-size: 11px;
  font-weight: 600;
}

/* ---------- Puntero ---------- */
.lla-store-steps__cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 22px;
  height: 22px;
  pointer-events: none;
  opacity: 0;
  transform: translate(470px, 430px);
  transition: transform .6s var(--lla-ease), opacity .3s var(--lla-ease);
  will-change: transform, opacity;
}

.lla-store-steps[data-cursor] .lla-store-steps__cursor { opacity: 1; }

.lla-store-steps__cursor svg {
  position: relative;
  display: block;
  width: 22px;
  height: 22px;
  fill: var(--lla-cursor-fill);
  stroke: var(--lla-cursor-edge);
  stroke-width: 1.4;
  stroke-linejoin: round;
}

.lla-store-steps__cursor-ring { position: absolute; left: -10px; top: -12px; width: 28px; height: 28px; border: 2px solid var(--lla-cursor-ring); border-radius: 50%; opacity: 0; }
.lla-store-steps__cursor.is-tap svg { animation: lla-ss-press .3s var(--lla-ease); }
.lla-store-steps__cursor.is-tap .lla-store-steps__cursor-ring { animation: lla-ss-ripple .5s var(--lla-ease); }

@keyframes lla-ss-press { 50% { transform: scale(.85); } }
@keyframes lla-ss-ripple {
  0% { opacity: .9; transform: scale(.4); }
  100% { opacity: 0; transform: scale(1.4); }
}

/* ---------- Móvil ---------- */
@container (max-width: 479px) {
  .lla .lla-store-steps__stage { --lla-w: 400; --lla-h: 540; }
  .lla-store-steps__canvas { overflow: hidden; }
  .lla-store-steps__glow--b { left: 0; }
  .lla-store-steps__chips { left: 6px; right: 6px; gap: 4px; }
  .lla-store-steps__chip { flex: 0 1 auto; font-size: 9.5px; }
  .lla-store-steps__chip:not(:first-child) { max-width: 128px; }
  .lla-store-steps__win { left: 8px; width: 384px; height: 494px; }
  .lla-store-steps__nb { width: 356px; height: 380px; }
  .lla-store-steps__url { flex-basis: 270px; }
  .lla-store-steps__pe-general { flex-direction: column; gap: 10px; }
  .lla-store-steps__pe-image { display: flex; align-items: center; gap: 10px; width: auto; }
  .lla-store-steps__pe-image .lla-store-steps__label { width: 90px; }
  .lla-store-steps__drop { flex: 1; height: 70px; }
  .lla-store-steps__pe-ai { display: none; }
  .lla-store-steps[data-pscroll] .lla-store-steps__pe-scroll { transform: translateY(-24px); }
  .lla-store-steps__img { height: 90px; }
}
