/* ═══════════ BOOM STORE · Panel ═══════════ */
:root {
  --pink: #F2056F;
  --pink-600: #D4035F;
  --pink-400: #FF4F98;
  --pink-100: #FFE1EE;
  --pink-50: #FFF2F7;
  --ink: #111014;
  --ink-2: #1D1B21;
  --ink-3: #2A2730;
  --bg: #F6F2F4;
  --card: #FFFFFF;
  --text: #17151A;
  --muted: #7C7480;
  --line: #EEE6EA;
  --ok: #12A150;
  --ok-bg: #E7F8EE;
  --warn: #E08A00;
  --warn-bg: #FFF4DE;
  --bad: #E5384B;
  --bad-bg: #FFE8EB;
  --gold: #D8C6AC;
  --r-xl: 34px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(17, 16, 20, .05);
  --shadow: 0 12px 34px -12px rgba(17, 16, 20, .16), 0 2px 6px rgba(17, 16, 20, .04);
  --shadow-pink: 0 14px 30px -10px rgba(242, 5, 111, .55);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Sacramento', 'Mr Dafoe', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid rgba(242, 5, 111, .45); outline-offset: 2px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex-shrink: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.script { font-family: var(--script); font-weight: 400; line-height: .8; letter-spacing: .3px; -webkit-text-stroke: .045em currentColor; }

/* ─────────── Botones ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap; position: relative;
}
.btn .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--pink { background: linear-gradient(135deg, #FF2A86, var(--pink) 55%, var(--pink-600)); color: #fff; box-shadow: var(--shadow-pink); }
.btn--pink:hover { box-shadow: 0 18px 36px -10px rgba(242, 5, 111, .7); transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { background: #fff; border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: #d9cdd3; }
.btn--danger { background: var(--bad); color: #fff; }
.btn--ghost-danger { color: var(--bad); border: 1.5px solid #f6cbd1; background: #fff; }
.btn--ghost-danger:hover { background: var(--bad-bg); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn--xl { height: 58px; width: 100%; font-size: 17px; border-radius: 18px; }
.btn[disabled] { opacity: .75; pointer-events: none; }
.btn.is-loading > * { opacity: 0; }
.btn.is-loading::after {
  content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; position: relative;
  transition: background .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: rgba(17, 16, 20, .06); }
.icon-btn--soft { background: #fff; box-shadow: var(--shadow-sm); border-radius: 50%; }
.icon-btn--danger { color: var(--bad); }
.icon-btn .dot { position: absolute; top: 9px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 2px #fff; }
.icon-btn .x { position: absolute; font-style: normal; font-weight: 700; color: var(--bad); right: 6px; top: 2px; }

.link { color: var(--pink); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link .ic { width: 16px; height: 16px; }

.pill { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #F2EDF0; color: var(--ink-3); }
.pill--pink { background: var(--pink-100); color: var(--pink-600); }

.chip {
  height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: #fff; border: 1.5px solid var(--line); transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--pink-400); color: var(--pink-600); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.swatch { --c: #111; display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .12); flex-shrink: 0; }
.swatch.is-out { position: relative; opacity: .45; }
.swatch.is-out::after { content: ''; position: absolute; left: -2px; right: -2px; top: 50%; height: 1.5px; background: var(--bad); transform: rotate(-45deg); }

/* ─────────── Marca ─────────── */
.swoosh { display: block; height: 14px; }
.cobrand { display: inline-flex; align-items: center; gap: 12px; }
.cobrand img { height: 34px; width: auto; }
.cobrand .cobrand__mcl { height: 22px; }
.cobrand__x { font-weight: 300; font-size: 22px; color: var(--pink); line-height: 1; }
.cobrand--lg img { height: 46px; } .cobrand--lg .cobrand__mcl { height: 30px; } .cobrand--lg .cobrand__x { font-size: 28px; }
.cobrand--sm img { height: 30px; } .cobrand--sm .cobrand__mcl { height: 18px; } .cobrand--sm .cobrand__x { font-size: 18px; }
.cobrand--xs { gap: 8px; } .cobrand--xs img { height: 22px; } .cobrand--xs .cobrand__mcl { height: 13px; } .cobrand--xs .cobrand__x { font-size: 15px; }
.mcl-sign { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.mcl-sign b { color: var(--pink); font-size: 14px; }
.mcl-sign img { height: 15px; width: auto; }
.mcl-sign.is-dark { color: rgba(255, 255, 255, .55); }

.hanger { position: absolute; left: 50%; top: -18px; width: 26px; height: 22px; transform: translateX(-50%); border: 2.5px solid #9A9AA3; border-bottom: 0; border-radius: 14px 14px 0 0; }
.hanger::before { content: ''; position: absolute; left: 50%; top: -12px; width: 8px; height: 12px; border: 2.5px solid #9A9AA3; border-bottom: 0; border-right: 0; border-radius: 8px 0 0 0; }

/* ═════════════ LOGIN ═════════════
   Diseñado sobre la referencia (1536 × 1024). Todo se escala con --u para que
   entre completo en cualquier pantalla, sin scroll. */
.lg {
  --u: min(calc(100vw / 1536), calc(100dvh / 1024));
  --pk: #F2056F;
  position: fixed; inset: 0; overflow: hidden; background: #F4F2F3;
  font-family: var(--font);
}
.lg.leaving { animation: lgLeave .45s var(--ease) forwards; }
@keyframes lgLeave { to { opacity: 0; transform: scale(.985); filter: blur(4px); } }

/* Panel negro (pega con los bordes izquierdo, superior e inferior) */
.lg__panel {
  position: absolute; left: 0; top: 0; bottom: 0; width: calc(50vw + 17 * var(--u));
  background: #0A0A0C; border-radius: 0 calc(52 * var(--u)) calc(52 * var(--u)) 0; overflow: hidden;
  animation: lgPanel 1s var(--ease) both;
}
@keyframes lgPanel { from { clip-path: inset(0 100% 0 0 round 0 52px 52px 0); } to { clip-path: inset(0 0 0 0 round 0 52px 52px 0); } }
.lg__photo {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 63%; object-fit: cover; object-position: 12% 92%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 34%); mask-image: linear-gradient(to bottom, transparent 0%, #000 34%);
  filter: contrast(1.06) saturate(1.05);
  animation: lgKen 2.2s var(--ease) both, lgDrift 18s ease-in-out 2.2s infinite alternate;
}
@keyframes lgKen { from { transform: scale(1.12); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes lgDrift { to { transform: scale(1.045) translateX(-1%); } }
.lg__shade { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 30% 100%, rgba(242, 5, 111, .22), transparent 70%), linear-gradient(to right, rgba(10, 10, 12, .25), transparent 40%); }

/* Formas rosadas */
.lb { position: absolute; z-index: 1; pointer-events: none; overflow: visible; }
.lb__fill { fill: var(--pk); }
.lb__line { fill: none; stroke: #0A0A0C; stroke-width: 2.2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.lb--tl { left: 0; top: 0; width: calc(300 * var(--u)); height: calc(240 * var(--u)); transform-origin: 0 0; animation: lgBlob 1.1s var(--ease) .25s both, lgFloatA 9s ease-in-out 1.4s infinite; }
.lb--bl { left: 0; bottom: 0; width: calc(400 * var(--u)); height: calc(180 * var(--u)); transform-origin: 0 100%; animation: lgBlob 1.1s var(--ease) .4s both, lgFloatB 10s ease-in-out 1.5s infinite; }
.lb--tr { right: 0; top: 0; width: calc(330 * var(--u)); height: calc(300 * var(--u)); transform-origin: 100% 0; animation: lgBlob 1.1s var(--ease) .3s both, lgFloatB 11s ease-in-out 1.4s infinite; }
.lb--br { right: 0; bottom: 0; width: calc(260 * var(--u)); height: calc(300 * var(--u)); transform-origin: 100% 100%; animation: lgBlob 1.1s var(--ease) .45s both, lgFloatA 10s ease-in-out 1.6s infinite; }
@keyframes lgBlob { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes lgFloatA { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035) rotate(.6deg); } }
@keyframes lgFloatB { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03) rotate(-.6deg); } }

/* Escenario de 1536 × 1024 centrado */
.lg__stage { position: absolute; left: 50%; top: 50%; width: calc(1536 * var(--u)); height: calc(1024 * var(--u)); transform: translate(-50%, -50%); z-index: 2; }

/* Marca (lado negro) */
.lg__brand { position: absolute; left: 0; top: 0; width: calc(785 * var(--u)); height: 100%; color: #fff; }
.lg__logo { position: absolute; left: calc(252 * var(--u)); top: calc(70 * var(--u)); width: calc(336 * var(--u)); animation: lgDown .9s var(--ease) .35s both; }
.lg__logo img { width: 100%; filter: drop-shadow(0 calc(10 * var(--u)) calc(24 * var(--u)) rgba(0, 0, 0, .55)); }
.lg__spark { position: absolute; width: calc(64 * var(--u)); right: calc(-74 * var(--u)); top: calc(30 * var(--u)); }
.lg__spark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: lgDraw .5s var(--ease) both; }
.lg__spark path:nth-child(1) { animation-delay: 1s; } .lg__spark path:nth-child(2) { animation-delay: 1.1s; } .lg__spark path:nth-child(3) { animation-delay: 1.2s; }
@keyframes lgDraw { to { stroke-dashoffset: 0; } }
@keyframes lgDown { from { opacity: 0; transform: translateY(calc(-24 * var(--u))); } }

.lg__script {
  position: absolute; left: calc(186 * var(--u)); top: calc(322 * var(--u)); margin: 0;
  font-family: 'Sacramento', var(--script); font-size: calc(108 * var(--u)); line-height: .74; color: #fff;
  transform: rotate(-6deg); transform-origin: left center; white-space: nowrap;
  -webkit-text-stroke: calc(1.6 * var(--u)) #fff; text-shadow: 0 calc(6 * var(--u)) calc(26 * var(--u)) rgba(0, 0, 0, .5);
  animation: lgWrite 1.4s cubic-bezier(.65, 0, .35, 1) .6s both;
}
.lg__script span { display: inline-block; padding-left: calc(62 * var(--u)); }
@keyframes lgWrite { from { clip-path: inset(-40% 100% -40% -5%); } 99% { clip-path: inset(-40% -40% -40% -5%); } to { clip-path: none; } }
.lg__heart { position: absolute; width: calc(52 * var(--u)); right: calc(-52 * var(--u)); top: calc(76 * var(--u)); fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transform: rotate(8deg); animation: lgBeat 1.6s ease-in-out 2.2s infinite; }
@keyframes lgBeat { 0%, 100% { transform: rotate(8deg) scale(1); } 15% { transform: rotate(8deg) scale(1.15); } 30% { transform: rotate(8deg) scale(1); } }
.lg__swoosh { position: absolute; left: calc(250 * var(--u)); top: calc(488 * var(--u)); width: calc(322 * var(--u)); height: calc(40 * var(--u)); overflow: visible; }
.lg__swoosh path { fill: none; stroke: var(--pk); stroke-width: calc(5 * var(--u)); stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: lgDraw .9s var(--ease) 1.7s forwards; }
.lg__tag { position: absolute; left: 0; width: calc(855 * var(--u)); top: calc(540 * var(--u)); margin: 0; text-align: center; font-size: calc(19.5 * var(--u)); letter-spacing: calc(5.6 * var(--u)); font-weight: 500; color: #fff; animation: lgFade 1s var(--ease) 1.9s both; }
.lg__tag i { font-style: normal; color: var(--pk); margin: 0 calc(14 * var(--u)); }
.lg__tag b { color: var(--pk); font-weight: 600; }
@keyframes lgFade { from { opacity: 0; letter-spacing: calc(12 * var(--u)); } }

/* Tarjeta blanca */
.lg__card {
  position: absolute; left: calc(757 * var(--u)); top: calc(70 * var(--u)); width: calc(714 * var(--u)); min-height: calc(872 * var(--u));
  background: #fff; border-radius: calc(40 * var(--u)); padding: calc(62 * var(--u)) calc(62 * var(--u)) calc(38 * var(--u));
  box-shadow: 0 calc(40 * var(--u)) calc(90 * var(--u)) calc(-30 * var(--u)) rgba(17, 16, 20, .28), 0 calc(4 * var(--u)) calc(16 * var(--u)) rgba(17, 16, 20, .06);
  text-align: center; display: flex; flex-direction: column; align-items: center;
  animation: lgCard 1s var(--ease) .2s both;
}
@keyframes lgCard { from { opacity: 0; transform: translateY(calc(40 * var(--u))) scale(.98); } }
.lg__card > * { animation: lgUp .7s var(--ease) both; }
.lg__card > :nth-child(2) { animation-delay: .45s; } .lg__card > :nth-child(3) { animation-delay: .55s; }
.lg__card > :nth-child(4) { animation-delay: .6s; } .lg__card > :nth-child(5) { animation-delay: .65s; }
.lg__card > :nth-child(6) { animation-delay: .8s; } .lg__card > :nth-child(7) { animation-delay: .85s; } .lg__card > :nth-child(8) { animation-delay: .9s; }
@keyframes lgUp { from { opacity: 0; transform: translateY(calc(16 * var(--u))); } }
.lg__mlogo { display: none; }
.lg__title { margin: 0; font-size: calc(60 * var(--u)); line-height: 1.04; font-weight: 700; letter-spacing: calc(-1.4 * var(--u)); color: #0E0D10; }
.lg__title span { color: var(--pk); }
.lg__tswoosh { width: calc(262 * var(--u)); height: calc(20 * var(--u)); margin-top: calc(4 * var(--u)); margin-left: calc(26 * var(--u)); overflow: visible; }
.lg__tswoosh path { fill: none; stroke: var(--pk); stroke-width: calc(4.5 * var(--u)); stroke-linecap: round; stroke-dasharray: 280; stroke-dashoffset: 280; animation: lgDraw .8s var(--ease) 1s forwards; }
.lg__sub { margin: calc(28 * var(--u)) 0 0; font-size: calc(22 * var(--u)); color: #2E2B31; }

.lg__form { width: 100%; margin-top: calc(32 * var(--u)); display: grid; gap: calc(22 * var(--u)); text-align: left; }
.lg__form.shake { animation: shake .45s; }
.lg__field {
  display: flex; align-items: center; gap: calc(22 * var(--u)); height: calc(77 * var(--u)); padding: 0 calc(26 * var(--u));
  border: max(1.5px, calc(1.6 * var(--u))) solid #DEDADC; border-radius: calc(18 * var(--u)); background: #fff;
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.lg__field:hover { border-color: #CFC8CC; }
.lg__field:focus-within { border-color: var(--pk); box-shadow: 0 0 0 calc(5 * var(--u)) rgba(242, 5, 111, .1); transform: translateY(-1px); }
.lg__field > .ic { width: calc(30 * var(--u)); height: calc(30 * var(--u)); color: #0E0D10; stroke-width: 1.8; }
.lg__field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: calc(22 * var(--u)); color: #17151A; }
.lg__field input::placeholder { color: #8E8890; }
.lg__eye { width: calc(44 * var(--u)); height: calc(44 * var(--u)); display: grid; place-items: center; border-radius: calc(10 * var(--u)); color: #0E0D10; transition: background .2s; }
.lg__eye:hover { background: #F4EFF2; }
.lg__eye .ic { width: calc(30 * var(--u)); height: calc(30 * var(--u)); }
.lg__row { display: flex; align-items: center; justify-content: space-between; margin-top: calc(8 * var(--u)); font-size: calc(20 * var(--u)); }
.lg__row .check { font-size: calc(20 * var(--u)); gap: calc(16 * var(--u)); }
.lg__row .check__box { width: calc(30 * var(--u)); height: calc(30 * var(--u)); border-radius: calc(7 * var(--u)); }
.lg__row .check__box .ic { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.lg__link { color: var(--pk); font-size: inherit; font-weight: 400; transition: opacity .2s; }
.lg__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.lg__error { margin: 0; padding: calc(12 * var(--u)) calc(18 * var(--u)); border-radius: calc(14 * var(--u)); background: var(--bad-bg); color: #B4192C; font-size: calc(18 * var(--u)); font-weight: 500; animation: lgUp .3s var(--ease); }
.lg__error[data-kind="info"] { background: var(--pink-50); color: var(--pink-600); }
.lg__btn {
  position: relative; overflow: hidden; height: calc(72 * var(--u)); margin-top: calc(6 * var(--u)); border-radius: calc(16 * var(--u));
  background: var(--pk); color: #fff; font-size: calc(23 * var(--u)); font-weight: 500;
  display: flex; align-items: center; justify-content: center; gap: calc(14 * var(--u));
  box-shadow: 0 calc(14 * var(--u)) calc(30 * var(--u)) calc(-12 * var(--u)) rgba(242, 5, 111, .7);
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.lg__btn .ic { width: calc(28 * var(--u)); height: calc(28 * var(--u)); transition: transform .3s var(--ease); }
.lg__btn::before { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); }
.lg__btn:hover { background: #E00466; transform: translateY(-2px); box-shadow: 0 calc(20 * var(--u)) calc(36 * var(--u)) calc(-12 * var(--u)) rgba(242, 5, 111, .8); }
.lg__btn:hover::before { animation: lgShine .9s var(--ease); }
.lg__btn:hover .ic { transform: translateX(calc(5 * var(--u))); }
.lg__btn:active { transform: scale(.985); }
@keyframes lgShine { to { left: 130%; } }
.lg__btn.is-loading > * { opacity: 0; }
.lg__btn.is-loading::after { content: ''; position: absolute; width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-radius: 50%; border: 3px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.lg__btn[disabled] { pointer-events: none; }

.lg__or { width: 92%; display: flex; align-items: center; gap: calc(18 * var(--u)); margin-top: calc(24 * var(--u)); color: #5F5A63; font-size: calc(19 * var(--u)); }
.lg__or::before, .lg__or::after { content: ''; flex: 1; height: 1px; background: #CFCBCE; }
.lg__partner {
  width: 100%; height: calc(66 * var(--u)); margin-top: calc(20 * var(--u)); border: max(1.5px, calc(1.6 * var(--u))) solid #C9C5C8; border-radius: calc(18 * var(--u));
  display: flex; align-items: center; justify-content: center; gap: calc(20 * var(--u)); transition: border-color .25s, box-shadow .25s;
}
.lg__partner:hover { border-color: var(--pk); box-shadow: 0 calc(10 * var(--u)) calc(24 * var(--u)) calc(-14 * var(--u)) rgba(242, 5, 111, .45); }
.lg__partner img { height: calc(42 * var(--u)); width: auto; }
.lg__partner .lg__mcl { height: calc(30 * var(--u)); }
.lg__partner b { color: var(--pk); font-size: calc(26 * var(--u)); font-weight: 300; }
.lg__foot { margin: calc(26 * var(--u)) 0 0; font-size: calc(20 * var(--u)); color: #2E2B31; }

/* Celular / pantallas verticales */
@media (max-aspect-ratio: 4/5), (max-width: 820px) {
  .lg { --u: 1px; overflow-y: auto; }
  .lg__panel { width: 100%; height: 34dvh; bottom: auto; border-radius: 0 0 36px 36px; }
  @keyframes lgPanel { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
  .lg__photo { height: 100%; object-position: 30% 38%; -webkit-mask-image: none; mask-image: none; opacity: .5 !important; }
  .lg__shade { background: linear-gradient(180deg, rgba(10, 10, 12, .55), rgba(10, 10, 12, .25) 60%, rgba(242, 5, 111, .25)); }
  .lb--tl { width: 150px; height: 120px; } .lb--bl, .lb--tr { display: none; } .lb--br { width: 120px; height: 140px; }
  .lg__stage { position: relative; left: 0; top: 0; width: 100%; height: auto; min-height: 100dvh; transform: none; padding: 0 16px 10px; display: flex; flex-direction: column; }
  .lg__brand { position: relative; width: 100%; height: calc(34dvh - 22px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
  .lg__logo { position: relative; left: 0; top: 0; width: min(50vw, 210px); }
  .lg__spark { width: 34px; right: -40px; top: 10px; }
  .lg__script, .lg__swoosh, .lg__heart { display: none; }
  .lg__tag { position: relative; top: 0; width: auto; font-size: 11px; letter-spacing: 3px; margin-top: 8px; }
  .lg__tag i { margin: 0 6px; }
  .lg__card { position: relative; left: 0; top: 0; width: 100%; min-height: 0; margin-top: -20px; padding: 24px 20px 18px; border-radius: 28px; }
  .lg__title { font-size: 28px; letter-spacing: -.8px; }
  .lg__tswoosh { width: 150px; height: 14px; margin-left: 14px; }
  .lg__tswoosh path { stroke-width: 4; }
  .lg__sub { font-size: 14.5px; margin-top: 10px; }
  .lg__form { margin-top: 16px; gap: 12px; }
  .lg__field { height: 52px; padding: 0 16px; gap: 14px; border-radius: 16px; border-width: 1.5px; }
  .lg__field > .ic, .lg__eye .ic { width: 22px; height: 22px; }
  .lg__eye { width: 36px; height: 36px; }
  .lg__field input { font-size: 16px; }
  .lg__row, .lg__row .check { font-size: 14px; gap: 10px; }
  .lg__row .check__box { width: 22px; height: 22px; border-radius: 6px; }
  .lg__row .check__box .ic { width: 15px; height: 15px; }
  .lg__btn { height: 52px; font-size: 17px; border-radius: 16px; gap: 10px; }
  .lg__btn .ic { width: 20px; height: 20px; }
  .lg__error { font-size: 14px; padding: 10px 14px; }
  .lg__or { margin-top: 14px; font-size: 13px; gap: 12px; }
  .lg__partner { height: 48px; margin-top: 12px; border-radius: 16px; gap: 12px; border-width: 1.5px; }
  .lg__partner img { height: 30px; } .lg__partner .lg__mcl { height: 21px; } .lg__partner b { font-size: 20px; }
  .lg__foot { margin-top: 12px; font-size: 13.5px; }
}


/* Casilla */
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { width: 24px; height: 24px; border-radius: 7px; border: 1.8px solid #D9D2D6; display: grid; place-items: center; transition: all .2s; flex-shrink: 0; }
.check__box .ic { width: 16px; height: 16px; color: #fff; stroke-width: 3; transform: scale(0); transition: transform .25s var(--ease); }
.check input:checked + .check__box { background: var(--pink); border-color: var(--pink); }
.check input:checked + .check__box .ic { transform: scale(1); }
.check input:focus-visible + .check__box { outline: 3px solid rgba(242, 5, 111, .4); outline-offset: 2px; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }

/* ═════════════ SHELL ═════════════ */
.shell { display: grid; grid-template-columns: 276px 1fr; min-height: 100vh; gap: 0; }
.shell.entering .sidebar { animation: slideIn .7s var(--ease); }
.shell.entering .main { animation: fadeUp .7s var(--ease) .1s both; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-30px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

.sidebar {
  position: sticky; top: 16px; height: calc(100vh - 32px); margin: 16px 0 16px 16px;
  background: linear-gradient(175deg, #19181D 0%, #0F0E12 70%); color: #fff; border-radius: var(--r-xl);
  display: flex; flex-direction: column; padding: 26px 18px 18px; overflow: hidden; z-index: 30;
  box-shadow: 0 24px 50px -24px rgba(17, 16, 20, .7);
}
.sidebar__deco { position: absolute; inset: auto -40% -6% -30%; height: 46%; pointer-events: none; z-index: 0;
  background: radial-gradient(55% 55% at 70% 70%, rgba(242, 5, 111, .55), rgba(242, 5, 111, .18) 45%, transparent 72%), radial-gradient(35% 40% at 15% 95%, rgba(255, 79, 152, .45), transparent 70%);
  filter: blur(6px); animation: sideGlow 9s ease-in-out infinite alternate; }
@keyframes sideGlow { from { transform: translate(0, 0) scale(1); opacity: .85; } to { transform: translate(-6%, -4%) scale(1.08); opacity: 1; } }
.sidebar::before { content: ''; position: absolute; width: 120px; height: 120px; border-radius: 50%; left: -64px; top: -64px; z-index: 0;
  background: radial-gradient(circle at 60% 60%, #FF3A8D, var(--pink) 55%, #B8004F); box-shadow: 0 0 40px rgba(242, 5, 111, .45); }
.sidebar::after { content: ''; position: absolute; width: 90px; height: 90px; border-radius: 50%; left: -46px; bottom: -40px; z-index: 0;
  background: radial-gradient(circle at 60% 40%, #FF3A8D, var(--pink) 60%, #B8004F); box-shadow: 0 0 40px rgba(242, 5, 111, .5); }
.sidebar > * { position: relative; z-index: 1; }
.sidebar > .sidebar__deco { position: absolute; z-index: 0; }
.sidebar__brand { position: relative; text-align: center; padding: 0 10px 8px; }
.sidebar__logo { width: 150px; margin: 0 auto; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .5)); }
.sidebar__x { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; }
.sidebar__x span { color: var(--pink); font-size: 18px; font-weight: 300; }
.sidebar__x img { height: 22px; opacity: .95; }

.nav { position: relative; display: flex; flex-direction: column; gap: 3px; margin-top: 18px; overflow-y: auto; scrollbar-width: none; flex: 1 1 auto; min-height: 0; }
.nav__item {
  display: flex; align-items: center; gap: 13px; height: 46px; padding: 0 14px 0 16px; white-space: nowrap; flex-shrink: 0; border-radius: 16px;
  color: rgba(255, 255, 255, .82); font-weight: 500; font-size: 15px; text-align: left; width: 100%;
  transition: background .25s, color .2s, transform .25s var(--ease);
}
.nav__item .ic { width: 21px; height: 21px; }
.nav__item:hover { background: rgba(255, 255, 255, .07); color: #fff; transform: translateX(3px); }
.nav__item.is-active { background: linear-gradient(135deg, #FF2A86, var(--pink)); color: #fff; font-weight: 600; box-shadow: var(--shadow-pink); transform: none; }
.nav__item em { margin-left: auto; font-style: normal; font-size: 8.5px; font-weight: 700; letter-spacing: .6px; padding: 2px 6px; border-radius: 99px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); text-transform: uppercase; }
.nav__item.is-soon { color: rgba(255, 255, 255, .55); }
.nav__item.is-active em { background: rgba(255, 255, 255, .25); color: #fff; }
.nav__sep { height: 1px; background: rgba(255, 255, 255, .08); margin: 10px 8px; }

.promo {
  position: relative; flex-shrink: 0; margin-top: 12px; padding: 16px 16px 16px; border-radius: 24px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.promo__tag { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--pink); border: 2px solid var(--pink); transform: rotate(-12deg); margin-bottom: 8px; }
.promo .script { font-size: 36px; color: #fff; margin-bottom: 14px; padding-right: 40px; -webkit-text-stroke: 1px #fff; }
.promo .script span { color: var(--pink); font-family: var(--font); font-size: .6em; }
.sidebar__foot { position: relative; padding: 14px 6px 0; display: flex; justify-content: center; }

.scrim { display: none; }

.main { min-width: 0; padding: 22px clamp(16px, 2.4vw, 36px) 16px; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.topbar__menu { display: none; }
.topbar__hello h1 { font-size: 26px; font-weight: 700; letter-spacing: -.5px; }
.topbar__hello h1 span { color: var(--pink); }
.topbar__hello .wave { display: inline-block; animation: wave 2.4s ease-in-out 1s 2; transform-origin: 70% 70%; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(14deg); } 20%, 40% { transform: rotate(-8deg); } }
.topbar__hello p { font-size: 13px; color: #5D5762; }
.topbar__hello .cap { color: var(--muted); }
.me { position: relative; margin-top: 12px; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: #fff; text-align: left; transition: background .2s; flex-shrink: 0; }
.me:hover { background: rgba(255, 255, 255, .11); }
.me__av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); font-weight: 800; flex-shrink: 0; box-shadow: 0 0 0 2px var(--pink); }
.me__txt { flex: 1; min-width: 0; }
.me__txt b { display: block; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me__txt small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255, 255, 255, .65); }
.me__txt i { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); animation: lgBeat 2s ease-in-out infinite; }
.me > .ic { width: 18px; height: 18px; opacity: .6; }
.topbar__cobrand { margin-left: auto; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); }
.search {
  display: flex; align-items: center; gap: 10px; height: 48px; width: min(340px, 30vw); padding: 0 18px;
  border-radius: 999px; background: #fff; border: 1.5px solid #ECE4E8; transition: border-color .2s, box-shadow .2s;
}
.search.is-hidden { visibility: hidden; }
.search .ic { color: var(--muted); width: 19px; height: 19px; }
.search:focus-within { border-color: var(--pink); box-shadow: 0 0 0 5px rgba(242, 5, 111, .08); }
.search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: 14px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: conic-gradient(from 200deg, var(--pink), #FF7AB6, var(--ink), var(--pink)); padding: 2.5px;
  transition: transform .25s var(--ease);
}
.avatar span { width: 100%; height: 100%; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; letter-spacing: .5px; border: 2px solid #fff; }
.avatar:hover { transform: scale(1.06); }

.view { flex: 1; }
.view-in { animation: fadeUp .5s var(--ease); }
.page-foot { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 26px 0 6px; color: var(--muted); font-size: 12px; }

/* ═════════════ STOCK ═════════════ */
.stock-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; align-items: start; }
.stock-main { min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.stock-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 22px; }

.hero {
  position: relative; overflow: hidden; border-radius: 30px; min-height: 290px; color: #fff; background: #09090B;
  box-shadow: 0 26px 50px -26px rgba(17, 16, 20, .75); isolation: isolate;
}
.hero__photo {
  position: absolute; right: 0; top: 0; height: 100%; width: 72%; object-fit: cover; object-position: 62% 42%; z-index: -2;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%); mask-image: linear-gradient(to right, transparent 0%, #000 38%);
  animation: heroPhoto 1.6s var(--ease) both, lgDrift 20s ease-in-out 1.6s infinite alternate;
}
@keyframes heroPhoto { from { opacity: 0; transform: scale(1.08); } }
.hero__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 0% 100%, rgba(242, 5, 111, .25), transparent 70%), linear-gradient(90deg, #09090B 22%, rgba(9, 9, 11, .55) 55%, rgba(9, 9, 11, .1)); }
.hero__text { position: relative; padding: 42px 0 34px 44px; display: flex; flex-direction: column; align-items: flex-start; min-height: 290px; justify-content: center; }
.hero__title { font-size: clamp(56px, 5.2vw, 84px); transform: rotate(-5deg); transform-origin: left; white-space: nowrap; position: relative; animation: lgWrite 1.3s cubic-bezier(.65, 0, .35, 1) .2s both; }
.hero__title span { display: inline-block; padding-left: .5em; }
.hero__heart { position: absolute; width: .42em; right: -.48em; top: .62em; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; animation: lgBeat 1.6s ease-in-out 1.6s infinite; }
.hero__swoosh { width: 250px; height: 20px; margin: 2px 0 22px 48px; transform: rotate(-3deg); overflow: visible; }
.hero__swoosh path { fill: none; stroke: var(--pink); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: lgDraw .9s var(--ease) 1.2s forwards; }
.hero__sub { color: rgba(255, 255, 255, .75); }
.hero__btn { animation: lgUp .6s var(--ease) 1.4s both; }
.hero__lines { position: absolute; width: 58px; right: 7%; top: 26px; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kpi {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 150px;
  background: linear-gradient(160deg, #fff 55%, #FFF4F9); border-radius: 22px; padding: 16px 16px 44px;
  border: 1px solid #F3E8EE; box-shadow: 0 10px 26px -18px rgba(242, 5, 111, .45), var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: cardPop .6s var(--ease) both; animation-delay: calc(var(--i) * 80ms + .2s);
}
.kpi:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -18px rgba(242, 5, 111, .55), var(--shadow-sm); }
.kpi__ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #FFEAF3, #FFD2E4); color: var(--pink); }
.kpi__ic .ic { width: 23px; height: 23px; }
.kpi__txt { min-width: 0; width: 100%; position: relative; z-index: 1; }
.kpi__txt b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.8px; line-height: 1.05; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.kpi__txt small { display: block; color: #4B4550; font-size: 12.5px; font-weight: 500; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi__pill { position: absolute; top: 18px; right: 14px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #E3F8EC; color: #0E9F4C; white-space: nowrap; }
.kpi__pill.is-down { background: var(--bad-bg); color: var(--bad); }
.kpi__pill--info { background: var(--pink-50); color: var(--pink-600); }
.kpi__spark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 40px; overflow: visible; pointer-events: none; }
.kpi__line { fill: none; stroke: var(--pink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: lgDraw 1.3s var(--ease) forwards; animation-delay: calc(var(--i) * 80ms + .5s); }
.kpi__area { opacity: 0; animation: kArea .8s ease forwards; animation-delay: calc(var(--i) * 80ms + 1.1s); }
@keyframes kArea { to { opacity: 1; } }

/* Carrusel del banner */
.hero__photo { opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease; animation: none !important; }
.hero__photo.is-on { opacity: 1; transform: scale(1); }
.hero__corner { position: absolute; z-index: 0; pointer-events: none; background: linear-gradient(135deg, var(--pink), #FF5CA0); }
.hero__corner--tl { left: -52px; top: -52px; width: 110px; height: 110px; transform: rotate(45deg); }
.hero__corner--br { right: -55px; bottom: -55px; width: 110px; height: 110px; transform: rotate(45deg); }
.hero__nav { position: absolute; top: 18px; right: 18px; z-index: 3; display: flex; gap: 8px; }
.hero__arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(17, 16, 20, .55); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); transition: background .2s, transform .2s var(--ease); }
.hero__arrow:hover { background: var(--pink); transform: scale(1.08); }
.hero__arrow .ic { width: 18px; height: 18px; }
.hero__arrow:first-child .ic { transform: rotate(180deg); }
.hero__dots { position: absolute; left: 50%; bottom: 14px; z-index: 3; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .6); transition: width .3s var(--ease), background .3s; }
.hero__dots button.is-on { width: 22px; background: var(--pink); }
.hero__lines { right: 140px !important; top: 20px !important; }

.block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.block__head h2 { font-size: 20px; font-weight: 700; letter-spacing: -.3px; display: flex; align-items: center; gap: 10px; }
.bullet { width: 12px; height: 12px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px var(--pink-100); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }

.cats { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.cat {
  position: relative; flex: 0 0 auto; width: 112px; height: 116px; border-radius: 22px; background: #fff; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: var(--shadow-sm); border: 1px solid #F1EBEE; transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat__art { width: 52px; height: 52px; display: grid; place-items: center; }
.cat__art .garment { width: 52px; height: 52px; }
.cat__art .ic { width: 34px; height: 34px; }
.cat__name { font-size: 13px; font-weight: 600; }
.cat small { position: absolute; top: 9px; right: 11px; font-size: 11px; font-weight: 600; color: var(--muted); }
.cat.is-active { background: linear-gradient(150deg, #FF2A86, var(--pink) 60%, var(--pink-600)); color: #fff; box-shadow: var(--shadow-pink); border-color: transparent; }
.cat.is-active small { color: rgba(255, 255, 255, .85); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 18px; }
.card {
  background: #fff; border-radius: 26px; overflow: hidden; cursor: pointer; position: relative;
  box-shadow: var(--shadow-sm); border: 1px solid #F1EBEE; outline: 0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: cardPop .55s var(--ease) both; animation-delay: calc(var(--i) * 45ms);
}
@keyframes cardPop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.card:hover, .card:focus-visible { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:focus-visible { box-shadow: 0 0 0 3px rgba(242, 5, 111, .45), var(--shadow); }
.card__media { position: relative; aspect-ratio: 1 / .92; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 55%, color-mix(in srgb, var(--tint) 14%, #fff), #FAF7F8 75%); }
.card__art { width: 78%; height: 84%; display: grid; place-items: center; transition: transform .5s var(--ease); }
.card__art .garment { width: 100%; height: 100%; }
.card__art img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.card:hover .card__art { transform: scale(1.06) rotate(-1.5deg); }
.card__fav { position: absolute; z-index: 2; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-sm); }
.card__fav .ic { width: 17px; height: 17px; }
.card__fav.is-on { color: var(--pink); } .card__fav.is-on .ic { fill: var(--pink); }
.card__art:has(img) { width: 100%; height: 100%; padding: 10px; }
.card__art img { box-shadow: 0 10px 24px -14px rgba(0,0,0,.6); }
.card__body { padding: 12px 18px 18px; }
.card__dots { display: flex; gap: 6px; margin-bottom: 8px; }
.card h3 { font-size: 15.5px; font-weight: 600; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__cat { font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.card__foot b { font-size: 17px; font-weight: 700; letter-spacing: -.3px; }
.card__plus { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: #fff; box-shadow: 0 8px 18px -6px rgba(242, 5, 111, .7); transition: transform .3s var(--ease); }
.card__plus .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.card:hover .card__plus { transform: rotate(90deg) scale(1.08); }

.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; backdrop-filter: blur(6px); }
.badge--ok { background: rgba(231, 248, 238, .92); color: var(--ok); }
.badge--low { background: rgba(255, 244, 222, .95); color: #B86F00; }
.badge--out { background: rgba(255, 232, 235, .95); color: var(--bad); }

.side-card { background: #fff; border-radius: 26px; padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid #F1EBEE; }
.side-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.side-card__head h3 { font-size: 17px; font-weight: 700; }
.side-card__ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--pink-50); color: var(--pink); }
.side-card__ic--warn { background: var(--warn-bg); color: var(--warn); }
.sum { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.sum__art { width: 92px; height: 92px; border-radius: 20px; background: #F8F4F6; display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.sum__art .garment { width: 84px; height: 84px; }
.sum__art img { width: 100%; height: 100%; object-fit: cover; }
.sum small { color: var(--muted); font-size: 12.5px; }
.sum b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.6px; line-height: 1.15; }
.sum__hint { font-size: 11.5px; color: var(--muted); }
.link--pink { color: var(--pink); }

.alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.alerts button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; text-align: left; transition: background .2s; }
.alerts button:hover { background: #F9F5F7; }
.alerts .swatch { width: 18px; height: 18px; }
.alerts span { flex: 1; min-width: 0; }
.alerts b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alerts small { font-size: 12px; color: var(--muted); }
.alerts em { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.alerts em.is-low { background: var(--warn-bg); color: #B86F00; }
.alerts em.is-out { background: var(--bad-bg); color: var(--bad); }

.brand-card { position: relative; overflow: hidden; border-radius: 28px; padding: 30px 24px 22px; background: linear-gradient(165deg, #19181D, #0D0C10); color: #fff; min-height: 300px; display: flex; flex-direction: column; }
.brand-card__blob { position: absolute; border-radius: 50%; background: var(--pink); }
.brand-card__blob--a { width: 130px; height: 130px; top: -50px; right: -40px; }
.brand-card__blob--b { width: 150px; height: 150px; bottom: -80px; left: -50px; }
.brand-card .script { position: relative; font-size: 62px; }
.brand-card .script span { display: block; color: var(--pink); font-size: .82em; padding-left: .4em; }
.brand-card__truck { position: relative; width: 140px; margin: 20px auto 10px; animation: drive 3.5s ease-in-out infinite; }
@keyframes drive { 0%, 100% { transform: translateX(-6px); } 50% { transform: translateX(6px); } }
.brand-card__tag { position: relative; text-align: center; font-weight: 600; font-size: 14px; }
.brand-card__mcl { position: relative; margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 600; }
.brand-card__mcl b { color: var(--pink); font-size: 14px; }
.brand-card__mcl img { height: 14px; }

/* Skeleton */
.sk { background: linear-gradient(90deg, #EFE8EC 0%, #F8F3F6 50%, #EFE8EC 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; border-radius: 24px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.sk--hero { height: 260px; border-radius: 32px; }
.sk-row { display: flex; gap: 12px; } .sk--chip { width: 112px; height: 116px; }
.sk--card { height: 300px; } .sk--side { height: 220px; }

.empty { grid-column: 1 / -1; text-align: center; padding: 44px 20px; background: #fff; border-radius: 28px; border: 1.5px dashed #EBDDE4; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty__art { width: 130px; }
.empty h3 { font-size: 18px; }
.empty p { color: var(--muted); max-width: 360px; }
.empty > .ic { width: 40px; height: 40px; color: var(--pink); }

.soon { max-width: 560px; margin: 40px auto; text-align: center; background: #fff; border-radius: 32px; padding: 48px 34px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; gap: 14px; position: relative; overflow: hidden; }
.soon::before { content: ''; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: var(--pink-50); top: -90px; right: -60px; }
.soon__icon { position: relative; width: 76px; height: 76px; border-radius: 24px; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 30px -12px rgba(17, 16, 20, .6); }
.soon__icon .ic { width: 34px; height: 34px; }
.soon h2 { font-size: 26px; font-weight: 800; letter-spacing: -.5px; }
.soon p { color: var(--muted); }

/* ═════════════ SHEETS (modales y paneles) ═════════════ */
.sheet { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(17, 16, 20, .5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .28s; }
.sheet__panel {
  position: relative; width: min(480px, 100%); max-height: calc(100dvh - 40px); background: #fff; border-radius: 30px;
  display: flex; flex-direction: column; box-shadow: 0 40px 90px -20px rgba(17, 16, 20, .5);
  transform: translateY(24px) scale(.97); opacity: 0; transition: transform .35s var(--ease), opacity .28s;
}
.sheet--wide .sheet__panel { width: min(860px, 100%); }
.sheet.in .sheet__backdrop { opacity: 1; }
.sheet.in .sheet__panel { transform: none; opacity: 1; }
.sheet--side { place-items: stretch end; padding: 12px; }
.sheet--side .sheet__panel { width: min(540px, 100%); max-height: none; height: calc(100dvh - 24px); transform: translateX(40px); }
.sheet--side.in .sheet__panel { transform: none; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 8px; }
.sheet__head h2 { font-size: 21px; font-weight: 700; letter-spacing: -.4px; }
.sheet__body { padding: 8px 24px 24px; overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; min-height: 0; -webkit-overflow-scrolling: touch; }

.confirm-text { color: #4A4450; margin-bottom: 22px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.form-actions--sticky { position: sticky; bottom: -24px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 30%); padding: 22px 0 18px; margin-bottom: -24px; }

/* Detalle */
.pd__media { position: relative; border-radius: 26px; aspect-ratio: 1.25; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 55%, color-mix(in srgb, var(--tint) 18%, #fff), #F8F4F6 80%); overflow: hidden; }
.pd__art { width: 62%; height: 88%; transition: transform .5s var(--ease); display: grid; place-items: center; animation: fadeUp .4s var(--ease); }
.pd__art .garment { width: 100%; height: 100%; }
.pd__art img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.pd__art:has(img) { width: 100%; height: 100%; padding: 12px; }
.pd__media:hover .pd__art { transform: scale(1.02); }
.pd__photo-btn { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(17,16,20,.82); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; backdrop-filter: blur(8px); transition: background .2s, transform .2s var(--ease); }
.pd__photo-btn:hover { background: var(--pink); transform: translateY(-2px); }
.pd__photo-btn .ic { width: 17px; height: 17px; }
.pd__photo-btn.is-loading { pointer-events: none; opacity: .7; }
.pd__info { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 6px; gap: 8px; flex-wrap: wrap; }
.pd__price { font-size: 24px; font-weight: 800; letter-spacing: -.6px; }
.pd__desc { color: #5A535F; font-size: 14px; }
.pd__label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin: 20px 0 10px; display: flex; justify-content: space-between; align-items: baseline; }
.pd__label small { text-transform: none; letter-spacing: 0; font-weight: 400; }
.pd__colors { display: flex; gap: 8px; flex-wrap: wrap; }
.color-tab { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 500; transition: all .2s; }
.color-tab small { font-size: 11px; color: var(--muted); background: #F4EFF2; border-radius: 99px; padding: 1px 7px; }
.color-tab .swatch { width: 18px; height: 18px; }
.color-tab.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.color-tab.is-active small { background: rgba(255, 255, 255, .15); color: #fff; }

.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.size { border: 1.5px solid var(--line); border-radius: 18px; padding: 10px 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; transition: border-color .2s, background .2s; }
.size__name { font-weight: 700; font-size: 15px; }
.size__qty { font-size: 22px; font-weight: 700; }
.size small { font-size: 11px; font-weight: 600; color: var(--ok); }
.size.is-low { border-color: #F7D9A6; background: #FFFBF2; } .size.is-low small { color: #B86F00; }
.size.is-out { border-color: #F7C6CD; background: #FFF6F7; } .size.is-out small { color: var(--bad); }
.size.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.05); } }
.stepper { display: flex; align-items: center; background: #F6F2F4; border-radius: 999px; padding: 3px; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-sm); transition: transform .15s, background .2s; }
.stepper button:hover { background: var(--pink); color: #fff; }
.stepper button:active { transform: scale(.88); }
.stepper button[disabled] { opacity: .35; pointer-events: none; }
.stepper button .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.stepper input { width: 44px; border: 0; background: transparent; text-align: center; font-weight: 700; font-size: 17px; outline: 0; }
.pd__total { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-top: 16px; padding: 14px 18px; border-radius: 18px; background: #F8F4F6; font-size: 13.5px; }
.pd__total b { text-align: right; }
.pd__history { margin-top: 16px; border-radius: 18px; border: 1.5px solid var(--line); padding: 4px 14px; }
.pd__history summary { cursor: pointer; display: flex; align-items: center; gap: 8px; height: 44px; font-weight: 600; font-size: 14px; list-style: none; }
.pd__history summary::-webkit-details-marker { display: none; }
.history { display: grid; gap: 2px; padding-bottom: 10px; max-height: 260px; overflow: auto; }
.history__row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid #F3EEF1; font-size: 13px; }
.history__row em { font-style: normal; font-weight: 700; min-width: 40px; text-align: center; border-radius: 8px; padding: 2px 0; }
.history__row em.up { background: var(--ok-bg); color: var(--ok); }
.history__row em.down { background: var(--bad-bg); color: var(--bad); }
.history__row span { flex: 1; } .history__row b { display: block; font-weight: 600; } .history__row small { color: var(--muted); }
.history__row time { color: var(--muted); font-size: 12px; }
.pd__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }

/* Formularios */
.form { display: grid; gap: 14px; }
.lbl { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: #3F3944; }
.input { width: 100%; height: 48px; border-radius: 14px; border: 1.5px solid #E6DFE3; padding: 0 14px; background: #fff; font-size: 15px; font-weight: 400; outline: 0; transition: border-color .2s, box-shadow .2s; }
textarea.input { height: auto; padding: 12px 14px; resize: vertical; }
.input:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(242, 5, 111, .1); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111014' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.fieldset { border: 1.5px solid var(--line); border-radius: 18px; padding: 10px 16px 16px; display: grid; gap: 12px; margin: 4px 0 0; }
.fieldset legend { font-size: 13px; font-weight: 700; padding: 0 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { padding: 12px 16px; border-radius: 14px; background: var(--bad-bg); color: #B4192C; font-size: 14px; font-weight: 500; margin-top: 16px; }

.switch { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; }
.switch__ui { width: 46px; height: 27px; border-radius: 99px; background: #E2DADF; position: relative; transition: background .25s; }
.switch__ui::after { content: ''; position: absolute; width: 21px; height: 21px; border-radius: 50%; background: #fff; top: 3px; left: 3px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.switch input:checked + .switch__ui { background: var(--pink); }
.switch input:checked + .switch__ui::after { transform: translateX(19px); }
.switch input:focus-visible + .switch__ui { outline: 3px solid rgba(242, 5, 111, .4); outline-offset: 2px; }

.pf__grid { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.pf__preview { border-radius: 24px; padding: 14px 14px 16px; background: radial-gradient(70% 55% at 50% 40%, color-mix(in srgb, var(--tint) 16%, #fff), #F8F4F6 80%); text-align: center; align-self: start; }
.pf__art { position: relative; aspect-ratio: 1; display: grid; place-items: center; cursor: pointer; border-radius: 18px; transition: transform .3s var(--ease); }
.pf__art:hover { transform: scale(1.02); }
.pf__upload { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 12.5px; font-weight: 600; box-shadow: var(--shadow-pink); }
.pf__upload .ic { width: 16px; height: 16px; }
.pf__art .garment { width: 92%; height: 92%; }
.pf__art img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.pf__preview p { font-weight: 600; font-size: 14px; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf__preview b { font-size: 16px; color: var(--pink-600); }
.pf__fields { display: grid; gap: 12px; align-content: start; }
.pf__h { font-size: 15px; font-weight: 700; margin: 24px 0 12px; display: flex; align-items: baseline; gap: 8px; }
.pf__h small { font-weight: 400; color: var(--muted); font-size: 12.5px; }

.sizes-edit { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 6px 0 14px; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 600; font-size: 13.5px; }
.tag button { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, .7); }
.tag button:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.tag .ic { width: 14px; height: 14px; }
.input--tag { width: 96px; height: 36px; border-radius: 99px; font-size: 13.5px; }
.presets { display: flex; gap: 6px; flex-wrap: wrap; margin-left: auto; }
.presets .chip { height: 30px; font-size: 12px; }

.colors-edit { display: grid; gap: 12px; }
.cedit { border: 1.5px solid var(--line); border-radius: 22px; padding: 14px; background: #FDFBFC; }
.cedit__head { display: flex; align-items: center; gap: 12px; }
.cedit__photo { position: relative; width: 64px; height: 64px; border-radius: 18px; background: #fff; border: 1.5px dashed #E1D4DB; display: grid; place-items: center; cursor: pointer; overflow: hidden; flex-shrink: 0; transition: border-color .2s; }
.cedit__photo:hover { border-color: var(--pink); }
.cedit__photo img { width: 100%; height: 100%; object-fit: cover; }
.cedit__ph .garment { width: 52px; height: 52px; }
.cedit__cam { position: absolute; right: 3px; bottom: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; }
.cedit__cam .ic { width: 13px; height: 13px; }
.cedit__meta { flex: 1; min-width: 0; display: grid; gap: 8px; }
.cedit__meta .input { height: 40px; }
.cedit__swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch--btn { width: 24px; height: 24px; cursor: pointer; transition: transform .15s; position: relative; }
.swatch--btn:hover { transform: scale(1.12); }
.swatch--btn.is-active { box-shadow: 0 0 0 2.5px #fff, 0 0 0 4.5px var(--pink); }
.swatch--custom { background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); overflow: hidden; }
.swatch--custom input { opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.cedit__sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 12px; }
.qty { display: grid; gap: 4px; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.qty .input { height: 42px; text-align: center; font-weight: 700; font-size: 16px; padding: 0 6px; }
.add-color { height: 52px; border-radius: 18px; border: 1.5px dashed #E1CFD8; color: var(--pink-600); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .2s, border-color .2s; }
.add-color:hover { background: var(--pink-50); border-color: var(--pink-400); }

.profile { display: grid; gap: 22px; }
.profile__card { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 24px; background: linear-gradient(150deg, #19181D, #0E0D11); color: #fff; position: relative; overflow: hidden; }
.profile__card::after { content: ''; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: var(--pink); right: -40px; top: -50px; }
.profile__avatar { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; font-weight: 800; background: var(--pink); border: 3px solid #fff; flex-shrink: 0; position: relative; z-index: 1; }
.profile__card h3 { font-size: 19px; position: relative; z-index: 1; }
.profile__card p { color: rgba(255, 255, 255, .6); font-size: 13px; margin-bottom: 6px; }
.profile__brand { display: flex; justify-content: center; padding-top: 6px; border-top: 1px solid var(--line); padding-top: 18px; }

/* Toasts */
.toasts { position: fixed; z-index: 200; bottom: 22px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 16px 40px -12px rgba(17, 16, 20, .6); opacity: 0; transform: translateY(14px); transition: all .3s var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast .ic { width: 18px; height: 18px; color: var(--pink-400); }
.toast--warn .ic { color: #FFB547; }

/* ═════════════ RESPONSIVE ═════════════ */
@media (max-width: 1280px) {
  .stock-layout { grid-template-columns: 1fr; }
  .stock-aside { position: static; display: grid; grid-template-columns: repeat(3, 1fr); }
  .brand-card { min-height: 0; }
  .topbar__cobrand { display: none; }
  .search { margin-left: auto; }
}
@media (max-width: 1080px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; margin: 0; height: 100dvh; width: 286px; border-radius: 0 32px 32px 0; transform: translateX(-105%); transition: transform .4s var(--ease); }
  .shell.menu-open .sidebar { transform: none; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 25; background: rgba(17, 16, 20, .45); opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(2px); }
  .shell.menu-open .scrim { opacity: 1; pointer-events: auto; }
  .topbar__menu { display: grid; background: #fff; box-shadow: var(--shadow-sm); border-radius: 14px; }
  .stock-aside { grid-template-columns: 1fr 1fr; }
  .brand-card { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .main { padding: 14px 14px 12px; }
  .topbar { flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
  .topbar__hello { flex: 1; min-width: 0; }
  .topbar__hello h1 { font-size: 21px; }
  .search { order: 5; width: 100%; height: 46px; margin: 0; }
  .avatar { width: 44px; height: 44px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: 28px 22px 26px; min-height: 230px; }
  .hero__photo { width: 100%; opacity: .45; -webkit-mask-image: none; mask-image: none; }
  .hero__title { font-size: 52px; }
  .hero__nav { display: none; }
  .hero__lines { display: none; }
  .hero__swoosh { margin-left: 40px; width: 180px; }
  .kpis { gap: 10px; }
  .kpi { padding: 12px 12px 40px; gap: 8px; border-radius: 18px; min-height: 128px; }
  .kpi__pill { top: 14px; right: 10px; font-size: 10px; padding: 2px 7px; }
  .kpi__ic { width: 38px; height: 38px; border-radius: 12px; }
  .kpi__txt b { font-size: 20px; }
  .cats { margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
  .cat { width: 96px; height: 102px; border-radius: 20px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { border-radius: 22px; }
  .card__body { padding: 10px 12px 14px; }
  .card h3 { font-size: 14px; }
  .card__foot b { font-size: 15px; }
  .card__plus { width: 32px; height: 32px; }
  .badge { font-size: 10.5px; padding: 4px 9px; top: 9px; left: 9px; }
  .stock-aside { grid-template-columns: 1fr; }
  .sheet { padding: 0; place-items: end stretch; }
  .sheet__panel, .sheet--wide .sheet__panel { width: 100%; max-height: 94dvh; border-radius: 28px 28px 0 0; transform: translateY(40px); }
  .sheet--side { padding: 0; place-items: end stretch; }
  .sheet--side .sheet__panel { height: auto; max-height: 94dvh; transform: translateY(40px); }
  .sheet__head { padding: 18px 18px 6px; }
  .sheet__head::before { content: ''; position: absolute; top: 8px; left: 50%; width: 44px; height: 5px; border-radius: 9px; background: #E4DCE0; transform: translateX(-50%); }
  .sheet__body { padding: 6px 18px 22px; }
  .form-actions--sticky { bottom: -22px; margin-bottom: -22px; }
  .pf__grid { grid-template-columns: 1fr; }
  .pf__preview { display: grid; grid-template-columns: 90px 1fr; align-items: center; text-align: left; gap: 0 14px; padding: 10px; }
  .pf__preview .pf__art { grid-row: span 2; }
  .row2 { grid-template-columns: 1fr; }
  .presets { margin-left: 0; width: 100%; }
  .sizes { grid-template-columns: repeat(2, 1fr); }
  .page-foot { padding-top: 18px; }
}
@media (max-width: 380px) {
  .grid { gap: 10px; }
  .kpi small { font-size: 11.5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-height: 760px) and (min-width: 981px) { .promo { display: none; } }

/* ═════════════ Catálogo real: flyer, promo, público ═════════════ */
.card__media { aspect-ratio: 4 / 4.6; }
.card__art img.is-flyer { object-fit: cover; object-position: top center; }
.card__art:has(img.is-flyer) { padding: 0; }
.card__art:has(img.is-flyer) img { border-radius: 0; box-shadow: none; }
.card:hover .card__art:has(img.is-flyer) { transform: scale(1.04); }
.aud { position: absolute; left: 12px; bottom: 12px; z-index: 2; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: rgba(17, 16, 20, .82); color: #fff; backdrop-filter: blur(6px); letter-spacing: .2px; }
.aud.is-dama { background: rgba(242, 5, 111, .92); }
.aud.is-plus { background: rgba(124, 58, 237, .9); }
.aud-pill.is-dama { background: var(--pink-100); color: var(--pink-600); }
.aud-pill.is-cab { background: #E8ECF6; color: #1B2A55; }
.aud-pill.is-plus { background: #EFE7FD; color: #6D28D9; }
.price { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.price__promo { font-size: 16px; font-weight: 800; letter-spacing: -.3px; color: var(--ink); white-space: nowrap; }
.price__promo em { font-style: normal; color: #fff; background: var(--pink); border-radius: 8px; padding: 1px 7px; margin-right: 3px; font-size: .85em; }
.price__unit { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.price > .price__unit:only-child { font-size: 17px; color: var(--ink); font-weight: 800; margin: 0; }
.price--big .price__promo { font-size: 22px; }
.price--big { align-items: flex-end; text-align: right; }
.pd__pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pd__media { aspect-ratio: auto; height: min(54vh, 460px); }
.pd__art:has(img.is-flyer) { width: 100%; height: 100%; padding: 0; }
.pd__art img.is-flyer { object-fit: contain; background: #fff; border-radius: 20px; }
.feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.feats span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: #F8F3F6; font-size: 12.5px; font-weight: 500; }
.feats .ic { width: 14px; height: 14px; color: var(--pink); stroke-width: 3; }
.pd__sales { margin-top: 16px; border-radius: 18px; border: 1.5px solid var(--pink-100); background: var(--pink-50); padding: 4px 14px; }
.pd__sales summary { cursor: pointer; display: flex; align-items: center; gap: 8px; height: 46px; font-weight: 600; font-size: 14px; list-style: none; }
.pd__sales summary::-webkit-details-marker { display: none; }
.pd__sales summary .chip { margin-left: auto; height: 30px; }
.chip--pink { background: var(--pink); color: #fff; border-color: var(--pink); }
.chip--pink:hover { background: var(--pink-600); color: #fff; }
.pd__sales pre { white-space: pre-wrap; font-family: var(--font); font-size: 13px; line-height: 1.55; margin: 0 0 12px; color: #3A3440; max-height: 320px; overflow: auto; }
.row3 { display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 12px; }
.pf__preview .link { margin: 6px auto 0; display: block; font-size: 12.5px; }
.pf__art img { object-fit: contain; background: #fff; }
@media (max-width: 720px) { .row3 { grid-template-columns: 1fr 1fr; } .row3 > :last-child { grid-column: 1 / -1; } .price__promo { font-size: 14px; } }

/* ═════════════ Foto de perfil ═════════════ */
.av-img, .av-ini { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; object-fit: cover; }
.avatar span .av-img, .avatar span .av-ini { border: 0; }
.avatar > span { overflow: hidden; }
.me__av { overflow: hidden; }
.profile__avatar { position: relative; cursor: pointer; overflow: visible; padding: 0; }
.profile__avatar .av-img, .profile__avatar .av-ini { border-radius: 50%; }
.profile__cam { position: absolute; right: -4px; bottom: -4px; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--pink); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.profile__cam .ic { width: 14px; height: 14px; }
.profile .link { justify-self: start; }

/* ═════════════ Asistente de bienvenida ═════════════ */
.ob { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; }
.ob__backdrop { position: absolute; inset: 0; background: radial-gradient(60% 60% at 20% 20%, rgba(242, 5, 111, .35), transparent 60%), rgba(12, 11, 14, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; transition: opacity .4s; }
.ob.in .ob__backdrop { opacity: 1; }
.ob__card { position: relative; width: min(980px, 100%); min-height: min(620px, calc(100dvh - 40px)); max-height: calc(100dvh - 40px); display: grid; grid-template-columns: 330px 1fr; background: #fff; border-radius: 34px; overflow: hidden; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .6); transform: translateY(30px) scale(.96); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.ob.in .ob__card { transform: none; opacity: 1; }
.ob__side { position: relative; overflow: hidden; color: #fff; padding: 34px 30px 26px; display: flex; flex-direction: column; background: linear-gradient(165deg, #1B1A1F, #0C0B0E 70%); }
.ob__blob { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FF3A8D, var(--pink) 55%, #B8004F); box-shadow: 0 0 60px rgba(242, 5, 111, .45); }
.ob__blob--a { width: 170px; height: 170px; right: -70px; top: -60px; animation: lgFloatA 9s ease-in-out infinite; }
.ob__blob--b { width: 220px; height: 220px; left: -110px; bottom: -110px; animation: lgFloatB 11s ease-in-out infinite; }
.ob__logo { position: relative; width: 150px; }
.ob__script { position: relative; font-family: var(--script); font-size: 46px; line-height: .85; margin: 22px 0 26px; -webkit-text-stroke: 1px #fff; transform: rotate(-4deg); transform-origin: left; }
.ob__script span { color: var(--pink); -webkit-text-stroke-color: var(--pink); padding-left: .6em; }
.ob__steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ob__steps li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 14px; color: rgba(255, 255, 255, .55); font-weight: 500; font-size: 14px; transition: background .3s, color .3s; }
.ob__steps i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 13px; border: 1.5px solid rgba(255, 255, 255, .25); transition: all .3s var(--ease); }
.ob__steps i .ic { width: 15px; height: 15px; stroke-width: 3; }
.ob__steps li.is-on { background: rgba(255, 255, 255, .08); color: #fff; }
.ob__steps li.is-on i { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 0 5px rgba(242, 5, 111, .25); }
.ob__steps li.is-done { color: rgba(255, 255, 255, .85); }
.ob__steps li.is-done i { background: #fff; color: var(--pink); border-color: #fff; }
.ob__mcl { position: relative; margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, .6); font-weight: 600; }
.ob__mcl b { color: var(--pink); font-size: 14px; } .ob__mcl img { height: 15px; }
.ob__main { position: relative; display: flex; flex-direction: column; min-height: 0; }
.ob__bar { height: 5px; background: #F3ECF0; }
.ob__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #FF5CA0, var(--pink)); border-radius: 0 9px 9px 0; transition: width .6s var(--ease); }
.ob__body { flex: 1; min-height: 0; overflow-y: auto; padding: 44px 48px 30px; display: flex; flex-direction: column; }
.ob__body.ob-in > * { animation: obIn .55s var(--ease) both; }
.ob__body.ob-in > :nth-child(2) { animation-delay: .06s; } .ob__body.ob-in > :nth-child(3) { animation-delay: .12s; } .ob__body.ob-in > :nth-child(4) { animation-delay: .18s; }
@keyframes obIn { from { opacity: 0; transform: translateX(calc(var(--dir, 1) * 28px)); } }
.ob__hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; position: relative; }
.ob__hero h2 { font-size: 34px; font-weight: 800; letter-spacing: -1px; }
.ob__hero h2 span { color: var(--pink); }
.ob__hero p { color: #5D5762; max-width: 440px; font-size: 15.5px; }
.ob__h { font-size: 30px; font-weight: 800; letter-spacing: -.8px; }
.ob__sub { color: #5D5762; margin: 6px 0 26px; }
.ob__avatar { position: relative; width: 112px; height: 112px; border-radius: 50%; background: linear-gradient(135deg, #FF5CA0, var(--pink)); display: grid; place-items: center; color: #fff; font-size: 38px; font-weight: 800; box-shadow: 0 0 0 5px #fff, 0 18px 40px -14px rgba(242, 5, 111, .7); flex-shrink: 0; }
.ob__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ob__avatar--xl { width: 132px; height: 132px; font-size: 46px; }
.ob__ring { position: absolute; inset: -12px; border-radius: 50%; border: 2px dashed rgba(242, 5, 111, .45); animation: spin 14s linear infinite; }
.ob__profile { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; }
.ob__drop { display: flex; flex-direction: column; align-items: center; gap: 10px; cursor: pointer; position: relative; }
.ob__drop:hover .ob__avatar { transform: scale(1.04); }
.ob__drop .ob__avatar { transition: transform .3s var(--ease); }
.ob__cam { position: absolute; top: 80px; right: 14px; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 4px #fff; }
.ob__cam .ic { width: 17px; height: 17px; }
.ob__drop small { font-weight: 600; color: var(--pink-600); font-size: 13px; }
.ob__fields { display: grid; gap: 14px; }
.ob__meter { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.ob__meter i { flex: 1; height: 7px; border-radius: 9px; background: #F1EAEE; position: relative; overflow: hidden; }
.ob__meter i::after { content: ''; position: absolute; inset: 0; width: calc(var(--p) * 100%); background: linear-gradient(90deg, #FFB547, #22C55E); border-radius: 9px; transition: width .4s var(--ease); }
.ob__err { margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: var(--bad-bg); color: #B4192C; font-size: 14px; font-weight: 500; }
.ob__actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: auto; padding-top: 26px; }
.ob__actions .link { margin-right: auto; margin-left: 6px; }
.btn--lg { height: 52px; padding: 0 26px; font-size: 15px; }
.ob__confetti { position: absolute; inset: -20px 0 auto; height: 260px; pointer-events: none; }
.ob__confetti i { position: absolute; left: calc(5% + var(--i) * 5%); top: 0; font-style: normal; color: var(--pink); font-size: calc(12px + (var(--i) * 7 % 14) * 1px); opacity: 0; animation: obConf 2.4s var(--ease) calc(var(--i) * 60ms) both; }
.ob__confetti i:nth-child(3n) { color: #FFB3D1; } .ob__confetti i:nth-child(4n) { color: var(--ink); }
@keyframes obConf { 0% { opacity: 0; transform: translateY(120px) scale(.4) rotate(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(calc(-30px - var(--i) * 4px)) scale(1) rotate(calc(var(--i) * 25deg)); } }
@media (max-width: 820px) {
  .ob { padding: 0; place-items: end stretch; }
  .ob__card { grid-template-columns: 1fr; border-radius: 28px 28px 0 0; max-height: 96dvh; min-height: 0; }
  .ob__side { padding: 18px 22px 14px; flex-direction: row; align-items: center; gap: 14px; }
  .ob__logo { width: 92px; }
  .ob__script, .ob__mcl, .ob__steps span { display: none; }
  .ob__steps { grid-auto-flow: column; margin-left: auto; gap: 4px; }
  .ob__steps li { padding: 0; }
  .ob__steps i { width: 28px; height: 28px; }
  .ob__blob--a { width: 110px; height: 110px; } .ob__blob--b { display: none; }
  .ob__body { padding: 26px 20px 20px; }
  .ob__profile { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
  .ob__fields { width: 100%; }
  .ob__hero h2 { font-size: 27px; } .ob__h { font-size: 25px; }
  .ob__actions { flex-wrap: wrap; }
}

/* Perfil: una sola entrada y foto protagonista */
.me { cursor: pointer; }
.me__hint { display: block; font-style: normal; font-size: 11px; color: var(--pink-400); font-weight: 600; margin-top: 1px; opacity: 0; max-height: 0; transition: opacity .25s, max-height .25s; }
.me:hover .me__hint { opacity: 1; max-height: 16px; }
.me > .ic { transition: transform .25s var(--ease); }
.me:hover > .ic { transform: translateX(3px); opacity: 1; }
.profile__card { flex-direction: column; text-align: center; gap: 6px; padding: 26px 18px 20px; }
.profile__card > * { position: relative; z-index: 1; }
.profile__card::before { content: ''; position: absolute; width: 100px; height: 100px; border-radius: 50%; background: var(--pink); left: -50px; bottom: -50px; opacity: .9; }
.profile__avatar { width: 104px; height: 104px; font-size: 36px; margin-bottom: 8px; box-shadow: 0 0 0 4px var(--pink), 0 16px 34px -12px rgba(242, 5, 111, .8); border: 3px solid #fff; transition: transform .3s var(--ease); }
.profile__avatar:hover { transform: scale(1.04); }
.profile__cam { width: 32px; height: 32px; right: 0; bottom: 0; }
.profile__card p { margin-bottom: 4px; }
.profile__photo-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
.profile__photo-actions .btn { cursor: pointer; }
.btn--glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.btn--glass:hover { background: rgba(255, 255, 255, .18); }
