@charset "UTF-8";
/* CSS Document */


/* =========================================
   RELACIONADOS
========================================= */

.productos-relacionados{
    margin-top:60px;
}


/* =========================================
   HEADER
========================================= */

.rel-header{
    margin-bottom:22px;
}

.rel-header h2{
    font-size:32px;
    font-weight:800;
    color:#0f172a;
}

.rel-header span{
    color:#64748b;
    font-size:15px;
}


/* =========================================
   SLIDER
========================================= */

.rel-slider{
    position:relative;

    display:flex;
    align-items:center;
}


/* =========================================
   WRAPPER
========================================= */

.rel-track-wrapper{
    overflow:hidden;
    width:100%;
}


/* =========================================
   TRACK
========================================= */

.rel-track{
    display:flex;

    gap:22px;

    transition:.35s ease;
}


/* =========================================
   CARD
========================================= */

.rel-card{
    min-width:260px;

    background:#fff;

    border-radius:24px;

    padding:18px;

    text-decoration:none;

    border:1px solid #edf2f7;

    box-shadow:0 10px 30px rgba(15,23,42,.04);

    transition:.3s ease;
}

.rel-card:hover{
    transform:translateY(-6px);

    box-shadow:0 18px 40px rgba(15,23,42,.08);
}


/* =========================================
   IMAGEN
========================================= */

.rel-img{
    position:relative;

    height:220px;

    border-radius:18px;

    overflow:hidden;

    background:#f8fafc;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:18px;
}


/* =========================================
   IMAGEN PRODUCTO
========================================= */

.rel-img img{
    width:100%;
    height:100%;

    object-fit:contain;

    transition:.3s ease;
}

.rel-card:hover img{
    transform:scale(1.04);
}


/* =========================================
   BADGE
========================================= */

.badge{
    position:absolute;

    top:10px;
    left:10px;

    z-index:5;

    padding:5px 10px;

    font-size:12px;

    font-weight:bold;

    border-radius:6px;

    color:#fff;

    text-transform:uppercase;

    box-shadow:0 2px 6px rgba(0,0,0,0.2);
}


/* =========================================
   COLORES BADGE
========================================= */

.badge.nuevo{
    background:#0057D9;
}

.badge.oferta{
    background:#dc3545;
}


/* =========================================
   INFO
========================================= */

.rel-info h3{
    font-size:18px;

    color:#0f172a;
text-align: center;
    margin-bottom:10px;

    font-weight:800;

    line-height:1.4;
}

.rel-info p{
    font-size:14px;
text-align: center;
    color:#64748b;

    line-height:1.6;
}


/* =========================================
   BOTONES
========================================= */

.rel-btn{
    width:52px;
    height:52px;

    border:none;

    border-radius:50%;

    background:#2563eb;

    color:#fff;

    cursor:pointer;

    flex-shrink:0;

    font-size:20px;

    transition:.3s ease;

    box-shadow:0 10px 25px rgba(37,99,235,.25);
}

.rel-btn:hover{
    background:#1d4ed8;

    transform:scale(1.08);
}


/* =========================================
   ESPACIADO BOTONES
========================================= */

.rel-prev{
    margin-right:18px;
}

.rel-next{
    margin-left:18px;
}


/* =========================================
   RESPONSIVE
========================================= */

/* =========================================
   MONITORES GRANDES
   24" / 27"
========================================= */

@media (min-width: 1600px){

    .productos-relacionados{
        margin-top:80px;
    }

    .rel-header{
        margin-bottom:30px;
    }

    .rel-header h2{
        font-size:38px;
    }

    .rel-header span{
        font-size:17px;
    }

    .rel-track{
        gap:28px;
    }

    .rel-card{
        min-width:320px;

        padding:22px;

        border-radius:28px;
    }

    .rel-img{
        height:280px;
    }

    .rel-info h3{
        font-size:20px;
    }

    .rel-info p{
        font-size:15px;
    }

    .rel-btn{
        width:60px;
        height:60px;

        font-size:22px;
    }
}


