/* ============================================================
   YOVNG WIZARD — Ultra-Modern Streetwear Experience
   ============================================================ */

:root {
    --verde: #39FF14;
    --verde-glow: rgba(57, 255, 20, 0.4);
    --verde-dim: rgba(57, 255, 20, 0.12);
    --verde-border: rgba(57, 255, 20, 0.28);
    --bg-dark: #070707;
    --bg-card: rgba(18, 18, 18, 0.7);
    --text-pure: #ffffff;
    --text-muted: #a3a3a3;
    --radius-pill: 9999px;
    --radius-card: 20px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- SCROLL PROGRESS INDICATOR EN NAV ---------- */
.nav-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--verde);
    box-shadow: 0 0 10px var(--verde);
    transition: all 0.4s ease;
    margin-right: 15px;
}

/* ---------- NAVBAR FLOTANTE CON LOGO EXACTAMENTE CENTRADO ---------- */
.nav {
    position: fixed !important;
    top: 0.8rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: min(92%, 1100px) !important;
    right: auto !important;
    border-radius: var(--radius-pill) !important;
    background: rgba(10, 10, 10, 0.8) !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
    border: 1px solid var(--verde-border) !important;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8), 0 0 25px -5px rgba(57, 255, 20, 0.15) !important;
    z-index: 999 !important;
    padding: 0.4rem 1.2rem !important;
    transition: all 0.4s var(--ease-out) !important;
}

.nav.scrolled {
    top: 0.5rem !important;
    padding: 0.3rem 1.2rem !important;
    background: rgba(6, 6, 6, 0.92) !important;
    border-color: rgba(57, 255, 20, 0.45) !important;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(57, 255, 20, 0.2) !important;
}

.nav-container {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    width: 100% !important;
}

@media (max-width: 768px) {
    .nav-container {
        grid-template-columns: 1fr !important;
    }
    .nav-left, .nav-right {
        display: none !important;
    }
    .nav {
        padding: 0.6rem !important;
        top: 0.5rem !important;
        width: min(95%, 400px) !important;
    }
    .hero {
        padding-top: 6rem !important;
    }
    .hero-title {
        font-size: 3.5rem !important;
        letter-spacing: -0.05em !important;
    }
    .hero-subtitle {
        font-size: 1.1rem !important;
        letter-spacing: 0.15em !important;
        line-height: 1.4;
    }
}

.nav-left {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.5rem !important;
}

.nav-center {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    align-items: center;
}

.nav-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 1.5rem !important;
}

.nav-logo {
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    font-size: 1.15rem !important;
    color: var(--verde) !important;
    text-shadow: 0 0 16px var(--verde-glow) !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}

.nav-link {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    padding: 0.45rem 0.9rem !important;
    border-radius: var(--radius-pill) !important;
    color: #e5e5e5 !important;
    transition: all 0.25s ease !important;
}

@media (hover:hover){.nav-link:hover{
    color: var(--verde) !important;
    background: rgba(57, 255, 20, 0.08) !important;
    text-shadow: 0 0 10px var(--verde-glow) !important;
}}

.cart-badge {
    background: var(--verde) !important;
    color: #000 !important;
    font-weight: 800 !important;
    font-size: 0.7rem !important;
}

.hero-tag {
    display: none;
}
.hero {
    position: relative !important;
    min-height: 100vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8rem 1.5rem 4rem !important;
    background: radial-gradient(circle at 50% 30%, rgba(57, 255, 20, 0.08) 0%, rgba(0,0,0,0.95) 70%) !important;
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 70%, #000 100%) !important;
}

.hero-image {
    filter: brightness(0.65) contrast(1.15) !important;
    transition: transform 1.2s var(--ease-out) !important;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.04em !important;
    line-height: 0.9 !important;
    color: var(--verde) !important;
    text-shadow: 0 0 40px rgba(57, 255, 20, 0.4), 0 4px 30px rgba(0,0,0,0.9) !important;
    margin-bottom: 0.5rem !important;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.4rem) !important;
    letter-spacing: 0.25em !important;
    color: var(--verde) !important;
    font-weight: 700 !important;
    margin-bottom: 2.2rem !important;
    text-shadow: 0 0 15px var(--verde-glow) !important;
}

.hero-cta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 1.2rem 3rem !important;
    border-radius: var(--radius-pill) !important;
    background: var(--verde) !important;
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    letter-spacing: 0.15em !important;
    border: none !important;
    box-shadow: 0 10px 30px -5px rgba(57, 255, 20, 0.45) !important;
    transition: all 0.35s var(--ease-out) !important;
}

.hero-cta svg {
    transition: transform 0.3s var(--ease-out);
}

