/* File: public/assets/css/style.css — V2 2025 */

/* =========================
   BASE & TOKENS
   ========================= */
:root {
    --color-bg: #050509;
    --color-bg-alt: #0b0b12;
    --color-card: #101018;
    --color-card-soft: #141422;
    --color-primary: #ff4b7d;
    --color-primary-soft: rgba(255, 75, 125, 0.6);
    --color-accent: #44e0ff;
    --color-success: #4cffb2;
    --color-text: #f7f7ff;
    --color-muted: #a0a0b5;
    --color-border: #26263a;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 999px;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.6);
    --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.85);
    --transition-fast: 0.18s ease-out;
    --transition-med: 0.32s ease-out;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

/* Animación de entrada global */
body {
    background: radial-gradient(circle at top, #141427 0, #050509 55%);
    color: var(--color-text);
    font-family: var(--font-sans);
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.4s ease-out,
        transform 0.4s ease-out;
}

body.page-loaded {
    opacity: 1;
    transform: translateY(0);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   LAYOUT GENERAL
   ========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background:
        linear-gradient(to bottom, rgba(5, 5, 9, 0.98), rgba(5, 5, 9, 0.82), transparent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Barra finita de progreso/scroll */
.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform-origin: left;
    transition: width 0.1s linear;
}

body.scrolling .site-header::after {
    width: var(--scroll-progress, 0%);
}

.site-main {
    padding: 1.5rem 1rem 3rem;
    max-width: 1120px;
    margin: 0 auto;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.5rem 1rem 2rem;
    background: #050509;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    gap: 0.75rem;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.footer-links a {
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.footer-links a:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--color-muted);
}

/* =========================
   NAVBAR
   ========================= */

.navbar {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-left,
.navbar-center,
.navbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-left {
    flex: 1;
}

.navbar-center {
    display: none;
}

.navbar-right {
    margin-left: auto;
    align-items: center;
    gap: 0.75rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: radial-gradient(circle at 20% 0, #ffde7b, #ff4b7d);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.logo-text {
    font-weight: 600;
    letter-spacing: 0.03em;
}

.navbar-center a,
.navbar-right a {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.navbar-center a:hover,
.navbar-right a:hover {
    color: var(--color-text);
}

.nav-user {
    font-size: 0.85rem;
    color: var(--color-muted);
}

.btn-pill {
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.02);
}

.nav-cart-link {
    font-size: 0.9rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.navbar-toggle {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.2rem;
    display: inline-flex;
}

/* Mobile nav expand */
@media (max-width: 767px) {
    .navbar {
        flex-wrap: wrap;
    }

    .navbar-center,
    .navbar-right {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        display: none;
    }

    .navbar-center.nav-open,
    .navbar-right.nav-open {
        display: flex;
        padding-top: 0.4rem;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
    }
}

@media (min-width: 768px) {
    .navbar-center {
        display: flex;
    }

    .navbar-toggle {
        display: none;
    }
}

/* =========================
   BOTONES
   ========================= */

.btn-primary,
.btn-outline,
.btn-link {
    cursor: pointer;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    padding: 0.5rem 1.1rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        background var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.3), transparent 60%);
    opacity: 0;
    transform: translate3d(-30%, -50%, 0);
    transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.btn-primary:hover::after {
    opacity: 1;
    transform: translate3d(40%, -10%, 0);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.7);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--color-text);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.04);
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--color-muted);
    font-size: 0.8rem;
}

.btn-link:hover {
    color: var(--color-text);
}

/* =========================
   SECCIONES & SCROLL REVEAL
   ========================= */

.section {
    margin-top: 2.25rem;
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
    will-change: opacity, transform;
}

.section.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.section-header {
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 1.3rem;
    margin: 0 0 0.25rem;
}

.section-header p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

/* =========================
   HERO
   ========================= */

.hero {
    display: grid;
    gap: 1.6rem;
    margin-top: 1rem;
    padding: 1.4rem 1.1rem 1.7rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 0 0, rgba(255, 75, 125, 0.22), transparent 55%),
        radial-gradient(circle at 100% 0, rgba(68, 224, 255, 0.2), transparent 55%),
        radial-gradient(circle at 50% 120%, rgba(7, 7, 20, 0.95), #050509 70%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
    position: relative;
    overflow: hidden;
}

