/* ASPIC Soci – WooCommerce Checkout Block */
.aspic-checkout-member--block,
.aspic-checkout-member--editor {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 24px;
    padding: 20px 22px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    background: linear-gradient(135deg, #FFF1DF 0%, #FFFFFF 78%);
    border: 1px solid rgba(242, 163, 74, .24);
    border-radius: 18px;
    font-family: "Nunito Sans", sans-serif;
}

.aspic-checkout-member--block *,
.aspic-checkout-member--editor * {
    box-sizing: border-box;
}

.aspic-checkout-member--block .aspic-checkout-member__copy,
.aspic-checkout-member--editor .aspic-checkout-member__copy {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.aspic-checkout-member--block .aspic-checkout-member__eyebrow,
.aspic-checkout-member--editor .aspic-checkout-member__eyebrow {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 6px 9px;
    color: #B45F78;
    background: #F8E8ED;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .65px;
    line-height: 1.2;
    text-transform: uppercase;
}

.aspic-checkout-member--block h2,
.aspic-checkout-member--editor h2 {
    margin: 0 0 5px;
    color: #143677;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
}

.aspic-checkout-member--block p,
.aspic-checkout-member--editor p {
    margin: 0;
    color: #626C7B;
    font-size: 12px;
    line-height: 1.55;
}

.aspic-checkout-member--block .aspic-checkout-member__actions {
    display: flex;
    min-width: 215px;
    flex-direction: column;
    gap: 7px;
}

.aspic-checkout-member--block .aspic-checkout-member__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 11px 16px;
    color: #FFFFFF !important;
    background: #143677;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none !important;
}

.aspic-checkout-member--block .aspic-checkout-member__button:hover,
.aspic-checkout-member--block .aspic-checkout-member__button:focus {
    color: #FFFFFF !important;
    background: #0E2A60;
}

.aspic-checkout-member--block .aspic-checkout-member__actions small {
    color: #7A8391;
    font-size: 9px;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 767px) {
    .aspic-checkout-member--block,
    .aspic-checkout-member--editor {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 18px;
    }

    .aspic-checkout-member--block .aspic-checkout-member__copy,
    .aspic-checkout-member--editor .aspic-checkout-member__copy {
        flex-direction: column;
        gap: 8px;
    }

    .aspic-checkout-member--block .aspic-checkout-member__actions {
        min-width: 0;
    }
}



/* 1.2.2 – il posizionamento prima di Informazioni di contatto è gestito
   sul nodo già renderizzato dal Checkout Block, senza alterare il layout core. */
.aspic-checkout-member--before-contact {
    margin-top: 0;
    margin-bottom: 26px;
}


/* =========================================================
   ASPIC Soci 1.2.4 — RIMOZIONE ARTICOLI DAL CHECKOUT
========================================================= */

.wc-block-components-order-summary-item
.aspic-checkout-remove-item {
    appearance: none;
    display: inline-flex;
    align-items: center;

    margin: 8px 0 0 !important;
    padding: 0 !important;

    color: #B45F78 !important;
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-family: "Nunito Sans", sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;

    text-decoration: underline;
    text-underline-offset: 3px;

    cursor: pointer;
}

.wc-block-components-order-summary-item
.aspic-checkout-remove-item:hover {
    color: #143677 !important;
}

.wc-block-components-order-summary-item
.aspic-checkout-remove-item:disabled,
.wc-block-components-order-summary-item
.aspic-checkout-remove-item.is-removing {
    opacity: .55;
    cursor: wait;
}