@media (hover:hover){.hero-cta:hover{
    transform: translateY(-4px) scale(1.02) !important;
    background: #47ff24 !important;
    box-shadow: 0 16px 40px -5px rgba(57, 255, 20, 0.7) !important;
}}

@media (hover:hover){.hero-cta:hover svg{
    transform: translateX(4px);
}}

/* ---------- MARQUEE ---------- */
.marquee {
    padding: 1.2rem 0 !important;
    border-block: 1px solid var(--verde-border) !important;
    background: rgba(0,0,0,0.4) !important;
    overflow: hidden;
}

.marquee-content span {
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.1rem !important;
    letter-spacing: 0.2em !important;
    color: var(--text-muted) !important;
}

.marquee-content span.highlight {
    color: var(--verde) !important;
    text-shadow: 0 0 12px var(--verde-glow);
    font-weight: 900;
}

/* ---------- SECCIÓN DE COLECCIÓN CENTRADA ---------- */
.coleccion {
    padding: 4rem 0 3rem !important;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
    color: var(--verde) !important;
    margin-bottom: 0.5rem !important;
}

.section-subtitle {
    color: var(--text-muted) !important;
    font-size: 0.95rem !important;
}

.coleccion .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(320px, 440px)) !important;
    justify-content: center !important;
    gap: 2.5rem !important;
    max-width: 980px !important;
    margin: 0 auto !important;
}

/* ============================================================
   RESPONSIVE MOBILE OPTIMIZATION — YOVNG WIZARD
   Ajustes exhaustivos para visualización perfecta en Celular
   ============================================================ */

@media (max-width: 768px) {
    /* 1. Reset Global y Prevención de Desbordamiento Lateral */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
    }

    .container {
        padding: 0 1rem !important;
        width: 100% !important;
    }

    /* 2. Navbar Flotante Compacta y Perfectamente Centrada */
    .nav {
        top: 0.5rem !important;
        width: calc(100% - 1.5rem) !important;
        max-width: 420px !important;
        padding: 0.5rem 0.8rem !important;
    }

    .nav-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }

    .nav-center {
        width: 100% !important;
        text-align: center !important;
    }

    .nav-logo {
        font-size: 1rem !important;
        letter-spacing: 0.1em !important;
    }

    .nav-left, .nav-right {
        display: none !important;
    }

    /* 3. Hero Section Adaptado */
    .hero {
        min-height: 85vh !important;
        padding: 6rem 1rem 3rem !important;
    }

    .hero-title {
        font-size: clamp(4rem, 15vw, 6rem) !important;
        letter-spacing: -0.05em !important;
        line-height: 0.9 !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        letter-spacing: 0.18em !important;
        margin-bottom: 1.8rem !important;
    }

    .hero-cta {
        padding: 0.9rem 2rem !important;
        font-size: 0.85rem !important;
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
    }

    /* 4. Marquee Text */
    .marquee-content span {
        font-size: 0.9rem !important;
        letter-spacing: 0.12em !important;
    }

    /* 5. Grids de Colección y Catálogo */
    .coleccion {
        padding: 3rem 0 2rem !important;
    }

    .coleccion .products-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 380px !important;
        margin: 0 auto !important;
    }

    .product-card {
        padding: 0.8rem !important;
    }

    .product-info {
        padding: 0.8rem 0.2rem 0.2rem !important;
    }

    .product-name {
        font-size: 0.95rem !important;
    }

    .product-price {
        font-size: 1rem !important;
    }

    /* 6. Formulario de Contacto */
    .contact-form {
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }

    .form-group input, 
    .form-group textarea {
        font-size: 16px !important; /* Previene auto-zoom en iOS Safari */
    }

    /* 7. Sección INFO y Contacto */
    .info {
        padding: 3rem 0 !important;
    }

    .info-layout {
        grid-template-columns: 1fr !important;
        gap: 1.8rem !important;
    }

    .info-layout__brand {
        text-align: center !important;
        align-items: center !important;
    }

    .info-cta {
        align-self: center !important;
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
    }

    .info-card {
        padding: 1rem !important;
    }

    /* 8. Carrito Panel Móvil */
    .cart-panel {
        width: 100% !important;
        max-width: 100% !important;
    }

    .cart-header {
        padding: 1.2rem 1.5rem !important;
    }

    /* 9. Desactivar transformaciones hover para fluidez en touch */
    @media (hover:hover){.product-card:hover{
        transform: none !important;
    }}
}


.product-card {
    background: var(--bg-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--radius-card) !important;
    padding: 1rem !important;
    position: relative !important;
    transition: all 0.45s var(--ease-out) !important;
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7) !important;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(57, 255, 20, 0.12) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

@media (hover:hover){.product-card:hover::before{
    opacity: 1;
}}