/* halos en el fondo */
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.55;
    pointer-events: none;
}

.hero::before {
    width: 450px;
    height: 450px;
    top: -160px;
    left: -140px;
    background: radial-gradient(circle, rgba(255, 75, 125, 0.7), transparent 60%);
}

.hero::after {
    width: 380px;
    height: 380px;
    bottom: -180px;
    right: -140px;
    background: radial-gradient(circle, rgba(68, 224, 255, 0.6), transparent 60%);
}

.hero-content,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.hero-kicker {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* banda de urgencia + countdown */
.hero-countdown-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.78rem;
    color: var(--color-muted);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.65);
}

.hero-countdown-label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.7rem;
    color: #fbe9ff;
}

.hero-countdown-time {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--color-success);
}

.hero-countdown-note {
    opacity: 0.8;
}

.hero h1 {
    font-size: 2rem;
    line-height: 1.08;
    margin: 0.2rem 0 0.15rem;
}

.hero p {
    margin: 0;
    color: var(--color-muted);
}

.hero-primary-cta {
    margin-top: 0.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero-tags {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.75rem;
}

.hero-tags span {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.15rem 0.55rem;
    background: rgba(0, 0, 0, 0.35);
}

/* tira de confianza */
.hero-meta-strip {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-size: 0.78rem;
}

.hero-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-muted);
}

/* HERO CARD (Drop de medianoche) */

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), rgba(9, 9, 24, 0.96));
    border-radius: 24px;
    padding: 1rem 1rem 0.95rem;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.14);
    max-width: 320px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255, 75, 125, 0.42),
        rgba(68, 224, 255, 0.4),
        rgba(255, 201, 92, 0.45)
    );
    opacity: 0.18;
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.hero-card-tag {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.hero-card-pill {
    font-size: 0.75rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* zona central del zapato */
.hero-shoe-placeholder {
    position: relative;
    margin: 0.7rem 0 0.5rem;
    height: 150px;
}



/* =========================
   HERO · Emblema central Drop
   ========================= */

.hero-drop-emblem {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* halo de luz detrás del token */
.hero-drop-emblem-glow {
    position: absolute;
    width: 78%;
    max-width: 230px;
    height: 96px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 0% 0%, rgba(255,255,255,0.35), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(0,0,0,0.9), transparent 60%);
    filter: blur(12px);
    opacity: 0.8;
}

/* cuerpo del token premium */
.hero-drop-emblem-core {
    position: relative;
    z-index: 2;
    min-width: 210px;
    max-width: 260px;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(5,5,18,0.98), rgba(12,12,32,0.98)),
        radial-gradient(circle at 0 0, rgba(255,255,255,0.16), transparent 60%);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.9),
        0 0 0 1px rgba(0,0,0,0.85) inset;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

/* chip con el nº de pares del drop */
.hero-drop-emblem-chip {
    font-size: 0.75rem;
    padding: 0.15rem 0.75rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    color: #070712;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,0.9);
}

/* texto principal del token */
.hero-drop-emblem-title {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* texto pequeño debajo */
.hero-drop-emblem-sub {
    font-size: 0.76rem;
    color: var(--text-soft);
}

/* micro-animación suave del emblema */
.hero-card-drop .hero-drop-emblem-core {
    transform: translateY(0) scale(0.98);
    animation: heroDropToken 5s ease-in-out infinite alternate;
}

@keyframes heroDropToken {
    0%   { transform: translateY(0) scale(0.98) rotate(-2deg); }
    50%  { transform: translateY(-2px) scale(1.03) rotate(2deg); }
    100% { transform: translateY(0) scale(0.98) rotate(-1deg); }
}


/* Glow de fondo grande */
.hero-shoe-circle {
    position: absolute;
    inset: 10px 24px auto;
    height: 110px;
    border-radius: 999px;
    background: conic-gradient(
        from 210deg,
        var(--color-primary),
        var(--color-accent),
        #ffffff,
        var(--color-primary)
    );
    filter: blur(12px);
    opacity: 0.9;
}

/* órbita central donde iría el sneaker */
.hero-sneaker-orbit {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    animation: heroOrbit 6s ease-in-out infinite alternate;
}

.hero-sneaker-glow {
    width: 80%;
    height: 80px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 0, #ffffff, transparent 60%);
    filter: blur(10px);
    opacity: 0.9;
}

/* si se usa imagen real del zapato */
.hero-sneaker-img {
    position: absolute;
    width: 82%;
    max-width: 220px;
    object-fit: contain;
    transform: translateY(-8px);
}

/* sombra inferior */
.hero-shoe-shadow {
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 14px;
    height: 26px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.95), transparent);
    opacity: 0.9;
}

