/*======================================
=      PRODUCTOS DESTACADOS
=      ELECTRONICA FC
======================================*/

.featured-products{

    padding:90px 20px;

    background:var(--background);

}

.featured-products .container{

    max-width:1300px;

    margin:auto;

}


/*======================================
=      TITULO
======================================*/

.featured-products .section-title{

    text-align:center;

    margin-bottom:60px;

}

.featured-products .section-title h2{

    font-size:42px;

    color:var(--dark);

    margin-bottom:15px;

}

.featured-products .section-title p{

    max-width:700px;

    margin:auto;

    color:var(--text-light);

    font-size:18px;

    line-height:1.7;

}


/*======================================
=      GRID
======================================*/

.products-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}


/*======================================
=      TARJETA
======================================*/

.product-card{

    position:relative;

    background:var(--white);

    border-radius:18px;

    padding:22px;

    text-align:center;

    box-shadow:var(--shadow-sm);

    transition:.35s;

    display:flex;

    flex-direction:column;

}

.product-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-blue);

}


/*======================================
=      OFERTA
======================================*/

.product-badge{

    position:absolute;

    top:18px;

    left:18px;

    background:#ff3b30;

    color:#fff;

    padding:7px 15px;

    border-radius:20px;

    font-size:12px;

    font-weight:700;

}


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

.product-image{

    display:block;

}

.product-card img{

    width:100%;

    height:200px;

    object-fit:contain;

    margin-bottom:18px;

    transition:.35s;

}

.product-card:hover img{

    transform:scale(1.05);

}


/*======================================
=      TITULO
======================================*/

.product-card h3{

    font-size:15px;

    color:var(--dark);

    margin-bottom:15px;

    min-height:52px;

    line-height:1.35;

}


/*======================================
=      PRECIO
======================================*/

.product-price{

    font-size:24px;

    font-weight:700;

    color:var(--primary);

    margin-bottom:22px;

}

.product-price del{

    color:#999;

    font-size:15px;

}

.product-price ins{

    text-decoration:none;

}


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

.product-buttons{

    display:flex;

    gap:10px;

    margin-top:auto;

}

.product-buttons .btn{

    flex:1;

    padding:12px 16px;

    font-size:14px;

}


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

@media(max-width:992px){

    .products-grid{

        grid-template-columns:repeat(2,1fr);

        gap:25px;

    }

}


/*======================================
=      CELULAR
======================================*/

@media(max-width:768px){

    .featured-products{

        padding:60px 15px;

    }

    .featured-products .section-title{

        margin-bottom:40px;

    }

    .featured-products .section-title h2{

        font-size:32px;

    }

    .featured-products .section-title p{

        font-size:16px;

    }

    .products-grid{

        grid-template-columns:repeat(2,1fr);

        gap:15px;

    }

    .product-card{

        padding:15px;

    }

    .product-card img{

        height:150px;

    }

    .product-card h3{

    font-size:15px;

    line-height:1.35;

    min-height:55px;

    margin-bottom:10px;

}

    .product-price{

        font-size:20px;

        margin-bottom:15px;

    }

    .product-buttons{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:8px;

}

    .product-buttons .btn{

        padding:10px;

        font-size:13px;

    }

}


/*======================================
=      CELULARES PEQUEÑOS
======================================*/

@media(max-width:480px){

    .product-card{

        padding:12px;

    }

    .product-card img{

        height:120px;

    }

    .product-card h3{

        font-size:14px;

    }

    .product-price{

        font-size:17px;

    }

}