/**
 * Estilos del carrito/sidebar de presupuestos (YITH).
 * Extraído del CSS inline de merto_child_quote_cart_styles() (refactor 2026).
 */
        /* ===== OPTIMIZACIONES DEL SIDEBAR ===== */

        /* Transiciones suaves para el sidebar */
        .cart-dropdown-form {
            transition: opacity 0.2s ease;
        }

        /* Loading state para el sidebar */
        .cart-dropdown-form.loading {
            position: relative;
            min-height: 200px;
        }

        .cart-dropdown-form.loading:after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 30px;
            height: 30px;
            margin: -15px 0 0 -15px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #333;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Mejoras para el mensaje de más productos */
        .more-items-message {
            text-align: center;
            padding: 10px;
            color: #666;
            font-style: italic;
            border-top: 1px solid #eee;
        }

        /* ===== SCROLL EN EL SIDEBAR DEL CARRITO ===== */

        /* El CSS original simple que funcionaba */
        .ts-sidebar-content .ts-tiny-cart-wrapper .cart-wrapper {
            flex: 1;
            overflow: auto;
        }

        /* Quitar padding general del sidebar */
        .ts-floating-sidebar .ts-sidebar-content {
            padding: 0px;
        }

        /* Padding solo en título y subtotal */
        .ts-sidebar-content .cart-dropdown-form .theme-title {
            padding: 15px 20px;
            margin: 0;
        }

        .ts-sidebar-content .cart-dropdown-form .total {
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #eee;
        }

        /* Lista de productos con algo de padding lateral */
        .ts-sidebar-content .cart-wrapper {
            padding: 0 20px;
        }

        /* Botones flotando uno al lado del otro */
        .ts-sidebar-content .cart-dropdown-form .buttons {
            padding: 15px 0;
            margin: 0;
            border-top: 1px solid #eee;
            display: flex;
            flex-direction: row;
            gap: 0;
        }

        .ts-sidebar-content .cart-dropdown-form .buttons a {
            margin: 0;
            border-radius: 0;
            flex: 1;
            text-align: center;
            padding: 12px 10px;
        }

        .ts-sidebar-content .cart-dropdown-form .buttons a.view-cart {
            border-right: 1px solid #eee;
        }

        /* Quitar el font-size con !important del sidebar */
        #ts-shopping-cart-sidebar * {
            font-size: initial !important;
        }

        /* Tamaño de fuente para los botones - MÁS ESPECÍFICO */
        #ts-shopping-cart-sidebar .ts-sidebar-content .cart-dropdown-form .buttons a.button.view-cart,
        #ts-shopping-cart-sidebar .ts-sidebar-content .cart-dropdown-form .buttons a.button.checkout-button {
            font-size: 13px !important;
        }

        /* Estilo para los nombres de productos en el carrito - MÁS ESPECÍFICO */
        #ts-shopping-cart-sidebar .ts-sidebar-content .cart-dropdown-form a.cart-name {
            max-width: 180px;
            font-size: 13px !important;
            display: inline-block;
            line-height: 1.4;
            word-wrap: break-word;
        }

        /* Estilo para la barra de scroll */
        .ts-sidebar-content .cart-wrapper::-webkit-scrollbar {
            width: 6px;
        }

        .ts-sidebar-content .cart-wrapper::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
        }

        .ts-sidebar-content .cart-wrapper::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 3px;
        }

        .ts-sidebar-content .cart-wrapper::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

        /* Optimización de imágenes lazy loading */
        .cart-dropdown-form .thumbnail img {
            transition: opacity 0.3s;
        }

        .cart-dropdown-form .thumbnail img[loading="lazy"] {
            opacity: 0.8;
        }

        .cart-dropdown-form .thumbnail img.loaded {
            opacity: 1;
        }

        /* Mejora de performance con will-change */
        .cart-dropdown-form.opening {
            will-change: transform, opacity;
        }
        /* FORZAR que el carrito SIEMPRE sea visible */
        .shopping-cart-wrapper,
        .ts-tiny-cart-wrapper,
        .cart-control,
        .cart-icon {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        /* Asegurar que el contador sea visible cuando tiene valor */
        .cart-control .cart-number {
            display: inline-block !important;
            visibility: visible !important;
            opacity: 1 !important;
            min-width: 18px;
            min-height: 18px;
            line-height: 18px;
        }

        /* Ocultar el contador solo si está vacío o es 0 */
        .cart-control .cart-number:empty,
        .cart-control .cart-number.zero-items {
            display: none !important;
        }

        /* Prevenir que el tema oculte el carrito */
        body.no-cart-items .shopping-cart-wrapper,
        body.cart-empty .shopping-cart-wrapper {
            display: block !important;
        }

        /* Estilos para el widget del carrito cuando muestra presupuestos */
        .widget_shopping_cart_content .mini_cart_item .cart-item-wrapper {
            flex: 1;
        }

        .widget_shopping_cart_content .woocommerce-mini-cart__buttons {
            display: flex;
            gap: 10px;
        }

        .widget_shopping_cart_content .woocommerce-mini-cart__buttons .button {
            flex: 1;
            text-align: center;
        }

        /* OCULTAR COMPLETAMENTE BOTONES Y FORMULARIO DE WOOCOMMERCE
           Excepción: el form de PRODUCTOS VARIABLES (form.variations_form) NO se oculta,
           porque ahí vive el selector de variaciones (swatches) + el botón de presupuesto.
           El botón add-to-cart nativo dentro de ese form ya se oculta por separado abajo. */
        .single-product .single_add_to_cart_button,
        .single-product .ts-buy-now-button,
        .single-product button[name="add-to-cart"],
        .woocommerce div.product form.cart .single_add_to_cart_button,
        .woocommerce div.product .ts-buy-now-button,
        .woocommerce div.product form.cart:not(.variations_form) {
            display: none !important;
            visibility: hidden !important;
            height: 0 !important;
            width: 0 !important;
            margin: 0 !important;
            padding: 0 !important;
            overflow: hidden !important;
        }

        /* Ocultar botones en el loop/catálogo también */
        .products .product .add_to_cart_button:not(.add-request-quote-button) {
            display: none !important;
        }

        /* Ocultar TODOS los botones de presupuesto EXCEPTO el que está después del stock */
        .summary > .yith-ywraq-add-to-quote:first-of-type,
        .single-product-buttons .yith-ywraq-add-to-quote {
            display: none !important;
        }

        /* Mostrar SOLO el botón que está dentro del div de availability */
        .availability .yith-ywraq-add-to-quote,
        .woocommerce-product-details__short-description + p + div + .availability + .yith-ywraq-add-to-quote {
            display: block !important;
        }

        /* Estilizar el botón de presupuesto como principal */
        .yith-ywraq-add-to-quote {
            margin: 0px 0 !important;
            clear: both !important;
        }

        /* Estilos del botón comentados - Ahora están en style.css con el nuevo diseño azul
        .yith-ywraq-add-to-quote .add-request-quote-button {
            background-color: #333 !important;
            color: #fff !important;
            padding: 12px 30px !important;
            font-size: 16px !important;
            font-weight: 600 !important;
            border: none !important;
            border-radius: 4px !important;
            width: auto !important;
            display: inline-block !important;
            margin: 0 !important;
        }

        .yith-ywraq-add-to-quote .add-request-quote-button:hover {
            background-color: #555 !important;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
        }*/

        /* ===== ESTILOS PARA MENSAJES INFORMATIVOS DE YITH ===== */

        /* === OCULTAR COMPLETAMENTE EN SHOP/CATEGORÍAS === */
        .archive .yith_ywraq_add_item_response_message,
        .archive .yith_ywraq_add_item_browse_message,
        .shop .yith_ywraq_add_item_response_message,
        .shop .yith_ywraq_add_item_browse_message,
        .tax-product_cat .yith_ywraq_add_item_response_message,
        .tax-product_cat .yith_ywraq_add_item_browse_message,
        .woocommerce-shop .yith_ywraq_add_item_response_message,
        .woocommerce-shop .yith_ywraq_add_item_browse_message {
            display: none !important;
            visibility: hidden !important;
            height: 0 !important;
            overflow: hidden !important;
        }

        /* === ESTILOS PARA PÁGINA DE PRODUCTO INDIVIDUAL === */

        /* Mensaje de aviso cuando el producto ya está en la lista */
        .single-product .yith_ywraq_add_item_response_message:not(.hide) {
            display: block !important;
            background: #fff3cd !important;
            border: 1px solid #ffc107 !important;
            border-left: 4px solid #ffc107 !important;
            color: #856404 !important;
            padding: 12px 15px !important;
            border-radius: 4px !important;
            margin: 15px 0 !important;
            font-size: 14px !important;
            font-weight: normal !important;
            line-height: 1.5 !important;
            clear: both !important;
            position: relative !important;
        }

        /* Icono de aviso */
        .single-product .yith_ywraq_add_item_response_message:before {
            content: "⚠";
            display: inline-block;
            margin-right: 8px;
            font-size: 16px;
            color: #ffc107;
        }

        /* Botón "Explorar la lista" flotado a la izquierda */
        .single-product .yith_ywraq_add_item_browse_message:not(.hide) {
            display: block !important;
            float: left !important;
            clear: left !important;
            margin: 10px 0 20px 0 !important;
        }

        .single-product .yith_ywraq_add_item_browse_message a {
            display: inline-block !important;
            background: linear-gradient(135deg, #125BC9 0%, #125bc9 100%) !important;
            color: #ffffff !important;
            padding: 10px 20px !important;
            border-radius: 50px !important;
            text-decoration: none !important;
            font-weight: 600 !important;
            font-size: 14px !important;
            transition: all 0.3s ease !important;
            border: 2px solid transparent !important;
            box-shadow: none !important;
        }

        .single-product .yith_ywraq_add_item_browse_message a:hover {
            background: linear-gradient(135deg, #0d47a1 0%, #125BC9 100%) !important;
            color: #ffffff !important;
            text-decoration: none !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 4px 15px rgba(18, 91, 201, 0.3) !important;
        }

        .single-product .yith_ywraq_add_item_browse_message a:active {
            transform: translateY(0) !important;
        }

        /* Limpiar floats después del botón */
        .single-product .yith-ywraq-add-to-quote:after {
            content: "";
            display: table;
            clear: both;
        }

        /* Limpiar cualquier estilo general que pueda interferir */
        .yith_ywraq_add_item_response_message:not(.single-product *),
        .yith_ywraq_add_item_browse_message:not(.single-product *) {
            display: none !important;
        }
        /* FORZAR VISIBILIDAD ABSOLUTA DEL CONTADOR Y EL CARRITO */
        .shopping-cart-wrapper,
        .ts-tiny-cart-wrapper,
        .cart-icon,
        .cart-control {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        /* Asegurar que el icono del carrito NUNCA se oculte */
        .header-container .shopping-cart-wrapper,
        #header .shopping-cart-wrapper,
        .ts-header .shopping-cart-wrapper {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
            position: relative !important;
            z-index: 999 !important;
        }

        .shopping-cart-wrapper .ts-tiny-cart-wrapper {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .shopping-cart-wrapper .cart-icon {
            display: block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .shopping-cart-wrapper .cart-control {
            display: inline-block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        /* Forzar visibilidad del contador SIEMPRE */
        .shopping-cart-wrapper .cart-control .cart-number {
            display: inline-block !important;
            visibility: visible !important;
            opacity: 1 !important;
            min-width: 18px !important;
            height: 18px !important;
            line-height: 18px !important;
        }

        /* Ocultar solo cuando realmente está vacío (0) */
        .shopping-cart-wrapper .cart-control .cart-number:empty,
        .shopping-cart-wrapper .cart-control .cart-number.empty {
            display: none !important;
        }

        /* Asegurar que el contador con valor 0 también se oculte */
        .shopping-cart-wrapper .cart-control .cart-number.zero {
            display: none !important;
        }

        /* ========================================
           ESTILOS PARA ARREGLAR PROBLEMAS DEL DROPDOWN
           ======================================== */

        /* Quitar hover del tema original que muestra otro carrito */
        .shopping-cart-wrapper .cart-dropdown-form:not(#ts-shopping-cart-sidebar .cart-dropdown-form) {
            display: none !important;
        }

        /* Mostrar solo el dropdown cuando se hace click, no en hover */
        .shopping-cart-wrapper:hover .cart-dropdown-form {
            display: none !important;
        }

        /* Lista de productos con scroll cuando hay muchos */
        #ts-shopping-cart-sidebar .cart-list,
        .cart-dropdown-form .cart-list {
            max-height: 300px !important;
            overflow-y: auto !important;
            overflow-x: hidden !important;
            padding-right: 10px !important;
        }

        /* Estilo para la barra de scroll */
        .cart-dropdown-form .cart-list::-webkit-scrollbar {
            width: 6px !important;
        }

        .cart-dropdown-form .cart-list::-webkit-scrollbar-track {
            background: #f1f1f1 !important;
            border-radius: 3px !important;
        }

        .cart-dropdown-form .cart-list::-webkit-scrollbar-thumb {
            background: #888 !important;
            border-radius: 3px !important;
        }

        .cart-dropdown-form .cart-list::-webkit-scrollbar-thumb:hover {
            background: #555 !important;
        }

        /* Ocultar números extras o elementos duplicados */
        #ts-shopping-cart-sidebar > .ts-tiny-cart-wrapper > span:first-child,
        #ts-shopping-cart-sidebar > span:first-child,
        #ts-shopping-cart-sidebar > .ts-tiny-cart-wrapper::before,
        #ts-shopping-cart-sidebar::before {
            display: none !important;
        }

        /* Ocultar cualquier texto directo en el sidebar que no esté en un elemento */
        #ts-shopping-cart-sidebar {
            font-size: 0 !important;
        }

        #ts-shopping-cart-sidebar * {
            font-size: initial !important;
        }

        /* Asegurar que el sidebar no muestre el icono del carrito */
        #ts-shopping-cart-sidebar .cart-icon {
            display: none !important;
        }

        /* Evitar que el dropdown del header se muestre en hover */
        .header-container .cart-dropdown-form,
        #header .cart-dropdown-form {
            display: none !important;
        }

        /* Solo mostrar el dropdown en el sidebar */
        #ts-shopping-cart-sidebar .cart-dropdown-form {
            display: block !important;
            position: relative !important;
            box-shadow: none !important;
            margin: 0 !important;
            width: 100% !important;
        }

        /* BOTONES MEJORADOS SIEMPRE 50% CADA UNO */
        .cart-dropdown-form .buttons {
            padding: 12px !important;
            display: flex !important;
            gap: 8px !important;
            background: linear-gradient(to bottom, #f9f9f9, #fff) !important;
            border-top: 1px solid #e5e5e5 !important;
        }

        .cart-dropdown-form .buttons .button {
            flex: 1 1 50% !important;
            width: 50% !important;
            max-width: 50% !important;
            padding: 12px 8px !important;
            text-align: center !important;
            font-size: 13px !important;
            line-height: 1.3 !important;
            border-radius: 5px !important;
            text-decoration: none !important;
            transition: all 0.3s ease !important;
            cursor: pointer !important;
            white-space: normal !important;
            word-wrap: break-word !important;
            min-height: 42px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            font-weight: 500 !important;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
        }

        /* Botón Ver presupuesto - Estilo secundario */
        .cart-dropdown-form .buttons .view-cart {
            background: #ffffff !important;
            color: #125BC9 !important;
            border: 2px solid #125BC9 !important;
        }

        .cart-dropdown-form .buttons .view-cart:hover {
            background: #125BC9 !important;
            color: #ffffff !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 3px 6px rgba(18, 91, 201, 0.3) !important;
        }

        /* Botón Solicitar presupuesto - Estilo primario */
        .cart-dropdown-form .buttons .checkout-button {
            background: linear-gradient(135deg, #125BC9 0%, #0d47a1 100%) !important;
            color: #ffffff !important;
            font-weight: 600 !important;
            border: 2px solid transparent !important;
        }

        .cart-dropdown-form .buttons .checkout-button:hover {
            background: linear-gradient(135deg, #0d47a1 0%, #0a3470 100%) !important;
            transform: translateY(-2px) !important;
            box-shadow: 0 4px 8px rgba(18, 91, 201, 0.4) !important;
        }

        /* Efectos activos */
        .cart-dropdown-form .buttons .button:active {
            transform: translateY(0) !important;
            box-shadow: 0 1px 2px rgba(0,0,0,0.1) !important;
        }


        /* Responsive para móvil */
        @media (max-width: 480px) {
            .cart-dropdown-form .buttons .button {
                font-size: 11px !important;
                padding: 8px 3px !important;
            }
        }

/* =====================================================================
   Estado VACÍO del presupuesto (sidebar + dropdown) — versión premium.
   Markup: merto_quote_empty_state() en includes/yith-quote-integration.php.
   Tokens del sitio (--yoo-*), botón en UNA sola línea, icono propio azul.
   ===================================================================== */
.cart-empty .yoo-quote-empty,
.yoo-quote-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 4px;
    padding: 48px 28px;
    min-height: 60vh;
}
/* Ilustración */
.yoo-quote-empty__art {
    width: 104px;
    height: 104px;
    margin-bottom: 18px;
}
.yoo-quote-empty__art svg { width: 100%; height: 100%; display: block; }
.yoo-quote-empty__halo {
    fill: var(--yoo-color-primary-soft, #eaf1fd);
    stroke: none;
}
.yoo-quote-empty__stroke {
    stroke: var(--yoo-color-primary, #125bc9);
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: .85;
}
.yoo-quote-empty__plus {
    stroke: var(--yoo-color-accent, #ff6b35);
    fill: none;
}
/* Textos */
.yoo-quote-empty__title {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: var(--yoo-font-weight-bold, 700);
    color: var(--yoo-color-text, #1a1a1a);
    line-height: 1.25;
}
.yoo-quote-empty__text {
    margin: 0 0 22px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--yoo-color-text-subtle, #8a8f98);
    max-width: 30ch;
}
/* CTA — SIEMPRE en una sola línea */
.yoo-quote-empty__cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    box-sizing: border-box;
    width: auto;
    min-width: 0;
    padding: 12px 22px !important;
    border-radius: var(--yoo-radius-pill, 999px) !important;
    background: var(--yoo-color-primary, #125bc9) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: var(--yoo-font-weight-semibold, 600) !important;
    line-height: 1 !important;
    text-transform: none !important;
    text-decoration: none !important;
    border: 1px solid var(--yoo-color-primary, #125bc9) !important;
    box-shadow: 0 8px 18px -10px var(--yoo-color-primary, #125bc9);
    transition: background-color .16s ease, transform .16s ease, box-shadow .16s ease;
    cursor: pointer;
}
.yoo-quote-empty__cta:hover {
    background: var(--yoo-color-primary-hover, #0f4ea8) !important;
    border-color: var(--yoo-color-primary-hover, #0f4ea8) !important;
    transform: translateY(-1px);
}
.yoo-quote-empty__cta:focus-visible {
    outline: 2px solid var(--yoo-color-text, #1a1a1a);
    outline-offset: 2px;
}
.yoo-quote-empty__cta:active { transform: translateY(0); }
.yoo-quote-empty__cta svg { width: 17px; height: 17px; flex: 0 0 auto; }
.yoo-quote-empty__cta::before,
.yoo-quote-empty__cta::after { content: none !important; } /* mata pseudo-iconos del tema */

/* Oculta el icono carrito-tachado nativo del tema en el vacío (lo sustituye el nuestro) */
.cart-empty .form-content > label,
.cart-dropdown-form.cart-empty .buttons { display: none !important; }

/* ====================================================================
 * FIX z-index: el botón flotante "Solicitar presupuesto" (módulo
 * floating-message, z-index:99999) se pintaba ENCIMA del desplegable del
 * carrito (queja del cliente 2026-07-17). El desplegable del carrito del tema
 * usa z-index 996 al abrir (.shopping-cart-wrapper:hover/.active
 * .dropdown-container). Bajamos la burbuja flotante por DEBAJO del carrito y de
 * la cabecera, manteniéndola por encima del contenido normal de la página.
 * Global (todas las páginas), sin tocar el plugin.
 *
 * Nota: el módulo pone z-index:99999 INLINE y con !important en su CSS, así que
 * necesitamos !important + alta especificidad para ganar.
 * ==================================================================== */
#yoo-floating-message.yoo-floating-message,
body #yoo-floating-message,
body .yoo-floating-message.yoo-fm-form-mode,
body .yoo-floating-message {
    z-index: 990 !important;
}
/* Cuando el carrito está ABIERTO (hover o activo), la burbuja se aparta del
 * todo para no competir con el desplegable ni con su capa. */
body:has(.shopping-cart-wrapper:hover) #yoo-floating-message,
body:has(.shopping-cart-wrapper.active) #yoo-floating-message,
body:has(.shopping-cart-wrapper:hover) .yoo-floating-message,
body:has(.shopping-cart-wrapper.active) .yoo-floating-message,
body:has(#ts-shopping-cart-sidebar.active) .yoo-floating-message,
body:has(.ts-sidebar.active) .yoo-floating-message {
    z-index: 1 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .18s ease;
}

/* ====================================================================
 * FIX contraste botones del carrito (queja cliente 2026-07-17):
 * "Ver presupuesto" salía con TEXTO BLANCO SOBRE BLANCO al pulsarlo/en el
 * SIDEBAR. Causa: la variante del sidebar (.ts-sidebar-content …view-cart)
 * NO fijaba color/fondo → heredaba texto blanco del tema sobre fondo blanco;
 * y faltaban estados :focus/:active explícitos.
 *
 * Se fijan colores LEGIBLES en TODOS los estados (normal, hover, focus, active)
 * para AMBAS variantes (dropdown del header + sidebar deslizante):
 *   - "Ver presupuesto" (.view-cart): secundario → fondo blanco, texto azul,
 *     borde azul; al pulsar/hover → fondo azul, texto blanco.
 *   - "Solicitar presupuesto" (.checkout-button): primario → fondo azul, texto
 *     blanco SIEMPRE.
 * Cubre header y sidebar con alta especificidad + !important para ganar al tema.
 * ==================================================================== */
/* --- "Ver presupuesto" (secundario) — TODOS los contextos y estados --- */
.cart-dropdown-form .buttons a.view-cart,
.ts-sidebar-content .cart-dropdown-form .buttons a.view-cart,
#ts-shopping-cart-sidebar .cart-dropdown-form .buttons a.view-cart {
    background: #ffffff !important;
    color: #125BC9 !important;
    border: 2px solid #125BC9 !important;
}
.cart-dropdown-form .buttons a.view-cart:hover,
.cart-dropdown-form .buttons a.view-cart:focus,
.cart-dropdown-form .buttons a.view-cart:active,
.ts-sidebar-content .cart-dropdown-form .buttons a.view-cart:hover,
.ts-sidebar-content .cart-dropdown-form .buttons a.view-cart:focus,
.ts-sidebar-content .cart-dropdown-form .buttons a.view-cart:active,
#ts-shopping-cart-sidebar .cart-dropdown-form .buttons a.view-cart:hover,
#ts-shopping-cart-sidebar .cart-dropdown-form .buttons a.view-cart:focus,
#ts-shopping-cart-sidebar .cart-dropdown-form .buttons a.view-cart:active {
    background: #125BC9 !important;
    color: #ffffff !important;
    border-color: #125BC9 !important;
}
/* --- "Solicitar presupuesto" (primario) — texto blanco sobre azul SIEMPRE --- */
.cart-dropdown-form .buttons a.checkout-button,
.cart-dropdown-form .buttons a.checkout-button:hover,
.cart-dropdown-form .buttons a.checkout-button:focus,
.cart-dropdown-form .buttons a.checkout-button:active,
.ts-sidebar-content .cart-dropdown-form .buttons a.checkout-button,
.ts-sidebar-content .cart-dropdown-form .buttons a.checkout-button:hover,
.ts-sidebar-content .cart-dropdown-form .buttons a.checkout-button:focus,
.ts-sidebar-content .cart-dropdown-form .buttons a.checkout-button:active,
#ts-shopping-cart-sidebar .cart-dropdown-form .buttons a.checkout-button,
#ts-shopping-cart-sidebar .cart-dropdown-form .buttons a.checkout-button:hover,
#ts-shopping-cart-sidebar .cart-dropdown-form .buttons a.checkout-button:focus,
#ts-shopping-cart-sidebar .cart-dropdown-form .buttons a.checkout-button:active {
    color: #ffffff !important;
}
/* Foco visible accesible en ambos botones (sin depender solo del color). */
.cart-dropdown-form .buttons a.button:focus-visible {
    outline: 2px solid #0d47a1 !important;
    outline-offset: 2px !important;
}