.hero-card-footer {
    position: relative;
    z-index: 2;
}

/* Botón central del HERO Drop */
.hero-drop-btn-wrap {
    margin-top: 0.65rem;
    display: flex;
    justify-content: center;
}

.hero-drop-btn {
    min-width: 180px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.9);
    font-weight: 600;
    letter-spacing: 0.01em;
}


.hero-small {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin: 0 0 0.4rem;
}

.hero-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.75rem;
    animation: floatUp 4.4s ease-in-out infinite alternate;
}

.hero-card-badges span {
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* pills flotantes animadas */
.hero-float-pill {
    position: absolute;
    font-size: 0.7rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: rgba(5, 5, 14, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fcefff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
    z-index: 3;
}

.hero-float-pill--top {
    top: 16px;
    left: -6px;
    animation: floatUp 4.4s ease-in-out infinite alternate;
}

.hero-float-pill--bottom {
    bottom: 22px;
    right: -4px;
    animation: floatUp 4.9s ease-in-out infinite alternate;
}

/* marquee inferior */
.hero-marquee {
    position: relative;
    margin-top: 0.5rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 0.35rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    background: radial-gradient(circle at 0 50%, rgba(255, 75, 125, 0.14), transparent 70%);
}

.hero-marquee-track {
    display: inline-flex;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    animation: marqueeSlide 16s linear infinite;
}

.hero-marquee-track span::before {
    content: "• ";
    opacity: 0.6;
}

.hero-carousel {
    position: relative;
}

.hero-card-drop {
    display: none;
}

.hero-card-drop.is-active {
    display: block;
}

.hero-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    padding: 0;
}

.hero-dot.is-active {
    width: 18px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

/* 4 tenis dentro de la órbita */
.hero-sneaker-orbit--family {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4px;
}

.hero-sneaker-tile {
    border-radius: 14px;
    background: radial-gradient(circle at 30% 0,
        rgba(255, 255, 255, 0.9),
        rgba(255, 75, 125, 0.9),
        rgba(0, 0, 0, 0.95));
    filter: blur(0.6px);
    opacity: 0.97;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.8);
}

.hero-sneaker-tile--1 { transform: rotate(-5deg); }
.hero-sneaker-tile--2 { transform: rotate(4deg); }
.hero-sneaker-tile--3 { transform: rotate(2deg); }
.hero-sneaker-tile--4 { transform: rotate(-4deg); }



/* =========================
   DROP (selección tipo Temu)
   ========================= */

.section-drop {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.drop-header {
    margin-bottom: 0.5rem;
}

.drop-badge-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.drop-header h1 {
    font-size: 1.7rem;
    margin: 0.2rem 0 0.3rem;
}

.drop-subtitle {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

/* Barra de progreso */

.drop-progress-shell {
    margin-top: 0.7rem;
    padding: 0.6rem 0.7rem;
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.drop-progress-top {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.35rem;
}

.drop-progress-shell span {
    font-size: 0.8rem;
}

.drop-progress-hint {
    color: var(--color-muted);
}

.drop-progress-bar {
    position: relative;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.drop-progress-bar-inner {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transition: width 0.25s ease-out;
}

/* Grid de cards */

.drop-form {
    position: relative;
    padding-bottom: 4.3rem; /* espacio para la sticky bar en mobile */
}

/* Cuando ya no hay barra fija (porque se muestra el resumen) */
.drop-form--no-sticky {
    padding-bottom: 1.2rem; /* menos espacio, ya no hay barra flotante */
}


.drop-grid {
    display: grid;
    gap: 0.9rem;
    margin-bottom: 0.8rem;
}




@media (min-width: 600px) {
    .drop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .drop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.drop-card--hidden {
    display: none;
}

/* Selector de talla dentro de cada card del Drop */
.drop-size-row {
    margin-top: 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.drop-size-label {
    font-size: 0.72rem;
    color: var(--text-soft);
}

.drop-size-select {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(5, 8, 16, 0.96);
    color: var(--text-main);
    padding: 0.25rem 0.7rem;
    font-size: 0.8rem;
    outline: none;
    appearance: none;
}

/* Botón "Ver fotos" sobre la imagen */
.drop-card-view-btn {
    position: absolute;
    right: 6px;
    bottom: 6px;
    padding: 0.16rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-main);
    font-size: 0.7rem;
    cursor: pointer;
    transition: background 0.15s ease-out, border-color 0.15s ease-out, transform 0.12s ease-out;
}

.drop-card-view-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
}


.drop-card {
    position: relative;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), rgba(6, 6, 16, 0.98));
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.85);
    overflow: hidden;
    cursor: pointer;
    transition:
        transform 0.18s ease-out,
        box-shadow 0.18s ease-out,
        border-color 0.18s ease-out;
}

.drop-card-main {
    display: flex;
    gap: 0.6rem;
    padding: 0.7rem 0.7rem 0.4rem;
}

.drop-card-image-wrapper {
    position: relative;
    flex: 0 0 88px;
    border-radius: 16px;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(255,255,255,0.12), rgba(3,3,9,0.9));
}

.drop-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.drop-card-tag {
    position: absolute;
    bottom: 7px;
    left: 7px;
    font-size: 0.65rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.drop-card-check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    opacity: 0.4;
    transition:
        background 0.18s ease-out,
        transform 0.18s ease-out,
        opacity 0.18s ease-out,
        border-color 0.18s ease-out;
}

.drop-card-check-icon {
    font-size: 0.8rem;
}

.drop-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.drop-card-name {
    font-size: 0.96rem;
    margin: 0 0 0.1rem;
}

.drop-card-sku {
    font-size: 0.76rem;
    color: var(--color-muted);
    margin: 0 0 0.25rem;
}

.drop-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.drop-card-price {
    font-size: 0.95rem;
    font-weight: 600;
}

.drop-card-note {
    font-size: 0.76rem;
    color: var(--color-muted);
}

/* Footer de card */

.drop-card-footer {
    padding: 0 0.7rem 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.drop-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.75);
}

