﻿.section__noticias {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.swiper {
    padding: 100px !important;
}

.cont {
    max-width: 380px;
    margin: 0 auto;
    border-radius: 20px;
}

.noticia-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    height: 20rem;
    width: 24rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.noticias-carousel {
    margin-top: -4rem;
    margin-bottom: -4rem;
    padding-top: 6rem !important;
    padding-bottom: 0 !important;
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 26px -12px rgba(153, 153, 153, 0.42), 0 4px 23px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(153, 153, 153, 0.2);
}

.noticia-card__image {
    height: 170px;
    overflow: hidden;
}

.noticia-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.noticia-card:hover .product-card__image img {
    transform: scale(1.05);
}

.noticia-card__info {
    padding: 20px;
}

.noticia-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333333;
    text-align: center;
}

.noticia-card__description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.noticia-card__price-row {
    display: flex;
    justify-content: center;
    align-items: center;
}

.noticia-card__price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #059DC6;
}

.noticia-card__btn {
    background-color: #059DC6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.noticia-card__btn:hover {
    background-color: #059DC6;
}

.btn-gastos-ver-todos {
    padding-top: 3rem;
}

.swiper-button-prev {
    padding-top: 4rem;
}

.swiper-button-next {
    padding-top: 4rem;
}

.swiper-slide {
    width: auto !important;
}

@media only screen and (min-width: 280px) and (max-width: 580px) {
    .swiper-slide {
        margin-right: 60px !important;
    }
    .noticia-card {
        height: 27rem;
        width: 15rem;
    }
}