/* general */
.cardsSlider {
    overflow: hidden;
    max-width: 1016px;
    margin: 0 auto;
    color: #1D2D3D;
}

.cardsSlider .swiper-wrapper {
    padding-bottom: 36px;
}

.cardsSlider .swiper-slide {
    border-radius: 8px;
    border: 1px solid #C2D1D9;
    width: 312px;
    height: auto;
}

.cardsSlider .container-image {
    border-radius: 8px;
    height: auto;
    background-position: center;
    background-size: cover;
    border-radius: 7px 7px 0 0;
    position: relative;
    width: 100%;
    height: 180px;
}

.cardsSlider .discount {
    width: fit-content;
    padding: 0px 12px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px 4px 4px 4px;
}

.cardsSlider .container-content {
    width: 100%;
    height: calc(100% - 180px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-position: center;
    background-size: cover;
    background-color: #D6EDF7;
    padding: 16px 12px;
    border-radius: 0 0 8px 8px;
}

.cardsSlider .logo-image {
    height: 40px;
    width: auto;
    margin-right: auto;
}

.cardsSlider .title {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: left;
    margin: 12px 0 32px 0;
}

.cardsSlider .container-price {
    width: fit-content;
}

.cardsSlider .old-price {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: left;
    margin-right: 2px;
    color: #3C5872;
}

.cardsSlider .price {
    font-family: Satoshi;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.0065em;
    text-align: right;
    color: #0B2E4F;
}

.cardsSlider .decimal {
    font-size: 16px;
    margin-left: -4px;
}

.cardsSlider .iva {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
}

.cardsSlider .subiva {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0px;
    text-align: center;
}

.cardsSlider .container-cta {
    display: flex;
    margin-bottom: 12px;
    align-items: baseline;
    gap: 12px;
    margin-top:20px
}

.cardsSlider .primary-cta {
    background-color: #FFBF37;
    padding: 12px 32px;
    font-weight: 700;
    border-radius: 40px;
    font-size: 14px;
    color: #222222;
    transition: 0.2s;
}

.cardsSlider .primary-cta:hover {
    -webkit-box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.3);
    transition: 0.2s;
}

.cardsSlider .secondary-cta {
    background-color: white;
    padding: 12px 24px;
    border-radius: 40px;
    font-size: 14px;
    color: #165874;
    border: 1px solid #C2D1D9;
    font-weight: 600;
    transition: 0.2s;
}

.cardsSlider .secondary-cta:hover {
    -webkit-box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 1px 1px 5px 1px rgba(0, 0, 0, 0.3);
    transition: 0.2s;
}

.cardsSlider .swiper-slide {
    border-radius: 8px;
    border: 1px solid #C2D1D9;
    width: 312px;
    height: auto;
}

.cardsSlider .last-slide-image {
    width: 100%;
    height: 280px;
    background-image: url('https://www.infocert.it/content/uploads/2025/11/card-pagina-promo.png');
    background-position: center;
    background-size: cover;
    border-radius: 5px 5px 0 0;
    position: relative;
}

.cardsSlider .last-slide-content {
    width: 100%;
    height: calc(100% - 180px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 12px;
    border-radius: 0 0 5px 5px;
}

.cardsSlider .last-slide-description {
    font-family: Open Sans;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: left;
    margin: 5px 0;
    margin-top: 35px;
}

.card-slider-navigation-buttons {
    display: flex;
    justify-content: space-between;
    max-width: 1152px;
    margin: 0 auto;
    transform: translateY(-280px);
    position: relative;
    z-index: 10;
}

.cardsSlider-prev img {
    width: 44px;
    height: 44px;
}

.cardsSlider-next {
    margin-left: auto;
}

.cardsSlider-next img {
    width: 44px;
    height: 44px;
}

/* swiper pagination bullets */
.cardsSlider .swiper-pagination-bullet {
    background-color: #C2D1D9 !important;
    width: 10px;
    height: 10px;
    margin-right: 8px !important;
    padding: 0 !important;
    margin-right: 2px !important;
}

.cardsSlider .swiper-pagination-bullet-active {
    background-color: #1D2D3D !important;
    width: 10px !important;
    height: 10px !important;
}

@media screen and (max-width: 768px) {
    .cardsSlider {
        overflow: hidden;
        padding: 20px;
    }

    .card-slider-navigation-buttons {
        display: none !important;
    }

    .cardsSlider .container-cta {
        display: block;
    }

    .cardsSlider .container-primary-cta {
        width: 100%;
    }

    .cardsSlider .primary-cta {
        width: 100%;
        display: block;
        text-align: center;
        margin-bottom: -12px;
    }

    .cardsSlider .secondary-cta {
        width: 100%;
        display: inline-block;
        text-align: center;
        margin-bottom: 8px;
    }
}