.drop-qty-btn {
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    padding: 0;
}

.drop-qty-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

.drop-qty-input {
    width: 34px;
    background: transparent;
    border: none;
    color: #fff;
    text-align: center;
    font-size: 0.85rem;
}

.drop-qty-input:focus {
    outline: none;
}

.drop-qty-hint {
    font-size: 0.72rem;
    color: var(--color-muted);
    margin: 0.1rem 0 0;
}

/* Estados seleccionados / animaciones */

.drop-card--selected {
    border-color: var(--color-accent);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.95);
    transform: translateY(-3px);
}

.drop-card--selected .drop-card-check {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-color: transparent;
    transform: scale(1);
    opacity: 1;
}

.drop-card--bump {
    animation: dropBump 0.18s ease-out;
}

@keyframes dropBump {
    0% { transform: translateY(-3px) scale(1); }
    50% { transform: translateY(-4px) scale(1.02); }
    100% { transform: translateY(-3px) scale(1); }
}

/* Sticky bar inferior */

.drop-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.45rem 0.9rem;
    background: radial-gradient(circle at top, rgba(0,0,0,0.95), rgba(0,0,0,1));
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.9);
    z-index: 50;
}

/* Cuando ya se calculó el Drop y se muestra el resumen:
   la barra deja de ser fija para no tapar el botón final */
.drop-sticky-bar--summary {
    position: static;
    box-shadow: none;
    border-top: none;
    margin-top: 0.7rem;
}


.drop-sticky-main {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
}

.drop-sticky-left {
    flex: 1;
}

.drop-sticky-line {
    font-size: 0.8rem;
    margin: 0;
}

.drop-sticky-sub {
    font-size: 0.76rem;
    margin: 0.15rem 0 0;
    color: var(--color-muted);
}

.drop-sticky-right {
    flex: 0 0 auto;
}

.btn-primary--compact {
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
}

.btn-primary--full {
    width: 100%;
    text-align: center;
}

/* Acciones debajo del grid */

