﻿.packages-page {
    background-color: #F5F5F5;
    padding-block: 50px;
}


.packages-page-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}



.price-row {
    display: flex;
    align-items: baseline;
    /*gap: 10px;*/
    gap: 4px;
    margin: 8px 0;
}

.price-original {
    font-size: 16px;
    opacity: 0.65;
    text-decoration: line-through;
}

.price-sale {
    font-size: 32px;
    font-weight: 795;
    line-height: 1;
}

.price-period {
    font-size: 14px;
    opacity: 0.75;
    margin-left: 2px;
}

.discount-badge {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(34,197,94,0.15);
    color: #22c55e;
    margin-left: 6px;
}

.btn-inline {
    background: rgba(107, 114, 128, 0.6);
    color:white;
    border: none;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 7px;
}

    .btn-inline:hover {
        /*background: rgba(79,70,229,0.18);*/
        background: rgba(63, 180, 76, 0.8);
    }

/*.cta-text {
    color: #4f46e5;
    font-weight: 600;
    cursor: pointer;
}

    .cta-text:hover {
        text-decoration: underline;
    }*/

.packages-footer-note {
    margin-top: 40px;
    text-align: center;
    /*font-size: 14px;*/
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
}

.packages-text-note {
    margin-top: 40px;
    text-align: center;
    /*font-size: 14px;*/
    font-size: 15px;
    font-weight: 400;
    color: #6b7280;
}

.packages-price-badge-wrapper {
    display: flex;
    justify-content: center;
}

.packages-price-badge {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    background: rgba(63, 180, 76, 0.15);
    border-radius: 50px;
    padding-block: 5px;
    padding-inline: 25px;
}

.packages-page-title {
    font-weight: 700;
    font-size: 36px;
    color: #1e1e1e;
    text-align: center;
    margin-top: 15px;
}

.packages-page-text {
    display: flex;
    font-weight: 400;
    font-size: 16px;
    color: #1e1e1e;
    text-align: center;
    margin: 0 auto;
    margin-top: 10px;
    max-width: 450px;
}

.packages-price-badge p {
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    color: #3fb44c;
}

.packages-page-toggler-wrapper {
    display: flex;
    margin-top: 30px;
    justify-content: center;
}

.packages-page-toggler {
    background: #E7E7E7;
    display: flex;
    justify-content: center;
    border-radius: 15px;
}

.packages-page-toggler-item {
    padding-block: 13px;
    padding-inline: 25px;
    background: #E7E7E7;
    font-weight: 700;
    font-size: 16px;
    color: rgba(30, 30, 30, 0.5);
    border: none;
    border-radius: 15px;
    transition-duration: 300ms;
}

.packages-page-toggler-item-active {
    padding-block: 13px;
    padding-inline: 25px;
    font-size: 16px;
    border: none;
    font-weight: 700;
    background: #3fb44c;
    color: white;
    border-radius: 15px;
}




.packages-page-toggler-item span {
    margin-left: 10px;
    font-weight: 700;
    font-size: 12px;
    color: #3fb44c;
    padding-block: 5px;
    padding-inline: 10px;
    background: rgba(63, 180, 76, 0.15);
    border-radius: 50px;
}

.packages-page-toggler-item-active span {
    margin-left: 10px;
    font-weight: 700;
    font-size: 12px;
    padding-block: 5px;
    padding-inline: 10px;
    border-radius: 50px;
    background: #1e1e1e;
    color: white;
}

.offers-item {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 25px;
    padding: 25px;
    /*transform: translateY(50px);*/
}

    .offers-item button {
        background: rgba(63, 180, 76, 0.15);
        padding-block: 13px;
        border: none;
        margin-top: 30px;
        border-radius: 15px;
        font-weight: 700;
        font-size: 16px;
        color: #3fb44c;
        transition-duration: 300ms;
    }

    .offers-item h4 {
        font-weight: 700;
        font-size: 24px;
        color: #1e1e1e;
        margin-bottom: 10px;
    }

    .offers-item p {
        font-weight: 400;
        font-size: 14px;
        margin: 0px;
    }

.offers-item-options {
    margin-top: 30px;
}

.offers-item-options span {
    font-weight: 700;
    font-size: 16px;
    color: #1e1e1e;
}

.offers-item-options span span {
    font-weight: 400;
    font-size: 12px;
    color: #1e1e1e;
}

.options-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.options-item img {
    height: 24px;
    width: 24px;
}

.packages-page-offers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    gap: 15px;
    margin-top: 35px;
}

.offers-item-recomended-title {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding-block: 5px;
}

.offers-item-recomended-title img{
    height: 24px;
    width: 24px;
}

    .offers-item-recomended-title h5 {
        font-weight: 700;
        font-size: 16px;
        color: #3fb44c;
        margin-bottom: 5px;
    }

.offers-item-recomended {
    padding: 5px;
    background: rgba(63, 180, 76, 0.15);
    border-radius: 30px;
}

.offers-item-recomended .offers-item {
    transform: translateY(0px);
}

.offers-item-recomended .offers-item button {
    background: #3fb44c;
    color: white;
}

.offers-item h3 {
    margin-top: 5px;
    font-weight: 700;
    font-size: 48px;
}

.offers-item h3 span {
    font-weight: 400;
    font-size: 24px;
}

.packages-popUp-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    /*position: absolute;*/
    position:fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(5px);
}

.packages-popUp {
    width: 80%;
    max-width: 1000px;
    height: 70vh;
    max-height: 1000px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    padding: 35px;
    background: #1e1e1e;
    border-radius: 15px;
    box-sizing: border-box;
}

    .packages-popUp iframe {
        flex: 1; /* riempie lo spazio verticale */
        width: 100%;
        border: 0;
    }

/*.no-scroll{
    overflow: hidden;
}*/

.footer-f2xp-links-list-item a{
    text-decoration: none;
}

/*.modal-close-btn {
    position: absolute;
    top: -25px;
    right: -35px;
}*/

.modal-close-btn {
    position: absolute;
    top: -25px;
    right: -35px;
    cursor: pointer;
    filter: brightness(0) invert(0.7);
}


@media (hover: hover) {
    .packages-page-toggler-item:hover {
        background: #DDDDDD;
    }


    .offers-item button:hover {
        background: #3fb44c;
        color: white;
    }

    .offers-item-recomended .offers-item button:hover {
        background: #FE580A;
    }
}

    @media (max-width: 1200px) {
        .packages-page {
            background-color: #F5F5F5;
            padding-block: 50px;
        }

        .packages-page-offers {
            grid-template-columns: repeat(1, 1fr);
        }

        .offers-item {
            transform: translateY(0px);
        }
    }

@media (max-width: 400px) {
    .packages-page-toggler-item {
        padding-inline: 15px;
    }

    .packages-page-toggler-item-active {
        padding-inline: 15px;
    }

    .packages-page-toggler-item {
        margin-left: 5px;
    }
}