/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/



/* ==========================================
   SOFY — HEADER ACTIONS & CART BADGE
   ========================================== */

#sofy-header-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    max-width: none;
    gap: 18px !important;
}

/* Elementi dell'header */
#sofy-header-actions > .elementor-element {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

/* Icona account */
#sofy-header-actions > .elementor-widget-image {
    width: 38px;
    flex-basis: 38px;
}

/* ==========================================
   CARRELLO
   ========================================== */

#sofy-cart-wrap {
    position: relative !important;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 35px !important;
    width: 35px !important;
    min-width: 35px !important;
    height: 38px !important;

    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    overflow: visible !important;
}

/* Widget icona carrello */
#sofy-cart-wrap > .elementor-widget-image {
    display: block;
    flex: 0 0 35px !important;
    width: 35px !important;
    margin: 0 !important;
    padding: 0 !important;
}

#sofy-cart-wrap .elementor-widget-image img {
    display: block;
    width: 35px;
    height: 38px;
    object-fit: contain;
}

/* ==========================================
   BADGE
   ========================================== */

/* Widget che contiene il numero */
#sofy-cart-wrap > :is(
    .elementor-widget-html,
    .elementor-widget-shortcode
) {
    position: absolute !important;
    right: -7px !important;
    bottom: -5px !important;

    width: 26px !important;
    height: 26px !important;

    padding: 0 !important;
    margin: 0 !important;

    z-index: 10;
    pointer-events: none;
}

/* Cerchio magenta */
#sofy-cart-wrap .sofy-cart-count {
    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    width: 26px;
    height: 26px;
    min-width: 26px;

    padding: 0;
    margin: 0;

    border: 0;
    border-radius: 50%;

    background: #E7344F;
    color: #FFFFFF;

    box-shadow: -3.51px 1.4px 2.81px 0 #0000001A;

    font-family: "Satoshi Variable", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-align: center;

    pointer-events: none;
}

/* Carrello vuoto */
#sofy-cart-wrap .sofy-cart-count.is-empty {
    display: none !important;
}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

    /* Azioni più compatte */
    #sofy-header-actions {
        gap: 12px !important;
    }

    /* Icona account */
    #sofy-header-actions > .elementor-widget-image {
        width: 30px;
        flex-basis: 30px;
    }

    /* Icona carrello */
    #sofy-cart-wrap {
        flex-basis: 30px !important;
        width: 30px !important;
        min-width: 30px !important;
        height: 33px !important;
    }

    #sofy-cart-wrap > .elementor-widget-image {
        flex-basis: 30px !important;
        width: 30px !important;
    }

    #sofy-cart-wrap .elementor-widget-image img {
        width: 30px;
        height: 33px;
    }

    /* Posizione badge */
    #sofy-cart-wrap > :is(
        .elementor-widget-html,
        .elementor-widget-shortcode
    ) {
        right: -5px !important;
        bottom: -4px !important;

        width: 23px !important;
        height: 23px !important;
    }

    /* Badge mobile */
    #sofy-cart-wrap .sofy-cart-count {
        width: 23px;
        height: 23px;
        min-width: 23px;
        font-size: 14px;
    }
}


/* ==========================================
   SOFY — NOTIFICHE WOOCOMMERCE
   ========================================== */