.drop-actions {
    margin-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Comparativa final */

.drop-summary-final {
    margin-top: 1.4rem;
}

.drop-compare {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.8rem;
}

@media (min-width: 640px) {
    .drop-compare {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.drop-compare-card {
    border-radius: 16px;
    padding: 0.7rem 0.8rem;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.drop-compare-card h3 {
    margin: 0 0 0.25rem;
    font-size: 0.9rem;
}

.drop-amount {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.drop-saving {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: var(--color-success);
}

.drop-compare-card--highlight {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.08), rgba(9, 9, 24, 0.98));
    border-color: var(--color-accent);
}

.drop-final-cta {
    margin-top: 0.9rem;
}

/* ===== Admin · Hero Drops ===== */

.hero-drop-form small {
    font-size: 0.75rem;
    color: var(--text-soft);
}

.hero-drop-products {
    margin-top: 0.5rem;
}

.hero-drop-products-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
}

.hero-drop-products-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.hero-drop-products-tools .admin-input,
.hero-drop-products-tools input[type="text"] {
    min-width: 220px;
    flex: 1;
}

.hero-drop-selected-count {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.hero-drop-products-grid {
    display: grid;
    gap: 0.55rem;
    max-height: 420px;
    overflow: auto;
    padding-right: 0.25rem;
}

@media (min-width: 900px) {
    .hero-drop-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 460px;
    }
}

.hero-drop-product-pill {
    position: relative;
    display: flex;
    gap: 0.65rem;
    align-items: center;
    padding: 0.55rem 0.6rem;
    border-radius: 999px;
    background: rgba(5, 5, 12, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition:
        background 0.18s ease-out,
        border-color 0.18s ease-out,
        box-shadow 0.18s ease-out,
        transform 0.15s ease-out;
}

.hero-drop-product-pill:hover {
    border-color: rgba(255, 255, 255, 0.32);
    transform: translateY(-1px);
}

.hero-drop-product-pill input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hero-drop-product-thumb {
    flex: 0 0 52px;
    height: 52px;
    border-radius: 999px;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(255,255,255,0.16), rgba(10,10,24,0.95));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-drop-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-drop-product-placeholder {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px dashed rgba(255,255,255,0.28);
}

.hero-drop-product-meta {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.hero-drop-product-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.hero-drop-product-name {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.hero-drop-product-badge {
    font-size: 0.68rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
}

.hero-drop-product-badge--premium {
    background: linear-gradient(90deg, #ff5ca8, #ffce5c);
    color: #070711;
    border-color: transparent;
}

.hero-drop-product-sku,
.hero-drop-product-cat {
    font-size: 0.74rem;
    color: var(--text-soft);
}

.hero-drop-product-price {
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.1rem;
}

/* Estado seleccionado */

.hero-drop-product-pill.is-selected {
    border-color: var(--accent-strong, #00e6c2);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.9);
    background: radial-gradient(circle at top, rgba(0,230,194,0.16), rgba(5,5,15,0.98));
}
.hero-drop-product-pill.is-selected .hero-drop-product-name {
    font-weight: 600;
}

/* Footer acciones */

.hero-drop-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}




/* Animaciones hero */
@keyframes heroOrbit {
    0% {
        transform: rotate(0deg) scale(1);
    }
    100% {
        transform: rotate(9deg) scale(1.03);
    }
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 0.95;
    }
    100% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

@keyframes marqueeSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* layout hero en desktop */
@media (min-width: 768px) {
    .hero {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
        align-items: center;
    }
}


/* =========================
   CATÁLOGO
   ========================= */

.catalog-layout {
    display: grid;
    gap: 1.5rem;
}

.catalog-filters {
    padding: 1rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.filter-form {
    display: grid;
    gap: 0.75rem;
}

.filter-group label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #050509;
    color: var(--color-text);
    font-size: 0.85rem;
}

.catalog-results {
    min-height: 120px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1rem;
}

/* ====== Paginación catálogo ====== */

.catalog-pagination {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.page-link,
.page-link.page-ellipsis {
    min-width: 2.3rem;
    height: 2.3rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(7, 10, 20, 0.96);
    color: var(--text-soft);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition:
        background 0.15s ease-out,
        border-color 0.15s ease-out,
        transform 0.12s ease-out,
        box-shadow 0.15s ease-out;
}

.page-link:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: radial-gradient(circle at top, rgba(255,255,255,0.12), rgba(6,10,22,0.98));
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.8);
}

.page-link.is-active {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    color: #050712;
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9);
    font-weight: 600;
}

.page-link-prev,
.page-link-next {
    padding: 0 0.75rem;
    min-width: auto;
}

/* ====== Paginación reutilizable (catálogo + drop) ====== */

.catalog-pagination {
    margin-top: 1.2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
}

.page-link {
    min-width: 2.3rem;
    height: 2.3rem;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(7, 10, 20, 0.96);
    color: var(--text-soft);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.15s ease-out,
        border-color 0.15s ease-out,
        transform 0.12s ease-out,
        box-shadow 0.15s ease-out;
}

.page-link:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: radial-gradient(circle at top, rgba(255,255,255,0.12), rgba(6,10,22,0.98));
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.8);
}

.page-link.is-active {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    color: #050712;
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.9);
    font-weight: 600;
}


/* =========================
   TARJETAS PRODUCTO
   ========================= */

.product-card {
    background: var(--color-card);
    border-radius: 20px;
    padding: 0.7rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition:
        transform var(--transition-med),
        box-shadow var(--transition-med),
        border-color var(--transition-med),
        background var(--transition-med);
    opacity: 0;
    transform: translateY(14px) scale(0.98);
}

.product-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-card-inner {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.product-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.06), rgba(10, 10, 20, 0.98));
    padding: 0.6rem;
}