@media (hover:hover){.product-card:hover{
    border-color: var(--verde) !important;
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 24px 50px -15px rgba(0, 0, 0, 0.9), 0 0 35px -5px rgba(57, 255, 20, 0.25) !important;
}}

.product-image-container {
    border-radius: calc(var(--radius-card) - 6px) !important;
    overflow: hidden !important;
    aspect-ratio: 3/4 !important;
    background: #090909 !important;
    position: relative !important;
}

.product-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.8s var(--ease-out), opacity 0.5s ease, filter 0.5s ease !important;
    will-change: transform, opacity;
}

@media (hover:hover){.product-card:hover .product-image{
    transform: scale(1.06) !important;
    filter: brightness(1.1) contrast(1.05) saturate(1.05) !important;
}}

.product-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
    z-index: 2;
}

@media (hover:hover){.product-card:hover .product-image::after{
    transform: translateX(100%);
}}

.product-info {
    padding: 1.2rem 0.5rem 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-align: left !important;
}

.product-name {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: var(--verde) !important;
    text-decoration: none !important;
    letter-spacing: 0.05em !important;
    margin: 0 !important;
}

.product-price {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    color: var(--verde) !important;
    text-shadow: 0 0 10px var(--verde-glow);
    margin: 0 !important;
}

.product-quick-add {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: rgba(57, 255, 20, 0.12) !important;
    color: var(--verde) !important;
    border: 1px solid var(--verde-border) !important;
    border-radius: var(--radius-pill) !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    width: 100% !important;
    margin-top: 0.8rem !important;
    transition: all 0.3s ease !important;
}

@media (hover:hover){.product-card:hover .product-quick-add{
    background: var(--verde) !important;
    color: #000000 !important;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.4) !important;
}}

.product-mini-desc {
    margin: 1.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.product-mini-desc p {
    font-size: 0.85rem !important;
    color: var(--verde) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.product-description-full {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.contact-ig-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 2.5rem;
    border-radius: var(--radius-pill);
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid var(--verde);
    color: var(--verde) !important;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: all 0.4s var(--ease-out);
}

@media (hover:hover){.contact-ig-btn:hover{
    background: var(--verde);
    color: #000 !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.3);
}}

.contact-ig-btn svg {
    transition: transform 0.3s ease;
}

@media (hover:hover){.contact-ig-btn:hover svg{
    transform: scale(1.1) rotate(-5deg);
}}

@media (max-width: 768px) {
    .contact-ig-btn {
        width: 100%;
        max-width: 320px;
        padding: 1rem 1.5rem;
        font-size: 0.75rem;
    }
}

/* ---------- CARRITO (Estilo MyHealthPrac) ---------- */
.cart-panel {
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(25px) !important;
    border-left: 1px solid var(--verde-border) !important;
    width: 100% !important;
    max-width: 450px !important;
}

.cart-header {
    border-bottom: 1px solid var(--verde-border) !important;
    padding: 2rem !important;
}

.cart-header h3 {
    font-weight: 900 !important;
    letter-spacing: 0.15em !important;
    color: var(--verde) !important;
    text-shadow: 0 0 10px var(--verde-glow);
}

.cart-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    margin-bottom: 1rem !important;
    padding: 1rem !important;
}

.cart-checkout {
    border-radius: var(--radius-pill) !important;
    background: var(--verde) !important;
    color: #000 !important;
    font-weight: 800 !important;
    letter-spacing: 0.1em !important;
    border: none !important;
    padding: 1.2rem !important;
    margin-top: 1.5rem !important;
}

/* ---------- CATALOGO (Estilo MyHealthPrac) ---------- */
.catalogo-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 3rem !important;
    color: var(--verde) !important;
    text-shadow: 0 0 20px var(--verde-glow);
}

.catalog-item {
    background: var(--bg-card) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--radius-card) !important;
    padding: 1rem !important;
    transition: all 0.4s var(--ease-out) !important;
}

.catalog-quality {
    font-size: 0.72rem !important;
    color: var(--text-muted) !important;
    margin-top: 0.2rem !important;
}

.catalog-sizes {
    font-size: 0.72rem !important;
    color: var(--verde) !important;
    font-weight: 600 !important;
    margin-top: 0.1rem !important;
}

.catalog-price {
    font-size: 1.1rem !important;
    font-weight: 900 !important;
    color: var(--verde) !important;
    margin-top: 0.4rem !important;
}

.catalogo-filter {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--radius-card) !important;
    padding: 2rem !important;
}

.filter-title {
    color: var(--verde) !important;
    letter-spacing: 0.2em !important;
    font-weight: 800 !important;
    margin-bottom: 2rem !important;
}

.catalogo-perks {
    display: none !important; /* Quitar Perks IA SLOP */
}
