:root {
    --black: #0a0710;
    --bg: #0a0710;
    --surface: #140e1d;
    --surface-2: #1c1428;
    --border: #2c2140;
    --text: #f3effa;
    --muted: #a59bb5;
    --purple: #a64dff;
    --purple-deep: #6d28d9;
    --purple-glow: rgba(166, 77, 255, .45);
    --yellow: #f2f53d;
    --yellow-glow: rgba(242, 245, 61, .35);
    --danger: #ff4d6d;
    --ok: #3ddc84;
    --radius: 14px;
    --font-brand: 'Rubik Wet Paint', 'Anton', Impact, sans-serif;
    --font-scrawl: 'Permanent Marker', 'Anton', cursive;
    --font-display: 'Anton', Impact, sans-serif;
    --font-body: 'Inter', system-ui, 'Segoe UI', sans-serif;  /* la de los textos de DecoNoa, más cómoda para leer */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background:
        radial-gradient(1200px 500px at 0% 0%, rgba(109, 40, 217, .16), transparent 60%),
        radial-gradient(900px 400px at 100% 0%, rgba(242, 245, 61, .06), transparent 60%),
        var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
small { color: var(--muted); font-weight: 400; }
button { font: inherit; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.main { flex: 1; padding-bottom: 64px; }
.main.container { padding-top: 28px; }
.muted { color: var(--muted); }

/* ---------- Logo ---------- */
.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.brand__row { display: flex; align-items: center; gap: 6px; }
.brand__word { font-family: var(--font-brand); font-size: 34px; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.brand__icon { width: 36px; height: 43px; filter: drop-shadow(0 0 10px var(--purple-glow)); }
.brand__tag { margin-top: 6px; font-size: 10px; letter-spacing: 6px; text-transform: uppercase; color: #d8d0e6; font-weight: 600; }
.brand--sm .brand__word { font-size: 26px; }
.brand--sm .brand__icon { width: 26px; height: 32px; }

/* ---------- Topbar ---------- */
.topbar {
    position: sticky; top: 0; z-index: 30;
    background: rgba(10, 7, 16, .9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.topbar__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    min-height: 92px;
    padding-block: 10px;
}
.is-admin .topbar__inner { grid-template-columns: auto 1fr; min-height: 70px; }
.is-admin .brand__word { font-size: 28px; }
.is-admin .brand__icon { width: 30px; height: 36px; }

.burger { display: none; width: 42px; height: 42px; background: none; border: 0; cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }

.mainnav { display: flex; align-items: center; gap: 2px; font-weight: 600; font-size: 14px; }
.mainnav__item { position: relative; }
.mainnav__item > a { display: block; padding: 10px 8px; white-space: nowrap; border-radius: 8px; transition: color .15s; }
.mainnav__item > a:hover { color: var(--yellow); }
.has-sub > a::after { content: '▾'; font-size: 11px; margin-left: 5px; color: var(--purple); }
.submenu {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    display: none; flex-direction: column;
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    padding: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(166, 77, 255, .15);
}
.submenu a { padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 14px; }
.submenu a:hover { background: var(--surface-2); color: var(--purple); }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { display: flex; }

.topbar__tools { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.search { position: relative; width: 100%; max-width: 280px; }
.search input { padding-right: 42px; border-color: var(--purple-deep); }
.search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; display: grid; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--text); transition: color .15s; }
.icon-btn:hover { color: var(--yellow); }

.nav { display: flex; align-items: center; gap: 18px; justify-content: flex-end; flex-wrap: wrap; font-weight: 600; }
.nav a:hover, .link-btn:hover { color: var(--yellow); }
.nav form { margin: 0; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; font-weight: 600; }

/* ---------- Formularios ---------- */
input, select, textarea {
    width: 100%;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 14px;
    font: inherit;
    transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(166, 77, 255, .2); }
input[type="checkbox"] { width: auto; accent-color: var(--purple); }
input[type="file"] { padding: 8px; }
optgroup { color: var(--muted); }
option { color: var(--text); }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    background: var(--purple); color: #fff;
    border: 1px solid var(--purple); border-radius: 10px;
    padding: 10px 20px; font-weight: 700;
    cursor: pointer; white-space: nowrap;
    transition: transform .12s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 0 18px var(--purple-glow); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--purple); }
.btn--outline:hover { background: var(--purple); color: #fff; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--text); box-shadow: none; }
.btn--danger { background: transparent; color: var(--danger); border-color: rgba(255, 77, 109, .4); }
.btn--danger:hover { box-shadow: none; background: rgba(255, 77, 109, .1); }
.btn--sm { padding: 7px 14px; font-size: 13px; }
.btn--block { width: 100%; margin-top: 10px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr minmax(300px, 500px) 1fr;
    align-items: center;
    min-height: 680px;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.hero__side {
    position: relative; height: 100%;
    display: flex; flex-direction: column; justify-content: center;
    padding: 48px 32px; gap: 18px;
}
.hero__side--hw {
    align-items: flex-end; text-align: right;
    background:
        radial-gradient(circle at 30% 45%, rgba(166, 77, 255, .35), transparent 55%),
        repeating-linear-gradient(90deg, rgba(166, 77, 255, .07) 0 1px, transparent 1px 38px),
        repeating-linear-gradient(0deg, rgba(166, 77, 255, .07) 0 1px, transparent 1px 38px),
        linear-gradient(90deg, #160a26, transparent);
}
.hero__side--anime {
    align-items: flex-start;
    background:
        radial-gradient(circle at 70% 45%, rgba(242, 245, 61, .22), transparent 55%),
        radial-gradient(rgba(242, 245, 61, .14) 1.2px, transparent 1.6px) 0 0 / 14px 14px,
        linear-gradient(270deg, #1c1a06, transparent);
}
.hero__deco { position: absolute; fill: none; stroke-width: 2; opacity: .22; pointer-events: none; }
.hero__side--hw .hero__deco { stroke: var(--purple); width: 72%; left: -8%; bottom: 6%; transform: rotate(-12deg); }
.hero__side--anime .hero__deco { stroke: var(--yellow); width: 46%; right: 4%; bottom: 8%; transform: rotate(14deg); }

.hero__scrawl {
    position: absolute; top: 34px;
    margin: 0; font-family: var(--font-scrawl); font-size: clamp(28px, 3.4vw, 48px); line-height: .95;
    transform: rotate(-8deg); text-transform: uppercase; pointer-events: none;
}
.hero__side--hw .hero__scrawl { left: 32px; text-align: left; color: var(--purple); text-shadow: 0 0 22px var(--purple-glow); }
.hero__side--anime .hero__scrawl { right: 32px; text-align: right; color: var(--yellow); transform: rotate(-6deg); text-shadow: 0 0 22px var(--yellow-glow); }


.hero__list { position: relative; z-index: 1; margin: 0; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #ddd3ec; font-weight: 600; }

.hero__center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 64px 0 40px; }
.hero__logo { position: relative; width: 100%; max-width: 440px; }
.hero__smiley { display: block; overflow: visible; width: 100%; height: auto; filter: drop-shadow(-14px 0 34px var(--purple-glow)) drop-shadow(14px 0 34px var(--yellow-glow)); animation: flotar 5s ease-in-out infinite; }
.hero__word { margin: -6px 0 18px; font-family: var(--font-brand); font-size: clamp(40px, 5vw, 64px); line-height: 1; text-transform: uppercase; display: flex; gap: 12px; }
.hero__word span:first-child { color: var(--purple); text-shadow: 0 0 18px var(--purple-glow); }
.hero__word span:last-child { color: var(--yellow); text-shadow: 0 0 18px var(--yellow-glow); }

@keyframes flotar { 50% { transform: translateY(-8px); } }
/* Mitades del logo clickeables: la grieta se abre al pasar el mouse.
   .smiley__hit es la zona fija que recibe el mouse; .smiley__half es el dibujo que se mueve. */
.smiley__hit { cursor: pointer; outline: none; }
.hero__smiley .smiley__half {
    pointer-events: none;
    transform-box: fill-box;
    transition: transform .8s cubic-bezier(.22, 1, .36, 1), filter .7s ease, opacity .7s ease;
}
.hero__smiley .smiley__half--izq { transform-origin: 60% 50%; animation: latido-izq 5s ease-in-out infinite; }
.hero__smiley .smiley__half--der { transform-origin: 40% 50%; animation: latido-der 5s ease-in-out infinite; }
.hero__smiley:has(.smiley__hit:hover, .smiley__hit:focus-visible) .smiley__half { animation: none; }
.hero__smiley:has(.smiley__hit--izq:hover, .smiley__hit--izq:focus-visible) .smiley__half--izq { transform: translate(-12px, 0) rotate(-2deg) scale(1.08); filter: drop-shadow(0 0 26px var(--purple)); }
.hero__smiley:has(.smiley__hit--der:hover, .smiley__hit--der:focus-visible) .smiley__half--der { transform: translate(12px, 0) rotate(2deg) scale(1.08); filter: drop-shadow(0 0 26px var(--yellow)); }
.hero__smiley:has(.smiley__hit--izq:hover) .smiley__half--der,
.hero__smiley:has(.smiley__hit--der:hover) .smiley__half--izq { opacity: .45; filter: blur(2px); }

/* Al enfocar una mitad, el resto del hero se difumina */
.hero__side, .hero__word { transition: filter .8s ease, opacity .8s ease; }
.hero:has(.smiley__hit:hover) .hero__side,
.hero:has(.smiley__hit:hover) .hero__word { filter: blur(5px); opacity: .55; }

/* Al pararse en una mitad de la carita aparece su imagen de fondo:
   violeta → componentes de PC, amarilla → personajes de anime */
.hero__fondo {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    opacity: 0; transition: opacity .45s ease;
    will-change: opacity;  /* capa propia desde el inicio: la imagen ya está lista en HD al pasar el mouse */
}
/* El texto de cada mitad va en diagonal, detrás de la imagen (::before) y la imagen encima (::after) */
.hero__fondo::before {
    content: attr(data-texto); white-space: nowrap;
    position: absolute; top: 9%; left: 50%;
    font-family: var(--font-display); font-size: clamp(38px, 4.3vw, 84px); line-height: 1;
    letter-spacing: 3px; text-transform: uppercase;
}
.hero__fondo::after { content: ''; position: absolute; inset: 0; background-repeat: no-repeat; background-size: contain; }
/* Arranca en la mitad amarilla del logo: así Goku queda a la vista y no detrás de la carita */
.hero__fondo--anime {
    left: calc(50% + 90px);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%);
    mask-image: linear-gradient(90deg, transparent, #000 10%);
}
.hero__fondo--anime::before { color: var(--yellow); text-shadow: 0 0 24px var(--yellow-glow); transform: translate(-50%, -50%) rotate(5deg); }
.hero__fondo--anime::after { background-image: url(../img/anime-fondo.webp); background-position: right bottom; }
/* Espejo del anime: arranca en la mitad violeta del logo y se apoya a la izquierda */
.hero__fondo--hw {
    right: calc(50% + 90px);
    -webkit-mask-image: linear-gradient(270deg, transparent, #000 10%);
    mask-image: linear-gradient(270deg, transparent, #000 10%);
}
.hero__fondo--hw::before { color: var(--purple); text-shadow: 0 0 24px var(--purple-glow); transform: translate(-50%, -50%) rotate(-5deg); }
.hero__fondo--hw::after { background-image: url(../img/componentes-fondo.webp); background-position: left bottom; }
/* Con mouse, el texto ya está detrás de la imagen; los carteles chicos quedan solo para pantallas táctiles */
@media (hover: hover) { .hero__hint { display: none; } }
.hero:has(.smiley__hit--izq:hover, .smiley__hit--izq:focus-visible) .hero__fondo--hw,
.hero:has(.smiley__hit--der:hover, .smiley__hit--der:focus-visible) .hero__fondo--anime { opacity: 1; }
/* Las frases de las columnas se esconden para no chocar con el texto de la imagen */
.hero__scrawl { transition: opacity .6s ease; }
.hero:has(.smiley__hit:hover, .smiley__hit:focus-visible) .hero__scrawl { opacity: 0; }

@keyframes latido-izq { 0%, 78%, 100% { transform: none; } 84% { transform: translateX(-9px) rotate(-2deg); } 90% { transform: none; } }
@keyframes latido-der { 0%, 78%, 100% { transform: none; } 84% { transform: translateX(9px) rotate(2deg); } 90% { transform: none; } }

.hero__hint {
    position: absolute; top: 36%; z-index: 3;
    font-family: var(--font-display); font-size: 26px; line-height: 1.05; text-transform: uppercase; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity .7s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}
.hero__hint--izq { right: 100%; margin-right: 90px; color: var(--purple); text-shadow: 0 0 18px var(--purple-glow); transform: translateX(16px); }
.hero__hint--der { left: 100%; margin-left: 90px; color: var(--yellow); text-shadow: 0 0 18px var(--yellow-glow); transform: translateX(-16px); }
.hero__logo:has(.smiley__hit--izq:hover, .smiley__hit--izq:focus-visible) .hero__hint--izq,
.hero__logo:has(.smiley__hit--der:hover, .smiley__hit--der:focus-visible) .hero__hint--der { opacity: 1; transform: none; }
@media (hover: none) { .hero__hint { opacity: .9; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__smiley, .hero__smiley .smiley__half { animation: none; } }

/* ---------- Beneficios ---------- */
.perks { position: relative; z-index: 3; margin: -36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.perk {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; align-items: center; gap: 14px; padding: 18px 20px;
    background: rgba(20, 14, 29, .95); border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color .3s, transform .3s, box-shadow .3s;
}
.perk:hover { border-color: var(--purple); transform: translateY(-2px); box-shadow: 0 8px 26px rgba(109, 40, 217, .3); }
.perk svg { width: 34px; height: 34px; flex: none; color: var(--purple); }
.perk strong { display: block; text-transform: uppercase; font-size: 14px; letter-spacing: .5px; }
.perk small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.perk__arrow { margin-left: auto; color: var(--purple); font-size: 18px; transition: transform .3s; }
.perk:hover .perk__arrow { transform: translateX(4px); color: var(--yellow); }

/* Reflejo de luz que cruza cada botón, uno detrás del otro */
.perk::after {
    content: ""; position: absolute; inset: -40% auto -40% 0; z-index: -1; width: 45%;
    background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .02) 30%, rgba(166, 77, 255, .28) 48%, rgba(242, 245, 61, .22) 52%, rgba(255, 255, 255, .02) 70%, transparent 100%);
    transform: translateX(-120%) skewX(-18deg);
    animation: reflejo 6s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * .45s + 1s);
    pointer-events: none;
}
.perk:hover::after { animation: reflejo-hover .9s ease-out; }
@keyframes reflejo { 0% { transform: translateX(-120%) skewX(-18deg); } 22%, 100% { transform: translateX(330%) skewX(-18deg); } }
@keyframes reflejo-hover { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(330%) skewX(-18deg); } }
@media (prefers-reduced-motion: reduce) { .perk::after { animation: none; display: none; } }

/* ---------- Secciones ---------- */
.section { margin-top: 44px; }
.section__title, .page-title {
    font-family: var(--font-display); font-weight: 400; letter-spacing: .5px;
    text-transform: uppercase; font-size: 30px; margin: 0 0 16px; line-height: 1.1;
}
.section__title small, .page-title small { font-family: var(--font-body); font-size: 14px; margin-left: 8px; letter-spacing: 0; text-transform: none; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar .section__title, .toolbar .page-title { margin: 0; }
.toolbar__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sort label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.sort select { width: auto; }

.tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tab {
    padding: 8px 18px; border-radius: 8px; cursor: pointer;
    background: var(--surface); color: var(--muted); border: 1px solid var(--border); font-weight: 600; font-size: 14px;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--purple-deep); border-color: var(--purple); color: #fff; box-shadow: 0 0 14px var(--purple-glow); }
.tabs__more { color: var(--purple); font-weight: 600; font-size: 14px; margin-left: 8px; }
.tabs__more:hover { color: var(--yellow); }

/* ---------- Chips ---------- */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; scrollbar-width: thin; }
.chips--sub { margin-top: 4px; }
.chips--sub .chip { font-size: 13px; padding: 6px 14px; }
.chip {
    flex: none; padding: 8px 16px; border-radius: 999px;
    border: 1px solid var(--border); background: var(--surface);
    font-weight: 600; font-size: 14px; transition: border-color .15s;
}
.chip:hover { border-color: var(--purple); }
.chip.is-active { background: var(--purple); color: #fff; border-color: var(--purple); }
.chip.is-active small { color: inherit; opacity: .75; }
.chip--hot { color: var(--yellow); border-color: rgba(242, 245, 61, .35); }
.chip--hot.is-active { background: var(--yellow); color: var(--black); border-color: var(--yellow); }

/* ---------- Tarjetas ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }

.card {
    position: relative;
    display: flex; flex-direction: column;
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
    transition: border-color .15s, transform .15s, box-shadow .2s;
}
.card:hover { border-color: var(--purple); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(109, 40, 217, .25); }
.card__media { position: relative; display: block; aspect-ratio: 1; background: #0f0a17; }
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card__body .btn { margin-top: auto; }
.card__cat { font-size: 12px; color: var(--muted); }
.card__title { margin: 2px 0 8px; font-size: 15px; font-weight: 600; line-height: 1.3; }

.placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    font-family: var(--font-display); font-size: 52px; color: rgba(166, 77, 255, .5);
    background:
        radial-gradient(circle at 50% 45%, rgba(166, 77, 255, .18), transparent 60%),
        repeating-linear-gradient(-45deg, rgba(255, 255, 255, .02) 0 12px, transparent 12px 24px);
}
.placeholder--lg { font-size: 120px; }

.badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.badge {
    background: var(--yellow); color: var(--black);
    font-weight: 700; font-size: 12px; line-height: 1.4; padding: 3px 9px; border-radius: 6px;
    text-transform: uppercase; letter-spacing: .3px;
}
.badge--oferta { background: var(--yellow); color: var(--black); box-shadow: 0 0 12px var(--yellow-glow); }
.badge--destacado { background: var(--purple); color: #fff; box-shadow: 0 0 12px var(--purple-glow); }
.badge--muted { margin-left: auto; background: rgba(0, 0, 0, .75); color: var(--text); }

.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.price__now { font-weight: 700; font-size: 20px; color: var(--yellow); }
.price__old { color: var(--muted); font-size: 13px; }
.price--lg .price__now { font-size: 36px; }
.price--lg .price__old { font-size: 18px; }

/* ---------- Carrusel ---------- */
.carousel { position: relative; }
.carousel__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 14px) / 6);
    gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__btn {
    position: absolute; top: 42%; z-index: 2;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--black); color: #fff; border: 1px solid var(--purple);
    font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center;
    box-shadow: 0 0 14px var(--purple-glow);
}
.carousel__btn--prev { left: -18px; }
.carousel__btn--next { right: -18px; }

/* ---------- Próximamente ---------- */
.soon {
    margin-top: 44px; padding: 32px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    border: 1px dashed rgba(242, 245, 61, .4);
    background: radial-gradient(rgba(242, 245, 61, .08) 1.2px, transparent 1.6px) 0 0 / 14px 14px, var(--surface);
}
.soon__kicker { margin: 0; color: var(--yellow); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: 12px; }
.soon__title { margin: 4px 0 8px; font-family: var(--font-scrawl); font-weight: 400; font-size: 36px; color: var(--yellow); }
.soon__text { margin: 0; color: var(--muted); max-width: 520px; }
.soon__icon { width: 110px; height: auto; flex: none; transform: rotate(10deg); }

/* ---------- Producto ---------- */
.breadcrumb { font-size: 14px; color: var(--muted); margin: 26px 0 18px; }
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span { color: var(--text); }



/* ---------- Varios ---------- */
.empty { text-align: center; padding: 60px 16px; border: 1px dashed var(--border); border-radius: var(--radius); color: var(--muted); }
.empty .btn { margin-top: 8px; }
.empty--soon { border-color: rgba(242, 245, 61, .4); }
.empty--soon strong { color: var(--yellow); font-size: 18px; }
.empty__icon { width: 90px; height: auto; margin: 0 auto 12px; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pagination a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); font-weight: 600; }
.pagination a.is-active { background: var(--purple); color: #fff; border-color: var(--purple); }

.alert { padding: 12px 16px; border-radius: 10px; margin: 16px 0; border: 1px solid; }
.alert--ok { border-color: rgba(61, 220, 132, .4); background: rgba(61, 220, 132, .08); color: var(--ok); }
.alert--error { border-color: rgba(255, 77, 109, .4); background: rgba(255, 77, 109, .08); color: var(--danger); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 28px 0 18px; background: #07050b; font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 20px 28px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.footer__links a { color: #ddd5ea; }
.footer__links a:hover, .footer__social a:hover { color: var(--yellow); }
.footer__social { display: flex; gap: 16px; }
.footer__social:empty { display: none; }
.footer__place { display: flex; align-items: center; gap: 6px; color: #ddd5ea; }
.footer__place svg { color: var(--purple); }
.footer__legal { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12px; }

/* ---------- Admin ---------- */
.auth { max-width: 380px; margin: 40px auto; }

.form label, .label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 14px; margin-bottom: 16px; }
.form--inline, form.form--inline { display: flex; gap: 10px; align-items: center; margin: 0 0 16px; }
.table .form--inline { margin: 0; }
.form--inline input { max-width: 280px; }
.form--inline select { width: auto; max-width: 240px; }
.form--grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__side { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; position: sticky; top: 100px; }
.checks { display: flex; gap: 24px; flex-wrap: wrap; }
.form label.check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; margin: 10px 0 0; }

.preview { aspect-ratio: 1; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; overflow: hidden; margin-bottom: 10px; border: 1px solid var(--border); }
.preview img { width: 100%; height: 100%; object-fit: contain; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; min-width: 640px; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; background: var(--surface); }
.table tr:last-child td { border-bottom: 0; }
.table tr.is-parent td { background: rgba(166, 77, 255, .06); }
.table tr.is-parent input[name="nombre"] { font-weight: 700; }
.table .tree { color: var(--purple); margin-left: 8px; }
.table .thumb { width: 64px; }
.table .thumb img, .table .thumb .placeholder { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; font-size: 16px; }
.table .actions { display: flex; gap: 8px; justify-content: flex-end; }
.table .actions form { margin: 0; }

.tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); margin-left: 6px; }
.tag--ok { color: var(--ok); border-color: rgba(61, 220, 132, .4); margin: 0; }
.tag--off { margin: 0; }

/* Etiquetas en el panel */
.tag-toggles { white-space: nowrap; }
.tag-toggles form { display: inline-block; margin: 0 4px 0 0; }
.tag-toggle {
    padding: 4px 10px; border-radius: 999px; cursor: pointer;
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    background: transparent; color: var(--muted); border: 1px dashed var(--border);
    transition: background .2s, color .2s, border-color .2s;
}
.tag-toggle:hover { color: var(--text); border-color: var(--muted); }
.tag-toggle--destacado.is-on { background: var(--purple); color: #fff; border: 1px solid var(--purple); }
.tag-toggle--oferta.is-on { background: var(--yellow); color: var(--black); border: 1px solid var(--yellow); }

.checks--tags { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 8px; }
.form label.check--tag {
    margin: 0; padding: 12px 14px; align-items: flex-start;
    border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: pointer;
}
.check--tag input { margin-top: 3px; }
.check--tag strong { display: block; text-transform: uppercase; font-size: 13px; }
.check--tag small { display: block; font-size: 12px; }
.check--destacado:has(input:checked) { border-color: var(--purple); background: rgba(166, 77, 255, .1); }
.check--destacado strong { color: var(--purple); }
.check--oferta:has(input:checked) { border-color: var(--yellow); background: rgba(242, 245, 61, .07); }
.check--oferta strong { color: var(--yellow); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .carousel__track { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
    .brand__word { font-size: 32px; }
}

/* Debajo de 1180px el menú no entra al lado del logo: pasa al botón de tres rayas */
@media (max-width: 1180px) {
    .topbar__inner { grid-template-columns: auto 1fr auto; min-height: 72px; gap: 12px; }
    .brand { align-items: flex-start; }
    .brand__tag { display: none; }
    .burger { display: flex; }
    .mainnav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--black); border-bottom: 1px solid var(--border);
        padding: 8px 16px 16px; max-height: calc(100vh - 72px); overflow-y: auto;
    }
    .menu-open .mainnav { display: flex; }
    .menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-open .burger span:nth-child(2) { opacity: 0; }
    .menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .mainnav__item > a { padding: 12px 4px; border-bottom: 1px solid var(--border); }
    .submenu { position: static; display: flex; flex-direction: row; flex-wrap: wrap; gap: 6px; background: none; border: 0; box-shadow: none; padding: 10px 0; min-width: 0; }
    .submenu a { background: var(--surface); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; font-size: 13px; }
    .has-sub > a::after { display: none; }
}

@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr 1fr; min-height: 0; }
    .hero__center { grid-column: 1 / -1; grid-row: 1; padding: 32px 0 24px; }
    .hero__logo { max-width: 280px; }
    .hero__hint { font-size: 18px; }
    .hero__side { padding: 90px 20px 28px; }
    .hero__side--hw { align-items: flex-start; text-align: left; }
    .hero__scrawl { font-size: 26px; top: 18px; }
    .hero__side--hw .hero__scrawl { left: 20px; }
    .hero__side--anime .hero__scrawl { right: 20px; }

    .perks { margin-top: 20px; }
    .form--grid { grid-template-columns: 1fr; gap: 24px; }
    .form__side { position: static; }
}

