/* =====================================================
   DITROIT - SELECTOR DE TALLES
===================================================== */

.ditroit-talles {
    margin: 22px 0 14px;
}


/* TÍTULO */

.ditroit-talle-titulo {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}


/* CONTENEDOR DE TALLES */

.ditroit-talle-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* BOTÓN DE TALLE */

.ditroit-talle {
    min-width: 45px;
    height: 42px;
    padding: 0 10px;

    border: 1px solid #222;
    border-radius: 50px;

    background: #fff;
    color: #111;

    cursor: pointer;

    font-size: 14px;
    font-weight: 500;

    transition:
        background .15s ease,
        color .15s ease,
        border-color .15s ease,
        transform .15s ease;
}


/* AL PASAR EL MOUSE */

.ditroit-talle:hover {
    border-color: #c9322b;
}


/* TALLE SELECCIONADO */

.ditroit-talle.seleccionado {
    background: #111;
    color: #fff;
    border-color: #111;

    transform: scale(1.03);
}


/* TALLE AGOTADO */

.ditroit-talle.agotado,
.ditroit-talle:disabled {
    color: #999;

    border-color: #ccc;

    background:
        linear-gradient(
            135deg,
            transparent 46%,
            #aaa 47%,
            #aaa 53%,
            transparent 54%
        ),
        #f8f8f8;

    cursor: not-allowed;

    opacity: .9;
}


/* =====================================================
   MENSAJE DE STOCK
===================================================== */

.ditroit-stock-msg {
    min-height: 22px;

    margin-top: 12px;

    font-size: 14px;
    font-weight: 700;

    color: #333;
}


/* =====================================================
   GUÍA DE TALLES - BOTÓN
===================================================== */

.ditroit-guia-talles {
    display: inline-block;

    margin-top: 12px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #222;

    text-decoration: none;

    font-size: 14px;

    cursor: pointer;
}


.ditroit-guia-talles:hover {
    text-decoration: underline;
}


/* =====================================================
   GUÍA DE TALLES - MODAL
===================================================== */

.ditroit-guia-modal {
    position: fixed;

    inset: 0;

    z-index: 999999;

    display: none;
}


/* MODAL ACTIVO */

.ditroit-guia-modal.activo {
    display: block;
}


/* FONDO OSCURO */

.ditroit-guia-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, .65);

    backdrop-filter: blur(3px);
}


/* =====================================================
   CONTENEDOR DE LA GUÍA
===================================================== */

.ditroit-guia-contenedor {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: min(900px, 92vw);

    max-height: 88vh;

    background: #fff;

    border-radius: 12px;

    overflow: hidden;

    box-shadow:
        0 20px 70px rgba(0, 0, 0, .35);
}


/* =====================================================
   CABECERA
===================================================== */

.ditroit-guia-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 18px 24px;

    border-bottom: 1px solid #eee;

    background: #fff;
}


.ditroit-guia-header h2 {
    margin: 0;

    color: #111;

    font-size: 24px;

    font-weight: 700;
}


/* BOTÓN CERRAR */

.ditroit-guia-cerrar {
    width: 38px;
    height: 38px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #f3f3f3;

    color: #222;

    font-size: 28px;

    line-height: 38px;

    text-align: center;

    cursor: pointer;

    transition:
        background .15s ease,
        transform .15s ease;
}


.ditroit-guia-cerrar:hover {
    background: #e8e8e8;

    transform: scale(1.05);
}


/* =====================================================
   CONTENIDO
===================================================== */

.ditroit-guia-contenido {
    max-height: calc(88vh - 75px);

    overflow-y: auto;

    padding: 24px;
}


/* INTRO */

.ditroit-guia-intro {
    margin: 0 0 25px;

    color: #666;

    font-size: 15px;

    line-height: 1.6;
}


/* =====================================================
   MODELOS
===================================================== */

.ditroit-guia-modelo {
    margin-bottom: 28px;
}


.ditroit-guia-modelo h3 {
    margin: 0 0 10px;

    color: #222;

    font-size: 17px;

    font-weight: 700;
}


/* =====================================================
   TABLAS
===================================================== */

.ditroit-guia-modelo table {
    width: 100%;

    border-collapse: collapse;

    font-size: 14px;
}