.product-image {
    width: 100%;
    max-height: 190px;
    object-fit: cover;
    transform: translateY(4px) scale(1.02);
    transition: transform var(--transition-med), filter var(--transition-med);
    filter: saturate(1.05);
}

.product-card:hover .product-image {
    transform: translateY(0) scale(1.05);
    filter: saturate(1.15);
}

.product-info {
    display: grid;
    gap: 0.2rem;
}

.product-name {
    font-size: 0.95rem;
    margin: 0;
}

.product-name a {
    color: var(--color-text);
}

.product-meta {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin: 0;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.price-old {
    text-decoration: line-through;
    color: var(--color-muted);
    font-size: 0.8rem;
}

.price-sale {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.price-normal {
    font-size: 0.95rem;
    font-weight: 600;
}

.product-cta-locked {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.product-actions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.45rem;
    flex-wrap: wrap;
}

/* Badges */

.badge {
    position: absolute;
    top: 8px;
    left: 10px;
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;              /* ← clave: ponerlos por encima de la imagen */
    pointer-events: none;    /* opcional: que no bloqueen clics en la tarjeta */
}

.badge-new {
    top: 8px;
    right: 10px;
    left: auto;
    background: rgba(68, 224, 255, 0.12);
    border-color: rgba(68, 224, 255, 0.6);
    color: #c3f3ff;
}

.badge-newoffer {
    top: auto;
    right: 8px;
    left: auto;
    background: rgba(255, 227, 82, 0.16);
    border-color: rgba(255, 227, 82, 0.7);
    color: #ffe752;
}

.badge-offer {
    bottom: 8px;
    left: 10px;
    top: auto;
    background: rgba(255, 227, 82, 0.16);
    border-color: rgba(255, 227, 82, 0.7);
    color: #ffe752;
}

.badge-premium {
    background: linear-gradient(135deg, #ff4b7d, #ffc95c);
    color: #180814;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 24px rgba(255, 75, 125, 0.7);
}

/* =========================
   EFECTO PREMIUM V2
   ========================= */

/* 1) Border neon + “drip” bajo la tarjeta
   2) Halo orbitando en el suelo
   3) Micro tilt 3D (controlado con JS) */

.product-card--premium {
    border-image: none;
    
    position: relative;
    overflow: visible;
    background: radial-gradient(circle at 0 0, rgba(255, 75, 125, 0.12), transparent 55%), var(--color-card);
}

.product-card--premium::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 75, 125, 0.18), rgba(68, 224, 255, 0.16));
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.35s ease-out;
    pointer-events: none;
}