/* Solo nella pagina Carrello Sofy */
body:has(#sofy-cart-page)
.woocommerce-message {
    position: fixed !important;

    top: 100px !important;
    right: 16px !important;
    left: auto !important;

    z-index: 99999 !important;

    max-width: calc(100vw - 32px);

    animation: sofy-notice-dismiss 3s linear forwards !important;
}

/* Più tempo per annullare la rimozione */
body:has(#sofy-cart-page)
.woocommerce-message:has(a.restore-item) {
    animation-duration: 5s !important;
}

/* La notifica resta visibile durante l'interazione */
body:has(#sofy-cart-page)
.woocommerce-message:hover,
body:has(#sofy-cart-page)
.woocommerce-message:focus-within {
    animation-play-state: paused !important;
}

/* Il messaggio resta visibile per quasi 6 secondi */

/* SOFY — Toast: 3 secondi con uscita morbida */

@keyframes sofy-notice-dismiss {

    0%, 85% {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
    }
}


/* Evita che il messaggio nascosto intercetti i clic
   dopo il completamento dell'animazione */
body:has(#sofy-cart-page)
.woocommerce-message {
    pointer-events: auto;
}

/* Mobile */
@media (max-width: 767px) {

    body:has(#sofy-cart-page)
    .woocommerce-message {
        top: 80px !important;
        right: 12px !important;
        width: calc(100vw - 24px) !important;
    }
}

/* Accessibilità: niente movimento se richiesto */
@media (prefers-reduced-motion: reduce) {

    @keyframes sofy-notice-dismiss {
        0%, 89% {
            opacity: 1;
            visibility: visible;
        }

        100% {
            opacity: 0;
            visibility: hidden;
        }
    }
}


/* SOFY — Totale finale Carrello e Checkout */

#sofy-cart-page tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total th {
    white-space: normal !important;
    line-height: 1.3 !important;
}

#sofy-cart-page .sofy-final-total,
.woocommerce-checkout-review-order-table .sofy-final-total {
    display: block;
    white-space: nowrap;
}

#sofy-cart-page .sofy-included-tax,
.woocommerce-checkout-review-order-table .sofy-included-tax {
    display: block !important;
    margin-top: 6px;

    color: #005569;
    font-family: 'Satoshi', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;

    text-align: right;
    white-space: normal;
}



/* ============================================================
   SOFY 2027 — THANK YOU / ORDINE RICEVUTO
   ============================================================ */

#sofy-checkout-page .woocommerce-order {
    --ty-pink: #E7344F;
    --ty-blue: #005569;
    --ty-cream: #FFF1D8;
    --ty-peach: #FADCCB;
    --ty-sage: #D1E5C3;
    --ty-border: rgba(0,85,105,.32);
    --ty-divider: rgba(0,85,105,.16);
    width: 100%;
    min-width: 0;
    color: var(--ty-blue);
}
#sofy-checkout-page .woocommerce-order,
#sofy-checkout-page .woocommerce-order * {box-sizing: border-box;}

#sofy-checkout-page .woocommerce-order .sofy-thankyou-title,
#sofy-checkout-page .sofy-thankyou-title {
    margin: 0 0 20px !important;
    color: #E7344F !important;
    font-size: clamp(30px, 3.8vw, 48px);
    line-height: 1.12;
}

#sofy-checkout-page .woocommerce-order .woocommerce-thankyou-order-received {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 24px !important;
    padding: 15px 20px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #D1E5C3 !important;
    box-shadow: none !important;
    color: #005569 !important;
    font-size: 15px;
    line-height: 1.45;
}
#sofy-checkout-page .woocommerce-order .woocommerce-thankyou-order-received::before {
    content: '✓' !important;
    position: static !important;
    display: flex !important;
    flex: 0 0 27px;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #005569;
    color: #fff;
    font-size: 16px;
    line-height: 1;
}

#sofy-checkout-page .woocommerce-order ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 44px !important;
    padding: 0 !important;
    list-style: none !important;
    border: 1px solid var(--ty-border) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    background: transparent !important;
}
#sofy-checkout-page .woocommerce-order ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    grid-column: auto !important;
    grid-row: auto !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 17px 10px !important;
    border: 0 !important;
    border-right: 1px solid var(--ty-border) !important;
    background: transparent !important;
    color: var(--ty-blue) !important;
    font-size: 12px;
    line-height: 1.4;
    text-align: center !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}
#sofy-checkout-page .woocommerce-order ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li:last-child {
    border-right: 0 !important;
}
#sofy-checkout-page .woocommerce-order ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li strong {
    display: block !important;
    margin: 6px 0 0 !important;
    color: var(--ty-blue) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}