.ditroit-guia-modelo th {
    padding: 10px 12px;

    text-align: left;

    background: #f5f5f5;

    color: #222;

    font-weight: 700;

    border-bottom: 1px solid #ddd;
}


.ditroit-guia-modelo td {
    padding: 9px 12px;

    color: #444;

    border-bottom: 1px solid #eee;
}


.ditroit-guia-modelo tbody tr:hover {
    background: #fafafa;
}


/* =====================================================
   CÓMO MEDIR
===================================================== */

.ditroit-como-medir {
    margin-top: 35px;

    padding: 22px;

    border-radius: 10px;

    background: #f7f7f7;
}


.ditroit-como-medir h3 {
    margin-top: 0;

    margin-bottom: 15px;

    color: #222;

    font-size: 18px;
}


.ditroit-como-medir p {
    margin: 8px 0;

    color: #555;

    line-height: 1.55;
}


.ditroit-guia-nota {
    margin-top: 25px;

    color: #777;

    font-size: 13px;
}


/* =====================================================
   BOTÓN WHATSAPP
===================================================== */

.ditroit-whatsapp {
    width: 100%;

    min-height: 52px;

    margin-top: 14px;

    border: 0;

    border-radius: 7px;

    background: #25D366;

    color: #fff;

    font-size: 16px;

    font-weight: 800;

    cursor: pointer;

    transition:
        background .15s ease,
        transform .15s ease;
}


/* HOVER WHATSAPP */

.ditroit-whatsapp:hover {
    background: #1ebe5d;

    transform: translateY(-1px);
}


/* TEXTO DEBAJO DEL BOTÓN */

.ditroit-whatsapp-ayuda {
    text-align: center;

    margin-top: 8px;

    font-size: 12px;

    color: #777;
}