.product-card--premium::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -20px;
    width: 80%;
    height: 26px;
    background:
        radial-gradient(circle at 10% 0, rgba(255, 255, 255, 0.9), transparent 55%),
        radial-gradient(circle at 35% 5%, rgba(255, 75, 125, 0.95), transparent 65%),
        radial-gradient(circle at 65% 0, rgba(255, 201, 92, 0.95), transparent 65%),
        radial-gradient(circle at 90% 5%, rgba(68, 224, 255, 0.9), transparent 60%);
    filter: blur(1.4px);
    opacity: 0.95;
    border-radius: 0 0 80px 80px;
    animation: dripFloat 3.4s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

.premium-orbit {
    position: absolute;
    inset: auto 12px 10px;
    height: 28px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.9), transparent 70%);
    transform-origin: center;
    animation: orbitGlow 4s ease-in-out infinite;
    opacity: 0.9;
}

.product-card--premium:hover {
    background: radial-gradient(circle at 0 0, rgba(255, 75, 125, 0.16), transparent 58%), var(--color-card-soft);
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 75, 125, 0.42);
}

.product-card--premium:hover::before {
    opacity: 1;
}

@keyframes dripFloat {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    100% {
        transform: translateX(-50%) translateY(4px);
    }
}

@keyframes orbitGlow {
    0% {
        transform: scaleX(0.9);
        opacity: 0.7;
    }
    50% {
        transform: scaleX(1.08);
        opacity: 1;
    }
    100% {
        transform: scaleX(0.95);
        opacity: 0.8;
    }
}

/* =========================
   DETALLE DE PRODUCTO
   ========================= */

.product-detail-grid {
    display: grid;
    gap: 1.5rem;
}

