/* RESET */
body{
    margin:0;
    font-family:'Montserrat',Arial, sans-serif;
    background:#f5f7fb;
}

/* ================= NAVBAR ================= */
.navbar{
    background:#ffe600;
    padding:12px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-weight:800;
    color:#333;
}

/* ================= FULL WIDTH SLIDER ================= */
/* .slider{
    position:relative;
    width:100vw;
    margin-left:calc(-50vw + 50%);
    height:420px;
    overflow:hidden;
} */

.slider-btn{
    opacity:0;
    width:55px;
    height:55px;
    font-size:26px;
}

.slider:hover .slider-btn{
    opacity:1;
}

.slide{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:.6s ease;
    z-index:1;
}

.slide.active{
    opacity:1;
    z-index:2;
}

/* DOTS */
.slider-dots{
    position:absolute;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
    z-index:5;
}

.slider-dots span{
    width:14px;
    height:14px;
    border-radius:50%;
    background:rgba(255,255,255,.5);
    cursor:pointer;
    transition:.3s;
}

.slider-dots span.active{
    background:white;
    transform:scale(1.2);
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.35);
    pointer-events:none;
}

.slide-content{
    position:relative;
    z-index:2;
    color:white;
    padding:120px 60px;
}

.slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:60px;
    height:60px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,.3);
    backdrop-filter: blur(10px);
    color:white;
    font-size:30px;
    cursor:pointer;
    z-index:50;
    transition:.3s;
}

.slider-btn:hover{
    background:rgba(255,255,255,.6);
    opacity: 1;
}

.prev{left:15px;}
.next{right:15px;}

/* ================= CATEGORÍAS ================= */
.categories{
    display:flex;
    gap:10px;
    padding:15px;
    overflow:auto;
}

.cat{
    background:white;
    padding:10px 14px;
    border-radius:8px;
    text-decoration:none;
    color:#333;
    border:1px solid #ddd;
    white-space:nowrap;
}

.cat.active{
    background:#3483fa;
    color:white;
    border:none;
}


.cat-box{
    display:flex;
    justify-content:center;
    margin-top:-40px;
    position:relative;
    z-index:10;
}

.cat-grid{
    width:100%;
    /* max-width:900px; */
    background:rgba(255,255,255,.75);
    backdrop-filter: blur(12px);
    border-radius:18px;
    padding:20px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    margin-top: 80px;
    backdrop-filter:none;
}

.cat-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:#444;
    font-size:14px;
    padding:10px;
    border-radius:12px;
    transition:.2s;
    border: 1px solid #03A9F4;
}

.cat-item img{
    width:38px;
    height:38px;
    margin-bottom:8px;
    opacity:.85;
}

.cat-item:hover{
    background:rgba(99,102,241,.08);
    transform:translateY(-2px);
}

/* ================= PRODUCT CAROUSEL ================= */

.product-slider{
    display:flex;
    gap:15px;
    overflow-x:auto;
    scroll-behavior:smooth;
    padding:10px 0;
    
}

/* esconder scroll feo */
.product-slider::-webkit-scrollbar{
    display:none;
}

/* ================= GRID ================= */
/* .product-box{
    display:flex;
    justify-content:center;
    margin-top:30px;
}

.product-container{
    position:relative;
    width:100%;
    /* max-width:1100px; 
    background:rgba(255,255,255,.75);
    backdrop-filter: blur(12px);
    border-radius:18px;
    padding:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    margin-bottom: 50px;
    backdrop-filter:none;
} */

/* SLIDER */
.product-slider{
    display:flex;
    gap:15px;
    overflow-x:auto;
    scroll-behavior:smooth;
}

.product-slider::-webkit-scrollbar{
    display:none;
}


.product-wrapper{
    position:relative;
    width:90%;
    max-width:1100px;
    margin:auto;
}

/* BOTONES BIEN POSICIONADOS */
.p-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,.8);
    backdrop-filter: blur(10px);
    font-size:22px;
    cursor:pointer;
    z-index:20;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.p-btn:hover{
    background:white;
}

.left{ left:-20px; }
.right{ right:-20px; }