#sofy-checkout-page .woocommerce-order ul.woocommerce-order-overview .woocommerce-Price-amount {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

#sofy-checkout-page .woocommerce-order .woocommerce-order-details__title,
#sofy-checkout-page .woocommerce-order .woocommerce-column__title {
    margin: 0 0 20px !important;
    color: var(--ty-pink) !important;
    line-height: 1.15;
    text-align: left !important;
}

#sofy-checkout-page .woocommerce-order .woocommerce-order-details {
    width: 100%;
    margin: 0 0 44px !important;
}
#sofy-checkout-page .woocommerce-order table.woocommerce-table--order-details {
    display: table !important;
    width: 100% !important;
    margin: 0 !important;
    table-layout: fixed !important;
    border: 0 !important;
    border-collapse: collapse !important;
    background: transparent !important;
}
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details thead {display: table-header-group !important; background: var(--ty-peach);}
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details tbody {display: table-row-group !important;}
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details tfoot {display: table-footer-group !important;}
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details tr {display: table-row !important;}
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details th,
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details td {
    display: table-cell !important;
    float: none !important;
    padding: 15px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ty-divider) !important;
    background: transparent !important;
    color: var(--ty-blue) !important;
    vertical-align: middle !important;
    overflow-wrap: break-word;
}
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details tr > :first-child {width: 64% !important; text-align: left !important;}
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details tr > :last-child {width: 36% !important; text-align: right !important;}
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details thead th,
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details tfoot th {color: var(--ty-pink) !important;}
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details .product-name a {
    color: var(--ty-blue) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details .product-quantity {color: var(--ty-blue) !important;}
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details .woocommerce-Price-amount {
    color: var(--ty-blue) !important;
    white-space: nowrap;
}
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details .includes_tax,
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details .shipped_via {
    display: block;
    margin-top: 5px;
    color: var(--ty-blue);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
}
#sofy-checkout-page .woocommerce-order .woocommerce-table--order-details .includes_tax .woocommerce-Price-amount {
    font-size: inherit !important;
    font-weight: inherit !important;
}

#sofy-checkout-page .woocommerce-order .woocommerce-customer-details {width: 100%; margin: 0 0 44px !important;}
#sofy-checkout-page .woocommerce-order .woocommerce-customer-details .woocommerce-columns--addresses {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    gap: 26px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
#sofy-checkout-page .woocommerce-order .woocommerce-customer-details .woocommerce-columns--addresses > .woocommerce-column {
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
    float: none !important;
    clear: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
#sofy-checkout-page .woocommerce-order .woocommerce-column--billing-address {grid-column: 1 !important; grid-row: 1 !important;}
#sofy-checkout-page .woocommerce-order .woocommerce-column--shipping-address {grid-column: 2 !important; grid-row: 1 !important;}
#sofy-checkout-page .woocommerce-order .woocommerce-customer-details address {
    display: block !important;
    flex: 1 1 auto;
    width: 100% !important;
    height: auto !important;
    min-height: 176px;
    margin: 0 !important;
    padding: 20px 22px !important;
    border: 1px solid var(--ty-border) !important;
    border-radius: 18px !important;
    background: transparent !important;
    color: var(--ty-blue) !important;
    font-style: normal !important;
    line-height: 1.65;
}
#sofy-checkout-page .woocommerce-order .woocommerce-customer-details address p {
    color: var(--ty-blue) !important;
    margin: 7px 0 0 !important;
}

#sofy-checkout-page .woocommerce-order a {text-underline-offset: 3px;}
#sofy-checkout-page .woocommerce-order a:focus-visible {outline: 2px solid var(--ty-blue); outline-offset: 3px;}

