css
/*
Theme Name: AVENTURAS
Theme URI: https://www.inkexplorers.com/
Description: Un tema hijo para personalizar Ink Explorers.
Author: Aventuras Literarias
Author URI: https://www.aventurasliterarias.com/
Template: listeo
Version: 1.0
*/
/* =========================================================
   CARRITO WOOCOMMERCE
   ========================================================= */


/* ---------------------------------------------------------
   1. OCULTAR CUPONES
   --------------------------------------------------------- */

body.woocommerce-cart .wc-block-components-totals-coupon {
    display: none !important;
}


/* ---------------------------------------------------------
   2. IMAGEN DE PRODUCTO COMPLETA, SIN RECORTE
   --------------------------------------------------------- */

body.woocommerce-cart .wc-block-cart-item__image {
    width: 90px !important;
    min-width: 90px !important;
}

body.woocommerce-cart .wc-block-cart-item__image img {
    width: 90px !important;
    height: auto !important;

    aspect-ratio: auto !important;

    object-fit: contain !important;
    object-position: center !important;
}


/* ---------------------------------------------------------
   3. QUITAR DESCRIPCIÓN CORTA DEL PRODUCTO
   --------------------------------------------------------- */

body.woocommerce-cart
.wc-block-components-product-metadata__description {
    display: none !important;
}


/* ---------------------------------------------------------
   4. TÍTULO DEL PRODUCTO
   --------------------------------------------------------- */

body.woocommerce-cart
.wc-block-components-product-name {
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}


/* ---------------------------------------------------------
   5. PRECIOS DE LOS PRODUCTOS
   --------------------------------------------------------- */

body.woocommerce-cart
.wc-block-components-product-price,

body.woocommerce-cart
.wc-block-components-product-price__value,

body.woocommerce-cart
.wc-block-formatted-money-amount {
    font-size: 18px !important;
    font-weight: 700 !important;
}


/* ---------------------------------------------------------
   6. ALINEACIÓN DE LOS PRODUCTOS
   --------------------------------------------------------- */

body.woocommerce-cart
.wc-block-cart-items td,

body.woocommerce-cart
.wc-block-cart-items th {
    vertical-align: top !important;
}


/* ---------------------------------------------------------
   7. OCULTAR "TOTALES DEL CARRITO"
   --------------------------------------------------------- */

body.woocommerce-cart
.wc-block-cart__sidebar h2,

body.woocommerce-cart
.wc-block-cart__sidebar h3,

body.woocommerce-cart
.wc-block-cart__totals-title {
    display: none !important;
}


/* ---------------------------------------------------------
   8. BOTÓN FINALIZAR COMPRA
   --------------------------------------------------------- */

