.elementor-10 .elementor-element.elementor-element-3a259175{--display:flex;--margin-top:25px;--margin-bottom:25px;--margin-left:0px;--margin-right:0px;--padding-top:10px;--padding-bottom:10px;--padding-left:10px;--padding-right:10px;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-10 .elementor-element.elementor-element-41c99e3a{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;font-family:"Century Gothic", Sans-serif;font-size:1em;font-weight:normal;}:root{--page-title-display:none;}/* Start custom CSS *//* Saltos de lineas y otros */
.return-to-shop a br  { display: none!important; }

.xoo-cart-brand-title, .xoo-cart-product-sku { display: block !important; }

/* Carrito vacío */
.wc-empty-cart-message .woocommerce-info { border-top-color: #1C355E; }
.wc-empty-cart-message .cart-empty.woocommerce-info { background-color: transparent!important; }
.return-to-shop a.button, .return-to-shop a.button:hover { color: #fff; background-color: #1C355E; }

/* Carrito lleno */
.woocommerce table.shop_table { border: inherit; text-align: inherit; }
table tfoot th, table thead th { font-size: 1.2em!important; }
.woocommerce table.shop_table td { padding: 5px; }
table td, table th { border: inherit; }
table thead:first-child tr:first-child th { border-block-start: inherit; }
table tbody>tr:nth-child(odd)>td, 
table tbody>tr:nth-child(odd)>th,
table tbody tr:hover>td, 
table tbody tr:hover>th { background-color: inherit; }
.woocommerce-cart table.cart .product-thumbnail { min-width: 80px; }
.woocommerce-cart table.cart img { width: 80px; }
.product-name a { color: #0033A1; }

/* Contenedor de tus botones */
.custom-cart-actions-container {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center;
    gap: 15px;
    width: 100% !important;
    margin: 0 !important;
    padding: 20px 0 0 0 !important;
}
.custom-cart-actions-container p { margin-bottom:  0px!important; }

/* Botón Outline Genérico */
.custom-cart-actions-container .btn-outline-primary {
    background-color: #ffffff !important;
    color: #0071CE !important; 
    border: 2px solid #0071CE !important;
    border-radius: 4px !important;
    padding: 10px 25px !important; /* Ajuste ligero para que no se vea tan tosco */
    font-weight: 700 !important;
    text-transform: uppercase;
    font-size: 1em!important;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto !important;
    margin: 0 !important; /* Muy importante para evitar que el botón "salte" */
}

/* Total del carrito */
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { display: flex; flex-wrap: wrap; float: inherit; width: 100%; }
.cart-totals-wrapper { flex: 0 0 50%; margin-left: auto; }
.installation-materials-section { flex: 0 0 100%; }

/* Caja principal del Total */
.totals-box-custom {
    width: 100%;
    border: 1px solid #c1c1c1; /* Gris claro de la imagen */
    background: #fff;
}

/* Encabezado "Total del Carrito" */
.totals-header {
    text-align: center;
    padding: 8px;
    border-bottom: 1px solid #c1c1c1;
}

/* Lista de precios (Subtotal, IVA, Total) */
.totals-list {
    padding: 15px;
}

.row-total {
    display: flex;
    justify-content: space-between;
}

/* Botón CONTINUAR CON LA COMPRA */
.button-checkout-custom {
    display: block;
    background-color: #1C355E !important;
    color: #ffffff !important;
    text-align: center;
    padding: 18px;
    margin: 0 15px 15px 15px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

/* Ventas dirigidas */
/* Estructura de Columnas */
.materials-table-header {
    display: flex;
    align-items: center;
    padding: 15px 0 5px 0;
    border-bottom: 1px solid #C1C1C1;
}

/* Modificamos la fila para que permita saltos de línea */
.material-row {
    display: flex;
    flex-wrap: wrap; /* Permite que la calculadora baje si no cabe */
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #C1C1C1;
}

.col-prod { flex: 2.5; } /* Más espacio para imagen y nombre */
.col-cant { flex: 1.2; text-align: center; }
.col-costo { flex: 1.5; text-align: center; }
.col-add { flex: 2; text-align: center; }

/* Forzamos que la calculadora ocupe el 100% */
.material-row__calculator { flex: 0 0 100%; width: 100%; margin-top: 15px; }

/* Estilo para que la calculadora  */
.material-row__calculator .calc-pro-container { max-width: 100% !important; width: 100% !important; box-sizing: border-box; }

/* Detalles del Producto */
.material-row__product-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Manejo de Precios (WooCommerce nativo) */
.material-row__price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* El precio tachado (antes) */
.material-row__price-display del {
    font-family: "Century Gothic", Sans-serif;
    color: #B2B2B2;
    font-size: 1em!important;    
    text-decoration: line-through;
    margin-bottom: 2px;
}

.material-row__price-display del .woocommerce-Price-amount::before {
    font-family: "Century Gothic", Sans-serif;
    color: #B2B2B2;
    font-size: 1em!important;
    content: "antes ";
}

.material-row__price-display del .woocommerce-Price-amount::after {
    font-family: "Century Gothic", Sans-serif;
    color: #B2B2B2;
    font-size: 1em!important;
    content: " MXN";
}

/* El precio nuevo (ahora) */
.material-row__price-display ins, 
.material-row__price-display > .amount {
    text-decoration: none;
    font-family: "Century Gothic Bold", Sans-serif;
    color: #000;
    font-weight: bold;
    font-size: 1em!important;
}
.material-row__price-display ins .woocommerce-Price-amount::after,
.material-row__price-display .woocommerce-Price-amount::after {
    font-family: "Century Gothic", Sans-serif;
    color: #000;
    font-size: 1em!important;
    font-weight: bold;
    content: " MXN";
}

/* Botón Estilo Producción */
.col-add .button {
    background-color: #1C355E!important;
    color: #fff!important;
}

/* Responsive */
@media (max-width: 992px) {
    .material-row { flex-wrap: wrap; }
    .material-col { flex: none; width: 50%; margin-bottom: 15px; }
    .col-prod { width: 100%; }
    .col-add { width: 100%; text-align: center; }
}

@media (max-width: 768px) {
    .cart-totals-wrapper { flex: 0 0 100%; margin-left: 0; }
    .custom-cart-actions-container {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .shop_table .woocommerce-cart-form__cart-item.cart_item .product-remove {
        display: block; /* Para que ocupe todo el ancho y permita alinear a la izquierda */
        width: 100%;
    }    
    .shop_table .woocommerce-cart-form__cart-item.cart_item .product-remove a.remove {
        display: inline-flex !important;
        align-items: center;
        text-decoration: none;
        width: auto;
    }
    .shop_table .woocommerce-cart-form__cart-item.cart_item .product-remove a.remove::after {
        content: "Eliminar producto";
        margin-left: 8px;
        font-size: 14px;
        white-space: nowrap;
    }
    .woocommerce a.remove:hover {
        color: #a00 !important;
        background: initial!important;
    }    
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'Century Gothic';
	font-style: normal;
	font-weight: normal;
	font-display: swap;
	src: url('https://sanimex.com.mx/wp-content/uploads/2026/02/CenturyGothic.ttf') format('truetype');
}
/* End Custom Fonts CSS */