/* ================= BASE ================= */

body{
    margin:0;
    font-family:'Montserrat',sans-serif;
    background:#0a0f1c;
    color:#fff;
}

/* ================= NAV ================= */

nav{
    position:fixed;
    top:0;
    width:100%;
    background:linear-gradient(90deg,#00eaff,#0077ff);
    display:flex;
    justify-content:center;
    align-items:center;
    padding:15px 50px;
    z-index:1000;
    box-shadow: 0 0 20px #00eaff;
}

.logo{
    height:90px;
    border-radius:50%;
    position:absolute;
    left:20px;
}

/* 🔥 NAV LINKS PRO */
.nav-center{
    display:flex;
    gap:30px;
    list-style:none;
}

.nav-center li{
    position:relative;
}

.nav-center a{
    text-decoration:none;
    color:#fff;
    font-weight:600;
    font-size:15px;
    padding:8px 15px;
    border-radius:8px;
    transition:0.3s;
}

/* hover */
.nav-center a:hover{
    background:rgba(255,255,255,0.1);
    box-shadow:0 0 10px #00eaff;
}

/* activo */
.nav-center a.activo{
    background:#fff;
    color:#000;
    box-shadow:0 0 15px #00eaff;
}

/* línea animada */
.nav-center a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0%;
    height:2px;
    background:#00eaff;
    transition:0.3s;
}

.nav-center a:hover::after{
    width:100%;
}

/* ================= TITULOS ================= */

h1, h2{
    text-align:center;
    color:#00eaff;
    text-shadow:0 0 10px #00eaff;
}

/* ================= CATALOGO ================= */

.section{
    padding:120px 20px 20px;
}

.catalogo{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    padding:40px;
}

.item{
    background:#11182c;
    border-radius:15px;
    overflow:hidden;
    text-align:center;
    transition:0.3s;
    box-shadow:0 0 10px rgba(0,234,255,0.2);
}

.item:hover{
    transform:translateY(-8px) scale(1.02);
    box-shadow:0 0 25px rgba(0,234,255,0.6);
}

.item img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:0.3s;
}

.item img:hover{
    transform:scale(1.05);
}

.item p{
    font-weight:700;
    margin:10px 0 5px;
}

.desc, .talles{
    font-size:14px;
    color:#ccc;
}

.precio{
    font-size:18px;
    color:#00eaff;
    font-weight:bold;
    margin:10px 0;
}

.item a{
    display:block;
    padding:12px;
    background:linear-gradient(90deg,#00eaff,#0077ff);
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.item a:hover{
    background:linear-gradient(90deg,#0077ff,#00eaff);
}

/* ================= PRODUCTO ================= */

.producto{
    text-align:center;
    margin-top:140px;
    padding:20px;
    animation:fadeIn 0.6s ease;
}

/* ================= OPCIONES (PRO) ================= */

.opciones{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin:25px 0;
}

.opciones label{
    font-weight:600;
    font-size:14px;
    color:#00eaff;
}

.opciones select,
.opciones input{
    padding:12px;
    border-radius:10px;
    border:1px solid rgba(0,234,255,0.4);
    background:rgba(0,0,0,0.7);
    color:#fff;
    font-size:15px;
    outline:none;
    transition:0.3s;
}

.opciones select:hover,
.opciones input:hover{
    border:1px solid #00eaff;
}

.opciones select:focus,
.opciones input:focus{
    box-shadow:0 0 10px #00eaff;
    border:1px solid #00eaff;
}

/* ================= BOTONES ================= */

button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:linear-gradient(90deg,#00eaff,#0077ff);
    color:#fff;
    font-weight:bold;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
    box-shadow:0 0 10px rgba(0,234,255,0.4);
}

button:hover{
    transform:translateY(-3px);
    box-shadow:0 0 20px #00eaff, 0 0 40px #0077ff;
}

button:active{
    transform:scale(0.97);
}

/* ================= VOLVER ================= */

.volver{
    display:block;
    text-align:center;
    margin-top:20px;
    color:#00eaff;
    text-decoration:none;
}

.volver:hover{
    text-shadow:0 0 10px #00eaff;
}

/* ================= CARRITO ================= */

#carrito-boton{
    position:fixed;
    bottom:20px;
    right:20px;
    background:#00eaff;
    color:#000;
    padding:15px;
    border-radius:50%;
    font-size:20px;
    cursor:pointer;
    z-index:9999;
    box-shadow:0 0 15px #00eaff;
    transition:0.3s;
}

#carrito-boton:hover{
    transform:scale(1.1);
}

#carrito-panel{
    position:fixed;
    top:0;
    right:-350px;
    width:300px;
    height:100%;
    background:#0a0f1c;
    color:#fff;
    padding:20px;
    transition:0.4s ease;
    z-index:9998;
    overflow:auto;
    box-shadow:-5px 0 20px rgba(0,0,0,0.5);
}

#carrito-panel.activo{
    right:0;
}

#carrito-items p{
    border-bottom:1px solid #00eaff;
    padding:10px 0;
    font-size:14px;
}

/* ================= RESPONSIVE ================= */

@media (max-width:900px){
    .catalogo{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:500px){
    .catalogo{
        grid-template-columns:1fr;
    }

    #carrito-panel{
        width:100%;
    }
}

/* ================= BLANCO SOLO CATALOGO ================= */

body.catalogo,
body.carrito{
    background:#ffffff;
    color:#111;
}

body.catalogo nav,
body.carrito nav{
    box-shadow:none;
}

/* ================= ANIMACIONES ================= */

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ================= BOTONES PRO ================= */

.botones-slider{
    display:flex;
    justify-content:center;
    gap:20px;
    padding:25px;
    flex-wrap:wrap;
}

.btn-wsp,
.btn-grupo,
.btn-tiktok{
    padding:14px 28px;
    border-radius:12px;
    color:#fff;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
    box-shadow:0 0 10px rgba(0,0,0,0.2);
    position:relative;
    overflow:hidden;
}

.btn-wsp{ background:#25D366; }
.btn-grupo{ background:#0077ff; }
.btn-tiktok{ background:linear-gradient(45deg,#000,#ff0050,#00f2ea); }

/* ================= 📱 FIX SOLO CELULAR ================= */

@media (max-width:700px){

    #carrito-panel{
        width:100% !important;
        right:-100% !important;
    }

    #carrito-panel.activo{
        right:0 !important;
    }

    #carrito-boton{
        bottom:15px;
        right:15px;
        padding:12px;
        font-size:18px;
    }

    .slide{
        min-width:160px;
    }

    .slide img{
        height:160px;
        object-fit:cover;
    }

    .banner{
        overflow:hidden;
        white-space:nowrap;
    }

    .banner span{
        display:inline-block;
        padding-left:100%;
        animation:bannerMove 10s linear infinite;
    }

    @keyframes bannerMove{
        0%{ transform:translateX(0); }
        100%{ transform:translateX(-100%); }
    }

}
