a button {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    /* specifico per Safari iOS */
}

/* custom dimension for logo */
.logo-dim {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Small screen: smartphone (fino a 600px) */
@media only screen and (max-width: 600px) {
    .logo-dim {
        max-width: 200px !important;
    }
}

/* Medium screen: tablet (tra 601px e 1024px) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .logo-dim {
        max-width: 200px !important;
    }
}

/* Large screen: desktop (sopra 1024px) */
@media only screen and (min-width: 1025px) {
    .logo-dim {
        max-width: 250px !important;
    }
}

/* ----- */

.padding-hero-image {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

/* Small screen: smartphone */
@media only screen and (max-width: 600px) {
    .padding-hero-image {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

/* Medium screen: tablet */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .padding-hero-image {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
}

/* Large screen: desktop */
@media only screen and (min-width: 1025px) {
    .padding-hero-image {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }
}



/* box your tree si inverte in mobile */
@media (max-width: 768px) {
    .you-tree {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
    }

    .you-tree>.image-col {
        order: 2 !important;
        width: 100% !important;
    }

    .you-tree>.text-col {
        order: 1 !important;
        width: 100% !important;
    }
}


/* Padding per .padding-text su diversi dispositivi */
.padding-section-2 {
    padding-top: 30px !important;
    padding-bottom: 100px !important;
}


/* Padding per .padding-section-0 su diversi dispositivi */
/* Smartphone (max-width: 600px) */
@media only screen and (max-width: 600px) {
    .padding-section-0 {
        padding-top: 100px !important;
        padding-bottom: 40px !important;
    }
}

/* Tablet (601px - 1024px) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .padding-section-0 {
        padding-top: 120px !important;
        padding-bottom: 50px !important;
    }
}

/* Desktop (min-width: 1025px) */
@media only screen and (min-width: 1025px) {
    .padding-section-0 {
        padding-top: 150px !important;
        padding-bottom: 50px !important;
    }
}


/* Padding per .padding-section-1 su diversi dispositivi */
/* Smartphone (max-width: 600px) */
@media only screen and (max-width: 600px) {
    .padding-section-1 {
        padding-top: 40px !important;
        padding-bottom: 30px !important;
    }
}

/* Tablet (601px - 1024px) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .padding-section-1 {
        padding-top: 50px !important;
        padding-bottom: 40px !important;
    }
}

/* Desktop (min-width: 1025px) */
@media only screen and (min-width: 1025px) {
    .padding-section-1 {
        padding-top: 50px !important;
        padding-bottom: 20px !important;
    }
}

/* Padding per .padding-section-1 su diversi dispositivi */
/* Smartphone (max-width: 600px) */
@media only screen and (max-width: 600px) {
    .padding-section-1-text {
        padding-top: 0px !important;
        padding-bottom: 50px !important;
    }
}

/* Tablet (601px - 1024px) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .padding-section-1-text {
        padding-top: 10px !important;
        padding-bottom: 70px !important;
    }
}

/* Desktop (min-width: 1025px) */
@media only screen and (min-width: 1025px) {
    .padding-section-1-text {
        padding-top: 50px !important;
        padding-bottom: 80px !important;
    }
}


/* Padding per .padding-section-2 su diversi dispositivi */
/* Smartphone (max-width: 600px) */
@media only screen and (max-width: 600px) {
    .padding-section-2 {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
}

/* Tablet (601px - 1024px) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .padding-section-2 {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
}

/* Desktop (min-width: 1025px) */
@media only screen and (min-width: 1025px) {
    .padding-section-2 {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }
}

/* Padding per .padding-section-3 su diversi dispositivi */
/* Smartphone (max-width: 600px) */
@media only screen and (max-width: 600px) {
    .padding-section-3 {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
}

/* Tablet (601px - 1024px) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .padding-section-3 {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
}

/* Desktop (min-width: 1025px) */
@media only screen and (min-width: 1025px) {
    .padding-section-3 {
        padding-top: 100px !important;
        padding-bottom: 80px !important;
    }
}


/* Padding per .padding-section-4 su diversi dispositivi */
/* Smartphone (max-width: 600px) */
@media only screen and (max-width: 600px) {
    .padding-section-4 {
        padding-top: 50px !important;
        padding-bottom: 60px !important;
    }
}

/* Tablet (601px - 1024px) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .padding-section-4 {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
}

/* Desktop (min-width: 1025px) */
@media only screen and (min-width: 1025px) {
    .padding-section-4 {
        padding-top: 120px !important;
        padding-bottom: 120px !important;
    }
}


/* Padding per .padding-section-5 su diversi dispositivi */
/* Smartphone (max-width: 600px) */
@media only screen and (max-width: 600px) {
    .padding-section-5 {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
}

/* Tablet (601px - 1024px) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .padding-section-5 {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
}

/* Desktop (min-width: 1025px) */
@media only screen and (min-width: 1025px) {
    .padding-section-5 {
        padding-top: 120px !important;
        padding-bottom: 120px !important;
    }
}



/* Padding per .padding-section-6 su diversi dispositivi */
/* Smartphone (max-width: 600px) */
@media only screen and (max-width: 600px) {
    .padding-section-6 {
        padding-top: 70px !important;
        padding-bottom: 90px !important;
    }
}

/* Tablet (601px - 1024px) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .padding-section-6 {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
}

/* Desktop (min-width: 1025px) */
@media only screen and (min-width: 1025px) {
    .padding-section-6 {
        padding-top: 120px !important;
        padding-bottom: 120px !important;
    }
}


/* Padding per .padding-section-7 su diversi dispositivi */
/* Smartphone (max-width: 600px) */
@media only screen and (max-width: 600px) {
    .padding-section-7 {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
}

/* Tablet (601px - 1024px) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .padding-section-7 {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }
}

/* Desktop (min-width: 1025px) */
@media only screen and (min-width: 1025px) {
    .padding-section-7 {
        padding-top: 100px !important;
        padding-bottom: 120px !important;
    }
}




/* ===== MODALE start ===== */
/* ==========================
   Modal (Extra Services)
   Moved from inline <style> in prova-modale.html
   ========================== */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal.is-open {
    display: flex;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.modal__dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    width: min(960px, 94vw);
    max-height: 90vh;
    overflow: auto;
    padding: 32px;
    transform: translateY(-50px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.modal.is-open .modal__dialog {
    transform: translateY(0);
    opacity: 1;
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

/* Lock page scroll when modal is open */
html.html-overflow-hidden,
body.html-overflow-hidden {
    overflow: hidden;
}

/* ===== MODALE END ===== */


/* Responsive countdown (modale) */
.countdown {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    gap: min(4vw, 20px);
    /* riduce lo spazio su schermi piccoli */
    max-width: 100%;
    flex-wrap: nowrap;
    /* evita il ritorno a capo */
}

.count-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: clamp(44px, 18vw, 90px);
    /* blocchi minimi ma flessibili */
}

.count-num {
    line-height: 1;
    font-weight: 600;
    /* numeri grandi su desktop, ma che rimpiccioliscono su mobile */
    font-size: clamp(26px, 10vw, 64px);
}

.count-label {
    font-weight: 400;
    /* etichette più piccole e responsive */
    font-size: clamp(10px, 3vw, 14px);
    margin-top: 4px;
}


/* Stile per Block 1 solo su smartphone */
@media only screen and (max-width: 600px) {
    .block1-mobile {
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
}


/* Stile base (desktop) */
.countdown-offer {
    display: inline-flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    text-align: center;
    flex-wrap: nowrap;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.countdown-number {
    font-size: 40px;
}

.countdown-label {
    font-size: 18px;
    font-weight: normal;
}

/* Tablet */
@media (max-width: 991px) {
    .countdown-offer {
        gap: 30px;
    }

    .countdown-unit {
        min-width: 60px;
    }

    .countdown-number {
        font-size: 45px;
    }

    .countdown-label {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .countdown-offer {
        gap: 5px;
    }

    .countdown-unit {
        min-width: 50px;
    }

    .countdown-number {
        font-size: 26px;
    }

    .countdown-label {
        font-size: 12px;
    }
}

/* ===== Cookie Banner (cosmetic) ===== */
.cookie-banner {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 99999;
    display: none;
    background: #ffffff;
    color: #122223;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, .12);
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.cookie-banner.is-visible {
    display: block;
}

.cookie-banner__inner {
    margin: 0 auto;
    max-width: 1100px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-banner__text {
    flex: 1 1 auto;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner__text a {
    text-decoration: underline;
    color: inherit;
}

.cookie-banner__actions {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
}

@media (max-width: 992px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

    .cookie-banner__actions {
        justify-content: stretch;
    }

    .cookie-banner__actions .button {
        width: 100%;
    }
}

/* ===== End Cookie Banner ===== */