.product-gallery {
    background: var(--color-card);
    border-radius: 20px;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.product-gallery-main {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.product-gallery-thumbs {
    display: flex;
    gap: 0.4rem;
}

.product-gallery-thumbs .thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.product-gallery-thumbs .thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.product-detail-info h1 {
    margin: 0 0 0.3rem;
}

.product-detail-meta {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin: 0 0 0.4rem;
}

.product-detail-badges {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.product-detail-price {
    margin-bottom: 0.5rem;
}

.product-detail-desc {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.product-detail-options {
    margin-top: 0.7rem;
    display: grid;
    gap: 0.6rem;
}

.options-row label {
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.15rem;
}

.options-row select,
.options-row input[type="number"] {
    width: 100%;
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #050509;
    color: var(--color-text);
    font-size: 0.85rem;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.3rem;
}

@media (min-width: 768px) {
    .product-detail-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
        align-items: flex-start;
    }
}

/* =========================
   AUTH
   ========================= */

.auth-section {
    max-width: 420px;
    margin: 2rem auto;
    padding: 1.2rem 1rem;
    background: var(--color-card);
    border-radius: 18px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.auth-form {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.auth-form label {
    font-size: 0.85rem;
    display: grid;
    gap: 0.2rem;
}

.auth-form input {
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #050509;
    color: var(--color-text);
    font-size: 0.85rem;
}

.auth-alt {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* =========================
   CARRITO
   ========================= */

.cart-section h1 {
    margin-bottom: 0.5rem;
}

.cart-table {
    margin-top: 1rem;
    background: var(--color-card);
    border-radius: 18px;
    border: 1px solid var(--color-border);
    padding: 0.7rem;
    display: grid;
    gap: 0.4rem;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.4rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-row:last-child {
    border-bottom: none;
}

.cart-row-main h3 {
    margin: 0;
    font-size: 0.9rem;
}

.cart-row-main p {
    margin: 0.1rem 0 0;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.cart-row-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.cart-qty {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.cart-price {
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-summary {
    margin-top: 1rem;
    text-align: right;
}

/* =========================
   ADMIN
   ========================= */

.admin-section {
    max-width: 1040px;
    margin: 0 auto;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.9rem;
}

.admin-card {
    background: var(--color-card);
    border-radius: 18px;
    padding: 0.7rem 0.8rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.7);
}

.admin-card h2 {
    margin: 0 0 0.1rem;
    font-size: 1rem;
}

.admin-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 0.6rem;
}

.product-images-grid-admin {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.4rem;
}

.product-image-admin-item {
    position: relative;
    width: 110px;
    padding: 0.35rem;
    border-radius: 12px;
    background: #050509;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.product-image-admin-item img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.product-image-admin-item .badge {
    top: 6px;
    left: 6px;
    font-size: 0.65rem;
    padding: 0.15rem 0.45rem;
}

.btn-link-danger {
    display: inline-block;
    margin-top: 0.3rem;
    font-size: 0.78rem;
    color: #ff4b7d;
}

.btn-link-danger:hover {
    text-decoration: underline;
}


.admin-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
    padding: 0.4rem 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-table th {
    text-align: left;
    font-size: 0.8rem;
    color: var(--color-muted);
}

.admin-form,
.admin-form-inline {
    margin: 0.7rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #050509;
    color: var(--color-text);
    font-size: 0.85rem;
}

.admin-form .form-grid {
    display: grid;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .admin-form .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.admin-form-inline input {
    flex: 1;
}

.flags {
    margin: 0.7rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.flags label {
    font-size: 0.8rem;
}

.admin-sizes-colors {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.badge-list-admin {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.3rem 0 0.4rem;
}

.pill-admin {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    background: #050509;
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 0.78rem;
}

.pill-admin-empty {
    opacity: 0.6;
}

.pill-admin-remove {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    color: #ff4b7d;
}

.pill-admin-remove:hover {
    color: #ff9bb2;
}

.admin-quick-sizes,
.admin-quick-colors {
    margin: 0.35rem 0 0.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.pill-choice {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(15, 23, 42, 0.96);
    color: var(--text-soft);
    font-size: 0.76rem;
    padding: 0.18rem 0.7rem;
    cursor: pointer;
    line-height: 1.2;
    transition:
        background 0.15s ease-out,
        border-color 0.15s ease-out,
        transform 0.12s ease-out,
        box-shadow 0.15s ease-out,
        color 0.15s ease-out;
}

.pill-choice:hover {
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.75);
}

.pill-choice.is-selected {
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    color: #050712;
    border-color: transparent;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.9);
    font-weight: 600;
}

.pill-choice--clear {
    border-style: dashed;
    opacity: 0.8;
    font-size: 0.7rem;
}


/* =========================
   ALERTAS
   ========================= */

.alert {
    border-radius: 14px;
    padding: 0.55rem 0.7rem;
    font-size: 0.85rem;
}

.alert-error {
    background: rgba(255, 75, 125, 0.1);
    border: 1px solid rgba(255, 75, 125, 0.6);
}

/* =========================
   OTROS
   ========================= */

.order-summary {
    font-size: 0.8rem;
    white-space: pre-wrap;
    background: #050509;
    padding: 0.4rem;
    border-radius: 10px;
}

.checkout-note,
.cart-note {
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* Responsive catálogo */
@media (min-width: 768px) {
    .catalog-layout {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
    }
}


/* ====== Modal vista rápida Drop ====== */

body.drop-modal-open {
    overflow: hidden;
}

.drop-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
}

.drop-modal.is-open {
    display: block;
}

.drop-modal-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(0,0,0,0.9), rgba(0,0,0,0.98));
    backdrop-filter: blur(12px);
}

.drop-modal-dialog {
    position: relative;
    max-width: 860px;
    margin: 4rem auto;
    border-radius: 24px;
    background: radial-gradient(circle at top, rgba(255,255,255,0.08), rgba(9,9,20,0.98));
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95);
    padding: 1.1rem 1.1rem 1.3rem;
    overflow: hidden;
}

.drop-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 999px;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.6);
    color: var(--text-main);
    cursor: pointer;
}

.drop-modal-layout {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .drop-modal-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }
}

.drop-modal-image-col {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.drop-modal-main-image {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
    background: radial-gradient(circle at top, rgba(255,255,255,0.1), rgba(5,5,15,0.98));
}

.drop-modal-thumbs {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.drop-modal-thumb {
    border-radius: 12px;
    border: 1px solid transparent;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: none;
}

.drop-modal-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
}

.drop-modal-thumb.is-active {
    border-color: var(--color-accent);
}

.drop-modal-info-col {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    justify-content: center;
}

.drop-modal-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.drop-modal-name {
    font-size: 1.2rem;
    margin: 0;
}

.drop-modal-sku {
    font-size: 0.8rem;
    color: var(--text-soft);
}

.drop-modal-price {
    font-size: 0.98rem;
    font-weight: 600;
    margin-top: 0.4rem;
}

.drop-modal-hint {
    font-size: 0.78rem;
    color: var(--text-soft);
    margin-top: 0.4rem;
}