@media (max-width: 680px) {
    .brand__word { font-size: 24px; }
    .brand__icon { width: 28px; height: 34px; }
    .topbar__tools .search { position: absolute; left: 16px; right: 16px; top: 100%; width: auto; max-width: none; padding-bottom: 10px; background: var(--black); }
    .topbar__tools .search button { top: calc(50% - 5px); }
    .topbar__tools { position: static; }
    .topbar { margin-bottom: 0; }
    .main { padding-top: 0; }
    body:not(.is-admin) .main { padding-top: 56px; }
    .menu-open .topbar__tools .search { display: none; }

    .hero { grid-template-columns: 1fr; }
    .hero__side { padding: 136px 16px 28px; }
    .hero__logo { max-width: 220px; }
    .hero__hint { font-size: 13px; white-space: normal; width: 70px; top: 40%; margin: 0 6px; }
    .hero__hint--izq { text-align: right; }

    .perks { grid-template-columns: 1fr; gap: 10px; }
    .perk { padding: 14px 16px; }
    .perk svg { width: 28px; height: 28px; }

    .carousel__track { grid-auto-columns: calc((100% - 14px) / 2); }
    .carousel__btn { display: none; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .card__body { padding: 10px; }
    .card__title { font-size: 13px; }
    .price__now { font-size: 16px; }

    .soon { flex-direction: column; text-align: center; padding: 24px 16px; }
    .soon__icon { width: 80px; }
    .form__row, .checks--tags { grid-template-columns: 1fr; gap: 0; }
    .checks--tags { gap: 10px; }
    .form--inline { flex-wrap: wrap; }
    .form--inline input, .form--inline select { max-width: none; }
    .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Tres precios ---------- */
.price__label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.price__list { font-size: 12px; color: var(--muted); margin: -6px 0 10px; }
.price__list strong { color: var(--text); font-weight: 600; }
.price__list .price__old { margin-left: 6px; }

.prices { border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px 2px; margin: 0 0 16px; }
.prices legend { padding: 0 6px; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; color: var(--purple); }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.prices__margin { margin: -6px 0 14px; font-size: 13px; color: var(--muted); min-height: 1em; }
.prices__margin strong.is-ok { color: var(--ok); }
.prices__margin strong.is-bad { color: var(--danger); }
.tag--bad { color: var(--danger); border-color: rgba(255, 77, 109, .4); margin: 0; }
@media (max-width: 680px) { .form__row--3 { grid-template-columns: 1fr; } }

/* ---------- Ficha de producto (estilo DecoNoha) ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 28px; }
.pdp__media {
    position: relative; aspect-ratio: 1; overflow: hidden;
    background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 12px;
}
.pdp__media img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; background: #0f0a17; }
.pdp__media .placeholder { border-radius: 12px; }
.pdp__media .badges { top: 24px; left: 24px; right: 24px; }

.pdp__info { padding-top: 4px; }
.pdp__crumbs { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.pdp__crumbs a:hover { color: var(--yellow); }
.pdp__crumb-actual { color: var(--text); }
.pdp__title { margin: 10px 0 12px; font-family: var(--font-body); font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.pdp__codigo { margin: -4px 0 14px; font-size: 13px; color: var(--muted); }
.pdp__codigo strong { color: var(--text); font-weight: 600; letter-spacing: .5px; }
.pdp__desc { color: #d6cfe2; font-size: 15px; line-height: 1.65; }

.pdp__price { margin: 22px 0 24px; }
.pdp__price-main { display: flex; align-items: baseline; gap: 12px; }
.pdp__price-now { font-size: 36px; font-weight: 700; color: var(--yellow); line-height: 1; }
.pdp__price-note { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.pdp__price-list { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.pdp__price-list strong { color: var(--text); }

.pdp__qty { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.pdp__label { font-size: 13px; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.stepper button { width: 40px; height: 40px; background: none; border: 0; color: var(--text); font-size: 18px; cursor: pointer; }
.stepper button:hover { color: var(--yellow); }
.stepper input { width: 48px; padding: 0; border: 0; background: none; text-align: center; -moz-appearance: textfield; appearance: textfield; }
.stepper input:focus { box-shadow: none; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp__cta {
    display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px;
    border-radius: 10px; background: var(--purple); color: #fff;
    font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 14px;
    transition: box-shadow .2s, transform .15s;
}
.pdp__cta:hover { box-shadow: 0 0 22px var(--purple-glow); transform: translateY(-1px); }

.pdp__facts { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.pdp__facts li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.pdp__facts svg { width: 18px; height: 18px; flex: none; color: var(--purple); }
.pdp__facts li.is-ok svg { color: var(--ok); }
.pdp__facts li.is-no { color: var(--danger); }
.pdp__facts li.is-no svg { color: var(--danger); }

.pdp__share {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 18px;
    padding: 10px; border-radius: 999px; border: 0; cursor: pointer;
    background: var(--surface-2); color: var(--text); font-size: 14px;
    transition: background .2s;
}
.pdp__share:hover { background: var(--border); }

@media (max-width: 860px) {
    .pdp { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Vistas Ofertas / Novedades en el catálogo ---------- */
.chips__sep { flex: none; width: 1px; margin: 4px 4px; background: var(--border); }
.chip--new { color: var(--purple); border-color: rgba(166, 77, 255, .45); }
.chip--new.is-active { background: var(--purple); color: #fff; border-color: var(--purple); }
.chips { scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.chips::-webkit-scrollbar { height: 4px; }
.chips::-webkit-scrollbar-track { background: transparent; }
.chips::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ---------- Quiénes somos ---------- */
/* Igual que el Quiénes somos de DecoNoa: título y un solo párrafo centrados, enlace subrayado */
.about-hero {
    position: relative; overflow: hidden; scroll-margin-top: 110px;
    padding: 40px 40px 38px; text-align: center;
    border-radius: 20px; border: 1px solid var(--border);
    background:
        radial-gradient(circle at 80% 30%, rgba(242, 245, 61, .1), transparent 45%),
        radial-gradient(circle at 20% 70%, rgba(166, 77, 255, .22), transparent 50%),
        repeating-linear-gradient(90deg, rgba(166, 77, 255, .05) 0 1px, transparent 1px 38px),
        linear-gradient(135deg, var(--surface-2), var(--surface));
}
.about-hero__logo { display: block; width: 110px; height: auto; margin: 0 auto 14px; filter: drop-shadow(-8px 0 22px var(--purple-glow)) drop-shadow(8px 0 22px var(--yellow-glow)); animation: flotar 5s ease-in-out infinite; }
.about-hero__title { margin: 0 0 22px; font-family: var(--font-scrawl); font-weight: 400; font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; color: var(--purple); text-shadow: 0 0 22px var(--purple-glow); }
.about-hero__title span { color: var(--yellow); text-shadow: 0 0 22px var(--yellow-glow); }
.about-hero__lead { margin: 0 auto; max-width: 880px; font-size: 17px; line-height: 1.75; color: #ece6f5; text-wrap: pretty; }
.about-hero__link { display: inline-block; margin-top: 26px; font-size: 15.5px; color: var(--text); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .15s; }
.about-hero__link:hover { color: var(--yellow); }
.txt-purple { color: var(--purple); font-weight: 600; }
.txt-yellow { color: var(--yellow); font-weight: 600; }

.about-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.about-value {
    display: flex; flex-direction: column; gap: 8px; padding: 22px;
    border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
    transition: border-color .25s, transform .25s, box-shadow .25s;
}
a.about-value:hover { border-color: var(--purple); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(109, 40, 217, .25); }
.about-value svg { width: 36px; height: 36px; color: var(--purple); }
.about-value:nth-child(2) svg { color: var(--yellow); }
.about-value h2 { margin: 4px 0 0; font-family: var(--font-display); font-weight: 400; font-size: 22px; text-transform: uppercase; letter-spacing: .5px; }
.about-value p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.about-value__more { margin-top: auto; padding-top: 6px; color: var(--purple); font-weight: 700; font-size: 13px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.about-card { scroll-margin-top: 110px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .3s, box-shadow .3s; }
.about-card:target, .about-hero:target { border-color: var(--purple); box-shadow: 0 0 26px rgba(109, 40, 217, .3); }
.about-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.about-card__head svg { width: 32px; height: 32px; color: var(--purple); }
.about-card__head h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 26px; text-transform: uppercase; letter-spacing: .5px; }
.about-card p { margin: 0 0 14px; color: #d6cfe2; line-height: 1.6; }
.about-chips { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.about-chips li { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(166, 77, 255, .45); background: rgba(166, 77, 255, .1); font-size: 13px; font-weight: 600; }
.about-tip { padding: 12px 14px; border-radius: 10px; border-left: 3px solid var(--yellow); background: rgba(242, 245, 61, .07); font-size: 14px; color: #ddd5ea; }
.about-tip strong { color: var(--yellow); }

.about-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.about-steps li { display: flex; gap: 12px; align-items: flex-start; }
.about-steps__n {
    flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
    background: var(--purple); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 0 14px var(--purple-glow);
}
.about-steps strong { display: block; font-size: 15px; }
.about-steps small { display: block; font-size: 13px; }


@media (max-width: 860px) {
    .about-hero { padding: 30px 22px 28px; }
    .about-hero__lead { font-size: 15.5px; }
    .about-values, .about-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .about-hero__logo { animation: none; } }

/* ==========================================================================
   Carrito (mismo funcionamiento que DecoNoa, con los colores de Insane)
   ========================================================================== */

/* Miniatura sin foto: iniciales */
.thumb-ph {
    display: grid; place-items: center; flex: none;
    border-radius: 8px; background: var(--surface-2); color: rgba(166, 77, 255, .7);
    font-family: var(--font-display); font-size: 18px;
}

/* ---------- Cantidad + "Comprar" en la tarjeta ---------- */
.card__buy { display: flex; gap: 8px; margin-top: auto; }
.card__buy-qty {
    width: 56px; flex: none; height: 36px; padding: 0 6px; text-align: center;
    border-radius: 10px; -moz-appearance: textfield; appearance: textfield;
}
.card__buy-qty::-webkit-outer-spin-button, .card__buy-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.card__buy .btn { flex: 1; height: 36px; padding: 0 10px; }
.btn.is-disabled { opacity: .5; cursor: default; pointer-events: none; }

/* En la ficha: el formulario ocupa todo el ancho */
.pdp__buyform { display: block; margin: 0; }
.pdp__buyform .stepper .card__buy-qty { width: 48px; height: 40px; border: 0; background: none; border-radius: 0; }
.pdp__wa { display: block; margin-top: 12px; text-align: center; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.pdp__wa:hover { color: var(--yellow); }
button.pdp__cta { border: 0; cursor: pointer; font-family: inherit; }
button.pdp__cta:disabled { opacity: .6; cursor: wait; }

/* ---------- Cápsula "Ver pedido" en la cabecera ---------- */
.mini-cart { position: relative; flex: none; }
.cart-cta {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    height: 42px; padding: 0 14px; border-radius: 999px;
    background: var(--purple); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap;
    transition: background .15s, box-shadow .2s;
}
.cart-cta:hover { background: var(--purple-deep); box-shadow: 0 0 18px var(--purple-glow); }
.cart-cta svg, .cart-cta__t, .cart-cta__n { position: relative; z-index: 1; }
.cart-cta__n {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
    background: var(--yellow); color: var(--black); font-size: 12px; font-weight: 700;
}
/* Brillo diagonal que cruza la cápsula cada pocos segundos */
.cart-cta::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
    transform: translateX(-130%);
    animation: cart-cta-shine 3.6s ease-in-out 1s infinite;
    pointer-events: none;
}
@keyframes cart-cta-shine { 0% { transform: translateX(-130%); } 35%, 100% { transform: translateX(130%); } }
@keyframes cta-bump { 0% { transform: none; } 40% { transform: scale(1.3); } 100% { transform: none; } }
.cart-cta__n.is-bump { animation: cta-bump .32s ease; }

/* Carrito vacío: solo la bolsa con el 0 */
/* Al entrar el primer producto, la bolsa crece hasta la cápsula "Ver pedido" (como en DecoNoa) */
.cart-cta { border: 1px solid var(--purple); transition: background .35s ease, border-color .35s ease, padding .45s cubic-bezier(.22, .9, .28, 1), box-shadow .2s, gap .45s; }
.cart-cta__t { display: inline-block; max-width: 110px; overflow: hidden; opacity: 1; transition: max-width .45s cubic-bezier(.22, .9, .28, 1), opacity .35s ease .1s; }
.mini-cart.is-vacio .cart-cta { background: transparent; border-color: var(--border); padding: 0 12px; gap: 6px; }
.mini-cart.is-vacio .cart-cta__t { max-width: 0; opacity: 0; transition-delay: 0s; }
.mini-cart.is-vacio .cart-cta::after { display: none; }
.mini-cart.is-vacio .cart-cta__n { background: var(--surface-2); color: var(--muted); }

@media (prefers-reduced-motion: reduce) { .cart-cta__n.is-bump, .cart-cta::after { animation: none; } }

/* ---------- Mini-carrito: cuelga de la cápsula ---------- */
.mini-cart__panel {
    position: absolute; top: calc(100% + 12px); right: 0; z-index: 70;
    width: 290px; max-width: calc(100vw - 24px); padding: 16px 18px 18px;
    border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(166, 77, 255, .15);
    transform-origin: top right; opacity: 0; visibility: hidden; transform: scale(.4, .3);
    transition: opacity .2s ease, transform .22s cubic-bezier(.22, .9, .28, 1), visibility 0s linear .22s;
}
.mini-cart__panel::before {
    content: ""; position: absolute; top: -7px; right: 40px; width: 14px; height: 14px;
    background: var(--surface); border-left: 1px solid var(--border); border-top: 1px solid var(--border);
    transform: rotate(45deg); border-radius: 2px 0 0 0;
}
.mini-cart.is-open .mini-cart__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mini-cart__close { position: absolute; top: 6px; right: 10px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.mini-cart__item { display: flex; gap: 12px; align-items: flex-start; padding-right: 22px; }
.mini-cart__img { flex: none; }
.mini-cart__img img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.mini-cart__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 14px; }
.mini-cart__name { font-weight: 600; }
.mini-cart__qty { font-size: 13px; color: var(--muted); }
.mini-cart__ok { margin-top: 4px; font-weight: 700; color: var(--ok); }
.mini-cart__total {
    display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
    margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border); font-size: 14px; font-weight: 600;
}
.mini-cart__total strong { color: var(--yellow); font-size: 16px; }
.mini-cart__sug { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); }
.mini-cart__sug-title { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--purple); text-transform: uppercase; letter-spacing: .5px; }
.mini-cart__sug .mini-cart__item { align-items: center; padding-right: 0; }
.mini-cart__last { font-size: 11px; font-weight: 700; color: var(--danger); text-transform: uppercase; }
.mini-cart__sug-price { color: var(--yellow); }
.mini-cart__sug-add {
    margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 50%;
    border: 0; background: var(--purple); color: #fff; font-size: 20px; cursor: pointer;
}
.mini-cart__sug-add:disabled { opacity: .5; }
.mini-cart__sug-skip { margin-top: 10px; width: 100%; padding: 6px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

/* ---------- Carrito lateral ---------- */
.cart-lock { overflow: hidden; scrollbar-gutter: stable; }
/* Con el carrito abierto, los botones de la derecha de la cabecera se pliegan; al cerrar vuelven */
.topbar__tools { transition: opacity .3s ease, transform .4s cubic-bezier(.22, .9, .28, 1); }
.cart-lock .topbar__tools { opacity: 0; transform: translateX(40px); pointer-events: none; }
.cart-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(5, 3, 9, .65); opacity: 0; transition: opacity .25s ease; }
.cart-overlay.is-open { opacity: 1; }
.cart-overlay[hidden] { display: none; }

.cart-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
    display: flex; flex-direction: column; width: 500px; max-width: 100vw;
    background: var(--bg); border-left: 1px solid var(--border); color: var(--text);
    box-shadow: -10px 0 40px rgba(0, 0, 0, .6);
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s cubic-bezier(.22, .9, .28, 1), visibility 0s linear .3s;
}
.cart-drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.cart-drawer__head h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: .5px; text-transform: uppercase; }
.cart-drawer__close { border: 0; background: none; font-size: 30px; line-height: 1; color: var(--muted); cursor: pointer; }
.cart-drawer__close:hover { color: var(--text); }
.cart-drawer__body { flex: 1; display: flex; flex-direction: column; min-height: 0; transition: opacity .15s ease; }
.cart-drawer__body.is-busy { opacity: .55; pointer-events: none; }
.cart-drawer__aviso { margin: 12px 22px 0; padding: 9px 12px; border-radius: 8px; background: rgba(255, 77, 109, .1); color: var(--danger); font-size: 14px; }
.cart-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); padding: 24px; }
.cart-drawer__empty svg { color: var(--purple); }

.cart-drawer__list { flex: 1; margin: 0; padding: 0 22px; list-style: none; overflow-y: auto; }
.cart-drawer__item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.cart-drawer__img { flex: none; }
.cart-drawer__img img { width: 74px; height: 74px; object-fit: cover; border-radius: 10px; }
.cart-drawer__info { flex: 1; min-width: 0; }
.cart-drawer__name { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.cart-drawer__name:hover { color: var(--yellow); }
.cart-drawer__var { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.cart-drawer__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.cart-drawer__qty { display: inline-flex; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.cart-drawer__qty button { width: 30px; border: 0; background: none; font-size: 18px; color: var(--text); cursor: pointer; }
.cart-drawer__qty button:hover { color: var(--yellow); }
.cart-drawer__qty input { width: 42px; padding: 4px 0; border: 0; background: none; text-align: center; font-size: 14px; -moz-appearance: textfield; appearance: textfield; }
.cart-drawer__qty input:focus { box-shadow: none; }
.cart-drawer__qty input::-webkit-outer-spin-button, .cart-drawer__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-drawer__price { text-align: right; display: flex; flex-direction: column; }
.cart-drawer__price strong { font-size: 15px; color: var(--yellow); }
.cart-price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.cart-drawer__del { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 2px; }
.cart-drawer__del:hover { color: var(--danger); }

.cart-drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.cart-drawer__saved, .cart-drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.cart-drawer__saved { font-size: 14px; color: var(--ok); }
.cart-drawer__total { font-size: 16px; margin-bottom: 0; }
.cart-drawer__total strong { font-size: 22px; color: var(--yellow); }
.cart-drawer__note { margin: -6px 0 4px; font-size: 13px; color: var(--muted); }
.cart-drawer__foot .btn--block { margin-top: 0; }
.cart-drawer__checkout { min-height: 48px; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Aviso flotante ---------- */
.toast {
    position: fixed; left: 50%; bottom: 28px; z-index: 120;
    transform: translate(-50%, 16px); max-width: calc(100vw - 32px);
    padding: 12px 20px; border-radius: 999px;
    background: var(--surface-2); border: 1px solid var(--purple); color: var(--text);
    font-size: 15px; font-weight: 500; box-shadow: 0 12px 32px rgba(0, 0, 0, .5);
    opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.toast.is-in { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Checkout ---------- */
.ck { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.ck-h { margin: 26px 0 12px; font-family: var(--font-display); font-weight: 400; font-size: 22px; text-transform: uppercase; letter-spacing: .5px; }
.ck__main > .ck-h:first-child { margin-top: 0; }
.ck-options { display: grid; gap: 8px; margin-bottom: 8px; }
.form label.ck-option {
    flex-direction: row; align-items: center; gap: 12px; margin: 0; padding: 14px 16px;
    border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: pointer; font-weight: 600;
}
.ck-option input { width: auto; accent-color: var(--purple); }
.ck-option strong { margin-left: auto; color: var(--yellow); }
.ck-option:has(input:checked) { border-color: var(--purple); background: rgba(166, 77, 255, .1); }
.ck-row-calle { grid-template-columns: 2fr 1fr 1fr; }
.ck-address[hidden] { display: none; }

.ck__summary { position: sticky; top: 110px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 10px; }
.ck__summary .ck-h { margin-top: 0; }
.ck-summary__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ck-summary__list li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.ck-summary__img { position: relative; flex: none; }
.ck-summary__img img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.ck-summary__img i {
    position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
    border-radius: 999px; background: var(--purple); color: #fff; font-style: normal; font-size: 12px; font-weight: 700;
    display: grid; place-items: center;
}
.ck-summary__name { flex: 1; min-width: 0; }
.ck-summary__list strong { color: var(--yellow); white-space: nowrap; }
.ck-summary__total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--border); }
.ck-summary__note { margin: 0; font-size: 13px; }
.ck__summary .btn--block { margin-top: 0; }

.ck-ok { max-width: 560px; margin: 40px auto; text-align: center; }
.ck-ok__icon { width: 110px; height: auto; margin: 0 auto 8px; display: block; }
.ck-ok h1 { margin: 0 0 8px; font-family: var(--font-scrawl); font-weight: 400; font-size: 42px; color: var(--yellow); }
.ck-ok__list { list-style: none; margin: 22px 0; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); text-align: left; display: grid; gap: 8px; }
.ck-ok__list li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.ck-ok__total { padding-top: 10px; border-top: 1px solid var(--border); font-size: 16px !important; }
.ck-ok__total strong { color: var(--yellow); }

@media (max-width: 980px) {
    .ck { grid-template-columns: 1fr; }
    .ck__summary { position: static; }
}
@media (max-width: 680px) {
    .cart-cta__t { display: none; }
    .cart-cta { padding: 0 12px; }
    .mini-cart__panel { right: -8px; }
    .ck-row-calle { grid-template-columns: 1fr; }
}

/* ---------- Pedidos (panel) ---------- */
.order { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.order__box { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.order__box .ck-h:first-child { margin-top: 0; }
.order__box p { margin: 0 0 6px; }
.order__states { display: flex; flex-wrap: wrap; gap: 8px; }
.estado {
    display: inline-block; padding: 5px 12px; border-radius: 999px; cursor: pointer;
    font: inherit; font-size: 12px; font-weight: 700; text-transform: uppercase;
    background: transparent; color: var(--muted); border: 1px dashed var(--border);
}
.estado.is-on { border-style: solid; }
.estado--recibido.is-on { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.estado--confirmado.is-on { background: var(--purple); color: #fff; border-color: var(--purple); }
.estado--entregado.is-on { background: rgba(61, 220, 132, .15); color: var(--ok); border-color: var(--ok); }
.estado--cancelado.is-on { background: rgba(255, 77, 109, .12); color: var(--danger); border-color: var(--danger); }
span.estado { cursor: default; }
@media (max-width: 860px) { .order { grid-template-columns: 1fr; } }

/* ---------- Condición: nuevo / usado ---------- */
.badge--nuevo { background: rgba(10, 7, 16, .85); color: var(--ok); border: 1px solid rgba(61, 220, 132, .6); }
.badge--usado { background: #ff9f43; color: var(--black); box-shadow: 0 0 12px rgba(255, 159, 67, .4); }
.badge--inline { display: inline-block; margin-left: 6px; font-size: 10px; padding: 1px 7px; vertical-align: 2px; box-shadow: none; }
.ck-options--row { grid-template-columns: 1fr 1fr; margin-bottom: 16px; }

/* ---------- Botón Acceder (panel de administración) ---------- */
.acceder {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 16px; flex: none;
    border-radius: 999px; border: 1px solid var(--yellow); background: rgba(242, 245, 61, .08); color: var(--yellow);
    font-size: 14px; font-weight: 700; transition: background .2s, color .2s, box-shadow .2s;
}
.acceder svg, .acceder span { position: relative; z-index: 1; }
.acceder:hover { background: var(--yellow); color: var(--black); box-shadow: 0 0 18px var(--yellow-glow); }
/* Brillo diagonal al pasar el mouse (como el botón Acceder de DecoNoa) */
.acceder::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .8) 50%, transparent 65%);
    transform: translateX(-130%); pointer-events: none;
}
.acceder:hover::after { animation: shine-sweep 1.1s ease-in-out; }
@keyframes shine-sweep { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@media (prefers-reduced-motion: reduce) { .acceder:hover::after { animation: none; } }

/* Formulario de acceso dentro del panel lateral */
.login-drawer { padding: 26px 22px; overflow-y: auto; }
.login-drawer__logo { width: 96px; height: auto; margin: 6px auto 18px; display: block; filter: drop-shadow(-6px 0 18px var(--purple-glow)) drop-shadow(6px 0 18px var(--yellow-glow)); }
.login-drawer__form { display: flex; flex-direction: column; gap: 16px; }
.login-drawer__form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: var(--muted); }
.login-drawer__form input { height: 46px; font-size: 16px; }
.login-drawer__form .alert { margin: 0; }
.login-drawer__form .alert[hidden] { display: none; }
.login-drawer__form .btn--block { margin-top: 4px; }
.login-drawer__note { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
/* Hasta pantallas anchas va solo el ícono, para que el buscador no quede angosto */
@media (max-width: 1439px) {
    .acceder { width: 42px; padding: 0; justify-content: center; }
    .acceder span { display: none; }
}
.search { min-width: 130px; }
.topbar__tools { min-width: 0; }
@media (max-width: 680px) { .search { min-width: 0; } }
.auth__back { display: block; margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.auth__back:hover { color: var(--yellow); }

/* ---------- Banners de servicios (venta de usados / mantenimiento) ---------- */
.servicios { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px; }
.servicio-banner {
    position: relative; overflow: hidden; isolation: isolate; text-align: left; cursor: pointer;
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 190px;
    padding: 26px 28px; border-radius: var(--radius); border: 1px solid var(--border);
    background: var(--surface); color: var(--text); font: inherit;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.servicio-banner:hover { transform: translateY(-3px); }
.servicio-banner--yellow { background: radial-gradient(circle at 90% 30%, rgba(242, 245, 61, .2), transparent 55%), radial-gradient(rgba(242, 245, 61, .07) 1.2px, transparent 1.6px) 0 0 / 14px 14px, var(--surface); }
.servicio-banner--yellow:hover { border-color: var(--yellow); box-shadow: 0 10px 30px rgba(242, 245, 61, .15); }
.servicio-banner--purple { background: radial-gradient(circle at 90% 30%, rgba(166, 77, 255, .35), transparent 55%), repeating-linear-gradient(90deg, rgba(166, 77, 255, .06) 0 1px, transparent 1px 34px), var(--surface); }
.servicio-banner--purple:hover { border-color: var(--purple); box-shadow: 0 10px 30px rgba(109, 40, 217, .3); }
.servicio-banner__kicker { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.servicio-banner--yellow .servicio-banner__kicker { color: var(--yellow); }
.servicio-banner--purple .servicio-banner__kicker { color: var(--purple); }
.servicio-banner__title { font-family: var(--font-scrawl); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; max-width: 78%; transform: rotate(-2deg); }
.servicio-banner--yellow .servicio-banner__title { color: var(--yellow); }
.servicio-banner--purple .servicio-banner__title { color: var(--purple); }
.servicio-banner__text { max-width: 70%; font-size: 14px; color: #ddd5ea; }
.servicio-banner__cta { margin-top: auto; padding: 8px 16px; border-radius: 8px; border: 1px solid; font-weight: 700; font-size: 13px; text-transform: uppercase; }
.servicio-banner--yellow .servicio-banner__cta { border-color: var(--yellow); color: var(--yellow); }
.servicio-banner--purple .servicio-banner__cta { border-color: var(--purple); color: #fff; }
.servicio-banner__deco { position: absolute; right: 18px; bottom: 14px; z-index: -1; width: 110px; height: 110px; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: .35; }
.servicio-banner--yellow .servicio-banner__deco { stroke: var(--yellow); }
.servicio-banner--purple .servicio-banner__deco { stroke: var(--purple); }
/* Reflejo al pasar el mouse */
.servicio-banner::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .12) 50%, transparent 65%);
    transform: translateX(-130%);
}
.servicio-banner:hover::after { animation: shine-sweep 1.2s ease-in-out; }

/* Formularios de servicios en el panel lateral */
.servicio-intro { margin: 0 0 4px; color: #ddd5ea; line-height: 1.6; }
.servicio-cats { margin: 0; padding: 12px 12px 14px; border: 1px solid var(--border); border-radius: 12px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s; }
.servicio-cats legend { padding: 0 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.servicio-cats.is-error { border-color: var(--danger); }

/* Componentes elegidos: etiquetas con × */
.picker-elegidos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.picker-elegidos:empty { display: none; }
.picker-elegido {
    display: inline-flex; align-items: center; gap: 4px; padding: 5px 6px 5px 12px; border-radius: 999px;
    background: rgba(166, 77, 255, .18); border: 1px solid var(--purple); font-size: 13px; font-weight: 600;
    animation: picker-pop .3s cubic-bezier(.3, 1.5, .5, 1) both;
}
.picker-elegido button { width: 24px; height: 24px; border: 0; border-radius: 50%; background: none; color: var(--text); font-size: 18px; line-height: 1; cursor: pointer; }
.picker-elegido button:hover { background: rgba(255, 255, 255, .12); color: var(--danger); }

/* Botón "+ Agregar componente" */
.picker-abrir {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px;
    border: 1px dashed var(--purple); border-radius: 10px; background: rgba(166, 77, 255, .06);
    color: var(--text); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
    transition: background .2s, border-color .2s;
}
.picker-abrir span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--purple); color: #fff; font-size: 18px; line-height: 1; }
.picker-abrir:hover { background: rgba(166, 77, 255, .16); border-style: solid; }

/* Ventana de componentes con el fondo difuminado */
.picker {
    position: fixed; inset: 0; z-index: 130;
    display: grid; place-items: center; padding: 16px;
    background: rgba(5, 3, 9, .55);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    opacity: 0; transition: opacity .25s ease;
}
.picker[hidden] { display: none; }
.picker.is-open { opacity: 1; }
.picker__card {
    width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto;
    padding: 20px; border-radius: 18px; border: 1px solid var(--border); background: var(--bg);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 0 1px rgba(166, 77, 255, .2);
    transform: scale(.92) translateY(14px); transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.picker.is-open .picker__card { transform: none; }
.picker__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.picker__head strong { font-family: var(--font-display); font-weight: 400; font-size: 22px; text-transform: uppercase; letter-spacing: .5px; }
.picker__close { border: 0; background: none; color: var(--muted); font-size: 30px; line-height: 1; cursor: pointer; }
.picker__close:hover { color: var(--text); }
.picker__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }

/* Cada componente "salta" al abrir, uno detrás del otro */
.login-drawer__form label.picker__item {
    flex-direction: row; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px;
    border: 1px solid var(--border); border-radius: 12px; background: var(--surface);
    font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; user-select: none;
    transition: border-color .15s, background .15s, transform .15s;
}
.picker.is-open .picker__item { animation: picker-pop .4s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--i, 0) * 35ms + 80ms); }
.login-drawer__form label.picker__item:hover { border-color: var(--muted); transform: translateY(-1px); }
.login-drawer__form label.picker__item:has(input:checked) { border-color: var(--purple); background: rgba(166, 77, 255, .18); box-shadow: 0 0 16px rgba(166, 77, 255, .25); }
.picker__item input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--purple); cursor: pointer; }
@keyframes picker-pop { from { opacity: 0; transform: scale(.6) translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .picker.is-open .picker__item, .picker-elegido { animation: none; } }
@media (max-width: 420px) { .picker__grid { grid-template-columns: 1fr; } }
/* Los textos largos no se agrandan a mano: crecen solos al escribir (data-autogrow) */
textarea[data-autogrow] { resize: none; overflow: hidden; min-height: 92px; }
.login-drawer__form textarea { font-size: 15px; }
.servicio-lista { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 14px; }
.servicio-lista li { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.servicio-lista svg { width: 30px; height: 30px; flex: none; color: var(--purple); }
.servicio-lista strong { display: block; font-size: 15px; }
.servicio-lista small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; }
.servicio-volver { align-self: flex-start; border: 0; background: none; padding: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; }
.servicio-volver:hover { color: var(--yellow); }
.servicio-ok { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 6px; text-align: center; }
.servicio-ok svg { color: var(--ok); }
.servicio-ok p { margin: 0 0 10px; font-size: 16px; line-height: 1.6; }

/* ---------- Panel: propuestas de venta ---------- */
.leads { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.lead { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.lead__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.lead__head form { margin: 0; }
.lead__name { display: block; font-size: 16px; }
.lead__date { font-size: 12px; color: var(--muted); }
.lead__contact { margin: 8px 0; font-size: 14px; }
.lead__contact a:hover { color: var(--yellow); }
.lead__tags { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lead__tags li { padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(166, 77, 255, .45); background: rgba(166, 77, 255, .1); font-size: 12px; font-weight: 600; }
.lead__desc { margin: 0; padding-top: 10px; border-top: 1px solid var(--border); color: #d6cfe2; font-size: 14px; line-height: 1.6; }

@media (max-width: 860px) {
    .servicios { grid-template-columns: 1fr; }
    .servicio-banner__title, .servicio-banner__text { max-width: 100%; }
}
.servicio-form[hidden], .servicio-info[hidden] { display: none; }

/* --- Demo Nuvantis: fotos de producto sin fondo --- */
.card__media img, .pdp__media img { filter: drop-shadow(0 0 22px rgba(168, 85, 247, .28)) drop-shadow(0 10px 18px rgba(0, 0, 0, .45)); }
.card__media:has(img) { background: radial-gradient(circle at 50% 45%, #241838, #0f0a17 70%); }