@media (min-width: 768px) and (max-width: 1024px) {
    #sofy-checkout-page .woocommerce-order ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    #sofy-checkout-page .woocommerce-order ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li {
        border-right: 1px solid var(--ty-border) !important;
        border-bottom: 1px solid var(--ty-border) !important;
    }
    #sofy-checkout-page .woocommerce-order ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li:nth-child(3n) {border-right: 0 !important;}
    #sofy-checkout-page .woocommerce-order ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li:nth-last-child(-n+2) {border-bottom: 0 !important;}
    #sofy-checkout-page .woocommerce-order .woocommerce-customer-details .woocommerce-columns--addresses {gap: 18px !important;}
}

@media (max-width: 767px) {
    #sofy-checkout-page .woocommerce-order .sofy-thankyou-title,
    #sofy-checkout-page .sofy-thankyou-title {font-size: clamp(28px, 7vw, 36px); margin-bottom: 16px !important;}
    #sofy-checkout-page .woocommerce-order .woocommerce-thankyou-order-received {padding: 14px !important; font-size: 14px;}
    #sofy-checkout-page .woocommerce-order ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
        grid-template-columns: minmax(0, 1fr) !important;
        margin-bottom: 32px !important;
    }
    #sofy-checkout-page .woocommerce-order ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li {
        align-items: flex-start !important;
        text-align: left !important;
        padding: 13px 16px !important;
        border-right: 0 !important;
        border-bottom: 1px solid var(--ty-border) !important;
    }
    #sofy-checkout-page .woocommerce-order ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li:last-child {border-bottom: 0 !important;}
    #sofy-checkout-page .woocommerce-order ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > li strong {text-align: left !important;}
    #sofy-checkout-page .woocommerce-order .woocommerce-order-details {margin-bottom: 34px !important;}
    #sofy-checkout-page .woocommerce-order .woocommerce-table--order-details th,
    #sofy-checkout-page .woocommerce-order .woocommerce-table--order-details td {padding: 13px 9px !important;}
    #sofy-checkout-page .woocommerce-order .woocommerce-table--order-details tr > :first-child {width: 58% !important;}
    #sofy-checkout-page .woocommerce-order .woocommerce-table--order-details tr > :last-child {width: 42% !important;}
    #sofy-checkout-page .woocommerce-order .woocommerce-customer-details .woocommerce-columns--addresses {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 25px !important;
    }
    #sofy-checkout-page .woocommerce-order .woocommerce-column--billing-address {grid-column: 1 !important; grid-row: 1 !important;}
    #sofy-checkout-page .woocommerce-order .woocommerce-column--shipping-address {grid-column: 1 !important; grid-row: 2 !important;}
    #sofy-checkout-page .woocommerce-order .woocommerce-customer-details address {min-height: 0; padding: 18px !important;}
}


/* ==========================================
   SOFY — THANK YOU PAGE
   ========================================== */

#sofy-checkout-page
.woocommerce ul.woocommerce-order-overview::before,
#sofy-checkout-page
.woocommerce ul.woocommerce-order-overview::after,
#sofy-checkout-page
.woocommerce ul.order_details::before,
#sofy-checkout-page
.woocommerce ul.order_details::after {
    content: none !important;
    display: none !important;
}

#sofy-checkout-page
.woocommerce ul.woocommerce-order-overview.order_details {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0 !important;
}

#sofy-checkout-page
.woocommerce ul.woocommerce-order-overview.order_details > li {
    grid-column: auto !important;
    grid-row: auto !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    #sofy-checkout-page
    .woocommerce ul.woocommerce-order-overview.order_details {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    #sofy-checkout-page
    .woocommerce ul.woocommerce-order-overview.order_details {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}


/* =====================================================
   SOFY — THANK YOU PAGE
   ===================================================== */

#sofy-checkout-page .sofy-next-steps {
    width: 100%;
    margin: 8px 0 46px;
    padding: 0;
}

#sofy-checkout-page .sofy-next-steps > h2 {
    margin: 0 0 24px;

    color: #E7344F;
    line-height: 1.2;
}

#sofy-checkout-page .sofy-next-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

#sofy-checkout-page .sofy-next-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 12px;
    min-width: 0;
    padding: 4px 0;
}