/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 600px) {

    .ditroit-talles {
        margin-top: 18px;
    }


    .ditroit-talle {
        min-width: 43px;

        height: 40px;

        font-size: 14px;
    }


    .ditroit-whatsapp {
        min-height: 54px;
    }


    /* MODAL EN CELULAR */

    .ditroit-guia-contenedor {
        width: 94vw;

        max-height: 90vh;

        border-radius: 10px;
    }


    .ditroit-guia-header {
        padding: 15px 17px;
    }


    .ditroit-guia-header h2 {
        font-size: 20px;
    }


    .ditroit-guia-cerrar {
        width: 34px;
        height: 34px;

        font-size: 25px;

        line-height: 34px;
    }


    .ditroit-guia-contenido {
        padding: 18px;

        max-height: calc(90vh - 65px);
    }


    .ditroit-guia-intro {
        font-size: 14px;

        line-height: 1.5;
    }


    .ditroit-guia-modelo {
        margin-bottom: 24px;
    }


    .ditroit-guia-modelo h3 {
        font-size: 15px;

        line-height: 1.4;
    }


    .ditroit-guia-modelo table {
        font-size: 13px;
    }


    .ditroit-guia-modelo th,
    .ditroit-guia-modelo td {
        padding: 8px;
    }


    .ditroit-como-medir {
        padding: 18px;
    }


    .ditroit-como-medir h3 {
        font-size: 17px;
    }

    /* =====================================================
   DITROIT - WHATSAPP CARRITO Y CHECKOUT
===================================================== */

.ditroit-whatsapp,
.ditroit-whatsapp-pedido,
.ditroit-whatsapp-carrito .ditroit-whatsapp,
.ditroit-whatsapp-checkout .ditroit-whatsapp {

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding: 0 30px !important;

    background: #25D366 !important;

    color: #ffffff !important;

    border: none !important;

    border-radius: 7px !important;

    font-family: inherit;

    font-size: 16px !important;

    font-weight: 800 !important;

    line-height: 1 !important;

    text-align: center;

    text-decoration: none !important;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        background .15s ease,
        transform .15s ease;
}


/* =====================================================
   HOVER
===================================================== */

.ditroit-whatsapp:hover,
.ditroit-whatsapp-pedido:hover,
.ditroit-whatsapp-carrito .ditroit-whatsapp:hover,
.ditroit-whatsapp-checkout .ditroit-whatsapp:hover {

    background: #1ebe5d !important;

    color: #ffffff !important;

    text-decoration: none !important;

    transform: translateY(-1px);

}


/* =====================================================
   CARRITO
===================================================== */

.ditroit-whatsapp-carrito {

    width: 100%;

    margin-top: 20px;

}


.ditroit-whatsapp-carrito .ditroit-whatsapp {

    width: 100% !important;

}


/* =====================================================
   CHECKOUT
===================================================== */

.ditroit-whatsapp-checkout {

    width: 100%;

    margin-bottom: 20px;

}


.ditroit-whatsapp-checkout .ditroit-whatsapp {

    width: 100% !important;

}


/* =====================================================
   OCULTAR TEXTO DE AYUDA
===================================================== */

.ditroit-whatsapp-ayuda {

    display: none !important;

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 600px) {

    .ditroit-whatsapp,
    .ditroit-whatsapp-pedido,
    .ditroit-whatsapp-carrito .ditroit-whatsapp,
    .ditroit-whatsapp-checkout .ditroit-whatsapp {

        width: 100% !important;

        min-height: 54px;

        font-size: 15px !important;

    }

    /* =====================================================
   DITROIT - CARRITO MODERNO
   ELIMINAR ESTILO DE TABLA ANTIGUA
===================================================== */


/* CONTENEDOR GENERAL */

.woocommerce-cart table.shop_table {

    width: 100%;

    border: 0 !important;

    border-collapse: separate !important;
    border-spacing: 0 14px !important;

    background: transparent !important;

}


/* ENCABEZADO */

.woocommerce-cart table.shop_table thead {

    display: none;
}


/* CADA PRODUCTO */

.woocommerce-cart table.shop_table tbody tr {

    background: #fff !important;

    border: 0 !important;

    box-shadow:
        0 2px 12px rgba(0,0,0,.05);

    border-radius: 14px;

}


/* TODAS LAS CELDAS */

.woocommerce-cart table.shop_table td {

    border: 0 !important;

    border-top: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;

    padding: 24px 18px !important;

    background: #fff !important;

    vertical-align: middle !important;

}


/* PRIMERA CELDA */

.woocommerce-cart table.shop_table td.product-remove {

    width: 45px;

    padding-left: 20px !important;
    padding-right: 5px !important;

}


/* BOTÓN ELIMINAR */

.woocommerce-cart table.shop_table td.product-remove a.remove {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    margin: auto;

    border-radius: 50%;

    color: #999 !important;

    background: #f4f4f4;

    font-size: 18px !important;

    text-decoration: none;

    transition:
        background .15s ease,
        color .15s ease;

}


.woocommerce-cart table.shop_table td.product-remove a.remove:hover {

    background: #f1dcdc;

    color: #c9322b !important;

}


/* IMAGEN */

.woocommerce-cart table.shop_table td.product-thumbnail {

    width: 150px;

    padding-left: 10px !important;
    padding-right: 10px !important;

}


.woocommerce-cart table.shop_table td.product-thumbnail img {

    width: 120px !important;

    height: 120px !important;

    object-fit: contain;

    border-radius: 10px;

    background: #fafafa;

}


/* PRODUCTO */

.woocommerce-cart table.shop_table td.product-name {

    font-size: 17px;

    font-weight: 600;

    color: #222;

    line-height: 1.4;

}


.woocommerce-cart table.shop_table td.product-name a {

    color: #222 !important;

    text-decoration: none !important;

}


/* PRECIO */

.woocommerce-cart table.shop_table td.product-price {

    color: #67c900 !important;

    font-size: 17px;

    font-weight: 700;

    white-space: nowrap;

}


/* CANTIDAD */

.woocommerce-cart table.shop_table td.product-quantity {

    text-align: center;

}


/* INPUT CANTIDAD */

.woocommerce-cart table.shop_table td.product-quantity input.qty {

    width: 70px !important;

    height: 42px !important;

    padding: 0 10px !important;

    border: 1px solid #ddd !important;

    border-radius: 8px !important;

    background: #fff !important;

    text-align: center;

    font-size: 15px;

}


/* SUBTOTAL */

.woocommerce-cart table.shop_table td.product-subtotal {

    color: #67c900 !important;

    font-size: 18px;

    font-weight: 800;

    white-space: nowrap;

}


/* HOVER */

.woocommerce-cart table.shop_table tbody tr {

    transition:
        transform .15s ease,
        box-shadow .15s ease;

}


.woocommerce-cart table.shop_table tbody tr:hover {

    transform: translateY(-1px);

    box-shadow:
        0 5px 20px rgba(0,0,0,.08);

}


/* =====================================================
   BOTONES DEBAJO DEL CARRITO
===================================================== */

.woocommerce-cart .actions {

    border: 0 !important;

    padding: 10px 0 !important;

    background: transparent !important;

}


/* ACTUALIZAR CARRITO */

.woocommerce-cart .actions button {

    border-radius: 7px !important;

}


/* =====================================================
   TOTAL DEL CARRITO
===================================================== */

.woocommerce-cart .cart_totals {

    border: 0 !important;

}


.woocommerce-cart .cart_totals h2 {

    border: 0 !important;

    font-size: 28px;

    margin-bottom: 18px;

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

    .woocommerce-cart table.shop_table {

        border-spacing: 0 12px !important;

    }


    .woocommerce-cart table.shop_table tbody tr {

        display: grid;

        grid-template-columns: 90px minmax(0, 1fr) !important;

        padding: 16px;

        gap: 10px;

    }


    .woocommerce-cart table.shop_table td {

        padding: 4px !important;

    }


    .woocommerce-cart table.shop_table td.product-remove {

        position: absolute;

        right: 12px;
        top: 12px;

        width: auto;

        padding: 0 !important;

        z-index: 2;

    }


    .woocommerce-cart table.shop_table td.product-thumbnail {

        grid-row: 1 / span 3;

        width: auto;

    }


    .woocommerce-cart table.shop_table td.product-thumbnail img {

        width: 90px !important;

        height: 90px !important;

    }


    .woocommerce-cart table.shop_table td.product-name {

        padding-top: 8px !important;

        font-size: 15px;

    }


    .woocommerce-cart table.shop_table td.product-price {

        font-size: 14px;

    }


    .woocommerce-cart table.shop_table td.product-quantity {

        text-align: left;

    }


    .woocommerce-cart table.shop_table td.product-subtotal {

        font-size: 16px;

    }

}

/* =====================================================
   DITROIT - FORZAR VISIBILIDAD WHATSAPP
===================================================== */

.ditroit-whatsapp,
.ditroit-whatsapp-pedido {

    display: inline-flex !important;

    visibility: visible !important;

    opacity: 1 !important;

    width: auto !important;

    min-width: 260px;

    min-height: 54px;

    align-items: center;
    justify-content: center;

    padding: 0 30px !important;

    background: #25D366 !important;

    color: #fff !important;

    border: none !important;

    border-radius: 7px !important;

    font-size: 16px !important;

    font-weight: 800 !important;

    line-height: 1 !important;

    text-decoration: none !important;

    position: relative !important;

    z-index: 999 !important;
}

/* =====================================================
   DITROIT - CARRITO MODERNO
===================================================== */


/* =====================================================
   TABLA GENERAL
===================================================== */

.woocommerce-cart table.shop_table {

    width: 100% !important;

    border: 0 !important;

    border-collapse: separate !important;

    border-spacing: 0 14px !important;

    background: transparent !important;

}


.woocommerce-cart table.shop_table thead {

    display: none !important;

}


/* =====================================================
   CADA PRODUCTO = TARJETA
===================================================== */

.woocommerce-cart table.shop_table
tbody tr.woocommerce-cart-form__cart-item {

    display: grid !important;

    grid-template-columns:
        45px
        125px
        minmax(220px, 1fr)
        130px
        110px
        150px;

    align-items: center;

    min-height: 150px;

    background: #fff !important;

    border: 1px solid #ededed !important;

    border-radius: 14px !important;

    box-shadow:
        0 3px 16px rgba(0,0,0,.05);

    overflow: hidden;

}


.woocommerce-cart table.shop_table
tbody tr.woocommerce-cart-form__cart-item:hover {

    box-shadow:
        0 6px 22px rgba(0,0,0,.08);

}


/* =====================================================
   TODAS LAS CELDAS
===================================================== */

.woocommerce-cart table.shop_table
tbody tr.woocommerce-cart-form__cart-item td {

    border: 0 !important;

    background: transparent !important;

    padding: 18px !important;

    vertical-align: middle !important;

}


/* =====================================================
   ELIMINAR ETIQUETAS "PRODUCTO:", "PRECIO:", ETC.
===================================================== */

.woocommerce-cart table.shop_table
tbody tr.woocommerce-cart-form__cart-item td::before {

    display: none !important;

    content: none !important;

}


/* =====================================================
   ELIMINAR
===================================================== */

.woocommerce-cart table.shop_table
td.product-remove {

    padding-left: 12px !important;

    padding-right: 0 !important;

}


.woocommerce-cart table.shop_table
td.product-remove a.remove {

    display: flex !important;

    align-items: center;

    justify-content: center;

    width: 28px;

    height: 28px;

    margin: 0 auto;

    border-radius: 50%;

    background: #f5f5f5 !important;

    color: #888 !important;

    font-size: 18px !important;

    line-height: 1 !important;

    text-decoration: none !important;

}


.woocommerce-cart table.shop_table
td.product-remove a.remove:hover {

    background: #ffe8e8 !important;

    color: #d00000 !important;

}


/* =====================================================
   IMAGEN
===================================================== */

.woocommerce-cart table.shop_table
td.product-thumbnail {

    width: 125px !important;

    padding: 14px !important;

}


.woocommerce-cart table.shop_table
td.product-thumbnail img {

    display: block !important;

    width: 95px !important;

    height: 95px !important;

    object-fit: contain;

    margin: 0 auto;

    border-radius: 10px;

    background: #fafafa;

}


/* =====================================================
   NOMBRE
===================================================== */

.woocommerce-cart table.shop_table
td.product-name {

    font-size: 16px !important;

    font-weight: 600 !important;

    line-height: 1.4 !important;

    color: #222 !important;

}


.woocommerce-cart table.shop_table
td.product-name a {

    color: #222 !important;

    text-decoration: none !important;

}


.woocommerce-cart table.shop_table
td.product-name a:hover {

    color: #67c900 !important;

}


/* =====================================================
   PRECIO
===================================================== */

.woocommerce-cart table.shop_table
td.product-price {

    font-size: 17px !important;

    font-weight: 700 !important;

    color: #67c900 !important;

    white-space: nowrap;

}


/* =====================================================
   CANTIDAD
===================================================== */

.woocommerce-cart table.shop_table
td.product-quantity {

    text-align: center !important;

}


.woocommerce-cart table.shop_table
td.product-quantity .quantity {

    display: flex;

    justify-content: center;

}


.woocommerce-cart table.shop_table
td.product-quantity input.qty {

    width: 68px !important;

    height: 42px !important;

    margin: 0 !important;

    padding: 0 !important;

    border: 1px solid #ddd !important;

    border-radius: 8px !important;

    background: #fff !important;

    text-align: center;

    font-size: 15px !important;

}


/* =====================================================
   SUBTOTAL
===================================================== */

.woocommerce-cart table.shop_table
td.product-subtotal {

    font-size: 18px !important;

    font-weight: 800 !important;

    color: #67c900 !important;

    white-space: nowrap;

}


/* =====================================================
   ACCIONES
===================================================== */

.woocommerce-cart .actions {

    display: flex !important;

    align-items: center;

    justify-content: flex-end;

    gap: 12px;

    padding: 12px 0 !important;

    border: 0 !important;

    background: transparent !important;

}


/* ACTUALIZAR */

.woocommerce-cart
button[name="update_cart"] {

    min-height: 52px;

    padding: 0 24px !important;

    border: 0 !important;

    border-radius: 8px !important;

}


/* WHATSAPP */

.woocommerce-cart
.ditroit-whatsapp-pedido {

    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    min-width: 260px;

    min-height: 52px;

    padding: 0 26px !important;

    border: 0 !important;

    border-radius: 8px !important;

    background: #25D366 !important;

    color: #fff !important;

    font-size: 15px !important;

    font-weight: 800 !important;

    line-height: 1 !important;

    text-decoration: none !important;

}


.woocommerce-cart
.ditroit-whatsapp-pedido:hover {

    background: #1ebe5d !important;

    color: #fff !important;

}


/* =====================================================
   TOTALES
===================================================== */

.woocommerce-cart .cart_totals {

    border: 0 !important;

}


.woocommerce-cart .cart_totals h2 {

    margin-bottom: 18px !important;

    border: 0 !important;

    font-size: 28px !important;

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 768px) {

    .woocommerce-cart table.shop_table {

        border-spacing: 0 12px !important;

    }


    .woocommerce-cart table.shop_table
    tbody tr.woocommerce-cart-form__cart-item {

        display: grid !important;

        grid-template-columns:
            95px
            1fr;

        min-height: auto;

        padding: 14px;

        border-radius: 14px !important;

    }


    .woocommerce-cart table.shop_table
    tbody tr.woocommerce-cart-form__cart-item
    td {

        padding: 5px !important;

    }


    /* IMAGEN */

    .woocommerce-cart table.shop_table
    td.product-thumbnail {

        grid-column: 1;

        grid-row: 1 / span 4;

        width: auto !important;

        padding: 4px !important;

    }


    .woocommerce-cart table.shop_table
    td.product-thumbnail img {

        width: 82px !important;

        height: 82px !important;

    }


    /* NOMBRE */

    .woocommerce-cart table.shop_table
    td.product-name {

        grid-column: 2;

        grid-row: 1;

        padding-top: 8px !important;

        font-size: 15px !important;

    }


    /* PRECIO */

    .woocommerce-cart table.shop_table
    td.product-price {

        grid-column: 2;

        grid-row: 2;

        font-size: 14px !important;

    }


    /* CANTIDAD */

    .woocommerce-cart table.shop_table
    td.product-quantity {

        grid-column: 2;

        grid-row: 3;

        text-align: left !important;

    }


    .woocommerce-cart table.shop_table
    td.product-quantity .quantity {

        justify-content: flex-start;

    }


    /* SUBTOTAL */

    .woocommerce-cart table.shop_table
    td.product-subtotal {

        grid-column: 2;

        grid-row: 4;

        font-size: 16px !important;

    }


    /* ELIMINAR */

    .woocommerce-cart table.shop_table
    td.product-remove {

        position: absolute !important;

        top: 10px;

        right: 10px;

        width: auto !important;

        padding: 0 !important;

        z-index: 5;

    }


    /* ACCIONES */

    .woocommerce-cart .actions {

        display: flex !important;

        flex-direction: column;

        align-items: stretch !important;

        gap: 10px;

        padding-top: 12px !important;

    }


    .woocommerce-cart
    button[name="update_cart"],

    .woocommerce-cart
    .ditroit-whatsapp-pedido {

        width: 100% !important;

        min-width: 0;

        min-height: 52px;

    }

    /* =====================================================
   DITROIT - CARRITO MOBILE
===================================================== */

@media (max-width: 768px) {

    /* TABLA */

    .woocommerce-cart table.shop_table {
        width: 100% !important;
        border-spacing: 0 12px !important;
        border: 0 !important;
    }


    /* PRODUCTO COMO TARJETA */

    .woocommerce-cart table.shop_table
    tbody tr.woocommerce-cart-form__cart-item {

        display: grid !important;

        grid-template-columns: 90px minmax(0, 1fr) !important;

        gap: 10px !important;

        width: 100% !important;

        min-height: 0 !important;

        padding: 14px !important;

        border: 1px solid #ededed !important;

        border-radius: 14px !important;

        background: #fff !important;

        box-shadow: 0 3px 14px rgba(0,0,0,.05);

        position: relative !important;
    }


    /* CELDAS */

    .woocommerce-cart table.shop_table
    tbody tr.woocommerce-cart-form__cart-item td {

        border: 0 !important;

        padding: 4px !important;

        min-width: 0 !important;

        background: transparent !important;
    }


    /* OCULTAR ETIQUETAS DE WOOCOMMERCE */

    .woocommerce-cart table.shop_table
    tbody tr.woocommerce-cart-form__cart-item td::before {

        display: none !important;

        content: none !important;
    }


    /* =================================================
   FOTO DEL PRODUCTO - MOBILE
================================================= */

.woocommerce-cart table.shop_table
td.product-thumbnail {

    display: flex !important;

    grid-column: 1 !important;

    grid-row: 1 / span 4 !important;

    align-items: center !important;

    justify-content: center !important;

    width: 90px !important;

    height: 100% !important;

    padding: 0 !important;

    margin: 0 !important;

    visibility: visible !important;

    opacity: 1 !important;

}


.woocommerce-cart table.shop_table
td.product-thumbnail a {

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: 90px !important;

    height: 100% !important;

    visibility: visible !important;

}


.woocommerce-cart table.shop_table
td.product-thumbnail img {

    display: block !important;

    visibility: visible !important;

    opacity: 1 !important;

    width: 82px !important;

    height: 82px !important;

    max-width: 82px !important;

    object-fit: contain !important;

    margin: 0 !important;

    border: 0 !important;

    border-radius: 10px !important;

    background: #fafafa !important;

}

    /* NOMBRE */

    .woocommerce-cart table.shop_table
    td.product-name {

        grid-column: 2 !important;

        grid-row: 1 !important;

        width: auto !important;

        padding-right: 25px !important;

        font-size: 15px !important;

        line-height: 1.35 !important;

        text-align: left !important;

        white-space: normal !important;
    }


    .woocommerce-cart table.shop_table
    td.product-name a {

        display: block !important;

        color: #222 !important;

        font-weight: 600 !important;

        text-decoration: none !important;

        overflow-wrap: break-word;
    }


    /* PRECIO */

    .woocommerce-cart table.shop_table
    td.product-price {

        grid-column: 2 !important;

        grid-row: 2 !important;

        width: auto !important;

        font-size: 14px !important;

        text-align: left !important;

        white-space: nowrap !important;
    }


    /* CANTIDAD */

    .woocommerce-cart table.shop_table
    td.product-quantity {

        grid-column: 2 !important;

        grid-row: 3 !important;

        width: auto !important;

        text-align: left !important;
    }


    .woocommerce-cart table.shop_table
    td.product-quantity .quantity {

        display: block !important;

        width: auto !important;
    }


    .woocommerce-cart table.shop_table
    td.product-quantity input.qty {

        width: 68px !important;

        height: 40px !important;

        display: block !important;

        margin: 0 !important;

        border-radius: 8px !important;

        font-size: 15px !important;

        text-align: center !important;
    }


    /* SUBTOTAL */

    .woocommerce-cart table.shop_table
    td.product-subtotal {

        grid-column: 2 !important;

        grid-row: 4 !important;

        width: auto !important;

        font-size: 16px !important;

        font-weight: 800 !important;

        text-align: left !important;

        white-space: nowrap !important;

        color: #67c900 !important;
    }


    /* ELIMINAR */

    .woocommerce-cart table.shop_table
    td.product-remove {

        position: absolute !important;

        top: 10px !important;

        right: 10px !important;

        width: auto !important;

        padding: 0 !important;

        z-index: 10 !important;
    }


    .woocommerce-cart table.shop_table
    td.product-remove a.remove {

        width: 28px !important;

        height: 28px !important;

        display: flex !important;

        align-items: center;

        justify-content: center;

        border-radius: 50% !important;

        background: #f5f5f5 !important;

        color: #888 !important;
    }


    /* =================================================
       ACCIONES
    ================================================= */

    .woocommerce-cart .actions {

        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;

        justify-content: center !important;

        gap: 10px !important;

        width: 100% !important;

        padding: 14px 0 !important;

        border: 0 !important;

        background: transparent !important;
    }


    .woocommerce-cart .actions button[name="update_cart"],
    .woocommerce-cart .actions .ditroit-whatsapp-pedido {

        display: flex !important;

        align-items: center !important;

        justify-content: center !important;

        width: 100% !important;

        max-width: 100% !important;

        min-width: 0 !important;

        height: 54px !important;

        min-height: 54px !important;

        margin: 0 !important;

        padding: 0 16px !important;

        border-radius: 9px !important;

        white-space: nowrap !important;

        word-break: normal !important;

        overflow: hidden !important;

        text-overflow: ellipsis !important;

        font-size: 15px !important;

        line-height: 1 !important;
    }


    /* ACTUALIZAR */

    .woocommerce-cart .actions
    button[name="update_cart"] {

        background: #f1eef4 !important;

        color: #999 !important;
    }


    /* WHATSAPP */

    .woocommerce-cart .actions
    .ditroit-whatsapp-pedido {

        background: #25D366 !important;

        color: #fff !important;

        font-weight: 800 !important;

        text-decoration: none !important;
    }


    /* =================================================
       TOTALES
    ================================================= */

    .woocommerce-cart .cart_totals {

        width: 100% !important;

        float: none !important;

        margin-top: 20px !important;

    }


    .woocommerce-cart .cart_totals h2 {

        font-size: 26px !important;

        line-height: 1.2 !important;

        margin: 0 0 18px !important;

    }


    .woocommerce-cart .cart_totals table {

        width: 100% !important;

        border-collapse: separate !important;

        border-spacing: 0 10px !important;

    }


    .woocommerce-cart .cart_totals table tr {

        background: #fff !important;

        border: 0 !important;

        box-shadow: 0 2px 10px rgba(0,0,0,.04);

    }


    .woocommerce-cart .cart_totals table th,
    .woocommerce-cart .cart_totals table td {

        border: 0 !important;

        padding: 16px !important;

    }


    .woocommerce-cart .cart_totals table th {

        width: 45% !important;

        white-space: nowrap !important;

    }


    .woocommerce-cart .cart_totals table td {

        text-align: right !important;

        white-space: nowrap !important;

        color: #67c900 !important;

        font-weight: 700 !important;

    }

}
/* =================================================
   ACCIONES DEL CARRITO - MOBILE
================================================= */

.woocommerce-cart .actions {

    display: flex !important;

    flex-direction: column !important;

    align-items: stretch !important;

    gap: 10px !important;

    width: 100% !important;

    padding: 14px 0 !important;

    margin: 0 !important;

    border: 0 !important;

    background: transparent !important;

}


.woocommerce-cart .actions button[name="update_cart"],
.woocommerce-cart .actions .ditroit-whatsapp-pedido {

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    box-sizing: border-box !important;

    width: 100% !important;

    max-width: none !important;

    min-width: 0 !important;

    height: 54px !important;

    min-height: 54px !important;

    margin: 0 !important;

    padding: 0 14px !important;

    border: 0 !important;

    border-radius: 9px !important;

    white-space: nowrap !important;

    overflow: visible !important;

    text-overflow: clip !important;

    word-break: normal !important;

    font-size: 15px !important;

    line-height: 1 !important;

}


/* ACTUALIZAR */

.woocommerce-cart .actions button[name="update_cart"] {

    background: #f1eef4 !important;

    color: #999 !important;

}


/* WHATSAPP */

.woocommerce-cart .actions .ditroit-whatsapp-pedido {

    background: #25D366 !important;

    color: #fff !important;

    font-weight: 800 !important;

    text-decoration: none !important;

}


/* EVITAR QUE EL CONTENEDOR PADRE RECORTE EL BOTÓN */

.woocommerce-cart .actions,
.woocommerce-cart .actions .ditroit-whatsapp-pedido,
.woocommerce-cart .actions button[name="update_cart"] {

    overflow: visible !important;

}
.woocommerce-cart table.shop_table .actions {

        grid-column: 1 / -1 !important;

        width: 100% !important;

    }

    /* =====================================================
   DITROIT - CENTRAR TARJETAS DE PRODUCTOS
===================================================== */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {

    text-align: center !important;

}


/* IMAGEN */

.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img {

    display: block !important;

    margin-left: auto !important;
    margin-right: auto !important;

}


/* NOMBRE */

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {

    text-align: center !important;

}


/* PRECIO */

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {

    text-align: center !important;

}


/* BOTÓN COMPRAR */

.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {

    display: table !important;

    margin-left: auto !important;
    margin-right: auto !important;

}

/* =====================================================
   DITROIT - CENTRAR PRODUCTOS DEL CATÁLOGO
===================================================== */

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {

    text-align: center !important;

}

}