.resumen-box{
    background:#f8f9fa;
    padding:12px;
    border-radius:10px;
}

/* CARDS */
/* .product-card{
    min-width:240px;
    max-width:240px;
    /*height:340px;  
    flex-shrink:0;
    background:white;
    border-radius:14px;
    overflow:hidden;
    transition:.2s;
    margin-top: 20px;
    position:relative;

    display:flex;
    flex-direction:column;
    justify-content:space-between;
} */

/* .product-card::after{
    content:"♡";
    position:absolute;
    top:10px;
    right:10px;
    font-size:18px;
    opacity:0;
    transition:.3s;
    color:#555;
    pointer-events:none;
    display:none;
} */

.product-card:hover{
    transform:translateY(-4px);
}

.product-card:hover::after{
    opacity:1;
    transform:scale(1.2);
    color:#e60023;
}

.img-wrap{
    height:160px;
    overflow:hidden;
}

/* .img-wrap img{
    width:100%;
    height:100%;
    object-fit:cover;
} */

.product-card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

/* INFO
.info{
    padding:10px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    flex-grow:1;
}

.info h4{
    font-size:14px;
    flex-grow:1;
} */

/* .info a{
    width: 100%;
    text-align: center;
    margin-top: 5px;
    padding: 10px;
    border-radius: 8px;
} */


/* BADGES */
.badge{
    position:absolute;
    top:10px;
    left:10px;
    padding:4px 8px;
    font-size:12px;
    color:white;
    border-radius:6px;
}

.section-title{
    grid-column: span 4;
    padding-bottom:10px;
    border-bottom:1px solid #eee;
    margin-bottom:10px;
}

/* .section-title h2{
    font-size:22px;
    font-weight:700;
    color:#333;
} */

/* .nuevo{background:#4ade80;}
.usado{background:#fbbf24;}
.reacondicionado{background:#60a5fa;} */

/* ================= FOOTER FULL WIDTH ================= */
.footer{
    width:100vw;
    margin-left:calc(-50vw + 50%);
    background:white;
    padding:40px 20px;
    border-top:1px solid #ddd;
    text-align:center;
}


/*=============SEARCH===============*/

/* .search-global{
    position:absolute;
    top:30px;
    left:50%;
    transform:translateX(-50%);
    width:100%;
    display:flex;
    justify-content:center;
    z-index:1000;
}

/* .search-box{
    margin-top:20px;
    display:flex;
    width:100%;
    max-width:500px;
    margin-left:auto;
    margin-right:auto;
    background:white;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.25);
}

.search-box input{
    flex:1;
    border:none;
    padding:14px;
    outline:none;
    font-size:15px;
}

.search-box button{
    border:none;
    background:#3483fa;
    color:white;
    padding:0 18px;
    cursor:pointer;
    font-size:16px;
} */ */

/*===========BANNER===============*/

/* .ads-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin:30px auto;
    /* max-width:1100px; 
    width: 100%;
} */

.ad-card{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#f5f5f5;
    border-radius:12px;
    overflow:hidden;
    padding:20px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.ad-text small{
    color:#888;
    letter-spacing:2px;
    font-size:11px;
}

.ad-text h3{
    margin:10px 0;
    font-size:18px;
}

.ad-text a{
    display:inline-block;
    background:#3483fa;
    color:white;
    padding:8px 14px;
    border-radius:6px;
    text-decoration:none;
}

.ad-card img{
    width:250px;
    height:auto;
    object-fit:contain;
}

/* .fav-btn{
    position:absolute;
    top:10px;
    right:10px;
    background:white;
    border:none;
    border-radius:50%;
    width:30px;
    height:30px;
    cursor:pointer;
    font-size:18px;
    box-shadow:0 5px 10px rgba(0,0,0,.1);
    z-index: 100;
    color:#555;
    transition:.2s;
} */

.fav-btn.active{
    color:#e60023;
    background:#ffe6ea;
    transform:scale(1.1);
}

/* RESPONSIVO */
@media(max-width:768px){
    .ads-container{
        grid-template-columns:1fr;
    }
}