#sofy-checkout-page .sofy-next-step__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 50px;

    width: 50px;
    height: 50px;

    border-radius: 50%;
    background: #FADCCB;
    color: #005569;
}

#sofy-checkout-page .sofy-next-step__icon svg {
    display: block;
    width: 25px;
    height: 25px;
}

#sofy-checkout-page .sofy-next-step__content h3 {
    margin: 0 0 7px;
    padding: 0;

    color: #005569;
    font-family: 'Satoshi', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

#sofy-checkout-page .sofy-next-step__content p {
    margin: 0;
    padding: 0;

    color: #005569;
    font-family: 'Satoshi', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
}

#sofy-checkout-page .sofy-thankyou-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    gap: 14px;
    width: 100%;

    margin: 32px 0 12px;
    padding: 0;
}

#sofy-checkout-page .sofy-thankyou-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 12px 25px;

    border: 1px solid transparent;
    border-radius: 100px;

    font-family: 'Satoshi', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;

    text-decoration: none !important;
    text-align: center;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease;
}

#sofy-checkout-page
.sofy-thankyou-actions__primary {
    background: #E7344F !important;
    border-color: #E7344F !important;
    color: #FFFFFF !important;
}

#sofy-checkout-page
.sofy-thankyou-actions__primary:hover {
    background: #005569 !important;
    border-color: #005569 !important;
    color: #FFFFFF !important;
}

#sofy-checkout-page
.sofy-thankyou-actions__secondary {
    background: transparent !important;
    border-color: #005569 !important;
    color: #005569 !important;
}

#sofy-checkout-page
.sofy-thankyou-actions__secondary:hover {
    background: #005569 !important;
    color: #FFFFFF !important;
}

#sofy-checkout-page
.sofy-thankyou-actions a:focus-visible {
    outline: 2px solid #005569;
    outline-offset: 4px;
}

@media (min-width: 768px) and (max-width: 1024px) {

    #sofy-checkout-page .sofy-next-steps__grid {
        gap: 16px;
    }

    #sofy-checkout-page .sofy-next-step__content p {
        font-size: 14px;
    }
}

@media (max-width: 767px) {

    #sofy-checkout-page .sofy-next-steps {
        margin-bottom: 32px;
    }

    #sofy-checkout-page .sofy-next-steps__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    #sofy-checkout-page .sofy-next-step {
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
    }

    #sofy-checkout-page .sofy-next-step__icon {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
    }

    #sofy-checkout-page .sofy-next-step__icon svg {
        width: 22px;
        height: 22px;
    }

    #sofy-checkout-page .sofy-next-step__content h3 {
        font-size: 16px;
    }

    #sofy-checkout-page .sofy-next-step__content p {
        font-size: 14px;
    }

    #sofy-checkout-page .sofy-thankyou-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 26px;
    }

    #sofy-checkout-page .sofy-thankyou-actions a {
        width: 100%;
        min-height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {

    #sofy-checkout-page .sofy-thankyou-actions a {
        transition: none;
    }
}



/* =========================================
   SOFY AGENDA — COOKIEYES
   ========================================= */

:root {
  --sofy-petrol: #005569;
  --sofy-pink: #E7344F;
  --sofy-ivory: #FAF8F5;
  --sofy-text: #333333;
  --sofy-border: #E9E5DF;
}

.cky-consent-container .cky-consent-bar {
  background: #FFFFFF !important;
  border: 1px solid var(--sofy-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 35px rgba(0, 0, 0, .08) !important;
  padding: 28px !important;
}

.cky-consent-container,
.cky-modal {
  font-family: "Satoshi", Arial, sans-serif !important;
}

.cky-consent-container .cky-title {
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: var(--sofy-petrol) !important;
  margin-bottom: 12px !important;
}

.cky-consent-container .cky-notice-des {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  color: var(--sofy-text) !important;
}

.cky-consent-container .cky-notice-des a {
  color: var(--sofy-petrol) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.cky-consent-container .cky-notice-btn-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 22px !important;
}

.cky-consent-container .cky-btn {
  border-radius: 9px !important;
  padding: 13px 18px !important;
  min-height: 46px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  transition:
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    transform .25s ease !important;
}

.cky-consent-container .cky-btn-accept {
  background: var(--sofy-petrol) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--sofy-petrol) !important;
}