/* =========================================
   LAPTOPS 19" / 15"
========================================= */

@media (max-width: 1400px){

    .rel-track{
        gap:20px;
    }

    .rel-card{
        min-width:250px;
    }

    .rel-img{
        height:210px;
    }
}


/* =========================================
   LAPTOPS 14"
========================================= */

@media (max-width: 1200px){

    .productos-relacionados{
        margin-top:50px;
    }

    .rel-header h2{
        font-size:28px;
    }

    .rel-track{
        gap:16px;
    }

    .rel-card{
        min-width:230px;

        padding:16px;

        border-radius:20px;
    }

    .rel-img{
        height:190px;
    }

    .rel-info h3{
        font-size:16px;
    }

    .rel-info p{
        font-size:13px;
    }

    .rel-btn{
        width:48px;
        height:48px;

        font-size:18px;
    }
}


/* =========================================
   TABLET HORIZONTAL
========================================= */

@media (max-width: 992px){

    .productos-relacionados{
        margin-top:45px;
    }

    .rel-header{
        margin-bottom:18px;
    }

    .rel-header h2{
        font-size:24px;
    }

    .rel-header span{
        font-size:14px;
    }

    .rel-track{
        gap:14px;
    }

    .rel-card{
        min-width:210px;

        padding:14px;
    }

    .rel-img{
        height:170px;
    }

    .rel-btn{
        width:42px;
        height:42px;

        font-size:16px;
    }

    .rel-prev{
        margin-right:10px;
    }

    .rel-next{
        margin-left:10px;
    }
}


/* =========================================
   TABLET VERTICAL
========================================= */

@media (max-width: 768px){

    .productos-relacionados{
        margin-top:40px;
    }

    .rel-header h2{
        font-size:22px;
    }

    .rel-header span{
        font-size:13px;
    }

    .rel-track{
        gap:12px;
    }

    .rel-card{
        min-width:190px;

        padding:13px;

        border-radius:18px;
    }

    .rel-img{
        height:160px;

        margin-bottom:14px;
    }

    .rel-info h3{
        font-size:15px;

        line-height:1.35;
    }

    .rel-info p{
        font-size:13px;

        line-height:1.5;
    }

    .rel-btn{
        width:40px;
        height:40px;

        font-size:15px;
    }
}


/* =========================================
   TELEFONOS GRANDES
   iPhone Pro Max / Android Plus
========================================= */

@media (max-width: 580px){

    .productos-relacionados{
        margin-top:34px;
    }

    .rel-header{
        text-align:center;
    }

    .rel-header h2{
        font-size:20px;
    }

    .rel-track{
        gap:10px;
    }

    .rel-card{
        min-width:78vw;

        padding:12px;
    }

    .rel-img{
        height:180px;
    }

    .rel-info h3{
        font-size:14px;
    }

    .rel-info p{
        font-size:12px;
    }

    .rel-btn{
        width:36px;
        height:36px;

        font-size:14px;

        box-shadow:none;
    }

    .rel-prev{
        margin-right:6px;
    }

    .rel-next{
        margin-left:6px;
    }
}


/* =========================================
   TELEFONOS PEQUEÑOS
========================================= */

@media (max-width: 420px){

    .productos-relacionados{
        margin-top:30px;
    }

    .rel-header h2{
        font-size:18px;
    }

    .rel-header span{
        font-size:12px;
    }

    .rel-card{
        min-width:85vw;

        border-radius:16px;
    }

    .rel-img{
        height:150px;
    }

    .rel-info h3{
        font-size:13px;
    }

    .rel-info p{
        font-size:11px;
    }

    .badge{
        font-size:10px;

        padding:4px 8px;
    }

    .rel-btn{
        width:34px;
        height:34px;

        font-size:13px;
    }
}