/*
Theme Name: Aurum Child
Template: aurum
Version: 1.0.0
*/
#billing_country_field,
#shipping_country_field {
    display: none !important;
}
/* =========================================================
   BLEEMAR - MERCADO PAGO CHECKOUT PRO COMPACTO
   MP 8.9.3
   ========================================================= */

/* Caja de Mercado Pago */
body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
> .payment_box.payment_method_woo-mercado-pago-basic {
    margin: 8px 0 0 !important;
    padding: 12px !important;

    background: #f7f7f7 !important;
    border-radius: 6px !important;

    box-sizing: border-box !important;
}


/* Logo principal */
body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
> .payment_box
> img {
    display: block !important;

    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;

    margin: 0 auto 10px !important;

    object-fit: contain !important;
}


/* Contenedores internos */
body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
.mp-checkout-container,

body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
.mp-checkout-pro-container,

body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
.mp-checkout-pro-content {
    width: 100% !important;

    min-height: 0 !important;

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

    box-sizing: border-box !important;
}


/* =========================================================
   MODO TEST
   Lo mantenemos visible mientras probamos
   ========================================================= */

body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
test-mode {
    display: block !important;

    margin: 0 0 10px !important;
    padding: 0 !important;
}


body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
.mp-test-mode-card {
    min-height: 0 !important;

    margin: 0 !important;
    padding: 9px 11px !important;

    border-radius: 5px !important;

    box-sizing: border-box !important;
}


body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
.mp-test-mode-card-content {
    margin: 0 !important;
    padding: 0 !important;
}


body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
.mp-test-mode-title {
    margin: 0 !important;

    font-size: 12px !important;
    line-height: 1.35 !important;
}


body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
.mp-test-mode-description {
    margin: 3px 0 0 !important;

    font-size: 11px !important;
    line-height: 1.35 !important;
}


/* =========================================================
   CONTENIDO PROMOCIONAL
   Lo ocultamos porque no es necesario para comprar
   ========================================================= */

/* "Descubre la practicidad de Mercado Pago" */
body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
.mp-checkout-pro-benefits-title {
    display: none !important;
}


/* Beneficios */
body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
.mp-checkout-pro-benefits {
    display: none !important;
}


/* "Te llevaremos a Mercado Pago" */
body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
.mp-checkout-pro-redirect {
    display: none !important;
}


/* =========================================================
   ICONOS DE MEDIOS DISPONIBLES
   ========================================================= */

body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
.mp-checkout-pro-payment-methods {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 8px !important;

    width: 100% !important;

    min-height: 0 !important;

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


body.woocommerce-checkout
#payment
li.payment_method_woo-mercado-pago-basic
.mp-checkout-pro-payment-method-icon {
    display: block !important;

    width: 30px !important;
    height: 22px !important;

    max-width: 30px !important;
    max-height: 22px !important;

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

    object-fit: contain !important;
}


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

@media (max-width: 800px) {

    body.woocommerce-checkout
    #payment
    li.payment_method_woo-mercado-pago-basic
    > .payment_box.payment_method_woo-mercado-pago-basic {
        padding: 10px !important;
    }

    body.woocommerce-checkout
    #payment
    li.payment_method_woo-mercado-pago-basic
    > .payment_box
    > img {
        width: 50px !important;
        height: 50px !important;

        max-width: 50px !important;
        max-height: 50px !important;
    }

}
/* =========================================================
   BLEEMAR - CHECKOUT MOBILE
   ENVIO EN BLOQUE VERTICAL
   ========================================================= */

@media (max-width: 800px) {

    /*
     * En mobile:
     *
     * ENVÍO
     * [método / transporte / opciones]
     *
     * en lugar de título a la izquierda y contenido a la derecha.
     */
    body.woocommerce-checkout
    .woocommerce-checkout-review-order-table
    tr.woocommerce-shipping-totals.shipping {
        display: block !important;

        width: 100% !important;

        padding: 12px 0 !important;
    }


    /* Título "Envío" */
    body.woocommerce-checkout
    .woocommerce-checkout-review-order-table
    tr.woocommerce-shipping-totals.shipping > th {
        display: block !important;

        width: 100% !important;

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

        color: #444 !important;

        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;

        text-align: left !important;

        box-sizing: border-box !important;
    }


    /* Contenido de envío */
    body.woocommerce-checkout
    .woocommerce-checkout-review-order-table
    tr.woocommerce-shipping-totals.shipping > td {
        display: block !important;

        width: 100% !important;

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

        text-align: left !important;

        box-sizing: border-box !important;
    }


    /*
     * WooCommerce puede generar otro "Envío"
     * mediante td::before en responsive.
     * Lo quitamos porque ya mostramos el TH.
     */
    body.woocommerce-checkout
    .woocommerce-checkout-review-order-table
    tr.woocommerce-shipping-totals.shipping > td::before {
        display: none !important;
        content: none !important;
    }


    /* Métodos normales de envío */
    body.woocommerce-checkout
    .woocommerce-checkout-review-order-table
    #shipping_method {
        display: block !important;

        width: 100% !important;

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

        text-align: left !important;
    }


    body.woocommerce-checkout
    .woocommerce-checkout-review-order-table
    #shipping_method li {
        display: block !important;

        width: 100% !important;

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

        text-align: left !important;
    }


    body.woocommerce-checkout
    .woocommerce-checkout-review-order-table
    #shipping_method label {
        text-align: left !important;
    }


    /* =====================================================
       TRANSPORTE MAYORISTA
       ===================================================== */

    body.woocommerce-checkout
    .woocommerce-checkout-review-order-table
    .bleemar-transport-fields {
        display: block !important;

        width: 100% !important;
        max-width: none !important;

        margin: 12px 0 0 !important;
        padding: 14px !important;

        text-align: left !important;

        box-sizing: border-box !important;
    }


    body.woocommerce-checkout
    .bleemar-transport-description {
        width: 100% !important;

        margin: 0 0 14px !important;

        text-align: left !important;
    }


    body.woocommerce-checkout
    .bleemar-transport-options,
    body.woocommerce-checkout
    .bleemar-transport-other-wrap,
    body.woocommerce-checkout
    .bleemar-transport-notes-wrap {
        width: 100% !important;

        text-align: left !important;
    }


    body.woocommerce-checkout
    #bleemar_transport_other,
    body.woocommerce-checkout
    #bleemar_transport_notes {
        width: 100% !important;
        max-width: 100% !important;

        box-sizing: border-box !important;
    }
}