/* ============================================================
   ÍNTIMOS — WOOCOMMERCE CART
   Archivo: assets/css/woocommerce-cart.css
   ============================================================ */

/* ============================================================
   BASE GENERAL DEL CARRITO
   ============================================================ */

body.woocommerce-cart .woocommerce {
    color: var(--df-woo-text);
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals {
    width: 100%;
}

body.woocommerce-cart .woocommerce-cart-form {
    margin-bottom: 28px;
}

/* Tabla principal */
body.woocommerce-cart table.shop_table.cart {
    width: 100%;
    margin: 0 !important;
    border: 1px solid var(--df-woo-border) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 35px rgba(18, 30, 28, .035);
}

/* Cabecera */
body.woocommerce-cart table.shop_table.cart thead th {
    padding: 15px 16px !important;
    color: var(--df-woo-muted);
    background: var(--df-woo-ivory);
    border-bottom: 1px solid var(--df-woo-border) !important;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

/* Celdas */
body.woocommerce-cart table.shop_table.cart tbody td {
    padding: 18px 16px !important;
    border-top: 1px solid var(--df-woo-border) !important;
    vertical-align: middle;
    color: var(--df-woo-text);
    font-size: 13px;
    line-height: 1.45;
}

body.woocommerce-cart table.shop_table.cart tbody tr:first-child td {
    border-top: 0 !important;
}

/* ============================================================
   PRODUCTO
   ============================================================ */

/* Imagen */
body.woocommerce-cart table.shop_table.cart .product-thumbnail {
    width: 96px;
}

body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
    display: block;
    width: 72px !important;
    height: 72px !important;
    object-fit: contain;
    object-position: center;
    padding: 5px;
    background: #fff;
    border: 1px solid var(--df-woo-border);
    border-radius: 9px;
}

/* Nombre */
body.woocommerce-cart table.shop_table.cart .product-name a {
    color: var(--df-woo-text) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none !important;
}

body.woocommerce-cart table.shop_table.cart .product-name a:hover {
    color: var(--df-woo-copper-dark) !important;
}

/* Precio y subtotal */
body.woocommerce-cart table.shop_table.cart .product-price,
body.woocommerce-cart table.shop_table.cart .product-subtotal {
    white-space: nowrap;
}

body.woocommerce-cart table.shop_table.cart
.product-price .woocommerce-Price-amount,
body.woocommerce-cart table.shop_table.cart
.product-subtotal .woocommerce-Price-amount {
    color: var(--df-woo-copper-dark);
    font-size: 15px;
    font-weight: 800;
}

/* Cantidad */
body.woocommerce-cart table.shop_table.cart .product-quantity {
    width: 110px;
}

body.woocommerce-cart table.shop_table.cart .quantity {
    margin: 0 !important;
}

body.woocommerce-cart table.shop_table.cart .quantity .qty {
    width: 72px !important;
    min-height: 42px;
    padding: 7px 5px !important;
    color: var(--df-woo-text);
    background: #fff;
    border: 1px solid var(--df-woo-border) !important;
    border-radius: 7px !important;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    box-shadow: none !important;
}

/* Eliminar */
body.woocommerce-cart table.shop_table.cart .product-remove {
    width: 48px;
    text-align: center;
}

body.woocommerce-cart table.shop_table.cart .product-remove a.remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    margin: 0 auto;
    color: var(--df-woo-wine) !important;
    background: #fbeff1 !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

body.woocommerce-cart table.shop_table.cart .product-remove a.remove:hover {
    color: #fff !important;
    background: var(--df-woo-wine) !important;
}

/* ============================================================
   ACCIONES / CUPÓN
   ============================================================ */

body.woocommerce-cart table.shop_table.cart td.actions {
    padding: 18px !important;
    background: #fff;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon label {
    display: none;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text {
    width: 220px !important;
    min-height: 44px;
    padding: 9px 13px !important;
    color: var(--df-woo-text);
    background: #fff;
    border: 1px solid var(--df-woo-border) !important;
    border-radius: 7px !important;
    box-shadow: none !important;
}

body.woocommerce-cart table.shop_table.cart td.actions .button {
    min-height: 44px;
    padding: 10px 18px !important;
    color: #fff !important;
    background: var(--df-woo-copper) !important;
    border: 1px solid var(--df-woo-copper) !important;
    border-radius: 7px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: none !important;
}

body.woocommerce-cart table.shop_table.cart td.actions .button:hover {
    background: var(--df-woo-copper-dark) !important;
    border-color: var(--df-woo-copper-dark) !important;
}

body.woocommerce-cart table.shop_table.cart td.actions
button[name="update_cart"] {
    float: right;
}

body.woocommerce-cart table.shop_table.cart td.actions
button[name="update_cart"]:disabled {
    color: #a6aaa9 !important;
    background: #f7f7f7 !important;
    border-color: var(--df-woo-border) !important;
    opacity: 1 !important;
}

/* ============================================================
   RESUMEN DEL PEDIDO
   ============================================================ */

body.woocommerce-cart .cart-collaterals {
    display: flex;
    justify-content: flex-end;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
    float: none !important;
    width: min(440px, 100%) !important;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--df-woo-border);
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(18, 30, 28, .04);
}

body.woocommerce-cart .cart-collaterals .cart_totals h2 {
    margin: 0 0 18px !important;
    color: var(--df-woo-text);
    font-size: 20px !important;
    line-height: 1.2;
    font-weight: 700;
}

body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals table th,
body.woocommerce-cart .cart-collaterals .cart_totals table td {
    padding: 13px 0 !important;
    border-top: 1px solid var(--df-woo-border) !important;
    background: transparent !important;
    font-size: 12px;
    line-height: 1.45;
}

body.woocommerce-cart .cart-collaterals .cart_totals table tr:first-child th,
body.woocommerce-cart .cart-collaterals .cart_totals table tr:first-child td {
    border-top: 0 !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals table th {
    color: var(--df-woo-muted);
    font-weight: 600;
}

body.woocommerce-cart .cart-collaterals .cart_totals table td {
    color: var(--df-woo-text);
    text-align: right;
}

body.woocommerce-cart .cart-collaterals
.order-total th,
body.woocommerce-cart .cart-collaterals
.order-total td {
    padding-top: 16px !important;
    color: var(--df-woo-text) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

body.woocommerce-cart .cart-collaterals
.order-total .woocommerce-Price-amount {
    color: var(--df-woo-copper-dark);
    font-size: 20px;
    font-weight: 800;
}

/* Texto de envío */
body.woocommerce-cart .woocommerce-shipping-destination,
body.woocommerce-cart .woocommerce-shipping-calculator,
body.woocommerce-cart .shipping-calculator-button,
body.woocommerce-cart .cart_totals .shipping td {
    font-size: 11px;
    line-height: 1.5;
}

/* ============================================================
   BOTÓN CHECKOUT
   ============================================================ */

body.woocommerce-cart .wc-proceed-to-checkout {
    padding: 20px 0 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    margin: 0 !important;
    padding: 13px 20px !important;

    color: #fff !important;
    background: var(--df-woo-copper) !important;

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

    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 800 !important;

    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none !important;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--df-woo-copper-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(173, 104, 64, .18);
}

/* ============================================================
   CARRITO VACÍO
   ============================================================ */

body.woocommerce-cart .cart-empty.woocommerce-info {
    margin-bottom: 18px !important;
}

body.woocommerce-cart .return-to-shop .button {
    background: var(--df-woo-copper) !important;
    border-color: var(--df-woo-copper) !important;
    color: #fff !important;
}

/* ============================================================
   MÓVIL
   ============================================================ */

@media (max-width: 767px) {

    body.woocommerce-cart .woocommerce-cart-form {
        margin-bottom: 18px;
    }

    /*
     * Convertimos cada fila del carrito en una tarjeta.
     * Eliminamos el formato móvil genérico de WooCommerce.
     */
    body.woocommerce-cart table.shop_table.cart,
    body.woocommerce-cart table.shop_table.cart tbody {
        display: block !important;
        width: 100% !important;
    }

    body.woocommerce-cart table.shop_table.cart {
        padding: 0;
        background: transparent;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none;
        overflow: visible;
    }

    body.woocommerce-cart table.shop_table.cart thead {
        display: none !important;
    }

    body.woocommerce-cart table.shop_table.cart tbody tr.cart_item {
        position: relative;

        display: grid !important;
        grid-template-columns: 88px minmax(0, 1fr) !important;
        grid-template-areas:
            "image name"
            "image price"
            "image quantity"
            "image subtotal";

        column-gap: 14px;
        row-gap: 8px;

        width: 100%;
        max-width: 100%;

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

        background: #fff;
        border: 1px solid var(--df-woo-border);
        border-radius: 10px;

        box-sizing: border-box;
        box-shadow: 0 7px 24px rgba(18, 30, 28, .03);
    }

    /* WooCommerce móvil usa td:block; aquí anulamos eso */
    body.woocommerce-cart table.shop_table.cart tbody tr.cart_item td {
        display: block !important;

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

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

        border: 0 !important;

        text-align: left !important;
        box-sizing: border-box !important;
    }

    /* Ocultamos las etiquetas automáticas "Producto:", "Precio:", etc. */
    body.woocommerce-cart table.shop_table.cart
    tbody tr.cart_item td::before {
        display: none !important;
        content: none !important;
    }

    /* Eliminar */
    body.woocommerce-cart table.shop_table.cart .product-remove {
        position: absolute;
        top: 9px;
        right: 9px;

        width: 28px !important;
        height: 28px;
        z-index: 2;
    }

    body.woocommerce-cart table.shop_table.cart .product-remove a.remove {
        width: 28px !important;
        height: 28px !important;
        font-size: 16px !important;
    }

    /* Imagen */
    body.woocommerce-cart table.shop_table.cart .product-thumbnail {
        grid-area: image;

        display: block !important;
        align-self: start;
    }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail a {
        display: block;
    }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
        width: 88px !important;
        height: 88px !important;
        margin: 0 !important;
        padding: 5px;
    }

    /* Nombre */
    body.woocommerce-cart table.shop_table.cart .product-name {
        grid-area: name;

        padding-right: 30px !important;
    }

    body.woocommerce-cart table.shop_table.cart .product-name a {
        display: block;
        font-size: 13px;
        line-height: 1.35;
    }

    /* Precio */
    body.woocommerce-cart table.shop_table.cart .product-price {
        grid-area: price;
    }

    body.woocommerce-cart table.shop_table.cart .product-price::before {
        content: "Precio";
        display: inline-block !important;
        margin-right: 7px;
        color: var(--df-woo-muted);
        font-size: 9px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    body.woocommerce-cart table.shop_table.cart
    .product-price .woocommerce-Price-amount {
        font-size: 14px;
    }

    /* Cantidad */
    body.woocommerce-cart table.shop_table.cart .product-quantity {
        grid-area: quantity;
    }

    body.woocommerce-cart table.shop_table.cart .product-quantity {
        display: flex !important;
        align-items: center;
        gap: 8px;
    }

    body.woocommerce-cart table.shop_table.cart .product-quantity::before {
        content: "Cantidad";
        display: inline-block !important;
        color: var(--df-woo-muted);
        font-size: 9px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    body.woocommerce-cart table.shop_table.cart .quantity .qty {
        width: 64px !important;
        min-height: 38px;
        font-size: 13px;
    }

    /* Subtotal */
    body.woocommerce-cart table.shop_table.cart .product-subtotal {
        grid-area: subtotal;

        display: flex !important;
        align-items: baseline;
        gap: 8px;
        padding-top: 6px !important;
        border-top: 1px solid #f0ebe7 !important;
    }

    body.woocommerce-cart table.shop_table.cart .product-subtotal::before {
        content: "Subtotal";
        display: inline-block !important;
        color: var(--df-woo-muted);
        font-size: 9px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
    }

    body.woocommerce-cart table.shop_table.cart
    .product-subtotal .woocommerce-Price-amount {
        font-size: 14px;
    }

    /* Fila de acciones */
    body.woocommerce-cart table.shop_table.cart tbody tr:last-child:not(.cart_item) {
        display: block !important;
        width: 100%;
        margin: 0 !important;
    }

    body.woocommerce-cart table.shop_table.cart td.actions {
        display: flex !important;
        flex-direction: column;
        gap: 10px;

        width: 100% !important;
        padding: 14px !important;

        background: #fff;
        border: 1px solid var(--df-woo-border) !important;
        border-radius: 10px;
    }

    body.woocommerce-cart table.shop_table.cart td.actions .coupon {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;

        width: 100%;
    }

    body.woocommerce-cart table.shop_table.cart
    td.actions .coupon .input-text {
        width: 100% !important;
        min-width: 0;
        min-height: 44px;
    }

    body.woocommerce-cart table.shop_table.cart
    td.actions .coupon .button {
        white-space: nowrap;
    }

    body.woocommerce-cart table.shop_table.cart
    td.actions button[name="update_cart"] {
        float: none;
        width: 100%;
        margin: 0 !important;
    }

    /* Resumen */
    body.woocommerce-cart .cart-collaterals {
        display: block;
        width: 100%;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals {
        width: 100% !important;
        padding: 20px 17px;
        box-sizing: border-box;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals h2 {
        font-size: 19px !important;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals table th,
    body.woocommerce-cart .cart-collaterals .cart_totals table td {
        display: table-cell !important;
        width: auto !important;
        padding: 12px 0 !important;
        text-align: initial !important;
    }

    body.woocommerce-cart .cart-collaterals .cart_totals table td {
        text-align: right !important;
    }

    body.woocommerce-cart .cart-collaterals
    .cart_totals table td::before {
        display: none !important;
        content: none !important;
    }

    body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
        min-height: 48px;
        font-size: 11px !important;
    }
}

/* Móviles muy estrechos */
@media (max-width: 360px) {

    body.woocommerce-cart table.shop_table.cart tbody tr.cart_item {
        grid-template-columns: 76px minmax(0, 1fr) !important;
        column-gap: 11px;
        padding: 12px !important;
    }

    body.woocommerce-cart table.shop_table.cart .product-thumbnail img {
        width: 76px !important;
        height: 76px !important;
    }

    body.woocommerce-cart table.shop_table.cart td.actions .coupon {
        grid-template-columns: 1fr;
    }

    body.woocommerce-cart table.shop_table.cart
    td.actions .coupon .button {
        width: 100%;
    }
}
/* ============================================================
   ÍNTIMOS — CART MOBILE POLISH
   Agregar AL FINAL de assets/css/woocommerce-cart.css
   ============================================================ */

@media (max-width: 767px) {

    /* ------------------------------------------------------------
       PRODUCTOS: más aire y mejor jerarquía
       ------------------------------------------------------------ */

    body.woocommerce-cart
    table.shop_table.cart
    tbody tr.cart_item {
        grid-template-columns: 82px minmax(0, 1fr) !important;
        grid-template-areas:
            "image name"
            "image price"
            "image quantity"
            "image subtotal" !important;

        column-gap: 12px !important;
        row-gap: 7px !important;

        margin-bottom: 12px !important;
        padding: 12px !important;

        border-radius: 12px !important;
        box-shadow: 0 6px 20px rgba(18, 30, 28, .035) !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    .product-thumbnail img {
        width: 82px !important;
        height: 82px !important;
        padding: 4px !important;

        border-radius: 9px !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    .product-name {
        padding-right: 28px !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    .product-name a {
        font-size: 12.5px !important;
        line-height: 1.34 !important;
        font-weight: 700 !important;

        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;

        overflow: hidden;
    }

    /* Precio unitario */
    body.woocommerce-cart
    table.shop_table.cart
    .product-price {
        display: flex !important;
        align-items: baseline !important;
        gap: 6px !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    .product-price::before {
        content: "Precio" !important;
        display: inline-block !important;

        color: var(--df-woo-muted) !important;

        font-size: 8px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        letter-spacing: .06em !important;
        text-transform: uppercase !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    .product-price
    .woocommerce-Price-amount {
        color: var(--df-woo-copper-dark) !important;
        font-size: 13px !important;
        font-weight: 800 !important;
    }

    /* Cantidad */
    body.woocommerce-cart
    table.shop_table.cart
    .product-quantity {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    .product-quantity::before {
        content: "Cantidad" !important;
        display: inline-block !important;

        color: var(--df-woo-muted) !important;

        font-size: 8px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        letter-spacing: .06em !important;
        text-transform: uppercase !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    .product-quantity
    .quantity .qty {
        width: 58px !important;
        min-height: 36px !important;

        padding: 4px 5px !important;

        font-size: 12px !important;
    }

    /* Subtotal */
    body.woocommerce-cart
    table.shop_table.cart
    .product-subtotal {
        display: flex !important;
        align-items: baseline !important;
        justify-content: flex-start !important;

        gap: 7px !important;

        margin-top: 2px !important;
        padding-top: 7px !important;

        border-top: 1px solid #f1ece8 !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    .product-subtotal::before {
        content: "Subtotal" !important;
        display: inline-block !important;

        color: var(--df-woo-muted) !important;

        font-size: 8px !important;
        line-height: 1 !important;
        font-weight: 800 !important;
        letter-spacing: .06em !important;
        text-transform: uppercase !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    .product-subtotal
    .woocommerce-Price-amount {
        color: var(--df-woo-copper-dark) !important;

        font-size: 13px !important;
        font-weight: 800 !important;
    }

    /* Eliminar: más discreto */
    body.woocommerce-cart
    table.shop_table.cart
    .product-remove {
        top: 8px !important;
        right: 8px !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    .product-remove a.remove {
        width: 26px !important;
        height: 26px !important;

        font-size: 15px !important;
    }


    /* ------------------------------------------------------------
       ACTUALIZAR CARRITO
       ------------------------------------------------------------ */

    body.woocommerce-cart
    table.shop_table.cart
    td.actions {
        padding: 0 !important;

        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    td.actions
    button[name="update_cart"] {
        min-height: 42px !important;

        margin: 0 !important;

        border-radius: 7px !important;
    }


    /* ------------------------------------------------------------
       CUPÓN
       ------------------------------------------------------------ */

    body.woocommerce-cart
    table.shop_table.cart
    td.actions .coupon {
        padding: 14px !important;

        background: #fff;

        border: 1px solid var(--df-woo-border) !important;
        border-radius: 10px !important;

        box-sizing: border-box !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    td.actions .coupon .input-text {
        min-height: 42px !important;

        font-size: 12px !important;
    }

    body.woocommerce-cart
    table.shop_table.cart
    td.actions .coupon .button {
        min-height: 42px !important;

        font-size: 9px !important;
    }


    /* ------------------------------------------------------------
       RESUMEN: corrige SubtotalCOP y organiza envío/total
       ------------------------------------------------------------ */

    body.woocommerce-cart
    .cart-collaterals
    .cart_totals {
        padding: 20px 16px !important;

        border-radius: 12px !important;
    }

    body.woocommerce-cart
    .cart-collaterals
    .cart_totals h2 {
        margin-bottom: 15px !important;

        font-size: 20px !important;
    }

    body.woocommerce-cart
    .cart-collaterals
    .cart_totals
    table.shop_table tbody {
        display: block !important;
        width: 100% !important;
    }

    body.woocommerce-cart
    .cart-collaterals
    .cart_totals
    table.shop_table tr {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;

        align-items: start !important;
        gap: 14px !important;

        width: 100% !important;

        padding: 12px 0 !important;

        border-top: 1px solid var(--df-woo-border) !important;
    }

    body.woocommerce-cart
    .cart-collaterals
    .cart_totals
    table.shop_table tr:first-child {
        border-top: 0 !important;
    }

    body.woocommerce-cart
    .cart-collaterals
    .cart_totals
    table.shop_table th,

    body.woocommerce-cart
    .cart-collaterals
    .cart_totals
    table.shop_table td {
        display: block !important;

        width: auto !important;

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

        border: 0 !important;

        line-height: 1.5 !important;
    }

    body.woocommerce-cart
    .cart-collaterals
    .cart_totals
    table.shop_table th {
        color: var(--df-woo-muted) !important;

        font-size: 10px !important;
        font-weight: 700 !important;

        text-align: left !important;
    }

    body.woocommerce-cart
    .cart-collaterals
    .cart_totals
    table.shop_table td {
        color: var(--df-woo-text) !important;

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

        text-align: right !important;
    }

    body.woocommerce-cart
    .cart-collaterals
    .cart_totals
    .cart-subtotal
    .woocommerce-Price-amount {
        font-size: 13px !important;
        font-weight: 800 !important;
    }

    /* Envío ocupa una fila clara: etiqueta arriba y descripción debajo */
    body.woocommerce-cart
    .cart-collaterals
    .cart_totals
    tr.woocommerce-shipping-totals {
        grid-template-columns: 1fr !important;
        gap: 5px !important;
    }

    body.woocommerce-cart
    .cart-collaterals
    .cart_totals
    tr.woocommerce-shipping-totals td {
        text-align: left !important;

        color: var(--df-woo-muted) !important;

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

    /* Total principal */
    body.woocommerce-cart
    .cart-collaterals
    .cart_totals
    tr.order-total {
        align-items: center !important;

        margin-top: 3px !important;
        padding-top: 15px !important;

        border-top: 1px solid #ded4cd !important;
    }

    body.woocommerce-cart
    .cart-collaterals
    .cart_totals
    tr.order-total th {
        color: var(--df-woo-text) !important;

        font-size: 12px !important;
        font-weight: 800 !important;
    }

    body.woocommerce-cart
    .cart-collaterals
    .cart_totals
    tr.order-total
    .woocommerce-Price-amount {
        color: var(--df-woo-copper-dark) !important;

        font-size: 21px !important;
        font-weight: 800 !important;
    }


    /* ------------------------------------------------------------
       CHECKOUT
       ------------------------------------------------------------ */

    body.woocommerce-cart
    .wc-proceed-to-checkout {
        padding-top: 16px !important;
    }

    body.woocommerce-cart
    .wc-proceed-to-checkout
    a.checkout-button {
        min-height: 48px !important;

        font-size: 10px !important;
        letter-spacing: .06em !important;
    }
}