.cky-consent-container .cky-btn-accept:hover {
  background: #003E4D !important;
  border-color: #003E4D !important;
}

.cky-consent-container .cky-btn-reject {
  background: #FFFFFF !important;
  color: var(--sofy-petrol) !important;
  border: 1px solid var(--sofy-petrol) !important;
}

.cky-consent-container .cky-btn-reject:hover {
  background: #EFF5F5 !important;
}

.cky-consent-container .cky-btn-customize {
  background: #FBE9EC !important;
  color: #9E2942 !important;
  border: 1px solid #FBE9EC !important;
}

.cky-consent-container .cky-btn-customize:hover {
  background: #F7D7DF !important;
}

.cky-modal .cky-preference-center {
  border-radius: 18px !important;
  overflow: hidden;
  font-family: "Satoshi", Arial, sans-serif !important;
}

.cky-modal .cky-preference-header,
.cky-modal .cky-preference-body,
.cky-modal .cky-preference-footer {
  background: #FFFFFF !important;
}

.cky-modal .cky-preference-title {
  color: var(--sofy-petrol) !important;
  font-size: 21px !important;
  font-weight: 700 !important;
}

.cky-modal .cky-preference-content-wrapper,
.cky-modal .cky-accordion-header-des,
.cky-modal .cky-accordion-body {
  color: var(--sofy-text) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.cky-modal .cky-accordion-item {
  border: 1px solid var(--sofy-border) !important;
  border-radius: 9px !important;
  margin-bottom: 9px !important;
  overflow: hidden;
}

.cky-modal .cky-accordion-header {
  padding: 12px !important;
}

.cky-modal .cky-switch input:checked + .cky-slider {
  background-color: var(--sofy-petrol) !important;
}

.cky-modal .cky-btn {
  border-radius: 9px !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  min-height: 43px !important;
}

.cky-modal .cky-btn-accept,
.cky-modal .cky-btn-preferences {
  background: var(--sofy-petrol) !important;
  border-color: var(--sofy-petrol) !important;
  color: #FFFFFF !important;
}

.cky-modal .cky-btn-reject {
  background: #FFFFFF !important;
  border: 1px solid var(--sofy-petrol) !important;
  color: var(--sofy-petrol) !important;
}

.cky-revisit-bottom-left,
.cky-revisit-bottom-right {
  background: var(--sofy-petrol) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.12) !important;
}

.cky-btn:focus-visible,
.cky-modal button:focus-visible {
  outline: 2px solid var(--sofy-pink) !important;
  outline-offset: 3px !important;
}

@media (min-width: 769px) {
  .cky-consent-container .cky-consent-bar {
    padding: 32px 36px !important;
  }

  .cky-consent-container .cky-notice-btn-wrapper {
    gap: 12px !important;
  }
}

@media (max-width: 768px) {
  .cky-consent-container .cky-consent-bar {
    padding: 22px 18px !important;
    border-radius: 15px !important;
  }

  .cky-consent-container .cky-title {
    font-size: 20px !important;
  }

  .cky-consent-container .cky-notice-des {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .cky-consent-container .cky-notice-btn-wrapper {
    gap: 9px !important;
    margin-top: 18px !important;
  }

  .cky-consent-container .cky-btn {
    width: 100% !important;
    min-height: 44px !important;
    padding: 12px 14px !important;
  }

  .cky-modal .cky-preference-title {
    font-size: 19px !important;
  }
}

/* Recesso */
.withdrawal_link {
	color: #fff !important;
}
/* Add your custom styles here */
