/**
 * Carrello: layout due colonne (tabella carrello + riepilogo totale)
 */

/* Nascondi messaggi PayPal PPCP: usiamo i nostri banner custom */
body.woocommerce-cart .ppcp-messages,
body.woocommerce-cart .ppcp-message,
body.woocommerce-cart [data-pp-id] {
    display: none !important;
}

/* Banner PayPal custom nel carrello */
body.woocommerce-cart .hk-cart-paypal-wrapper {
    margin: 16px 0;
}

body.woocommerce-cart .hk-cart-paypal-wrapper .hk-pay-in-3-message {
    padding: 14px 18px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
    cursor: pointer;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
}

body.woocommerce-cart .hk-cart-paypal-wrapper .message__headline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 4px;
}

body.woocommerce-cart .hk-cart-paypal-wrapper .hk-paypal-wordmark {
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-style: italic;
}
body.woocommerce-cart .hk-cart-paypal-wrapper .hk-paypal-wordmark__pay {
    color: #003087;
}
body.woocommerce-cart .hk-cart-paypal-wrapper .hk-paypal-wordmark__pal {
    color: #009cde;
}

body.woocommerce-cart .hk-cart-paypal-wrapper .hk-pay-in-3-amount {
    font-weight: 700;
    color: #111111;
}

body.woocommerce-cart .hk-cart-paypal-wrapper .message__disclaimer .tag--default,
body.woocommerce-cart .hk-cart-paypal-wrapper .message__disclaimer .hk-scopri-piu {
    color: #0070ba;
    text-decoration: underline;
    font-weight: 600;
}

body.woocommerce-cart .hk-cart-paypal-wrapper .message__disclaimer {
    margin-bottom: 0;
}

body.woocommerce-cart .hk-pay-in-24-cart {
    padding: 12px 16px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
}

body.woocommerce-cart .hk-pay-in-24-cart__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

@media (max-width: 767px) {
    body.woocommerce-cart .hk-cart-paypal-wrapper .hk-pay-in-3-amount::after {
        content: "\A";
        white-space: pre;
    }

    /* Su mobile: headline in flusso normale, logo subito dopo "con" */
    body.woocommerce-cart .hk-cart-paypal-wrapper .message__headline {
        display: block;
    }
    body.woocommerce-cart .hk-cart-paypal-wrapper .message__logo-container {
        display: inline-block;
        margin-left: 2px;
        vertical-align: middle;
    }
}

body.woocommerce-cart .hk-pay-in-24-cart__text {
    font-size: 14px;
    font-weight: 400;
    color: #333333;
}

body.woocommerce-cart .hk-pay-in-24-cart__cta {
    font-size: 12px;
    color: #0070ba;
    text-decoration: underline;
    font-weight: 600;
}

body.woocommerce-cart .row.mb-5.pb-2 {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 2rem;
}

body.woocommerce-cart .row.mb-5.pb-2 > [class*="col-"] {
    max-width: none !important;
    flex: none !important;
    width: auto !important;
}

@media (max-width: 991px) {
    body.woocommerce-cart .row.mb-5.pb-2 {
        grid-template-columns: 1fr;
    }
}

