.elementor-27 .elementor-element.elementor-element-70889590{--display:flex;--padding-top:50px;--padding-bottom:50px;--padding-left:20px;--padding-right:20px;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}:root{--page-title-display:none;}/* Start custom CSS for text-editor, class: .elementor-element-16afc198 *//* ==========================================================================
   1. ESTRUCTURA GENERAL Y SOLUCIÓN ALIGNWIDE
   ========================================================================== */
@media (max-width: 768px) {
    .wp-block-woocommerce-cart,
    .wc-block-cart,
    .wp-block-woocommerce-cart.alignwide,
    .alignwide {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-inline: 0px !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
        box-sizing: border-box !important;
    }

    .wc-block-components-sidebar-layout,
    .wp-block-woocommerce-filled-cart-block {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    .wc-block-components-sidebar-layout .wc-block-components-main,
    .wc-block-components-sidebar-layout .wc-block-components-sidebar,
    .wp-block-woocommerce-cart-items-block,
    .wp-block-woocommerce-cart-totals-block {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
}

/* ==========================================================================
   2. REDISEÑO DE PRODUCTOS EN MÓVIL (TIPO TARJETA LIMPIA)
   ========================================================================== */
@media (max-width: 768px) {
    /* Contenedor de cada fila de producto */
    .wc-block-cart-items .wc-block-components-product-card {
        display: grid !important;
        grid-template-columns: 80px 1fr !important; /* Imagen fija a la izquierda, contenido a la derecha */
        gap: 15px !important;
        padding: 15px 0 !important;
        border-bottom: 1px solid #eeeeee !important;
        align-items: start !important;
    }

    /* Forzar que la imagen no se deforme */
    .wc-block-components-product-card__image {
        width: 80px !important;
        height: 80px !important;
        margin: 0 !important;
    }
    .wc-block-components-product-card__image img {
        object-fit: cover !important;
        border-radius: 8px !important;
    }

    /* Agrupador de los datos del producto (Título, precio, controles) */
    .wc-block-components-product-card__content {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    /* Nombre del producto */
    .wc-block-components-product-name {
        font-size: 15px !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        margin-bottom: 2px !important;
    }

    /* Contenedor inferior: cantidad y precio alineados */
    .wc-block-components-product-card__row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        width: 100% !important;
    }

    /* Ajuste fino del .elementor-27 .elementor-element.elementor-element-16afc198 de cantidad para que no ocupe todo el ancho */
    .wc-block-components-product-card .wc-block-components-quantity-.elementor-27 .elementor-element.elementor-element-16afc198 {
        max-width: 110px !important;
        margin: 0 !important;
        height: 35px !important;
    }

    /* El tacho de basura al lado de la cantidad */
    .wc-block-components-product-card__remove-button {
        margin: 0 !important;
        padding: 5px !important;
    }
}

/* ==========================================================================
   3. COLORES, BOTONES Y CUPONES
   ========================================================================== */
.wc-block-components-product-name {
    color: #103d57 !important;
}

/* Botón Finalizar Compra */
.wc-block-cart__submit-button {
    background-color: #103d57 !important;
    color: #ffffff !important;
    width: 100% !important;
    padding: 15px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    border-radius: 6px !important;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link):hover {
    background-color: #0f6e7c !important;
    color: #ffffff !important;
}

/* Formulario de Cupones y Totales en Móvil */
@media (max-width: 768px) {
    .wc-block-components-totals-wrapper {
        margin-top: 20px !important;
        padding: 15px !important;
        background-color: #f9f9f9 !important;
        border-radius: 8px !important;
    }
    
    /* Input de cupón más estilizado */
    .wc-block-components-totals-coupon-form {
        margin-bottom: 15px !important;
    }
}

/* ==========================================================================
   4. SOLUCIÓN PARA BOTONES DE CANTIDAD (+ y -)
   ========================================================================== */
.wc-block-components-quantity-.elementor-27 .elementor-element.elementor-element-16afc198 .wc-block-components-quantity-.elementor-27 .elementor-element.elementor-element-16afc198__button {
    color: transparent !important;
    position: relative !important;
}

.wc-block-components-quantity-.elementor-27 .elementor-element.elementor-element-16afc198 .wc-block-components-quantity-.elementor-27 .elementor-element.elementor-element-16afc198__button svg {
    display: none !important;
}

.wc-block-components-quantity-.elementor-27 .elementor-element.elementor-element-16afc198 .wc-block-components-quantity-.elementor-27 .elementor-element.elementor-element-16afc198__button::after {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #103d57 !important; 
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    visibility: visible !important;
}

.wc-block-components-quantity-.elementor-27 .elementor-element.elementor-element-16afc198 .wc-block-components-quantity-.elementor-27 .elementor-element.elementor-element-16afc198__button--minus::after {
    content: "-" !important;
}

.wc-block-components-quantity-.elementor-27 .elementor-element.elementor-element-16afc198 .wc-block-components-quantity-.elementor-27 .elementor-element.elementor-element-16afc198__button--plus::after {
    content: "+" !important;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-quantity-.elementor-27 .elementor-element.elementor-element-16afc198 .wc-block-components-quantity-.elementor-27 .elementor-element.elementor-element-16afc198__button:hover::after {
    color: #0f6e7c !important; 
}

/* ==========================================================================
   5. LIMPIEZA DE ELEMENTOS
   ========================================================================== */
.wp-block-separator.has-alpha-channel-opacity.is-style-dots,
.wc-block-cart__empty-cart__title + hr,
.wc-block-cart__empty-cart__title + hr + h2,
.wc-block-product-new {
    display: none !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-70889590 */.entry-title {
    display: none;
}/* End custom CSS */