body.woocommerce-cart
.wc-block-cart__submit-button {
    background: var(--listeo-primary-color, #b03232) !important;
    color: #fff !important;

    border: 0 !important;
    border-radius: 4px !important;

    min-height: 52px;

    font-weight: 500 !important;

    transition:
        opacity .2s ease,
        transform .2s ease;
}

body.woocommerce-cart
.wc-block-cart__submit-button:hover {
    background: var(--listeo-primary-color, #b03232) !important;
    color: #fff !important;
    opacity: .90;
}


/* ---------------------------------------------------------
   9. FUTURA NOTA DE GASTOS DE ENVÍO
   --------------------------------------------------------- */

body.woocommerce-cart .al-cart-shipping-note {
    padding: 16px 0;

    border-top: none !important;
    border-bottom: 1px solid #e8e8e8;

    margin-bottom: 0;
}

body.woocommerce-cart .al-cart-shipping-note strong {
    display: block;

    margin-bottom: 5px;

    color: #555;

    font-size: 14px;
    font-weight: 500;
}

body.woocommerce-cart .al-cart-shipping-note span {
    display: block;

    color: #777;

    font-size: 13px;
    line-height: 1.45;
}
/* ---------------------------------------------------------
   10. OCULTAR PRECIO DEBAJO DEL NOMBRE DEL PRODUCTO
   Mantener únicamente el precio de la columna TOTAL
   --------------------------------------------------------- */

body.woocommerce-cart
.wc-block-cart-item__product
.wc-block-components-product-price {
    display: none !important;
}
/* ---------------------------------------------------------
   11. CANTIDAD: NÚMERO MÁS GRANDE Y CENTRADO
   --------------------------------------------------------- */

body.woocommerce-cart
.wc-block-components-quantity-selector input {
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: center !important;
}

body.woocommerce-cart
.wc-block-components-quantity-selector {
    height: 54px !important;
    min-height: 54px !important;
    align-items: center !important;
}

body.woocommerce-cart
.wc-block-components-quantity-selector input {
    height: 54px !important;
    min-height: 54px !important;

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

    font-size: 16px !important;
    font-weight: 600 !important;

    line-height: 54px !important;

    text-align: center !important;
    vertical-align: middle !important;

    box-sizing: border-box !important;
}

body.woocommerce-cart
.wc-block-components-quantity-selector button {
    height: 54px !important;
    min-height: 54px !important;

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

    padding: 0 !important;

    font-size: 16px !important;
    line-height: 1 !important;
}


/* ---------------------------------------------------------
   12. BOTONES + Y -
   --------------------------------------------------------- */

body.woocommerce-cart
.wc-block-components-quantity-selector button {
    font-size: 16px !important;
    line-height: 1 !important;
}


/* ---------------------------------------------------------
   13. PAPELERA: CENTRAR ICONO DENTRO DEL FONDO ROSA
   --------------------------------------------------------- */

body.woocommerce-cart
.wc-block-cart-item__remove-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 34px !important;
    height: 34px !important;

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

    line-height: 1 !important;
    text-align: center !important;

    border-radius: 4px !important;
}
/* =========================================================
   14. CARRITO - AJUSTES PARA PANTALLAS PEQUEÑAS
   ========================================================= */

@media (max-width: 767px) {

    /* Fila del producto */
    body.woocommerce-cart
    .wc-block-cart-items__row {
        display: grid !important;

        grid-template-columns:
            70px
            minmax(0, 1fr)
            auto !important;

        column-gap: 12px !important;

        width: 100% !important;
        box-sizing: border-box !important;
    }


    /* FOTO */
    body.woocommerce-cart
    .wc-block-cart-item__image {
        grid-column: 1 !important;

        width: 70px !important;
        min-width: 70px !important;

        padding-right: 0 !important;
    }

    body.woocommerce-cart
    .wc-block-cart-item__image img {
        width: 70px !important;
        height: auto !important;
    }


    /* TÍTULO + CANTIDAD */
    body.woocommerce-cart
    .wc-block-cart-item__product {
        grid-column: 2 !important;

        min-width: 0 !important;
        width: auto !important;

        padding-right: 0 !important;
    }


    /* TOTAL */
    body.woocommerce-cart
    .wc-block-cart-item__total {
        grid-column: 3 !important;

        width: auto !important;
        min-width: max-content !important;

        padding-left: 8px !important;
        padding-right: 0 !important;

        text-align: right !important;

        overflow: visible !important;
    }


    /* PRECIO */
    body.woocommerce-cart
    .wc-block-cart-item__total
    .wc-block-formatted-money-amount {
        display: block !important;

        font-size: 15px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;

        white-space: nowrap !important;

        position: relative !important;
        z-index: 2 !important;
    }


    /* TÍTULO MÁS COMPACTO EN MÓVIL */
    body.woocommerce-cart
    .wc-block-components-product-name {
        font-size: 16px !important;
        line-height: 1.25 !important;

        overflow-wrap: anywhere !important;
    }

}

/* =========================================================
   15. ESPACIO SOBRE TOTAL
   ========================================================= */

body.woocommerce-cart
.wc-block-components-totals-footer-item {
    padding-top: 16px !important;
}
/* =========================================================
   B. CHECKOUT WOOCOMMERCE
   ========================================================= */


/* ---------------------------------------------------------
   B.1. OCULTAR CUPONES
   --------------------------------------------------------- */

body.woocommerce-checkout
.wc-block-components-totals-coupon {
    display: none !important;
}


/* ---------------------------------------------------------
   B.2. QUITAR DESCRIPCIÓN CORTA DE LOS PRODUCTOS
   --------------------------------------------------------- */

body.woocommerce-checkout
.wc-block-components-product-metadata__description {
    display: none !important;
}


/* ---------------------------------------------------------
   B.3. NOMBRE DE LOS PRODUCTOS
   --------------------------------------------------------- */

body.woocommerce-checkout
.wc-block-components-order-summary-item__description
.wc-block-components-product-name {
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}


/* ---------------------------------------------------------
   B.4. PRECIO DE LOS PRODUCTOS
   --------------------------------------------------------- */

body.woocommerce-checkout
.wc-block-components-order-summary-item__total-price {
    font-weight: 700 !important;
}


/* ---------------------------------------------------------
   B.5. TÍTULO "RESUMEN DEL PEDIDO"
   --------------------------------------------------------- */

body.woocommerce-checkout
.wc-block-components-checkout-order-summary__title-text {
    font-size: 20px !important;
    font-weight: 500 !important;
}


/* ---------------------------------------------------------
   B.6. BOTÓN REALIZAR EL PEDIDO
   --------------------------------------------------------- */

body.woocommerce-checkout
.wc-block-components-checkout-place-order-button {
    background: var(--listeo-primary-color, #b03232) !important;
    color: #fff !important;

    border: 0 !important;
    border-radius: 4px !important;

    min-height: 52px;

    font-weight: 600 !important;
}

body.woocommerce-checkout
.wc-block-components-checkout-place-order-button:hover {
    background: var(--listeo-primary-color, #b03232) !important;
    color: #fff !important;
    opacity: .9;
}


/* ---------------------------------------------------------
   B.7. CAMPOS DEL CHECKOUT
   --------------------------------------------------------- */

body.woocommerce-checkout
.wc-block-components-text-input input,

body.woocommerce-checkout
.wc-block-components-combobox-control input {
    border-radius: 4px !important;
}


/* ---------------------------------------------------------
   B.8. BLOQUE RESUMEN DEL PEDIDO
   --------------------------------------------------------- */

body.woocommerce-checkout
.wc-block-components-checkout-order-summary {
    border-color: #e3e3e3 !important;
    border-radius: 4px !important;
}