/*
Theme Name:   Toyoauto Child
Theme URI:    https://vjseo.net/toyoauto-child
Description:  Tema Hijo corporativo personalizado para Toyoauto Venezuela. Desarrollado por VJSEO.
Author:       VJSEO
Author URI:   https://vjseo.net
Template:     storefront
Version:      1.3.0
Text Domain:  toyoauto-child
*/

/* ==========================================================================
   1. SISTEMA DE DISEÑO Y VARIABLES GLOBALES
   ========================================================================== */
:root {
    /* Paleta Corporativa Estricta (Toyoauto) */
    --toyo-red:          #C00812; /* Rojo Toyota */
    --toyo-red-hover:    #9e060e;
    --toyo-charcoal:     #333333; /* Gris Oscuro (Texto principal) */
    --toyo-slate:        #555D50; /* Gris Verdoso (Subtextos y labels) */
    --toyo-yellow:       #FED800; /* Amarillo Toyota (Alertas, acentos) */
    --toyo-white:        #FFFFFF; /* Fondo principal */
    --toyo-light-bg:     #F6F6F6; /* Fondo secundario */
    --toyo-border:       #EAEAEA; /* Bordes suaves */
    
    /* Variables de Componentes */
    --primary-color:     var(--toyo-red);
    --primary-hover:     var(--toyo-red-hover);
    --text-color:        var(--toyo-charcoal);
    --text-muted:        var(--toyo-slate);
    --accent-color:      var(--toyo-yellow);
    
    /* Configuración Overrides de Car Parts Filter (CPF) */
    --cpf-primary:        var(--toyo-red);
    --cpf-primary-hover:  var(--toyo-red-hover);
    --cpf-primary-text:   var(--toyo-white);
    --cpf-border:         var(--toyo-border);
    --cpf-border-radius:  8px;
    --cpf-bg:             var(--toyo-white);
    --cpf-font-size:      15px;
    --cpf-input-height:   48px;
    --cpf-badge-bg:       var(--toyo-slate);
    --cpf-badge-color:    var(--toyo-white);
    --cpf-clear-color:    #777777;
    --cpf-clear-hover:    var(--toyo-red);
}

/* ==========================================================================
   2. REGLAS GENERALES Y RESET DE ESTILOS STOREFRONT
   ========================================================================== */
body {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-color);
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--toyo-charcoal);
    font-weight: 700;
}

/* Contenedor estándar centrado */
.toyoauto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Ocultar elementos por defecto de Storefront para reemplazo total */
.site-header, .site-footer {
    display: none !important;
}

/* Sección del contenido principal */
#page.site {
    background-color: transparent !important;
}

.site-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background-color: #f8fafc !important;
    min-height: calc(100vh - 280px);
}

.toyoauto-standard-page {
    padding: 35px 0 60px 0 !important;
    width: 100%;
    box-sizing: border-box;
}

.toyoauto-standard-page .toyoauto-page-article,
.toyoauto-standard-page .hentry {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    background: transparent !important;
}

.woocommerce-notices-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin-bottom: 20px !important;
}

/* ==========================================================================
   3. CABECERA PREMIUM (TOP BAR & MAIN HEADER)
   ========================================================================== */

/* Topbar */
.toyoauto-topbar {
    background-color: var(--toyo-light-bg);
    border-top: 4px solid var(--toyo-red); /* Línea de color de marca */
    border-bottom: 1px solid var(--toyo-border);
    font-size: 13px;
    color: var(--text-muted);
    padding: 8px 0;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}
.toyoauto-topbar .toyoauto-container,
body.woocommerce-page .toyoauto-topbar .toyoauto-container,
body.woocommerce-account .toyoauto-topbar .toyoauto-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    height: auto !important;
}
.toyoauto-topbar .topbar-left,
.toyoauto-topbar .topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.toyoauto-topbar .topbar-divider {
    color: #DDD;
}
.toyoauto-topbar .topbar-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.toyoauto-topbar .topbar-link:hover {
    color: var(--toyo-red);
}

/* Main Header */
header#masthead.site-header,
header#masthead.toyoauto-header,
body.woocommerce-page header#masthead.site-header,
body.woocommerce-account header#masthead.site-header {
    display: block !important;
    background-color: var(--toyo-white) !important;
    border-bottom: 1px solid var(--toyo-border) !important;
    padding: 5px 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

header#masthead .toyoauto-container,
header#masthead .header-main-row,
body.woocommerce-page header#masthead .toyoauto-container,
body.woocommerce-page header#masthead .header-main-row,
body.woocommerce-account header#masthead .toyoauto-container,
body.woocommerce-account header#masthead .header-main-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    height: auto !important;
}

/* Reset y vertical center para columnas */
header#masthead .site-branding,
header#masthead .main-navigation,
header#masthead .header-actions,
body.woocommerce-page header#masthead .site-branding,
body.woocommerce-page header#masthead .main-navigation,
body.woocommerce-page header#masthead .header-actions {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
}

/* Logo */
.site-branding {
    flex-shrink: 0 !important;
}
.toyoauto-logo {
    height: 69px !important;
    width: auto !important;
    display: block !important;
}

/* Mobile Menu Toggle Button (Oculto en desktop) */
.mobile-menu-toggle {
    display: none !important;
    background: transparent !important;
    border: 1px solid var(--toyo-border) !important;
    border-radius: 6px !important;
    padding: 8px !important;
    cursor: pointer !important;
    color: var(--toyo-charcoal) !important;
    transition: all 0.2s ease !important;
    align-items: center;
    justify-content: center;
}
.mobile-menu-toggle:hover {
    color: var(--toyo-red) !important;
    border-color: var(--toyo-red) !important;
}

/* Navegación desktop forzada con media query */
@media (min-width: 768px) {
    .site-header.toyoauto-header .site-branding {
        float: none !important;
        width: auto !important;
        margin: 0 !important;
    }
    .site-header.toyoauto-header .main-navigation {
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        clear: none !important;
        display: flex !important;
        flex-grow: 1 !important;
        justify-content: center !important;
    }
    .toyoauto-header .main-navigation ul.nav-menu {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 18px !important; /* Más compacto para evitar saltos */
        background: transparent !important;
    }
    .toyoauto-header .main-navigation ul.nav-menu li {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }
    .toyoauto-header .main-navigation ul.nav-menu li a {
        color: var(--toyo-charcoal) !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.03em !important;
        text-decoration: none !important;
        transition: color 0.2s ease !important;
        padding: 8px 0 !important;
        position: relative !important;
        display: block !important;
        white-space: nowrap !important; /* Prevenir saltos de línea */
    }
    .toyoauto-header .main-navigation ul.nav-menu li a:after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 0 !important;
        height: 2px !important;
        background-color: var(--toyo-red) !important;
        transition: width 0.2s ease !important;
    }
    .toyoauto-header .main-navigation ul.nav-menu li a:hover {
        color: var(--toyo-red) !important;
    }
    .toyoauto-header .main-navigation ul.nav-menu li a:hover:after {
        width: 100% !important;
    }
}


/* Botones de acción en Header */
.toyoauto-header .header-actions {
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
}
.action-btn {
    position: relative !important;
    color: var(--toyo-charcoal) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    border: 1px solid var(--toyo-border) !important;
    transition: all 0.2s ease !important;
    background: var(--toyo-white) !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    outline: none !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}

.action-btn svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    stroke: #0f172a !important;
    fill: none !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    transition: stroke 0.2s ease, fill 0.2s ease, transform 0.2s ease !important;
}

.action-btn:hover {
    color: var(--toyo-red) !important;
    border-color: var(--toyo-red) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08) !important;
}

.action-btn:hover svg {
    stroke: var(--toyo-red) !important;
}


/* Cart Toggle Widget */
.toyoauto-cart-toggle {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 30px;
    border: 1px solid var(--toyo-border);
    background: var(--toyo-light-bg);
    transition: all 0.25s ease;
}
.toyoauto-cart-toggle:hover {
    border-color: var(--toyo-red);
    background: var(--toyo-white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.cart-icon-wrapper {
    position: relative;
    color: var(--toyo-charcoal);
    display: flex;
    align-items: center;
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--toyo-red);
    color: var(--toyo-white);
    font-size: 10px;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.cart-label {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.1;
}
.cart-total {
    font-size: 12px;
    font-weight: 700;
    color: var(--toyo-charcoal);
    line-height: 1.2;
}

/* Responsive Header & Navigation Structure (<= 991px) */
@media (max-width: 991px) {
    header#masthead.site-header,
    header#masthead.toyoauto-header {
        padding: 6px 0 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        background: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    header#masthead .header-main-row {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
        height: 54px !important;
    }

    /* 1. Botón Hamburguesa a la Izquierda */
    .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        order: 1 !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 8px !important;
        border: 1.5px solid #cbd5e1 !important;
        background: #f8fafc !important;
        color: #0f172a !important;
        padding: 0 !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        z-index: 10 !important;
        transition: all 0.2s ease !important;
    }
    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:active {
        background: #fef2f2 !important;
        border-color: var(--toyo-red) !important;
        color: var(--toyo-red) !important;
    }
    .mobile-menu-toggle svg {
        width: 24px !important;
        height: 24px !important;
        stroke: currentColor !important;
        stroke-width: 2.5 !important;
        display: block !important;
    }

    /* 2. Logotipo Centrado */
    .site-branding {
        order: 2 !important;
        flex: 1 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .toyoauto-logo {
        max-height: 34px !important;
        height: 34px !important;
        width: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

    /* 3. Navegación Desplegable en Móvil (Activada con el botón hamburguesa) */
    .desktop-only-nav {
        display: none !important;
    }
    .toyoauto-header .main-navigation,
    header#masthead .main-navigation {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        background: #ffffff !important;
        border-top: 1px solid #e2e8f0 !important;
        border-bottom: 3px solid var(--toyo-red) !important;
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12) !important;
        padding: 16px 20px !important;
        z-index: 99999 !important;
        box-sizing: border-box !important;
    }
    .toyoauto-header .main-navigation.toggled,
    header#masthead .main-navigation.toggled {
        display: block !important;
        animation: slideDownMobileNav 0.25s ease-out !important;
    }
    @keyframes slideDownMobileNav {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .toyoauto-header .main-navigation ul.nav-menu,
    header#masthead .main-navigation ul.nav-menu {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .toyoauto-header .main-navigation ul.nav-menu li,
    header#masthead .main-navigation ul.nav-menu li {
        width: 100% !important;
        border-bottom: 1px solid #f1f5f9 !important;
        padding-bottom: 8px !important;
        text-align: left !important;
    }
    .toyoauto-header .main-navigation ul.nav-menu li:last-child,
    header#masthead .main-navigation ul.nav-menu li:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    .toyoauto-header .main-navigation ul.nav-menu li a,
    header#masthead .main-navigation ul.nav-menu li a {
        display: block !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #1e293b !important;
        text-decoration: none !important;
        padding: 6px 0 !important;
        transition: color 0.2s ease !important;
    }
    .toyoauto-header .main-navigation ul.nav-menu li a:hover,
    header#masthead .main-navigation ul.nav-menu li a:hover {
        color: var(--toyo-red) !important;
    }

    /* 4. Acciones a la Derecha */
    .header-actions {
        order: 3 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
}


/* ==========================================================================
   4. HERO Y BUSCADOR DE VEHÍCULOS INTEGRADO (ESTILO MOBEX CLARO)
   ========================================================================== */
.toyoauto-hero-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(246, 246, 246, 0.91) 100%), url('assets/hero-bg.jpg') no-repeat center center / cover;
    padding: 55px 0 65px;
    border-bottom: 1px solid var(--toyo-border);
    margin-top: 0 !important;
}

.toyoauto-hero-content {
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
}

.toyoauto-badge {
    background-color: rgba(192, 8, 18, 0.08);
    color: var(--toyo-red);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 18px;
}

.toyoauto-hero-title {
    font-size: 2.65rem;
    font-weight: 800;
    color: var(--toyo-charcoal);
    line-height: 1.2;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toyoauto-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 35px;
    font-weight: 400;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Contenedor del buscador unificado */
.cpf-filter-wrap {
    background: var(--toyo-white) !important;
    padding: 30px !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 45px rgba(192, 8, 18, 0.04) !important;
    border: 1px solid var(--toyo-border) !important;
    border-top: 5px solid var(--toyo-red) !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    align-items: stretch !important;
}

/* Formulario Izquierdo (Dropdowns de nivel) */
.cpf-filter-form {
    flex: 1.4 1 450px !important;
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.cpf-selects-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    width: 100% !important;
}

.cpf-select-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    text-align: left !important;
}

/* Ocultar selector de Marca (Todo el catálogo es Toyota) */
.cpf-single-make-hidden,
.cpf-select-group.cpf-single-make-hidden,
.cpf-select-group[data-level="make"] {
    display: none !important;
}

.cpf-select-group label.cpf-select-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--toyo-charcoal) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 2px !important;
}

.cpf-select-group select.cpf-select {
    height: var(--cpf-input-height) !important;
    border: 1.5px solid #DDD !important;
    border-radius: var(--cpf-border-radius) !important;
    background-color: var(--toyo-light-bg) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--toyo-charcoal) !important;
    padding: 0 12px !important;
    width: 100% !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
}

.cpf-select-group select.cpf-select:focus {
    border-color: var(--toyo-red) !important;
    background-color: var(--toyo-white) !important;
    box-shadow: 0 0 0 3px rgba(192, 8, 18, 0.12) !important;
    outline: none !important;
}

/* Fila de Botones del formulario */
.cpf-buttons-row {
    margin-top: 15px !important;
    display: flex !important;
    gap: 10px !important;
    justify-content: flex-start !important;
}

.cpf-btn-search {
    height: var(--cpf-input-height) !important;
    background-color: var(--toyo-red) !important;
    color: var(--toyo-white) !important;
    border: none !important;
    border-radius: var(--cpf-border-radius) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 0 24px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(192, 8, 18, 0.2) !important;
}

.cpf-btn-search:hover {
    background-color: var(--toyo-red-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(192, 8, 18, 0.35) !important;
}

.cpf-btn-clear {
    height: var(--cpf-input-height) !important;
    background-color: transparent !important;
    color: var(--toyo-slate) !important;
    border: 1.5px solid var(--toyo-border) !important;
    border-radius: var(--cpf-border-radius) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 0 20px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}
.cpf-btn-clear:hover {
    color: var(--toyo-red) !important;
    border-color: var(--toyo-red) !important;
    background-color: rgba(192, 8, 18, 0.02) !important;
}

/* Lado Derecho (Búsqueda por VIN) */
.cpf-vin-search {
    flex: 1 1 300px !important;
    order: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    border-left: 1px solid var(--toyo-border) !important;
    padding-left: 30px !important;
    background: transparent !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
}

.cpf-vin-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
}

.cpf-vin-row label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--toyo-charcoal) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin: 0 !important;
}

.cpf-vin-row input#cpf-vin-input {
    width: 100% !important;
    height: var(--cpf-input-height) !important;
    border: 1.5px solid #DDD !important;
    border-radius: var(--cpf-border-radius) !important;
    background-color: var(--toyo-light-bg) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--toyo-charcoal) !important;
    padding: 0 15px !important;
    font-family: monospace !important;
    letter-spacing: 0.08em !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
}
.cpf-vin-row input#cpf-vin-input:focus {
    border-color: var(--toyo-red) !important;
    background-color: var(--toyo-white) !important;
    box-shadow: 0 0 0 3px rgba(192, 8, 18, 0.12) !important;
    outline: none !important;
}

.cpf-vin-row button#cpf-vin-btn {
    width: 100% !important;
    height: var(--cpf-input-height) !important;
    background-color: var(--toyo-charcoal) !important;
    color: var(--toyo-white) !important;
    border: none !important;
    border-radius: var(--cpf-border-radius) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
}
.cpf-vin-row button#cpf-vin-btn:hover {
    background-color: var(--toyo-red) !important;
    box-shadow: 0 4px 12px rgba(192, 8, 18, 0.2) !important;
}

/* Divisor O (OR) - Eliminado por requerimiento del usuario */
.cpf-filter-wrap::before {
    display: none !important;
}

.cpf-vin-separator {
    display: none !important; /* Ocultamos el separador original */
}

/* Ocultar el buscador por VIN y el divisor cuando los resultados estén activos */
.cpf-is-results-page .cpf-vin-search {
    display: none !important;
}
.cpf-is-results-page::before {
    display: none !important;
}

/* Diseño adaptivo del formulario */
@media (max-width: 991px) {
    .cpf-filter-wrap {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .cpf-filter-wrap::before {
        display: none !important;
    }
    .cpf-filter-form {
        flex: 1 1 auto !important;
        width: 100% !important;
    }
    .cpf-vin-search {
        flex: 1 1 auto !important;
        width: 100% !important;
        border-left: none !important;
        border-top: 1px solid var(--toyo-border) !important;
        padding-left: 0 !important;
        padding-top: 20px !important;
    }
    .cpf-selects-row {
        grid-template-columns: 1fr !important;
    }
    .cpf-buttons-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
    }
    .cpf-buttons-row .cpf-btn-search {
        width: 100% !important;
        height: 44px !important;
    }
    .cpf-buttons-row .cpf-btn-clear {
        width: 50% !important;
        height: 36px !important;
    }
    .cpf-vin-row button#cpf-vin-btn {
        height: 44px !important;
        width: 100% !important;
    }
}

/* ==========================================================================
   4.1 CONTENEDOR DE BÚSQUEDA POR OEM / NÚMERO DE PARTE (SEPARADO)
   ========================================================================== */
.toyoauto-oem-search-container {
    margin-top: 18px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.oem-search-label-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    text-align: left !important;
}

.oem-search-icon {
    font-size: 20px !important;
    line-height: 1 !important;
}

.oem-search-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    letter-spacing: 0.2px !important;
}

.oem-search-desc {
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #64748b !important;
}

.oem-search-form-wrap {
    flex-shrink: 0 !important;
}

.cpf-sku-search--standalone .cpf-sku-search-form {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
}

.cpf-sku-search--standalone .cpf-sku-search-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.cpf-sku-search--standalone input.cpf-sku-search-input {
    width: 175px !important;
    max-width: 175px !important;
    height: 38px !important;
    min-height: 38px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background-color: #f8fafc !important;
    font-family: monospace, Consolas, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    padding: 0 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.cpf-sku-search--standalone input.cpf-sku-search-input:focus {
    border-color: #C00812 !important;
    background-color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(192, 8, 18, 0.12) !important;
}

.cpf-sku-search--standalone button.cpf-sku-search-btn {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    border-radius: 6px !important;
    background: #C00812 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.1s ease !important;
    white-space: nowrap !important;
}

.cpf-sku-search--standalone button.cpf-sku-search-btn:hover {
    background: #9b060e !important;
    transform: translateY(-1px) !important;
}

@media (max-width: 768px) {
    .toyoauto-oem-search-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 14px 16px !important;
    }
    .oem-search-form-wrap,
    .cpf-sku-search--standalone,
    .cpf-sku-search-form,
    .cpf-sku-search-row {
        width: 100% !important;
    }
    .cpf-sku-search--standalone input.cpf-sku-search-input {
        flex: 1 !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* ==========================================================================
   5. SECCIÓN DE CATEGORÍAS (ICONOS CIRCULARES CON MÁS COLOR)
   ========================================================================== */
.toyoauto-categories-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--toyo-white) 0%, rgba(192, 8, 18, 0.02) 100%) !important;
    text-align: center;
}

.section-header {
    margin-bottom: 40px;
}
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--toyo-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    margin-bottom: 8px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--toyo-red);
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 15px;
}

/* Swipeable horizontal scroll en dispositivos móviles (UX de nivel mundial) */
@media (max-width: 767px) {
    .categories-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 15px !important;
        padding: 10px 20px !important;
        margin: 0 -20px !important;
        scrollbar-width: none !important; /* Ocultar scrollbar */
    }
    .categories-grid::-webkit-scrollbar {
        display: none !important;
    }
    .category-card {
        flex: 0 0 85px !important;
        scroll-snap-align: start !important;
    }
    .category-icon-circle {
        width: 70px !important;
        height: 70px !important;
    }
    .category-icon-circle svg {
        width: 28px !important;
        height: 28px !important;
    }
    .category-label {
        font-size: 11px !important;
    }
}

.category-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
}

.category-icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(192, 8, 18, 0.04) !important; /* Fondo sutil rojo de marca */
    border: 1.5px solid rgba(192, 8, 18, 0.15) !important; /* Borde rojo de marca */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--toyo-red) !important; /* Iconos rojos por defecto */
    transition: all 0.25s ease;
}

.category-icon-circle svg {
    width: 38px;
    height: 38px;
    fill: currentColor;
    transition: transform 0.25s ease;
}

.category-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--toyo-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
    text-align: center;
}

/* Hover effects */
.category-card:hover .category-icon-circle {
    background-color: var(--toyo-red) !important;
    border-color: var(--toyo-red) !important;
    box-shadow: 0 8px 24px rgba(192, 8, 18, 0.22) !important;
    color: var(--toyo-white) !important;
}
.category-card:hover .category-icon-circle svg {
    transform: scale(1.1);
}
.category-card:hover .category-label {
    color: var(--toyo-red);
}

/* ==========================================================================
   6. BANNERS PROMOCIONALES (ESTILO REJILLA PREMIUM)
   ========================================================================== */
.toyoauto-banners-section {
    padding: 20px 0 60px;
    background-color: var(--toyo-white);
}

.banners-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

@media (max-width: 991px) {
    .banners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.promo-banner {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: center;
    padding: 40px;
    border: 1px solid var(--toyo-border);
    transition: all 0.3s ease;
}
.promo-banner:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

/* Banner Principal */
.banner-lubricants {
    background: linear-gradient(270deg, #FFFFFF 40%, rgba(255,255,255,0.8) 70%, transparent 100%), url('assets/hero-bg.jpg') no-repeat center left / cover !important;
    background-blend-mode: normal !important; /* normal display instead of multiply to make it bright */
    justify-content: flex-end !important;
}

.banner-lubricants .banner-content {
    margin-left: auto !important;
    max-width: 50% !important;
}

/* Columna secundaria */
.banners-column-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.banner-batteries {
    background: linear-gradient(135deg, #FFFFFF 60%, rgba(254, 216, 0, 0.15)) !important;
    border-left: 4px solid var(--toyo-yellow) !important; /* Borde de color */
    min-height: 120px;
    padding: 20px;
}

.banner-tires {
    background: linear-gradient(135deg, #FFFFFF 60%, rgba(192, 8, 18, 0.08)) !important;
    border-left: 4px solid var(--toyo-red) !important; /* Borde de color */
    min-height: 120px;
    padding: 20px;
}

.banner-content {
    max-width: 60%;
    z-index: 2;
    text-align: left;
    display: block !important;
    position: relative !important;
}

.banner-subtitle {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: var(--toyo-red) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin: 0 0 6px 0 !important;
    display: block !important;
    position: static !important;
}

.banner-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--toyo-charcoal) !important;
    line-height: 1.2 !important;
    margin: 0 0 12px 0 !important;
    text-transform: uppercase !important;
    display: block !important;
    position: static !important;
}

.banner-text {
    font-size: 13px !important;
    color: var(--text-muted) !important;
    margin: 0 0 18px 0 !important;
    display: block !important;
    position: static !important;
}

.banner-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--toyo-charcoal) !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: color 0.2s ease !important;
    position: static !important;
}
.banner-btn svg {
    width: 14px !important;
    height: 14px;
    transition: transform 0.2s ease;
}
.banner-btn:hover {
    color: var(--toyo-red);
}
.banner-btn:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   7. GRILLA DE PRODUCTOS DESTACADOS (SOPORTE ALTO DE ESPECIFICIDAD)
   ========================================================================== */
.toyoauto-products-section {
    padding: 60px 0;
    background-color: var(--toyo-light-bg);
    border-top: 1px solid var(--toyo-border);
    border-bottom: 1px solid var(--toyo-border);
}

/* Forzar visualización de rejilla 4 columnas y 2 filas (8 items) */
body.woocommerce ul.products:not(.product-list),
body.woocommerce-page ul.products:not(.product-list),
.woocommerce ul.products:not(.product-list),
.toyoauto-products-section ul.products,
.toyoauto-products-grid {
    margin: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    list-style: none !important;
    clear: both !important;
}

/* Mobile responsive para productos (2 columnas y espaciados optimizados) */
@media (max-width: 991px) {
    body.woocommerce ul.products:not(.product-list),
    body.woocommerce-page ul.products:not(.product-list),
    .woocommerce ul.products:not(.product-list),
    .toyoauto-products-section ul.products,
    .toyoauto-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}
@media (max-width: 576px) {
    body.woocommerce ul.products:not(.product-list),
    body.woocommerce-page ul.products:not(.product-list),
    .woocommerce ul.products:not(.product-list),
    .toyoauto-products-section ul.products,
    .toyoauto-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

.toyoauto-product-card {
    position: relative !important;
}

/* Reset de flotados heredados y formato premium de la tarjeta */
body.woocommerce ul.products:not(.product-list) li.product,
body.woocommerce-page ul.products:not(.product-list) li.product,
.woocommerce ul.products:not(.product-list) li.product,
.toyoauto-products-section ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    background: var(--toyo-white) !important;
    border: 1px solid var(--toyo-border) !important;
    border-top: 4px solid var(--toyo-red) !important; /* Borde rojo superior */
    border-radius: 10px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

body.woocommerce ul.products:not(.product-list) li.product:hover,
body.woocommerce-page ul.products:not(.product-list) li.product:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(192, 8, 18, 0.08) !important; /* Sombra roja sutil */
    border-color: #D2D2D2 !important;
}

/* Eliminar cuadro/outline azul o morado al seleccionar o hacer clic en productos */
body.woocommerce ul.products li.product a,
body.woocommerce-page ul.products li.product a,
.woocommerce ul.products li.product a,
.toyoauto-products-section ul.products li.product a,
ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce-loop-product__link {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    -webkit-tap-highlight-color: transparent !important;
    text-decoration: none !important;
}

body.woocommerce ul.products li.product a:focus,
body.woocommerce ul.products li.product a:focus-visible,
body.woocommerce ul.products li.product a:active,
body.woocommerce-page ul.products li.product a:focus,
body.woocommerce-page ul.products li.product a:focus-visible,
body.woocommerce-page ul.products li.product a:active,
.woocommerce ul.products li.product a:focus,
.woocommerce ul.products li.product a:focus-visible,
.woocommerce ul.products li.product a:active,
.woocommerce-loop-product__link:focus,
.woocommerce-loop-product__link:focus-visible,
.woocommerce-loop-product__link:active,
.woocommerce-LoopProduct-link:focus,
.woocommerce-LoopProduct-link:focus-visible,
.woocommerce-LoopProduct-link:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

@media (max-width: 767px) {
    body.woocommerce ul.products li.product,
    body.woocommerce-page ul.products li.product {
        padding: 12px !important;
        border-radius: 8px !important;
    }
}

body.woocommerce ul.products li.product img,
body.woocommerce-page ul.products li.product img {
    margin-bottom: 15px !important;
    width: 100% !important;
    height: 160px !important; /* Fixed height for consistency */
    object-fit: contain !important;
    background-color: #FAFAFA !important;
    border-radius: 6px !important;
    padding: 10px !important;
    display: block !important;
}

body.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--toyo-charcoal) !important;
    line-height: 1.35 !important;
    height: 40px !important; /* Fixed height for 2 lines */
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin-bottom: 10px !important;
    padding: 0 !important;
}

@media (max-width: 767px) {
    body.woocommerce ul.products li.product .woocommerce-loop-product__title,
    body.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px !important;
        height: 36px !important;
        margin-bottom: 8px !important;
    }
}

body.woocommerce ul.products li.product .price,
body.woocommerce-page ul.products li.product .price {
    color: var(--toyo-red) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    margin-bottom: 15px !important;
    display: block !important;
}

@media (max-width: 767px) {
    body.woocommerce ul.products li.product .price,
    body.woocommerce-page ul.products li.product .price {
        font-size: 15px !important;
        margin-bottom: 10px !important;
    }
}

body.woocommerce ul.products li.product .button,
body.woocommerce-page ul.products li.product .button {
    background-color: var(--toyo-light-bg) !important;
    color: var(--toyo-charcoal) !important;
    border: 1px solid var(--toyo-border) !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}

@media (max-width: 767px) {
    body.woocommerce ul.products li.product .button,
    body.woocommerce-page ul.products li.product .button {
        padding: 8px 10px !important;
        font-size: 11px !important;
    }
}

body.woocommerce ul.products li.product:hover .button,
body.woocommerce-page ul.products li.product:hover .button {
    background-color: var(--toyo-red) !important;
    color: var(--toyo-white) !important;
    border-color: var(--toyo-red) !important;
    box-shadow: 0 4px 12px rgba(192, 8, 18, 0.2) !important;
}

/* ==========================================================================
   8. INFOGRAFÍA Y BENEFICIOS (TOYOAUTO TRUST)
   ========================================================================== */
.toyoauto-trust-section {
    padding: 50px 0;
    background-color: var(--toyo-white);
    border-bottom: 1px solid var(--toyo-border);
}

.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .trust-row {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .trust-row {
        grid-template-columns: 1fr;
    }
}

.trust-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.trust-card:hover {
    background-color: rgba(192, 8, 18, 0.03);
}

.trust-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(192, 8, 18, 0.07) !important;
    border: 1px solid rgba(192, 8, 18, 0.15) !important;
    color: var(--toyo-red);
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-icon svg {
    width: 24px;
    height: 24px;
}

.trust-info {
    text-align: left;
}
.trust-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--toyo-charcoal);
    margin-bottom: 4px;
}
.trust-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.3;
}

/* ==========================================================================
   9. SECCIÓN DE MARCAS Y FABRICANTES
   ========================================================================== */
.toyoauto-brands-section {
    padding: 40px 0;
    background-color: var(--toyo-white);
    text-align: center;
    border-bottom: 1px solid var(--toyo-border);
}
.brands-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}
.brands-row:hover {
    opacity: 1;
}
.brand-item {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--toyo-slate);
    letter-spacing: 0.15em;
    transition: color 0.2s;
}
.brand-item:hover {
    color: var(--toyo-red);
}

/* ==========================================================================
   10. PIE DE PÁGINA PERSONALIZADO (TOYOAUTO CUSTOM FOOTER)
   ========================================================================== */
.toyoauto-footer {
    display: block !important;
    background-color: var(--toyo-light-bg);
    border-top: 1px solid var(--toyo-border);
    padding: 60px 0 0;
    color: var(--toyo-charcoal);
}

.footer-widgets-row {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 35px;
    align-items: start;
    margin-bottom: 40px;
}

@media (max-width: 991px) {
    .footer-widgets-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .footer-spacer-col {
        display: none !important;
    }
}
@media (max-width: 576px) {
    .footer-widgets-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.footer-spacer-col {
    min-height: 1px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.footer-logo {
    height: 48px;
    width: auto;
    align-self: flex-start;
}

.footer-bio {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0;
}

.footer-contact-info p {
    font-size: 13px;
    margin: 4px 0;
    color: var(--toyo-charcoal);
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--toyo-charcoal);
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 8px;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--toyo-red);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links li a {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links li a:hover {
    color: var(--toyo-red);
    padding-left: 4px;
}

.footer-text {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.footer-newsletter-form {
    display: flex;
    gap: 8px;
}
.footer-input {
    flex-grow: 1;
    height: 40px;
    border: 1px solid var(--toyo-border);
    border-radius: 4px;
    padding: 0 12px;
    font-size: 13px;
    box-sizing: border-box;
}
.footer-submit-btn {
    height: 40px;
    background-color: var(--toyo-red);
    color: var(--toyo-white);
    border: none;
    border-radius: 4px;
    padding: 0 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s;
}
.footer-submit-btn:hover {
    background-color: var(--toyo-red-hover);
}

/* Subfooter */
.toyoauto-subfooter {
    background-color: #EEEEEE;
    border-top: 1px solid var(--toyo-border);
    padding: 18px 0;
    font-size: 12.5px;
    color: var(--text-muted);
    text-align: center !important;
}
.subfooter-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
}
.copyright-text {
    margin: 0 !important;
    text-align: center !important;
    width: 100% !important;
    color: #475569 !important;
    font-size: 12.5px !important;
}
.copyright-text strong {
    color: #0f172a !important;
}
.copyright-text a.footer-dev-link {
    color: #C00812 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s ease, text-decoration 0.2s ease !important;
}
.copyright-text a.footer-dev-link:hover {
    color: #990008 !important;
    text-decoration: underline !important;
}

/* Footer Container Constraints across all page templates */
.toyoauto-footer .toyoauto-container,
.toyoauto-footer .footer-widgets-row,
.toyoauto-subfooter .toyoauto-container,
.toyoauto-subfooter .subfooter-row,
body.woocommerce-page .toyoauto-footer .toyoauto-container,
body.woocommerce-page .toyoauto-footer .footer-widgets-row,
body.woocommerce-account .toyoauto-footer .toyoauto-container,
body.woocommerce-account .toyoauto-footer .footer-widgets-row,
body.woocommerce-page .toyoauto-subfooter .toyoauto-container,
body.woocommerce-page .toyoauto-subfooter .subfooter-row,
body.woocommerce-account .toyoauto-subfooter .toyoauto-container,
body.woocommerce-account .toyoauto-subfooter .subfooter-row {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

/* Floating WhatsApp Widget Eliminado de todo el sitio web */
.toyoauto-whatsapp-float {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* ==========================================================================
   12. PURE CSS GRID: 4 COLUMNAS X 2 FILAS (8 PRODUCTOS DESTACADOS)
   ========================================================================== */

.toyoauto-products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.toyoauto-product-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: var(--toyo-white) !important;
    border: 1px solid var(--toyo-border) !important;
    border-top: 4px solid var(--toyo-red) !important;
    border-radius: 10px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.toyoauto-product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(192, 8, 18, 0.08) !important;
    border-color: #D2D2D2 !important;
}

.toyoauto-product-card a {
    text-decoration: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.toyoauto-product-card img {
    height: 160px !important;
    width: 100% !important;
    object-fit: contain !important;
    margin-bottom: 15px !important;
}

.toyoauto-product-card h2,
.toyoauto-product-card .woocommerce-loop-product__title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--toyo-charcoal) !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
    height: 40px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.toyoauto-product-card .price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--toyo-red) !important;
    margin-bottom: 15px !important;
}

.toyoauto-product-card .button {
    background-color: #f6f6f6 !important;
    color: var(--toyo-charcoal) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 10px 15px !important;
    border-radius: 6px !important;
    text-align: center !important;
    border: 1px solid var(--toyo-border) !important;
    transition: all 0.2s !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

.toyoauto-product-card .button:hover {
    background-color: var(--toyo-red) !important;
    color: var(--toyo-white) !important;
    border-color: var(--toyo-red) !important;
}

/* Responsivo para tablets y móviles */
@media (max-width: 991px) {
    .toyoauto-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}
@media (max-width: 576px) {
    .toyoauto-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .toyoauto-product-card {
        padding: 12px !important;
    }
    .toyoauto-product-card img {
        height: 120px !important;
    }
}

/* ==========================================================================
   13. FULL-WIDTH SHOP LAYOUT (REMOVAL OF SIDEBAR WIDGETS)
   ========================================================================== */
body.woocommerce-page #secondary.widget-area,
body.post-type-archive-product #secondary.widget-area,
body.tax-product_cat #secondary.widget-area,
body.search-results #secondary.widget-area {
    display: none !important;
}

body.woocommerce-page #primary.content-area,
body.post-type-archive-product #primary.content-area,
body.tax-product_cat #primary.content-area,
body.search-results #primary.content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.woocommerce-page .site-content .col-full,
body.post-type-archive-product .site-content .col-full {
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* ==========================================================================
   14. EBAY-STYLE HORIZONTAL PRODUCT LIST & CATALOG REDESIGN
   ========================================================================== */

/* Contenedor General de la Lista */
ul.products.product-list,
.woocommerce ul.products.product-list,
body.woocommerce-page ul.products.product-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    list-style: none !important;
    margin: 15px 0 40px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    clear: both !important;
    float: none !important;
}

/* Fila de Producto (Card Horizontal: 160px | Flexible | 190px) */
ul.products.product-list li.product,
.woocommerce ul.products.product-list li.product,
body.woocommerce-page ul.products.product-list li.product {
    display: grid !important;
    grid-template-columns: 160px minmax(0, 1fr) 190px !important;
    gap: 24px !important;
    align-items: start !important;
    padding: 18px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
}

ul.products.product-list li.product:hover,
body.woocommerce-page ul.products.product-list li.product:hover {
    transform: none !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07) !important;
    border-color: #cbd5e1 !important;
}

/* Anular reglas de float y clear heredadas */
ul.products.product-list li.product:nth-child(n),
ul.products.product-list li.first,
ul.products.product-list li.last {
    clear: none !important;
    margin: 0 !important;
    float: none !important;
    width: 100% !important;
}

/* Columna 1: Imagen del Producto (160 x 140 px) */
.product-thumb-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 160px !important;
    height: 140px !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    background: #f8fafc !important;
    border: 1px solid #edf2f7 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 6px !important;
    box-sizing: border-box !important;
}

.product-thumb-link img,
.product-thumb-link .product-img {
    width: 100% !important;
    height: 100% !important;
    max-height: 128px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 !important;
    display: block !important;
}

/* Columna 2: Información Central del Producto */
.product-info-wrap {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    min-width: 0 !important;
    text-align: left !important;
}

/* Título del Producto */
.product-title-link {
    text-decoration: none !important;
    display: block !important;
    margin: 0 0 10px 0 !important;
}

.product-title,
ul.products.product-list li.product h2,
ul.products.product-list li.product .woocommerce-loop-product__title {
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #111827 !important;
    text-align: left !important;
    transition: color 0.15s ease !important;
}

.product-title-link:hover .product-title {
    color: #C00812 !important;
}

/* Detalles del Producto */
.product-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    text-align: left !important;
}

.detail-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
}

.detail-label {
    color: #C00812 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.detail-value {
    color: #4b5563 !important;
    font-weight: 500 !important;
}

.detail-value a {
    color: #4b5563 !important;
    text-decoration: none !important;
}

.detail-value a:hover {
    color: #C00812 !important;
    text-decoration: underline !important;
}

.oem-values {
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

/* Columna 3: Compra y Precio */
.product-actions-col {
    grid-column: 3 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    min-height: 140px !important;
    width: 190px !important;
    box-sizing: border-box !important;
}

.product-price,
ul.products.product-list li.product .price,
ul.products.product-list li.product .product-price {
    color: #C00812 !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    margin: 0 !important;
    text-align: right !important;
    display: block !important;
}

.product-price .amount,
ul.products.product-list li.product .price .amount {
    color: #C00812 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
}

.product-add-to-cart-wrap {
    width: 100% !important;
}

.product-add-to-cart-wrap a.button,
.product-add-to-cart-wrap a.add_to_cart_button,
.product-add-to-cart {
    width: 100% !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #C00812 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.1s ease !important;
    padding: 10px 14px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.product-add-to-cart-wrap a.button:hover,
.product-add-to-cart-wrap a.add_to_cart_button:hover,
.product-add-to-cart:hover {
    background: #9b060e !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   15. LAYOUT DE 2 COLUMNAS (SIDEBAR DE 2DO NIVEL CUANDO HAY FILTRO ACTIVO)
   ========================================================================== */
.toyoauto-catalog-wrapper {
    display: flex !important;
    gap: 30px !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin-top: 25px !important;
    margin-bottom: 60px !important;
}

.toyoauto-secondary-sidebar {
    width: 270px !important;
    flex-shrink: 0 !important;
    position: sticky !important;
    top: 90px !important;
}

.toyoauto-catalog-main {
    flex: 1 !important;
    min-width: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ocultar contenedores de filtro horizontal, selector de orden y etiquetas activas en los resultados */
body.toyoauto-has-vehicle-filter .cpf-shop-filter-wrap,
body.toyoauto-has-vehicle-filter .cpf-filter-wrap,
body.toyoauto-has-vehicle-filter .cpf-filtering-by-native,
body.toyoauto-has-vehicle-filter .cpf-active-filters,
body.toyoauto-has-vehicle-filter .storefront-sorting,
body.toyoauto-has-vehicle-filter .woocommerce-ordering,
body.toyoauto-has-vehicle-filter .woocommerce-result-count,
.toyoauto-catalog-main .cpf-shop-filter-wrap,
.toyoauto-catalog-main .cpf-filter-wrap,
.toyoauto-catalog-main .cpf-filtering-by-native,
.toyoauto-catalog-main .cpf-active-filters,
.toyoauto-catalog-main .storefront-sorting,
.toyoauto-catalog-main .woocommerce-ordering,
.toyoauto-catalog-main .woocommerce-result-count,
.toyoauto-catalog-main > .woocommerce-products-header {
    display: none !important;
}

/* Iniciar lista de productos inmediatamente alineada con la tarjeta de Vehículo Filtrado */
.toyoauto-catalog-main ul.products,
.toyoauto-catalog-main ul.products.product-list,
.toyoauto-catalog-main .woocommerce-page ul.products.product-list {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.toyoauto-catalog-main ul.products.product-list li.product:first-child {
    margin-top: 0 !important;
}

/* Tarjeta del vehículo activo en sidebar */
.toyoauto-active-vehicle-card {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 4px solid #C00812 !important;
    border-radius: 8px !important;
    padding: 18px !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

.active-vehicle-header {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.active-vehicle-fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    margin-bottom: 16px !important;
}

.vehicle-field-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    background: #f8fafc !important;
    padding: 8px 10px !important;
    border-radius: 6px !important;
    border: 1px solid #edf2f7 !important;
}

.vehicle-field-label {
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #C00812 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.vehicle-field-val {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    line-height: 1.25 !important;
}

.vehicle-field-val.vehicle-vin-val {
    font-family: monospace, Consolas, sans-serif !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    color: #0f172a !important;
    word-break: break-all !important;
}

.vehicle-field-val.vehicle-model-val {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

.vehicle-field-val.vehicle-year-val {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #111827 !important;
}

/* Aviso de Serial de Carrocería no identificado */
.vehicle-unidentified-notice {
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    color: #92400e !important;
    padding: 9px 12px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    line-height: 1.35 !important;
    margin-top: 4px !important;
}

.vehicle-unidentified-notice .unidentified-icon {
    font-size: 14px !important;
    flex-shrink: 0 !important;
}

/* Ocultar títulos por defecto de Shop / Tienda */
.woocommerce-products-header,
.woocommerce-products-header__title,
.woocommerce-page h1.page-title,
.woocommerce-breadcrumb {
    display: none !important;
}

/* Contenedor estándar y márgenes de la industria para Catálogo y Tienda */
.woocommerce-page #primary,
.woocommerce-page .site-main,
.woocommerce-page #content,
.toyoauto-catalog-wrapper,
.woocommerce-page .products.product-list {
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.woocommerce-page .site-main {
    padding: 24px 20px !important;
}

.change-vehicle-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #C00812 !important;
    text-decoration: none !important;
    border: 1.5px solid #C00812 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    background: #ffffff !important;
}

.change-vehicle-btn:hover {
    background: #C00812 !important;
    color: #ffffff !important;
}

/* Categorías secundarias */
.toyoauto-sidebar-categories {
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 18px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.sidebar-widget-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 0 14px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.sidebar-cat-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sidebar-cat-list li {
    margin-bottom: 8px !important;
}

.sidebar-cat-list li a {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 6px 8px !important;
    border-radius: 4px !important;
    transition: all 0.15s ease !important;
}

.sidebar-cat-list li a:hover,
.sidebar-cat-list li.current-cat a {
    background: #fef2f2 !important;
    color: #C00812 !important;
}

.sidebar-cat-list .cat-count {
    font-size: 11px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

/* Ocultar el formulario top horizontal de CPF cuando ya hay un filtro vehicular activo */
body.toyoauto-has-vehicle-filter .cpf-before-filter-form,
body.toyoauto-has-vehicle-filter .cpf-container-horizontal,
body.toyoauto-has-vehicle-filter .cpf-vin-search {
    display: none !important;
}

/* ==========================================================================
   ADAPTACIÓN RESPONSIVA
   ========================================================================== */
@media (max-width: 991px) {
    .toyoauto-catalog-wrapper {
        flex-direction: column !important;
    }
    .toyoauto-secondary-sidebar {
        width: 100% !important;
        position: static !important;
    }
}

@media (max-width: 767px) {
    ul.products.product-list li.product,
    .woocommerce ul.products.product-list li.product,
    body.woocommerce-page ul.products.product-list li.product {
        grid-template-columns: 110px minmax(0, 1fr) !important;
        gap: 14px !important;
        padding: 14px !important;
    }

    .product-thumb-link {
        width: 110px !important;
        height: 110px !important;
    }

    .product-title {
        font-size: 15px !important;
    }

    .product-actions-col {
        grid-column: 1 / span 2 !important;
        grid-row: 2 !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: auto !important;
        width: 100% !important;
        margin-top: 10px !important;
        padding-top: 10px !important;
        border-top: 1px solid #f1f5f9 !important;
    }

    .product-add-to-cart-wrap {
        width: auto !important;
    }

    .product-add-to-cart-wrap a.button {
        padding: 8px 16px !important;
    }
}

/* ==========================================================================
   11. PÁGINAS GENERALES: HERO DE PÁGINA
   ========================================================================== */
.toyoauto-page-hero {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%) !important;
    color: #ffffff !important;
    padding: 50px 0 45px !important;
    text-align: center !important;
    border-bottom: 3px solid #C00812 !important;
}

.toyoauto-hero-badge {
    display: inline-block !important;
    background: rgba(192, 8, 18, 0.2) !important;
    border: 1px solid #C00812 !important;
    color: #ff4d58 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    margin-bottom: 12px !important;
}

.toyoauto-page-hero .page-title {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin: 0 0 10px !important;
    letter-spacing: -0.5px !important;
}

.toyoauto-page-hero .page-subtitle {
    font-size: 1.05rem !important;
    color: #9ca3af !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
}

/* ==========================================================================
   12. MI CUENTA (WOOCOMMERCE MY ACCOUNT)
   ========================================================================== */
body.woocommerce-account.logged-in .site-main,
body.woocommerce-account.logged-in main.site-main > .toyoauto-container,
body.woocommerce-account.logged-in .site-main .toyoauto-container {
    max-width: 1200px !important;
    margin: 35px auto 60px auto !important;
    padding: 0 20px !important;
}

body.woocommerce-account:not(.logged-in) .site-main,
body.woocommerce-account:not(.logged-in) main.site-main > .toyoauto-container,
body.woocommerce-account:not(.logged-in) .site-main .toyoauto-container {
    max-width: 1200px !important;
    margin: 35px auto 60px auto !important;
    padding: 0 20px !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* Formularios de Login y Registro */
.woocommerce-account .u-columns.col2-set {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 35px !important;
    margin-top: 20px !important;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce-account h2 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #f1f5f9 !important;
}

.woocommerce form .form-row {
    margin-bottom: 18px !important;
    padding: 0 !important;
}

.woocommerce form .form-row label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
}

.woocommerce form .form-row .input-text {
    width: 100% !important;
    height: 44px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    background-color: #f8fafc !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.woocommerce form .form-row .input-text:focus {
    border-color: #C00812 !important;
    background-color: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(192, 8, 18, 0.12) !important;
}

.woocommerce-form-login__rememberme {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: #64748b !important;
    margin-top: 10px !important;
}

.woocommerce-LostPassword a {
    color: #C00812 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.woocommerce-LostPassword a:hover {
    text-decoration: underline !important;
}

.woocommerce button.button.woocommerce-form-login__submit,
.woocommerce button.button.woocommerce-form-register__submit,
.woocommerce-Button.button {
    background: #C00812 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.woocommerce button.button.woocommerce-form-login__submit:hover,
.woocommerce button.button.woocommerce-form-register__submit:hover,
.woocommerce-Button.button:hover {
    background: #9b060e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(192, 8, 18, 0.25) !important;
}

/* Dashboard de Mi Cuenta (Usuario Conectado) */
.woocommerce-account .woocommerce {
    display: flex !important;
    gap: 30px !important;
    align-items: flex-start !important;
}

.woocommerce-MyAccount-navigation {
    flex: 0 0 250px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 15px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.woocommerce-MyAccount-navigation li a {
    display: block !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    color: #334155 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-MyAccount-navigation li a:hover {
    background-color: #f8fafc !important;
    color: #C00812 !important;
    padding-left: 20px !important;
}

.woocommerce-MyAccount-navigation li.is-active a {
    background-color: #C00812 !important;
    color: #ffffff !important;
}

.woocommerce-MyAccount-content {
    flex: 1 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    line-height: 1.7 !important;
}

.woocommerce-MyAccount-content p {
    color: #475569 !important;
    font-size: 14.5px !important;
    margin-bottom: 15px !important;
}

.woocommerce-MyAccount-content strong {
    color: #0f172a !important;
}

/* Avisos WooCommerce */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    position: relative !important;
    border-radius: 8px !important;
    padding: 14px 20px 14px 48px !important;
    margin-bottom: 25px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    list-style: none !important;
}

.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}

.woocommerce-message {
    background: #f0fdf4 !important;
    border-left: 4px solid #16a34a !important;
    color: #166534 !important;
}

.woocommerce-info {
    background: #eff6ff !important;
    border-left: 4px solid #2563eb !important;
    color: #1e40af !important;
}

.woocommerce-error {
    background: #fef2f2 !important;
    border-left: 4px solid #dc2626 !important;
    color: #991b1b !important;
}

/* ==========================================================================
   13. PREGUNTAS FRECUENTES (FAQS)
   ========================================================================== */
.toyoauto-faq-content-section {
    padding: 50px 0 70px !important;
    background: #f8fafc !important;
}

.faq-layout-grid {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 40px !important;
    align-items: flex-start !important;
}

.faq-sidebar-nav {
    position: sticky !important;
    top: 90px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.faq-nav-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.faq-nav-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #111827 !important;
    margin: 0 0 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #f1f5f9 !important;
}

.faq-nav-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.faq-nav-link {
    display: block !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.faq-nav-link:hover,
.faq-nav-link.active {
    background-color: #fee2e2 !important;
    color: #C00812 !important;
}

.faq-help-box {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 22px !important;
    text-align: center !important;
}

.faq-help-box h4 {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    margin: 0 0 8px !important;
}

.faq-help-box p {
    font-size: 12.5px !important;
    color: #94a3b8 !important;
    margin-bottom: 15px !important;
    line-height: 1.5 !important;
}

.faq-help-box a.toyoauto-btn,
.faq-help-box .toyoauto-btn-whatsapp,
.toyoauto-btn-whatsapp {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
    border: none !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.faq-help-box a.toyoauto-btn:hover,
.faq-help-box .toyoauto-btn-whatsapp:hover,
.toyoauto-btn-whatsapp:hover {
    background: #1eb956 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45) !important;
}

.faq-group {
    margin-bottom: 35px !important;
}

.faq-group-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 16px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

.faq-group-icon {
    font-size: 20px !important;
}

.faq-group-title {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

.faq-accordion-item {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    margin-bottom: 12px !important;
    overflow: hidden !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.faq-accordion-item:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

.faq-accordion-item.active {
    border-color: #C00812 !important;
    box-shadow: 0 4px 16px rgba(192, 8, 18, 0.08) !important;
}

.faq-accordion-item:focus,
.faq-accordion-item:focus-visible,
.faq-accordion-item:focus-within {
    outline: none !important;
    box-shadow: none !important;
}

.faq-accordion-btn {
    width: 100% !important;
    padding: 16px 20px !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: left !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    cursor: pointer !important;
    gap: 15px !important;
    -webkit-tap-highlight-color: transparent !important;
}

.faq-accordion-btn:focus,
.faq-accordion-btn:focus-visible,
.faq-accordion-btn:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.faq-accordion-item.active .faq-accordion-btn {
    color: #C00812 !important;
}

.faq-icon-toggle {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #64748b !important;
    line-height: 1 !important;
    transition: transform 0.2s ease !important;
}

.faq-accordion-item.active .faq-icon-toggle {
    color: #C00812 !important;
}

.faq-accordion-body {
    display: none !important;
    padding: 0 20px 18px !important;
    font-size: 14px !important;
    color: #475569 !important;
    line-height: 1.65 !important;
}

.faq-accordion-item.active .faq-accordion-body {
    display: block !important;
}

.faq-accordion-body ul {
    margin: 8px 0 0 18px !important;
    padding: 0 !important;
}

.faq-accordion-body li {
    margin-bottom: 6px !important;
}

/* ==========================================================================
   14. CONTACTO Y COTIZACIONES
   ========================================================================== */
.toyoauto-contact-content-section {
    padding: 50px 0 70px !important;
    background: #f8fafc !important;
}

.contact-cards-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    max-width: 860px !important;
    margin: 0 auto 40px !important;
}

.contact-info-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 20px 24px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.contact-info-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
    border-color: #cbd5e1 !important;
}

.contact-card-left {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    flex: 1 !important;
}

.contact-card-icon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.contact-card-icon svg {
    width: 26px !important;
    height: 26px !important;
}

.contact-card-icon.whatsapp-color {
    background: #dcfce7 !important;
    color: #16a34a !important;
}

.contact-card-icon.email-color {
    background: #fee2e2 !important;
    color: #C00812 !important;
}

.contact-card-icon.location-color {
    background: #e0e7ff !important;
    color: #4f46e5 !important;
}

.contact-card-icon.time-color {
    background: #fef3c7 !important;
    color: #d97706 !important;
}

.contact-card-content {
    flex: 1 !important;
}

.contact-card-content h3 {
    font-size: 15.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 3px !important;
}

.contact-highlight {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #C00812 !important;
    margin: 0 0 3px !important;
}

.contact-desc {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.contact-card-action {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.card-link-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    background: #f1f5f9 !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.2s ease !important;
}

.card-link-btn:hover {
    background: #e2e8f0 !important;
    color: #C00812 !important;
}

@media (max-width: 768px) {
    .contact-info-card {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }
    .contact-card-action {
        width: 100% !important;
    }
    .contact-card-action .toyoauto-btn,
    .contact-card-action .card-link-btn {
        width: 100% !important;
    }
}

.card-link:hover {
    text-decoration: underline !important;
}

.card-badge {
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}

.card-badge.status-online {
    background: #dcfce7 !important;
    color: #16a34a !important;
}

/* Formulario de Contacto y Cotizaciones */
.contact-form-wrapper {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 35px 40px !important;
    max-width: 860px !important;
    margin: 0 auto !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04) !important;
}

.contact-form-header {
    text-align: center !important;
    margin-bottom: 30px !important;
}

.form-title {
    font-size: 1.6rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 0 8px !important;
}

.form-subtitle {
    font-size: 14px !important;
    color: #64748b !important;
    max-width: 580px !important;
    margin: 0 auto !important;
}

.toyoauto-custom-form .form-row-2col {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
}

.toyoauto-custom-form .form-group {
    margin-bottom: 18px !important;
}

.toyoauto-custom-form label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
}

.toyoauto-custom-form .required {
    color: #C00812 !important;
}

.toyoauto-custom-form .optional {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
}

.toyoauto-custom-form input,
.toyoauto-custom-form textarea {
    width: 100% !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
}

.toyoauto-custom-form input {
    height: 44px !important;
}

.toyoauto-custom-form input:focus,
.toyoauto-custom-form textarea:focus {
    border-color: #C00812 !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(192, 8, 18, 0.12) !important;
}

.toyoauto-btn-whatsapp {
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3) !important;
}

.toyoauto-btn-whatsapp:hover {
    background: #1ebc57 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4) !important;
}

/* ==========================================================================
   15. RESPONSIVE MEDIA QUERIES PARA PÁGINAS GENERALES
   ========================================================================== */
@media (max-width: 991px) {
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .faq-layout-grid {
        grid-template-columns: 1fr !important;
    }
    .faq-sidebar-nav {
        position: static !important;
    }
    .woocommerce-account .woocommerce {
        flex-direction: column !important;
    }
    .woocommerce-MyAccount-navigation {
        width: 100% !important;
        flex: 1 1 100% !important;
    }
    .woocommerce-account .u-columns.col2-set {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 576px) {
    .contact-cards-grid {
        grid-template-columns: 1fr !important;
    }
    .toyoauto-custom-form .form-row-2col {
        grid-template-columns: 1fr !important;
    }
    .contact-form-wrapper {
        padding: 25px 20px !important;
    }
}

/* ==========================================================================
   16. OCULTAR ENLACES DIRECTOS A /SHOP/ (CPF RESET LINK)
   ========================================================================== */
.cpf-reset-link,
p.cpf-reset-link,
.cpf-clear-link,
a.cpf-reset-link,
a[href*="/shop/"][class*="reset"],
.toyoauto-catalog-wrapper .cpf-reset-link {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.toyoauto-no-products-card .toyoauto-btn:hover {
    transform: translateY(-2px) !important;
    filter: brightness(0.92) !important;
}

/* ==========================================================================
   17. ELIMINAR CONTADOR Y ORDENAMIENTO INFERIOR EN EL LOOP
   ========================================================================== */
.toyoauto-catalog-main .storefront-sorting:last-child .woocommerce-ordering,
.toyoauto-catalog-main .storefront-sorting:last-child .woocommerce-result-count,
.woocommerce-after-shop-loop .woocommerce-ordering,
.woocommerce-after-shop-loop .woocommerce-result-count,
.site-main > .storefront-sorting:last-of-type .woocommerce-ordering,
.site-main > .storefront-sorting:last-of-type .woocommerce-result-count {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   18. OCULTAR CINTILLO / TÍTULO "MY ACCOUNT"
   ========================================================================== */
.woocommerce-account .entry-header,
.woocommerce-account .page-header,
.woocommerce-account .entry-title {
    display: none !important;
}

/* ==========================================================================
   19. COMPONENTE "MI GARAJE" (HEADER & TOPBAR)
   ========================================================================== */
.vehicle-garage {
    position: relative;
    z-index: 999;
}

.vehicle-garage__toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 7px 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
}

.vehicle-garage__toggle:hover,
.vehicle-garage__toggle[aria-expanded="true"] {
    background: #fee2e2 !important;
    border-color: #C00812 !important;
    color: #C00812 !important;
}

.vehicle-garage__toggle .garage-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    background: #C00812 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin-left: 2px !important;
}

.vehicle-garage__menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    width: min(380px, 92vw) !important;
    padding: 14px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.15) !important;
    z-index: 1000 !important;
}

.vehicle-garage__header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.vehicle-garage__empty {
    font-size: 13px !important;
    color: #64748b !important;
    padding: 20px 8px !important;
    text-align: center !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.vehicle-garage__item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    border: 1px solid #f1f5f9 !important;
    background: #f8fafc !important;
    border-radius: 10px !important;
    padding: 10px 12px !important;
    margin-bottom: 8px !important;
    transition: all 0.2s ease !important;
}

.vehicle-garage__item:hover {
    border-color: #cbd5e1 !important;
    background: #f1f5f9 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.vehicle-garage__item-icon {
    font-size: 20px !important;
    flex-shrink: 0 !important;
}

.vehicle-garage__info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.vehicle-garage__link {
    color: #0f172a !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: color 0.15s ease !important;
}

.vehicle-garage__link:hover {
    color: #C00812 !important;
}

.vehicle-garage__sublabel {
    font-size: 11px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.vehicle-garage__actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
}

.vehicle-garage__quick-btn {
    display: inline-flex !important;
    align-items: center !important;
    padding: 5px 9px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    background: #C00812 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background 0.15s ease !important;
}

.vehicle-garage__quick-btn:hover {
    background: #990000 !important;
    color: #ffffff !important;
}

.vehicle-garage__remove {
    width: 28px !important;
    height: 28px !important;
    border: 0 !important;
    background: transparent !important;
    color: #94a3b8 !important;
    font-size: 20px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    transition: all 0.15s ease !important;
}

.vehicle-garage__remove:hover {
    color: #C00812 !important;
    background: #fee2e2 !important;
}

.vehicle-garage__footer {
    margin-top: 10px !important;
    padding-top: 8px !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.vehicle-garage__clear-all {
    background: none !important;
    border: none !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    cursor: pointer !important;
    text-decoration: underline !important;
    transition: color 0.15s ease !important;
}

.vehicle-garage__clear-all:hover {
    color: #C00812 !important;
}

/* ==========================================================================
   20. SECCIÓN "MI CUENTA" (GARAJE, CUPONES, TABS)
   ========================================================================== */
body.woocommerce-account.logged-in .woocommerce {
    display: flex !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    align-items: flex-start !important;
}

.woocommerce-MyAccount-navigation {
    flex: 0 0 260px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.03) !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 4px !important;
}

.woocommerce-MyAccount-navigation a {
    display: block !important;
    padding: 10px 14px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
    background: #fee2e2 !important;
    color: #C00812 !important;
}

.woocommerce-MyAccount-content {
    flex: 1 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.03) !important;
}

.toyoauto-account-section-header {
    margin-bottom: 24px !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 12px !important;
}

.toyoauto-account-section-header h2 {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 6px !important;
}

.toyoauto-account-section-header p {
    font-size: 13.5px !important;
    color: #64748b !important;
    margin: 0 !important;
}

/* Tarjetas de Garaje en Mi Cuenta */
.toyoauto-garage-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 16px !important;
}

.toyoauto-garage-card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 18px !important;
    background: #f8fafc !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.garage-card-icon {
    font-size: 24px !important;
}

.garage-card-info h4 {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 4px !important;
    text-transform: uppercase !important;
}

.garage-card-info p {
    font-size: 12px !important;
    color: #64748b !important;
    margin: 0 !important;
}

.garage-card-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    padding-top: 8px !important;
    border-top: 1px solid #e2e8f0 !important;
}

.garage-card-remove-btn {
    background: none !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-decoration: underline !important;
}

.garage-card-remove-btn:hover {
    color: #C00812 !important;
}

/* Cupones en Mi Cuenta */
.toyoauto-coupons-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 18px !important;
}

.toyoauto-coupon-card {
    border: 2px dashed #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    background: #fcfcfc !important;
    position: relative !important;
}

.coupon-badge {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    background: #fee2e2 !important;
    color: #C00812 !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
}

.coupon-info h3 {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 6px !important;
}

.coupon-info p {
    font-size: 13px !important;
    color: #64748b !important;
    margin: 0 0 14px !important;
}

.coupon-code-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.coupon-code {
    font-family: monospace !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    background: #e2e8f0 !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    letter-spacing: 1px !important;
}

.btn-copy-coupon {
    background: #C00812 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 7px 14px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: filter 0.2s ease !important;
}

.btn-copy-coupon:hover {
    filter: brightness(0.9) !important;
}

/* Caja vacía genérica */
.toyoauto-garage-empty-box {
    text-align: center !important;
    padding: 40px 20px !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
}

.toyoauto-garage-empty-box .empty-icon {
    font-size: 40px !important;
    margin-bottom: 12px !important;
}

.toyoauto-garage-empty-box h3 {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 8px !important;
}

.toyoauto-garage-empty-box p {
    font-size: 13.5px !important;
    color: #64748b !important;
    max-width: 500px !important;
    margin: 0 auto 18px !important;
}

/* ==========================================================================
   21. ESTILOS DE LOGIN Y REGISTRO EN MI CUENTA (/MY-ACCOUNT/)
   ========================================================================== */
.toyoauto-standard-page {
    padding: 40px 0 70px !important;
    background: #f8fafc !important;
    min-height: 65vh !important;
}

.woocommerce-account #customer_login {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    max-width: 1000px !important;
    margin: 20px auto 40px !important;
    float: none !important;
    width: 100% !important;
}

.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2 {
    float: none !important;
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 35px 30px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
}

.woocommerce-account #customer_login h2 {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #f1f5f9 !important;
}

.woocommerce-account .woocommerce-form-login .form-row,
.woocommerce-account .woocommerce-form-register .form-row {
    margin-bottom: 16px !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
}

.woocommerce-account label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 6px !important;
}

.woocommerce-account input.woocommerce-Input,
.woocommerce-account input.input-text {
    width: 100% !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.woocommerce-account input.woocommerce-Input:focus,
.woocommerce-account input.input-text:focus {
    border-color: #C00812 !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(192, 8, 18, 0.1) !important;
}

.woocommerce-account button.woocommerce-form-login__submit,
.woocommerce-account button.woocommerce-form-register__submit,
.woocommerce-account button.woocommerce-Button,
.woocommerce-account input[type="submit"] {
    width: 100% !important;
    background: #C00812 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(192, 8, 18, 0.25) !important;
}

.woocommerce-account button.woocommerce-form-login__submit:hover,
.woocommerce-account button.woocommerce-form-register__submit:hover,
.woocommerce-account button.woocommerce-Button:hover,
.woocommerce-account input[type="submit"]:hover {
    background: #9b060e !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(192, 8, 18, 0.35) !important;
}

.woocommerce-account .woocommerce-form-login__rememberme {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 12px 0 !important;
    font-size: 13px !important;
    color: #64748b !important;
}

.woocommerce-account .woocommerce-LostPassword {
    margin-top: 15px !important;
    text-align: center !important;
}

.woocommerce-account .woocommerce-LostPassword a {
    color: #C00812 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.woocommerce-account .woocommerce-LostPassword a:hover {
    text-decoration: underline !important;
}

@media (max-width: 768px) {
    .woocommerce-account #customer_login {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   22. BOTÓN DE CHECKOUT POR WHATSAPP EN EL CARRITO
   ========================================================================== */
.toyoauto-whatsapp-checkout-btn,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart a.checkout-button,
.wc-block-cart__submit-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    padding: 16px 24px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35) !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-transform: none !important;
    font-family: inherit !important;
}

.toyoauto-whatsapp-checkout-btn:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart a.checkout-button:hover,
.wc-block-cart__submit-button:hover {
    background: #1eb956 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45) !important;
}

.toyoauto-whatsapp-checkout-btn.is-loading {
    opacity: 0.8 !important;
    cursor: wait !important;
    pointer-events: none !important;
}

/* ==========================================================================
   23. SELECTOR MULTIMONEDA EN TOPBAR (USD / VES)
   ========================================================================== */
.toyoauto-currency-switcher {
    position: relative !important;
    display: inline-block !important;
}

.currency-switcher-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 3px 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    font-family: inherit !important;
}

.currency-switcher-btn:hover {
    border-color: #C00812 !important;
    color: #C00812 !important;
    background: #fff8f8 !important;
}

.currency-switcher-btn .curr-arrow {
    font-size: 10px !important;
    color: #64748b !important;
    transition: transform 0.2s ease !important;
}

.currency-dropdown-menu {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    right: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 6px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    display: none !important;
    flex-direction: column !important;
    min-width: 160px !important;
    z-index: 10000 !important;
}

.currency-dropdown-menu.is-open {
    display: flex !important;
    animation: fadeInDropdown 0.2s ease !important;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.currency-dropdown-menu .currency-opt {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 8px 12px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    background: none !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: all 0.15s ease !important;
    font-family: inherit !important;
}

.currency-dropdown-menu .currency-opt:hover {
    background: #f1f5f9 !important;
    color: #C00812 !important;
}

.currency-dropdown-menu .currency-opt.active {
    background: #fee2e2 !important;
    color: #C00812 !important;
    font-weight: 800 !important;
}

/* ==========================================================================
   25. RECIBO DIGITAL INTERACTIVO (CHECKOUT POR WHATSAPP)
   ========================================================================== */
.toyoauto-receipt-container {
    max-width: 900px !important;
    margin: 30px auto 60px !important;
    font-family: inherit !important;
}

/* Header Card */
.receipt-header-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 35px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 24px !important;
    text-align: center !important;
}

.receipt-header-top {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 20px !important;
}

.receipt-badge-status {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #fef3c7 !important;
    color: #92400e !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
}

.status-dot {
    width: 8px !important;
    height: 8px !important;
    background: #d97706 !important;
    border-radius: 50% !important;
    display: inline-block !important;
}

.receipt-stock-pill {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    background: #f1f5f9 !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
}

.receipt-title {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 10px !important;
}

.receipt-subtitle {
    font-size: 14.5px !important;
    color: #64748b !important;
    max-width: 680px !important;
    margin: 0 auto 25px !important;
    line-height: 1.6 !important;
}

.receipt-amounts-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 25px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 20px !important;
    flex-wrap: wrap !important;
}

.amount-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.amount-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 4px !important;
}

.amount-value {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.main-usd .amount-value {
    color: #C00812 !important;
}

.amount-divider {
    font-size: 24px !important;
    color: #cbd5e1 !important;
    font-weight: 300 !important;
}

.amount-rate {
    font-size: 11.5px !important;
    color: #475569 !important;
    margin-top: 4px !important;
    background: #e2e8f0 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
}

/* Banner Canal de Tracking */
.receipt-tracking-channel-card {
    display: flex !important;
    align-items: flex-start !important;
    gap: 16px !important;
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    border-left: 5px solid #10b981 !important;
    border-radius: 12px !important;
    padding: 20px 24px !important;
    margin-bottom: 30px !important;
}

.tracking-channel-icon {
    flex-shrink: 0 !important;
    margin-top: 2px !important;
}

.tracking-channel-text h4 {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #065f46 !important;
    margin: 0 0 6px !important;
}

.tracking-channel-text p {
    font-size: 13.5px !important;
    color: #047857 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

/* Section Headings */
.receipt-section-heading {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 30px 0 16px !important;
}

/* Payment Grid */
.receipt-payment-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 18px !important;
    margin-bottom: 30px !important;
}

@media (max-width: 850px) {
    .receipt-payment-grid {
        grid-template-columns: 1fr !important;
    }
}

.payment-account-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 22px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.payment-account-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
}

.acc-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 12px !important;
}

.acc-badge {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
}

.acc-badge.bcv { background: #dbeafe !important; color: #1e40af !important; }
.acc-badge.zelle { background: #ede9fe !important; color: #5b21b6 !important; }
.acc-badge.cards { background: #ffedd5 !important; color: #c2410c !important; }
.acc-badge.usdt { background: #fef08a !important; color: #854d0e !important; }

.acc-amount {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.acc-details {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    font-size: 13px !important;
    margin-bottom: 18px !important;
}

.acc-row {
    display: flex !important;
    justify-content: space-between !important;
    color: #475569 !important;
}

.acc-row strong {
    color: #0f172a !important;
}

.btn-copy-acc {
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding: 10px 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.btn-copy-acc:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

.btn-copy-acc.copied {
    background: #10b981 !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
}

.btn-cards-wa {
    background: #ea580c !important;
    color: #ffffff !important;
    border-color: #ea580c !important;
}

.btn-cards-wa:hover {
    background: #c2410c !important;
    border-color: #c2410c !important;
    color: #ffffff !important;
}

.btn-usdt-wa {
    background: #25D366 !important;
    color: #ffffff !important;
    border-color: #25D366 !important;
}

.btn-usdt-wa:hover {
    background: #1eb956 !important;
    border-color: #1eb956 !important;
}

/* CTA Reportar Pago */
.receipt-report-cta-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    border-radius: 16px !important;
    padding: 30px 35px !important;
    margin-bottom: 35px !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15) !important;
}

.cta-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.cta-text h3 {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 6px !important;
}

.cta-text p {
    font-size: 13.5px !important;
    color: #94a3b8 !important;
    margin: 0 !important;
    max-width: 500px !important;
}

.cta-cc-note {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 10px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-size: 12.5px !important;
    color: #e2e8f0 !important;
    font-weight: 500 !important;
}

.badge-discount-pill {
    background: #16a34a !important;
    color: #ffffff !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    margin-left: 4px !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

.btn-report-whatsapp-primary {
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    font-weight: 800 !important;
    padding: 14px 28px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.btn-report-whatsapp-primary:hover {
    background: #1eb956 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5) !important;
}

/* Items Card */
.receipt-items-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 25px 30px !important;
    margin-bottom: 30px !important;
}

.receipt-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-top: 15px !important;
    font-size: 14px !important;
}

.receipt-table th, .receipt-table td {
    padding: 14px 10px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.receipt-table th {
    color: #64748b !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}

.receipt-product-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.product-sku {
    font-size: 12px !important;
    color: #64748b !important;
    background: #f1f5f9 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    width: fit-content !important;
}

.tfoot-total-row th, .tfoot-total-row td {
    font-size: 16px !important;
    font-weight: 800 !important;
    border-top: 2px solid #e2e8f0 !important;
    border-bottom: none !important;
    padding-top: 18px !important;
}

.tfoot-total-row .usd-total {
    display: block !important;
    color: #C00812 !important;
    font-size: 1.3rem !important;
}

.tfoot-total-row .bs-total {
    display: block !important;
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 600 !important;
}

.receipt-footer-actions {
    text-align: center !important;
    margin-top: 25px !important;
}

.btn-return-home-outline {
    display: inline-flex !important;
    align-items: center !important;
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.btn-return-home-outline:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
}

/* ==========================================================================
   26. OFF-CANVAS MOBILE DRAWER & NAVEGACIÓN MÓVIL
   ========================================================================== */
body.toyoauto-drawer-locked {
    overflow: hidden !important;
}

.toyoauto-drawer-overlay,
.toyoauto-wishlist-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    z-index: 10000 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.toyoauto-drawer-overlay.is-active,
.toyoauto-wishlist-overlay.is-active {
    opacity: 1 !important;
    visibility: visible !important;
}

.toyoauto-mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 320px !important;
    max-width: 85vw !important;
    height: 100% !important;
    background: #ffffff !important;
    z-index: 10001 !important;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
}

.toyoauto-mobile-drawer.is-open {
    transform: translateX(0) !important;
}

.drawer-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
}

.drawer-logo {
    height: 48px !important;
    width: auto !important;
}

.drawer-close-btn {
    background: #f1f5f9 !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #475569 !important;
    transition: all 0.2s ease !important;
}

.drawer-close-btn:hover {
    background: #fee2e2 !important;
    color: #C00812 !important;
}

.drawer-search-box {
    padding: 16px 20px 10px !important;
}

.drawer-input-group {
    position: relative !important;
    width: 100% !important;
}

.drawer-search-field {
    width: 100% !important;
    padding: 10px 40px 10px 14px !important;
    font-size: 13.5px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    box-sizing: border-box !important;
}

.drawer-search-submit {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #64748b !important;
}

.drawer-nav {
    flex: 1 !important;
    padding: 10px 0 !important;
}

.drawer-menu-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.drawer-menu-list li {
    margin: 0 !important;
    padding: 0 !important;
}

.drawer-menu-list a,
.drawer-menu-btn {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 20px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    width: 100% !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    font-family: inherit !important;
}

.drawer-menu-list a:hover,
.drawer-menu-btn:hover {
    background: #f8fafc !important;
    color: #C00812 !important;
}

.drawer-badge {
    margin-left: auto !important;
    background: #C00812 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 10px !important;
}

.drawer-currency-section {
    padding: 15px 20px !important;
    border-top: 1px solid #f1f5f9 !important;
    background: #fafafa !important;
}

.drawer-section-label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
}

.drawer-currency-pills {
    display: flex !important;
    gap: 8px !important;
}

.drawer-curr-pill {
    flex: 1 !important;
    padding: 8px 10px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    color: #334155 !important;
    transition: all 0.2s ease !important;
}

.drawer-curr-pill.active {
    background: #fee2e2 !important;
    border-color: #C00812 !important;
    color: #C00812 !important;
}

.drawer-footer-support {
    padding: 16px 20px !important;
    background: #ffffff !important;
    border-top: 1px solid #f1f5f9 !important;
}

.drawer-wa-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #25D366 !important;
    color: #ffffff !important;
    padding: 11px 16px !important;
    border-radius: 8px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
}

/* ==========================================================================
   27. BARRA INFERIOR FIJA PARA MÓVILES (MOBILE BOTTOM BAR)
   ========================================================================== */
.toyoauto-mobile-bottom-bar {
    display: none !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 60px !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.05) !important;
    z-index: 9998 !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 4px !important;
}

@media (max-width: 991px) {
    .toyoauto-mobile-bottom-bar {
        display: flex !important;
    }
    body {
        padding-bottom: 60px !important;
    }
    .toyoauto-whatsapp-float {
        bottom: 75px !important; /* Levantar botón flotante de WhatsApp para no tapar la barra */
    }
}

.bottom-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    height: 100% !important;
    background: none !important;
    border: none !important;
    color: #64748b !important;
    text-decoration: none !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    gap: 3px !important;
    cursor: pointer !important;
    transition: color 0.15s ease !important;
    padding: 4px 0 !important;
    font-family: inherit !important;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
    color: #C00812 !important;
}

.bottom-icon-emoji {
    font-size: 19px !important;
    line-height: 1 !important;
}

.bottom-nav-icon-wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.bottom-badge {
    position: absolute !important;
    top: -6px !important;
    right: -10px !important;
    background: #C00812 !important;
    color: #ffffff !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid #ffffff !important;
}

/* ==========================================================================
   28. MIS FAVORITOS (WISHLIST ENGINE & DRAWER)
   ========================================================================== */
.wishlist-count-badge {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background: #C00812 !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    min-width: 18px !important;
    height: 18px !important;
    border-radius: 9px !important;
    padding: 0 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important;
    line-height: 1 !important;
    z-index: 2 !important;
    box-sizing: border-box !important;
}

.wishlist-count-badge[style*="display: none"],
.wishlist-count-badge[style*="display:none"],
.bottom-badge[style*="display: none"],
.bottom-badge[style*="display:none"] {
    display: none !important;
}

/* Botón Corazón en Tarjetas de Catálogo (Oculto en Listados y Portada) */
.toyoauto-product-card .toyoauto-wishlist-toggle-btn,
.products .toyoauto-wishlist-toggle-btn:not(.toyoauto-wishlist-single-btn),
ul.products li.product .toyoauto-wishlist-toggle-btn:not(.toyoauto-wishlist-single-btn),
.woocommerce-loop-product__link + .toyoauto-wishlist-toggle-btn {
    display: none !important;
}

/* Botón en Ficha Individual de Producto */
.toyoauto-wishlist-single-btn {
    position: static !important;
    width: auto !important;
    height: auto !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    margin-left: 10px !important;
    vertical-align: middle !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #475569 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.toyoauto-wishlist-single-btn:hover {
    color: #C00812 !important;
    border-color: #fecaca !important;
    background: #fef2f2 !important;
    transform: translateY(-1px) !important;
}

.toyoauto-wishlist-single-btn.is-active {
    color: #C00812 !important;
    background: #fee2e2 !important;
    border-color: #fecaca !important;
}

.toyoauto-wishlist-single-btn.is-active svg {
    fill: #C00812 !important;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

.toyoauto-wishlist-single-btn.heart-pop {
    animation: heartPop 0.35s ease !important;
}

/* Modal Drawer de Favoritos */
.toyoauto-wishlist-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 360px !important;
    max-width: 90vw !important;
    height: 100% !important;
    background: #ffffff !important;
    z-index: 10001 !important;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15) !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
}

.toyoauto-wishlist-drawer.is-open {
    transform: translateX(0) !important;
}

.wishlist-drawer-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 18px 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.wishlist-drawer-header h3 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.wishlist-close-btn {
    background: #f1f5f9 !important;
    border: none !important;
    font-size: 20px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #64748b !important;
}

.wishlist-drawer-content {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 16px 20px !important;
}

.wishlist-item-row {
    display: flex !important;
    gap: 12px !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    align-items: center !important;
}

.wishlist-item-thumb img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
}

.wishlist-item-info {
    flex: 1 !important;
}

.wishlist-item-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 2px !important;
}

.wishlist-item-sku {
    font-size: 11px !important;
    color: #64748b !important;
    display: block !important;
    margin-bottom: 4px !important;
}

.wishlist-item-price {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #C00812 !important;
    margin-bottom: 6px !important;
}

.wishlist-item-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.btn-wishlist-add-cart {
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
}

.btn-wishlist-add-cart:hover {
    background: #C00812 !important;
    color: #ffffff !important;
}

.wishlist-remove-item-btn {
    background: none !important;
    border: none !important;
    color: #94a3b8 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    padding: 4px !important;
}

.wishlist-remove-item-btn:hover {
    color: #C00812 !important;
}

.wishlist-drawer-footer {
    padding: 16px 20px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.btn-go-to-cart-drawer {
    display: block !important;
    text-align: center !important;
    background: #C00812 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    padding: 12px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
}

/* Modal Aviso de Inicio de Sesión para Favoritos */
.toyoauto-wishlist-login-modal {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 380px !important;
    max-width: 90vw !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 28px 24px !important;
    z-index: 10002 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25) !important;
    text-align: center !important;
    animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes modalPop {
    0% { opacity: 0; transform: translate(-50%, -46%) scale(0.95); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.wishlist-login-modal-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background: #f1f5f9 !important;
    border: none !important;
    font-size: 20px !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    color: #64748b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wishlist-login-icon {
    font-size: 40px !important;
    margin-bottom: 12px !important;
}

.toyoauto-wishlist-login-modal h3 {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 0 8px !important;
}

.toyoauto-wishlist-login-modal p {
    font-size: 13.5px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 0 0 20px !important;
}

.wishlist-login-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.btn-login-modal-primary {
    background: #C00812 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    padding: 12px 18px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: block !important;
    transition: background 0.2s ease !important;
}

.btn-login-modal-primary:hover {
    background: #99050d !important;
}

.btn-login-modal-secondary {
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 10px 18px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer !important;
}

.btn-login-modal-secondary:hover {
    background: #e2e8f0 !important;
}

/* Cuadrícula de Favoritos en Mi Cuenta */
.wishlist-account-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 20px !important;
}

.wishlist-account-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.wishlist-account-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
}

.wishlist-card-thumb {
    position: relative !important;
    background: #f8fafc !important;
    padding: 15px !important;
    text-align: center !important;
}

.wishlist-card-thumb img {
    max-height: 140px !important;
    width: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
}

.wishlist-card-body {
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.wishlist-card-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    margin-bottom: 4px !important;
    display: block !important;
}

.wishlist-card-title:hover {
    color: #C00812 !important;
}

.wishlist-card-sku {
    font-size: 11px !important;
    color: #64748b !important;
    display: block !important;
    margin-bottom: 6px !important;
}

.wishlist-card-price {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #C00812 !important;
    margin-bottom: 12px !important;
}

.wishlist-card-actions {
    margin-top: auto !important;
}

.btn-wishlist-card-cart {
    display: block !important;
    text-align: center !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    padding: 9px 14px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    transition: background 0.15s ease !important;
}

.btn-wishlist-card-cart:hover {
    background: #C00812 !important;
}

/* ==========================================================================
   29. REDISEÑO DEL CARRITO ESTILO FEBEST PARTS & MOBILE-FIRST
   ========================================================================== */
.toyoauto-cart-wrapper {
    max-width: 1100px !important;
    margin: 20px auto 50px !important;
}

/* Botón Volver */
.cart-top-nav {
    margin-bottom: 20px !important;
}

.btn-cart-back {
    display: inline-flex !important;
    align-items: center !important;
    background: #C00812 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    padding: 9px 18px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: background 0.2s ease !important;
}

.btn-cart-back:hover {
    background: #99050d !important;
    color: #ffffff !important;
}

/* Tabla Estilo Febest */
.toyoauto-cart-table-container {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 30px !important;
}

.toyoauto-febest-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0 !important;
}

.toyoauto-febest-table thead tr {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.toyoauto-febest-table th {
    padding: 14px 16px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #334155 !important;
    text-transform: capitalize !important;
    border: none !important;
}

.toyoauto-febest-table th.product-name-header { text-align: left !important; }
.toyoauto-febest-table th.product-price-header { text-align: center !important; }
.toyoauto-febest-table th.product-quantity-header { text-align: center !important; }
.toyoauto-febest-table th.product-subtotal-header { text-align: right !important; }

.toyoauto-febest-table tbody td {
    padding: 18px 16px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-top: none !important;
}

/* Columna Eliminar */
.remove-btn-circle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    background: #64748b !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 16px !important;
    line-height: 1 !important;
    transition: background 0.15s ease !important;
}

.remove-btn-circle:hover {
    background: #C00812 !important;
    color: #ffffff !important;
}

/* Columna Miniatura */
.cart-thumb-box img {
    width: 70px !important;
    height: 70px !important;
    object-fit: cover !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 3px !important;
    background: #ffffff !important;
}

/* Columna Información */
.cart-item-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

.cart-item-title {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
}

.cart-item-title:hover {
    color: #C00812 !important;
}

.cart-item-sku {
    font-size: 11.5px !important;
    color: #64748b !important;
    font-weight: 600 !important;
}

/* Precios */
.febest-price {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #C00812 !important;
    display: block !important;
    text-align: center !important;
}

.febest-subtotal {
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #C00812 !important;
    display: block !important;
    text-align: right !important;
}

/* Stepper Cantidad */
.toyoauto-febest-table .quantity input.qty {
    width: 55px !important;
    height: 38px !important;
    text-align: center !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Barra de Cupones y Actualizar */
.cart-actions-row td {
    background: #f8fafc !important;
    padding: 16px !important;
}

.cart-actions-flex {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.febest-coupon-box {
    display: flex !important;
    gap: 0 !important;
    align-items: center !important;
}

.febest-coupon-input {
    height: 40px !important;
    padding: 0 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-right: none !important;
    border-radius: 4px 0 0 4px !important;
    font-size: 13px !important;
    width: 200px !important;
}

.febest-apply-coupon-btn {
    height: 40px !important;
    background: #facc15 !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border: 1px solid #eab308 !important;
    border-radius: 0 4px 4px 0 !important;
    padding: 0 18px !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}

.febest-apply-coupon-btn:hover {
    background: #eab308 !important;
}

.febest-update-cart-btn {
    height: 40px !important;
    background: #f1f5f9 !important;
    color: #334155 !important;
    font-weight: 800 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    padding: 0 18px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.febest-update-cart-btn:hover {
    background: #0f172a !important;
    color: #ffffff !important;
}

/* Totales del Carrito */
.toyoauto-cart-collaterals {
    display: flex !important;
    justify-content: flex-end !important;
}

.cart_totals {
    width: 450px !important;
    max-width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 24px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

.cart_totals h2 {
    font-size: 1.4rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 0 16px !important;
    letter-spacing: -0.02em !important;
}

.cart_totals table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 20px !important;
}

.cart_totals th, .cart_totals td {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 14px !important;
}

.cart_totals .order-total th, .cart_totals .order-total td {
    font-size: 16px !important;
    font-weight: 800 !important;
    border-top: 2px solid #e2e8f0 !important;
    border-bottom: none !important;
    padding-top: 16px !important;
}

.cart_totals .wc-proceed-to-checkout a.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
    background: #1eb956 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45) !important;
}

/* ==========================================================================
   30. ADAPTACIÓN RESPONSIVE MOBILE PARA EL CARRITO (TARJETAS APILADAS)
   ========================================================================== */
@media (max-width: 768px) {
    .toyoauto-febest-table thead {
        display: none !important;
    }

    .toyoauto-febest-table,
    .toyoauto-febest-table tbody,
    .toyoauto-febest-table tr.cart_item {
        display: block !important;
        width: 100% !important;
    }

    .toyoauto-febest-table tr.cart_item {
        position: relative !important;
        background: #ffffff !important;
        border-bottom: 8px solid #f1f5f9 !important;
        padding: 15px 15px 15px 95px !important;
        min-height: 90px !important;
        box-sizing: border-box !important;
    }

    .toyoauto-febest-table td {
        display: block !important;
        padding: 0 !important;
        border: none !important;
        text-align: left !important;
    }

    .toyoauto-febest-table td.product-remove {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
    }

    .toyoauto-febest-table td.product-thumbnail {
        position: absolute !important;
        top: 15px !important;
        left: 15px !important;
    }

    .toyoauto-febest-table td.product-thumbnail img {
        width: 65px !important;
        height: 65px !important;
    }

    .toyoauto-febest-table td.product-name {
        padding-right: 35px !important;
        margin-bottom: 6px !important;
    }

    .toyoauto-febest-table td.product-name .cart-item-title {
        font-size: 13.5px !important;
    }

    .toyoauto-febest-table td.product-price {
        text-align: left !important;
        margin-bottom: 8px !important;
    }

    .toyoauto-febest-table td.product-price .febest-price {
        text-align: left !important;
        font-size: 13.5px !important;
    }

    .toyoauto-febest-table td.product-quantity {
        display: inline-block !important;
    }

    .toyoauto-febest-table td.product-quantity .quantity input.qty {
        margin: 0 !important;
        height: 32px !important;
        width: 50px !important;
    }

    .toyoauto-febest-table td.product-subtotal {
        display: inline-block !important;
        float: right !important;
        padding-top: 6px !important;
    }

    .cart-actions-flex {
        flex-direction: column !important;
        width: 100% !important;
    }

    .febest-coupon-box {
        width: 100% !important;
    }

    .febest-coupon-input {
        flex: 1 !important;
        width: auto !important;
    }

    .febest-update-cart-btn {
        width: 100% !important;
    }

    .cart_totals {
        width: 100% !important;
    }
}

/* ==========================================================================
   31. MOBILE-FIRST: STICKY PRODUCT PURCHASE BAR & VEHICLE FILTER COLLAPSER
   ========================================================================== */

/* Barra Fija Inferior de Compra en Producto Individual */
.toyoauto-sticky-product-bar {
    position: fixed !important;
    bottom: 60px !important; /* Justo arriba de la mobile bottom bar */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    border-top: 2px solid #e2e8f0 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12) !important;
    padding: 10px 16px !important;
    z-index: 9998 !important;
    transform: translateY(120%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
}

@media (min-width: 992px) {
    .toyoauto-sticky-product-bar {
        bottom: 0 !important; /* En desktop va pegada al fondo */
    }
}

.toyoauto-sticky-product-bar.is-visible {
    transform: translateY(0) !important;
}

.sticky-product-content {
    max-width: 1160px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

.sticky-product-thumb img {
    width: 44px !important;
    height: 44px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
}

.sticky-product-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    flex: 1 !important;
    min-width: 0 !important;
}

.sticky-product-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
}

.sticky-product-sku {
    font-size: 10.5px !important;
    color: #64748b !important;
    font-weight: 600 !important;
}

.sticky-product-price .sticky-price-usd {
    font-size: 14.5px !important;
    font-weight: 900 !important;
    color: #C00812 !important;
}

.sticky-product-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.sticky-btn-wa {
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    padding: 9px 14px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3) !important;
    transition: background 0.15s ease !important;
}

.sticky-btn-wa:hover {
    background: #1ebc57 !important;
    color: #ffffff !important;
}

.sticky-btn-cart {
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 14px !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s ease !important;
}

.sticky-btn-cart:hover {
    background: #C00812 !important;
}

/* Botón Toggle del Filtro de Vehículos en Móvil */
.toyoauto-mobile-cpf-toggle {
    display: none !important;
}

@media (max-width: 991px) {
    .toyoauto-mobile-cpf-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        background: #0f172a !important;
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        padding: 12px 18px !important;
        border-radius: 8px !important;
        border: none !important;
        cursor: pointer !important;
        margin-bottom: 12px !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
    }

    .toyoauto-mobile-cpf-toggle .toggle-arrow {
        font-size: 16px !important;
        transition: transform 0.2s ease !important;
    }

    .toyoauto-mobile-cpf-toggle.is-active {
        background: #C00812 !important;
    }

    .cpf-filter-wrap.cpf-mobile-collapsed {
        display: none !important;
    }

    .cpf-filter-wrap.cpf-mobile-expanded {
        display: flex !important;
        animation: fadeIn 0.25s ease !important;
    }
}

/* ==========================================================================
   32. CAR PARTS FILTER (CPF) - CORRECCIÓN DE CHECKMARKS EN CATEGORIAS
   ========================================================================== */
.cpf-sidebar-option input[type="checkbox"],
.cpf-sidebar-checkbox,
.cpf-category-item input[type="checkbox"],
.cpf-sidebar-list input[type="checkbox"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    flex: 0 0 18px !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    margin: 0 8px 0 0 !important;
    padding: 0 !important;
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    background-color: #ffffff !important;
    border: 1.5px solid #94a3b8 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    transition: all 0.15s ease !important;
}

.cpf-sidebar-option input[type="checkbox"]:hover,
.cpf-sidebar-checkbox:hover {
    border-color: #C00812 !important;
}

.cpf-sidebar-option input[type="checkbox"]:checked,
.cpf-sidebar-checkbox:checked,
.cpf-sidebar-option.is-active input[type="checkbox"] {
    background-color: #C00812 !important;
    border-color: #C00812 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: 13px 13px !important;
}

.cpf-sidebar-option.is-active {
    font-weight: 700 !important;
    color: #C00812 !important;
}

/* ==========================================================================
   MOBILE FIRST OPTIMIZATIONS & APP-STYLE RESPONSIVE SUITE (@media max-width: 768px)
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* 1. Global Touch Reset & Layout */
    body {
        padding-bottom: 68px !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .toyoauto-container, .ToyotaPiezas-container {
        padding: 0 12px !important;
        max-width: 100% !important;
    }

    /* 2. Topbar & Header Mobile */
    .toyoauto-topbar, .ToyotaPiezas-topbar {
        display: none !important;
    }

    header#masthead.site-header,
    header#masthead.toyoauto-header,
    header#masthead.ToyotaPiezas-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
        background: #ffffff !important;
        padding: 6px 0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    }

    header#masthead .header-main-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        padding: 0 12px !important;
    }

    .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        height: 38px !important;
        border-radius: 8px !important;
        border: 1px solid #e2e8f0 !important;
        background: #f8fafc !important;
        color: #0f172a !important;
        padding: 0 !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
    }

    .site-branding {
        flex: 1 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 !important;
    }

    .toyoauto-logo, .ToyotaPiezas-logo {
        max-height: 34px !important;
        height: 34px !important;
        width: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

    .desktop-only-nav,
    .main-navigation:not(.toyoauto-mobile-drawer) {
        display: none !important;
    }

    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    .header-actions .action-btn,
    .header-actions .account-btn,
    .header-actions .wishlist-btn {
        width: 36px !important;
        height: 36px !important;
        border-radius: 8px !important;
        border: 1px solid #e2e8f0 !important;
        background: #f8fafc !important;
    }

    .header-actions .vehicle-garage {
        display: none !important; /* Movido a barra inferior y menú drawer */
    }

    .toyoauto-cart-toggle, .ToyotaPiezas-cart-toggle {
        padding: 4px 8px !important;
        border-radius: 8px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
    }

    .toyoauto-cart-toggle .cart-text,
    .ToyotaPiezas-cart-toggle .cart-text {
        display: none !important;
    }

    /* 3. Hero & Buscador VIN Mobile */
    .toyoauto-hero-section, .ToyotaPiezas-hero-section {
        padding: 16px 0 20px !important;
        background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%) !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .toyoauto-hero-content, .ToyotaPiezas-hero-content {
        padding: 0 12px !important;
        text-align: center !important;
    }

    .toyoauto-badge, .ToyotaPiezas-badge {
        font-size: 10px !important;
        font-weight: 700 !important;
        padding: 4px 10px !important;
        border-radius: 20px !important;
        margin-bottom: 8px !important;
        display: inline-block !important;
    }

    .toyoauto-hero-title, .ToyotaPiezas-hero-title {
        font-size: 20px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        color: #0f172a !important;
        margin-bottom: 4px !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }

    .toyoauto-hero-subtitle, .ToyotaPiezas-hero-subtitle {
        font-size: 12px !important;
        line-height: 1.4 !important;
        color: #64748b !important;
        margin-bottom: 14px !important;
    }

    /* Contenedor del Buscador CPF en Móvil */
    .cpf-filter-wrap {
        background: #ffffff !important;
        padding: 14px 12px !important;
        border-radius: 14px !important;
        border: 1px solid #e2e8f0 !important;
        border-top: 4px solid var(--toyo-red) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }

    .cpf-vin-search {
        order: 1 !important;
        width: 100% !important;
        border-left: none !important;
        border-bottom: 1px dashed #e2e8f0 !important;
        padding-left: 0 !important;
        padding-bottom: 14px !important;
    }

    .cpf-vin-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .cpf-vin-row label {
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #334155 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }

    .cpf-vin-row input#cpf-vin-input {
        width: 100% !important;
        height: 44px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        text-align: center !important;
        font-family: monospace !important;
        letter-spacing: 1.5px !important;
        border: 1.5px solid #cbd5e1 !important;
        background: #f8fafc !important;
        color: #0f172a !important;
        box-sizing: border-box !important;
    }

    .cpf-vin-row input#cpf-vin-input:focus {
        border-color: var(--toyo-red) !important;
        background: #ffffff !important;
        box-shadow: 0 0 0 3px rgba(192, 8, 18, 0.1) !important;
    }

    .cpf-vin-row button#cpf-vin-btn,
    .cpf-vin-row .cpf-btn#cpf-vin-btn {
        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        padding: 0 16px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        background: var(--toyo-red) !important;
        color: #ffffff !important;
        border: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        box-shadow: 0 3px 10px rgba(192, 8, 18, 0.25) !important;
        box-sizing: border-box !important;
        cursor: pointer !important;
        line-height: normal !important;
    }

    .cpf-vin-row button#cpf-vin-btn:hover {
        background-color: var(--toyo-red-hover) !important;
    }

    .cpf-filter-form {
        order: 2 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .cpf-selects-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .cpf-select-group select.cpf-select {
        height: 42px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        border: 1.5px solid #cbd5e1 !important;
        background-color: #f8fafc !important;
        padding: 0 8px !important;
        width: 100% !important;
    }

    .cpf-buttons-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        margin-top: 6px !important;
        box-sizing: border-box !important;
    }

    .cpf-buttons-row .cpf-btn-search {
        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
        padding: 0 16px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        background: var(--toyo-red) !important;
        color: #ffffff !important;
        border: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        text-align: center !important;
        white-space: nowrap !important;
        box-shadow: 0 3px 10px rgba(192, 8, 18, 0.25) !important;
        box-sizing: border-box !important;
        cursor: pointer !important;
        line-height: normal !important;
    }

    .cpf-buttons-row .cpf-btn-search:hover {
        background-color: var(--toyo-red-hover) !important;
    }

    .cpf-buttons-row .cpf-btn-clear {
        width: 50% !important;
        max-width: 50% !important;
        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        padding: 0 10px !important;
        border-radius: 8px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        border: 1px solid #cbd5e1 !important;
        background: transparent !important;
        color: #64748b !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        cursor: pointer !important;
        line-height: normal !important;
        transition: all 0.2s ease !important;
    }

    .cpf-buttons-row .cpf-btn-clear:hover {
        color: var(--toyo-red) !important;
        border-color: var(--toyo-red) !important;
        background-color: #ffffff !important;
    }

    /* Búsqueda OEM en Móvil */
    .toyoauto-oem-search-container, .ToyotaPiezas-oem-search-container {
        margin-top: 12px !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        flex-direction: column !important;
        gap: 8px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
    }

    .oem-search-label-wrap {
        width: 100% !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .oem-search-title {
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    .oem-search-desc {
        display: none !important;
    }

    .oem-search-form-wrap,
    .cpf-sku-search--standalone,
    .cpf-sku-search-form,
    .cpf-sku-search-row {
        width: 100% !important;
        display: flex !important;
        gap: 6px !important;
    }

    .cpf-sku-search--standalone input.cpf-sku-search-input {
        flex: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 38px !important;
        border-radius: 8px !important;
        font-size: 12px !important;
    }

    .cpf-sku-search--standalone button.cpf-sku-search-btn {
        height: 38px !important;
        border-radius: 8px !important;
        font-size: 11px !important;
        padding: 0 12px !important;
    }

    /* 4. Categorías de Repuestos en Móvil (Scroll Horizontal Snap) */
    .toyoauto-categories-section, .ToyotaPiezas-categories-section {
        padding: 18px 0 10px !important;
        background: #ffffff !important;
    }

    .toyoauto-categories-section .section-header,
    .ToyotaPiezas-categories-section .section-header {
        margin-bottom: 10px !important;
        padding: 0 12px !important;
        text-align: left !important;
    }

    .section-title {
        font-size: 16px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin-bottom: 2px !important;
        text-transform: none !important;
    }
    .section-title::after {
        display: none !important;
    }

    .section-subtitle {
        font-size: 11px !important;
        color: #64748b !important;
        margin: 0 !important;
    }

    .categories-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 10px !important;
        padding: 4px 12px 12px !important;
        margin: 0 !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .categories-grid::-webkit-scrollbar {
        display: none !important;
    }

    .category-card {
        flex: 0 0 74px !important;
        scroll-snap-align: start !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        text-decoration: none !important;
    }

    .category-icon-circle {
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        background: rgba(192, 8, 18, 0.05) !important;
        border: 1.5px solid rgba(192, 8, 18, 0.12) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--toyo-red) !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02) !important;
    }

    .category-icon-circle svg {
        width: 24px !important;
        height: 24px !important;
    }

    .category-label {
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        text-align: center !important;
        text-transform: none !important;
        line-height: 1.2 !important;
    }

    /* 5. Grilla de Productos en Móvil (2 Columnas Tipo App) */
    .toyoauto-products-section,
    .ToyotaPiezas-products-section,
    .products-section {
        padding: 14px 0 24px !important;
        background: #f8fafc !important;
    }

    .toyoauto-products-section .section-header,
    .ToyotaPiezas-products-section .section-header {
        padding: 0 12px !important;
        margin-bottom: 12px !important;
        text-align: left !important;
    }

    .toyoauto-products-grid,
    .ToyotaPiezas-products-grid,
    ul.products,
    .woocommerce ul.products,
    .woocommerce ul.products[class*="columns-"] {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 12px !important;
        margin: 0 !important;
        list-style: none !important;
        clear: both !important;
    }

    .toyoauto-product-card,
    .ToyotaPiezas-product-card,
    ul.products li.product,
    .woocommerce ul.products li.product {
        width: 100% !important;
        margin: 0 !important;
        padding: 10px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-top: 3px solid var(--toyo-red) !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    .toyoauto-wishlist-toggle-btn,
    .ToyotaPiezas-wishlist-toggle-btn {
        position: absolute !important;
        top: 8px !important;
        right: 8px !important;
        width: 28px !important;
        height: 28px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border: 1px solid #e2e8f0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 5 !important;
        padding: 0 !important;
        cursor: pointer !important;
    }
    .toyoauto-wishlist-toggle-btn svg,
    .ToyotaPiezas-wishlist-toggle-btn svg {
        width: 15px !important;
        height: 15px !important;
    }

    .toyoauto-product-card img,
    .ToyotaPiezas-product-card img,
    ul.products li.product img,
    .woocommerce ul.products li.product img {
        height: 115px !important;
        width: 100% !important;
        object-fit: contain !important;
        background: #f8fafc !important;
        border-radius: 8px !important;
        padding: 4px !important;
        margin-bottom: 8px !important;
    }

    .woocommerce-loop-product__title {
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        height: 32px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        margin-bottom: 6px !important;
        color: #0f172a !important;
        text-align: left !important;
    }

    .toyoauto-product-card .price,
    .ToyotaPiezas-product-card .price,
    ul.products li.product .price,
    .woocommerce ul.products li.product .price {
        font-size: 15px !important;
        font-weight: 800 !important;
        color: var(--toyo-red) !important;
        margin-bottom: 8px !important;
        display: block !important;
        text-align: left !important;
    }

    .toyoauto-product-card .button,
    .ToyotaPiezas-product-card .button,
    ul.products li.product .button,
    .woocommerce ul.products li.product .button,
    .woocommerce ul.products li.product .button.add_to_cart_button {
        height: 34px !important;
        padding: 0 8px !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.3px !important;
        border-radius: 8px !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: var(--toyo-red) !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: none !important;
        text-decoration: none !important;
    }

    /* 6. Beneficios y Confianza en Móvil (2x2 Grid) */
    .toyoauto-trust-section, .ToyotaPiezas-trust-section {
        padding: 20px 0 !important;
        background: #ffffff !important;
    }

    .trust-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 12px !important;
    }

    .trust-card {
        padding: 10px 8px !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 6px !important;
    }

    .trust-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: rgba(192, 8, 18, 0.08) !important;
        border: 1px solid rgba(192, 8, 18, 0.15) !important;
        color: var(--toyo-red) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .trust-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    .trust-title {
        font-size: 11px !important;
        font-weight: 800 !important;
        color: #0f172a !important;
        margin-bottom: 2px !important;
        text-transform: none !important;
    }

    .trust-desc {
        font-size: 10px !important;
        line-height: 1.25 !important;
        color: #64748b !important;
    }

    /* 7. Footer Móvil */
    .toyoauto-footer, .ToyotaPiezas-footer {
        padding-top: 24px !important;
    }

    .footer-widgets-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 16px 20px !important;
        text-align: left !important;
    }

    .footer-brand-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .footer-brand-col .footer-logo {
        align-self: flex-start !important;
    }

    .footer-brand-col .footer-bio {
        text-align: left !important;
    }

    .footer-contact-info {
        width: 100% !important;
        text-align: left !important;
        align-self: flex-start !important;
    }

    .footer-contact-info p {
        text-align: left !important;
        margin: 4px 0 !important;
    }

    .footer-spacer-col {
        display: none !important;
    }

    .footer-newsletter-form {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .toyoauto-subfooter .subfooter-row,
    .ToyotaPiezas-subfooter .subfooter-row {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }

    /* 8. Barra Flotante Inferior de Navegación Móvil (Bottom App Bar) */
    .toyoauto-mobile-bottom-bar,
    .ToyotaPiezas-mobile-bottom-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 56px !important;
        background: rgba(255, 255, 255, 0.97) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-top: 1px solid #e2e8f0 !important;
        z-index: 99999 !important;
        justify-content: space-around !important;
        align-items: center !important;
        padding: 0 4px !important;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06) !important;
    }

    .bottom-nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        color: #64748b !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        gap: 2px !important;
        flex: 1 !important;
        background: transparent !important;
        border: none !important;
        padding: 4px 0 !important;
        cursor: pointer !important;
    }

    .bottom-nav-item.active,
    .bottom-nav-item:hover {
        color: var(--toyo-red) !important;
    }

    .bottom-nav-item svg {
        width: 20px !important;
        height: 20px !important;
    }

    .bottom-nav-icon-wrap {
        position: relative !important;
        display: inline-flex !important;
    }

    .bottom-badge {
        position: absolute !important;
        top: -6px !important;
        right: -8px !important;
        background: var(--toyo-red) !important;
        color: #ffffff !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        min-width: 16px !important;
        height: 16px !important;
        line-height: 16px !important;
        text-align: center !important;
        border-radius: 999px !important;
        padding: 0 4px !important;
    }

    .bottom-icon-emoji {
        font-size: 18px !important;
    }

    /* 9. Cajón Menú Deslizante (Off-Canvas Mobile Drawer) */
    .toyoauto-mobile-drawer, .ToyotaPiezas-mobile-drawer {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 300px !important;
        max-width: 85vw !important;
        background: #ffffff !important;
        z-index: 100001 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15) !important;
        overflow-y: auto !important;
    }

    .toyoauto-mobile-drawer.is-open,
    .ToyotaPiezas-mobile-drawer.is-open {
        transform: translateX(0) !important;
    }

    .toyoauto-drawer-overlay, .ToyotaPiezas-drawer-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(15, 23, 42, 0.6) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        z-index: 100000 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }

    .toyoauto-drawer-overlay.is-active,
    .ToyotaPiezas-drawer-overlay.is-active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    .drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .drawer-logo {
        max-height: 32px !important;
        width: auto !important;
    }

    .drawer-close-btn {
        background: #f1f5f9 !important;
        border: none !important;
        border-radius: 50% !important;
        width: 34px !important;
        height: 34px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        color: #64748b !important;
    }

    .drawer-search-box {
        padding: 12px 16px !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .drawer-input-group {
        display: flex !important;
        align-items: center !important;
        background: #f8fafc !important;
        border: 1.5px solid #cbd5e1 !important;
        border-radius: 8px !important;
        padding: 0 10px !important;
    }

    .drawer-search-field {
        border: none !important;
        background: transparent !important;
        height: 38px !important;
        width: 100% !important;
        font-size: 13px !important;
        outline: none !important;
    }

    .drawer-search-submit {
        background: transparent !important;
        border: none !important;
        color: #64748b !important;
        cursor: pointer !important;
        padding: 0 !important;
    }

    .drawer-nav {
        padding: 12px 0 !important;
        flex: 1 !important;
    }

    .drawer-menu-list {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .drawer-menu-list li a,
    .drawer-menu-list li button {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 12px 18px !important;
        color: #1e293b !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        width: 100% !important;
        border: none !important;
        background: transparent !important;
        text-align: left !important;
        cursor: pointer !important;
    }

    .drawer-menu-list li a:hover,
    .drawer-menu-list li button:hover {
        background: #f8fafc !important;
        color: var(--toyo-red) !important;
    }

    .drawer-currency-section {
        padding: 14px 16px !important;
        border-top: 1px solid #e2e8f0 !important;
        background: #f8fafc !important;
    }

    .drawer-section-label {
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #64748b !important;
        text-transform: uppercase !important;
        display: block !important;
        margin-bottom: 8px !important;
    }

    .drawer-currency-pills {
        display: flex !important;
        gap: 8px !important;
    }

    .drawer-curr-pill {
        flex: 1 !important;
        height: 36px !important;
        border-radius: 8px !important;
        border: 1.5px solid #cbd5e1 !important;
        background: #ffffff !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #334155 !important;
        cursor: pointer !important;
    }

    .drawer-curr-pill.active {
        border-color: var(--toyo-red) !important;
        background: var(--toyo-red) !important;
        color: #ffffff !important;
    }

    .drawer-footer-support {
        padding: 14px 16px !important;
        border-top: 1px solid #e2e8f0 !important;
    }

    .drawer-wa-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        height: 42px !important;
        border-radius: 8px !important;
        background: #25D366 !important;
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3) !important;
    }
}

/* ==========================================================================
   FICHA DE PRODUCTO MODERNA Y LIMPIA (SINGLE PRODUCT PAGE)
   ========================================================================== */

/* 1. Ocultar Paginación Lateral Flotante de Storefront */
.storefront-product-pagination,
nav.storefront-product-pagination {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 2. Contenedor Principal de la Ficha */
.single-product .site-content {
    background-color: #ffffff !important;
    padding-top: 25px !important;
    padding-bottom: 60px !important;
}

.single-product #primary,
.single-product .site-main {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    float: none !important;
    width: 100% !important;
}

.single-product div.product {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 40px !important;
    position: relative !important;
    margin-bottom: 50px !important;
}

/* 3. Columna Izquierda: Galería e Imágenes del Producto */
.single-product div.product .woocommerce-product-gallery {
    flex: 0 0 46% !important;
    max-width: 520px !important;
    width: 46% !important;
    float: none !important;
    margin: 0 !important;
    padding: 20px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
}

.single-product div.product .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
}

.single-product div.product .woocommerce-product-gallery__image img {
    border-radius: 10px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    max-height: 420px !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Miniaturas de Galería (Diagramas y Fotos) */
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs,
.single-product div.product .flex-control-thumbs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 16px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    justify-content: flex-start !important;
    float: none !important;
    clear: both !important;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li,
.single-product div.product .flex-control-thumbs li,
.single-product div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li,
.single-product div.product .woocommerce-product-gallery--columns-3 .flex-control-thumbs li,
.single-product div.product .woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
    width: 72px !important;
    height: 72px !important;
    flex: 0 0 72px !important;
    max-width: 72px !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    background: #ffffff !important;
    padding: 3px !important;
    box-sizing: border-box !important;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img,
.single-product div.product .flex-control-thumbs li img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    opacity: 0.75 !important;
    transition: opacity 0.2s ease !important;
    display: block !important;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img,
.single-product div.product .flex-control-thumbs li img.flex-active,
.single-product div.product .flex-control-thumbs li:hover img {
    opacity: 1 !important;
}

body.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover,
.single-product div.product .flex-control-thumbs li:hover {
    border-color: var(--toyo-red) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* 4. Columna Derecha: Resumen e Información de Compra */
.single-product div.product .summary.entry-summary {
    flex: 1 1 48% !important;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single-product div.product .product_title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    letter-spacing: -0.02em !important;
}

.single-product div.product .price {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: var(--toyo-red) !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
}

.single-product div.product .price ins {
    text-decoration: none !important;
}

.single-product div.product .price del {
    font-size: 18px !important;
    color: #94a3b8 !important;
    font-weight: 500 !important;
}

.single-product div.product .woocommerce-product-details__short-description {
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: #475569 !important;
    margin-bottom: 24px !important;
    padding-bottom: 20px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

/* Estado de Inventario / Stock Badge */
.single-product div.product .stock {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    margin-bottom: 20px !important;
}

.single-product div.product .stock.in-stock {
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
}

/* Formulario de Compra / Botón Añadir al Carrito */
.single-product div.product form.cart {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 28px !important;
    flex-wrap: wrap !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.single-product div.product form.cart .quantity {
    margin: 0 !important;
    float: none !important;
}

.single-product div.product form.cart .quantity input.qty {
    height: 48px !important;
    width: 75px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    color: #0f172a !important;
    background: #f8fafc !important;
}

.single-product div.product form.cart .single_add_to_cart_button {
    height: 48px !important;
    padding: 0 34px !important;
    background: var(--toyo-red) !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 14px rgba(192, 8, 18, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.single-product div.product form.cart .single_add_to_cart_button:hover {
    filter: brightness(0.88) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(192, 8, 18, 0.35) !important;
}

/* Metadatos (SKU, Categoría, Tags) */
.single-product div.product .product_meta {
    font-size: 13.5px !important;
    color: #64748b !important;
    line-height: 1.8 !important;
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.single-product div.product .product_meta span.sku_wrapper,
.single-product div.product .product_meta span.brand_wrapper,
.single-product div.product .product_meta span.posted_in,
.single-product div.product .product_meta span.tagged_as {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.single-product div.product .product_meta .meta-label {
    color: #C00812 !important;
    font-weight: 700 !important;
}

.single-product div.product .product_meta span.sku {
    display: inline-block !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    background: #f1f5f9 !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    border: 1px solid #e2e8f0 !important;
    letter-spacing: 0.5px !important;
}

.single-product div.product .product_meta .brand-value {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.single-product div.product .product_meta a {
    color: #0f172a !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.single-product div.product .product_meta a:hover {
    color: var(--toyo-red) !important;
    text-decoration: underline !important;
}

/* 5. Pestañas WooCommerce (Tabs Horizontales Limpias) */
body.single-product .woocommerce-tabs,
.single-product div.product .woocommerce-tabs,
.storefront-full-width-content .woocommerce-tabs {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 40px !important;
    padding: 0 !important;
    border-top: none !important;
    clear: both !important;
    float: none !important;
    display: block !important;
    box-sizing: border-box !important;
}

body.single-product .woocommerce-tabs ul.tabs,
.single-product div.product .woocommerce-tabs ul.tabs,
.storefront-full-width-content .woocommerce-tabs ul.tabs,
.woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    border-bottom: 2px solid #e2e8f0 !important;
    padding: 0 0 0 2px !important;
    margin: 0 0 -1px 0 !important;
    list-style: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 2 !important;
}

.woocommerce-tabs ul.tabs:before,
.woocommerce-tabs ul.tabs:after,
.woocommerce-tabs ul.tabs li:after,
.woocommerce-tabs ul.tabs li:before {
    display: none !important;
    content: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li,
.single-product div.product .woocommerce-tabs ul.tabs li,
.woocommerce-tabs ul.tabs li {
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    display: inline-block !important;
    position: relative !important;
}

body.single-product .woocommerce-tabs ul.tabs li a,
.single-product div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-tabs ul.tabs li a {
    display: inline-block !important;
    padding: 12px 22px !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    color: #64748b !important;
    text-decoration: none !important;
    border: 1px solid transparent !important;
    border-bottom: none !important;
    margin-bottom: 0 !important;
    transition: all 0.2s ease !important;
    border-radius: 8px 8px 0 0 !important;
    background: #f8fafc !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--toyo-red) !important;
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    border-bottom: 2px solid #ffffff !important;
    position: relative !important;
    z-index: 3 !important;
    font-weight: 800 !important;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.03) !important;
}

body.single-product .woocommerce-tabs ul.tabs li a:hover,
.single-product div.product .woocommerce-tabs ul.tabs li a:hover {
    color: var(--toyo-red) !important;
    background: #ffffff !important;
}

body.single-product .woocommerce-tabs .panel,
body.single-product .woocommerce-tabs .entry-content,
body.single-product .woocommerce-tabs .woocommerce-Tabs-panel,
.storefront-full-width-content .woocommerce-tabs .panel,
.woocommerce-tabs .panel {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 28px 32px !important;
    background: #ffffff !important;
    border-radius: 0 12px 12px 12px !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    box-sizing: border-box !important;
    clear: both !important;
    position: relative !important;
    z-index: 1 !important;
}

body.single-product .woocommerce-tabs .panel h2,
.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel h2 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
}

body.single-product .woocommerce-tabs .panel p,
.single-product div.product .woocommerce-tabs .woocommerce-Tabs-panel p {
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #334155 !important;
    margin-bottom: 12px !important;
}

/* 6. Sección de Productos Relacionados (Grid Cuadriculado Perfecto) */
body.single-product .related.products,
body.single-product .upsells.products,
body.single-product .up-sells,
.single-product section.related,
.site-main section.related.products,
.site-main .related.products {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 50px !important;
    padding-top: 35px !important;
    border-top: 2px solid #f1f5f9 !important;
    float: none !important;
    clear: both !important;
    display: block !important;
}

body.single-product .related.products > h2,
body.single-product .upsells.products > h2,
body.single-product .up-sells > h2,
.site-main section.related.products > h2 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 25px !important;
    letter-spacing: -0.01em !important;
    position: relative !important;
    padding-bottom: 10px !important;
    text-align: left !important;
}

body.single-product .related.products > h2:after,
body.single-product .upsells.products > h2:after,
.site-main section.related.products > h2:after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 50px !important;
    height: 3px !important;
    background: var(--toyo-red) !important;
    border-radius: 3px !important;
}

body.single-product .related.products ul.products,
body.single-product .upsells.products ul.products,
body.single-product .up-sells ul.products,
.site-main section.related.products ul.products,
.site-main .related.products ul.products,
ul.products.columns-3 {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 22px !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    clear: both !important;
}

body.single-product .related.products ul.products:before,
body.single-product .related.products ul.products:after,
body.single-product .upsells.products ul.products:before,
body.single-product .upsells.products ul.products:after {
    display: none !important;
}

body.single-product .related.products ul.products li.product,
body.single-product .upsells.products ul.products li.product,
.site-main section.related.products ul.products li.product,
.site-main .related.products ul.products li.product,
.site-main ul.products li.product {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 18px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    clear: none !important;
}

body.single-product .related.products ul.products li.product:hover,
body.single-product .upsells.products ul.products li.product:hover {
    border-color: var(--toyo-red) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08) !important;
}

body.single-product .related.products ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    flex-grow: 1 !important;
}

body.single-product .related.products ul.products li.product img {
    width: 100% !important;
    height: 160px !important;
    object-fit: contain !important;
    margin: 0 0 15px 0 !important;
    transition: transform 0.2s ease !important;
}

body.single-product .related.products ul.products li.product:hover img {
    transform: scale(1.03) !important;
}

body.single-product .related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    min-height: 38px !important;
    margin-bottom: 8px !important;
    color: #1e293b !important;
    text-align: center !important;
}

body.single-product .related.products ul.products li.product .price {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--toyo-red) !important;
    margin-bottom: 14px !important;
    text-align: center !important;
}

body.single-product .related.products ul.products li.product .button {
    margin-top: auto !important;
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 9px 14px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
    display: block !important;
}

body.single-product .related.products ul.products li.product .button:hover {
    background: var(--toyo-red) !important;
    color: #ffffff !important;
    border-color: var(--toyo-red) !important;
}

/* 7. Responsivo en Ficha de Producto (Móviles y Tablets) */
@media (max-width: 900px) {
    .single-product div.product {
        flex-direction: column !important;
        gap: 30px !important;
    }
    .single-product div.product .woocommerce-product-gallery,
    .single-product div.product .summary.entry-summary {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .single-product div.product .product_title {
        font-size: 22px !important;
    }
    body.single-product .related.products ul.products,
    .site-main section.related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 540px) {
    body.single-product .related.products ul.products,
    .site-main section.related.products ul.products {
        grid-template-columns: 1fr !important;
    }
}














/* ==========================================================================
   26. MODAL CHECKOUT EXPRÉS POR WHATSAPP (VENEZUELA)
   ========================================================================== */
.toyoauto-express-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.toyoauto-express-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.toyoauto-express-modal-card {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    padding: 28px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.toyoauto-express-modal-overlay.is-active .toyoauto-express-modal-card {
    transform: translateY(0) scale(1);
}

.toyoauto-express-modal-card .modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.toyoauto-express-modal-card .modal-close-btn:hover {
    background: #fee2e2;
    color: #C00812;
}

.toyoauto-express-modal-card .modal-header {
    text-align: center;
    margin-bottom: 22px;
}

.toyoauto-express-modal-card .modal-icon {
    font-size: 38px;
    display: block;
    margin-bottom: 8px;
}

.toyoauto-express-modal-card h3 {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}

.toyoauto-express-modal-card p {
    margin: 0;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.4;
}

.toyoauto-express-modal-card .form-group {
    margin-bottom: 14px;
}

.toyoauto-express-modal-card label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.toyoauto-express-modal-card .input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.toyoauto-express-modal-card .input-prefix-icon {
    position: absolute;
    left: 12px;
    font-size: 18px;
    pointer-events: none;
}

.toyoauto-express-modal-card input[type="text"],
.toyoauto-express-modal-card input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14.5px;
    color: #0f172a;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.toyoauto-express-modal-card .input-with-icon input {
    padding-left: 42px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.toyoauto-express-modal-card input:focus {
    border-color: #25D366;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.toyoauto-express-modal-card .form-row-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.toyoauto-express-modal-card .phone-feedback {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
}

.toyoauto-express-modal-card .status-checking { color: #d97706; }
.toyoauto-express-modal-card .status-found { color: #16a34a; }
.toyoauto-express-modal-card .status-new { color: #2563eb; }

.toyoauto-express-modal-card .modal-footer-actions {
    margin-top: 20px;
}

.toyoauto-express-modal-card .toyoauto-btn-whatsapp {
    width: 100%;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 800;
    background: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.toyoauto-express-modal-card .toyoauto-btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.toyoauto-express-modal-card .modal-security-note {
    font-size: 11.5px;
    color: #94a3b8;
    text-align: center;
    margin-top: 14px;
    line-height: 1.4;
}

/* ==========================================================================
   27. RECIBO DIGITAL Y SEGUIMIENTO EN VIVO (/recibo/1234/)
   ========================================================================== */
.toyoauto-receipt-wrapper {
    background: #f8fafc;
    padding: 40px 0 60px 0;
    min-height: 80vh;
}

.receipt-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 36px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.receipt-logo {
    height: 38px;
    width: auto;
    display: block;
    margin-bottom: 6px;
}

.receipt-badge {
    display: inline-block;
    background: #fee2e2;
    color: #C00812;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.receipt-order-num {
    text-align: right;
}

.receipt-order-num h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
}

.receipt-date {
    font-size: 12.5px;
    color: #64748b;
}

/* Barra de Progreso en Vivo */
.receipt-progress-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.receipt-progress-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.receipt-steps-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.step-item.is-active {
    opacity: 1;
}

.step-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.step-item.is-active .step-icon {
    border-color: #16a34a;
    background: #dcfce7;
}

.step-label {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
}

.step-line {
    flex: 1;
    height: 4px;
    background: #e2e8f0;
    margin: 0 10px;
    border-radius: 2px;
    transform: translateY(-12px);
}

.step-line.is-active {
    background: #16a34a;
}

/* Tracking Banner */
.receipt-tracking-banner {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ecfdf5;
    border: 1.5px solid #a7f3d0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 25px;
}

.receipt-tracking-banner .tracking-icon {
    font-size: 32px;
}

.receipt-tracking-banner h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 800;
    color: #065f46;
}

.receipt-tracking-banner p {
    margin: 0;
    font-size: 13.5px;
    color: #047857;
}

/* Info Grid */
.receipt-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.receipt-info-grid .info-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px;
}

.receipt-info-grid .info-card h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

.receipt-info-grid .info-card p {
    margin: 6px 0;
    font-size: 13px;
    color: #475569;
}

/* Tabla de Repuestos */
.receipt-items-section {
    margin-bottom: 35px;
}

.receipt-items-section h3 {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
}

.receipt-table {
    width: 100%;
    border-collapse: collapse;
}

.receipt-table th {
    background: #f1f5f9;
    padding: 11px 14px;
    font-size: 12px;
    font-weight: 800;
    color: #475569;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.receipt-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
    color: #1e293b;
    vertical-align: middle;
}

.receipt-table .col-sku {
    white-space: nowrap;
    width: 1%;
}

.receipt-table .col-desc {
    width: auto;
    line-height: 1.45;
    word-break: normal;
    min-width: 220px;
}

.receipt-table .col-brand {
    white-space: nowrap;
    width: 1%;
}

.receipt-table .col-qty {
    text-align: center;
    white-space: nowrap;
    width: 1%;
}

.receipt-table .col-total {
    text-align: right;
    white-space: nowrap;
    width: 1%;
}

.receipt-table code {
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 700;
    font-size: 13px;
    color: #0f172a;
    white-space: nowrap;
    display: inline-block;
    letter-spacing: 0.3px;
}

.receipt-table .brand-badge {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    display: inline-block;
}

.receipt-table tfoot td {
    padding: 13px 14px;
    border-top: 2px solid #e2e8f0;
}

/* Cuentas de Pago */
.receipt-payment-accounts {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}

.receipt-payment-accounts h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

.payment-accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.account-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
}

.account-badge {
    font-size: 12px;
    font-weight: 800;
    color: #C00812;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
}

.account-card p {
    margin: 4px 0;
    font-size: 12.5px;
    color: #475569;
}

.account-amount {
    margin-top: 10px !important;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
    color: #0f172a !important;
}

.receipt-footer-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Login sin contraseña en Mi Cuenta */
.toyoauto-phone-login-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
}

.toyoauto-phone-login-box h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.toyoauto-phone-login-box p {
    margin: 0 0 16px 0;
    font-size: 13px;
    color: #64748b;
}

.toyoauto-login-divider {
    text-align: center;
    margin: 24px 0 10px 0;
    position: relative;
}

.toyoauto-login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: #cbd5e1;
}

.toyoauto-login-divider span {
    position: relative;
    background: #f8fafc;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
}

/* ==========================================================================
   28. ESTILOS DEL PORTAL DE CONTROL DE PEDIDOS (WP-ADMIN)
   ========================================================================== */
.toyoauto-portal-wrap {
    margin: 20px 20px 0 0;
}

.toyoauto-portal-wrap .portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.toyoauto-portal-wrap .portal-title-area h1 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.toyoauto-portal-wrap .portal-subtitle {
    margin: 0;
    font-size: 13.5px;
    color: #64748b;
}

.toyoauto-nav-tabs {
    margin-bottom: 16px !important;
}

.toyoauto-nav-tabs .tab-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 999px;
    background: #e2e8f0;
    font-size: 11px;
    font-weight: 800;
    margin-left: 4px;
}

.toyoauto-nav-tabs .badge-warning { background: #fef3c7; color: #b45309; }
.toyoauto-nav-tabs .badge-info { background: #e0f2fe; color: #0369a1; }
.toyoauto-nav-tabs .badge-purple { background: #f3e8ff; color: #7e22ce; }
.toyoauto-nav-tabs .badge-success { background: #dcfce7; color: #15803d; }

.portal-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    background: #ffffff;
    padding: 12px 16px;
    border: 1px solid #ccd0d4;
    border-radius: 6px;
}

.portal-filter-bar .search-input-wrap {
    display: inline-flex;
    align-items: center;
    position: relative;
}

.portal-filter-bar .search-input-wrap input {
    padding-left: 28px;
    width: 320px;
}

.portal-filter-bar .search-input-wrap .dashicons {
    position: absolute;
    left: 6px;
    color: #94a3b8;
}

.toyoauto-orders-table th {
    font-weight: 700;
}

.order-id-label {
    font-size: 14px;
    color: #0f172a;
    display: block;
}

.order-edit-link {
    text-decoration: none;
    font-weight: 700;
    color: #0f172a;
    transition: color 0.15s ease;
}

.order-edit-link:hover {
    color: #0284c7;
    text-decoration: underline;
}

.order-date-label {
    font-size: 11px;
    color: #64748b;
    display: block;
}

.portal-receipt-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    background: #eff6ff;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #bfdbfe;
    transition: all 0.2s ease;
}

.portal-receipt-link:hover {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #93c5fd;
}

.customer-rif-badge {
    font-size: 11.5px;
    color: #64748b;
    font-family: monospace;
}

.chat-wa-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #dcfce7;
    color: #15803d !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    margin-top: 4px;
}

.chat-wa-quick-btn:hover {
    background: #22c55e;
    color: #ffffff !important;
}

.order-items-compact-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.compact-item-row {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.item-qty-badge {
    font-weight: 800;
    color: #C00812;
}

.item-sku-tag {
    background: #f1f5f9;
    color: #0f172a;
    font-family: monospace;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 11px;
}

.item-brand-tag {
    background: #e0f2fe;
    color: #0284c7;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 10.5px;
}

.total-usd-label {
    font-size: 14px;
    color: #0f172a;
}

.total-bs-label {
    font-size: 12px;
    color: #64748b;
}

.portal-status-select {
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 4px;
}

.tracking-inputs-row {
    display: flex;
    gap: 4px;
}

.tracking-inputs-row select {
    max-width: 90px;
    font-size: 12px;
}

.tracking-inputs-row input {
    max-width: 90px;
    font-size: 12px;
}

.portal-actions-cell {
    display: flex;
    gap: 4px;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.btn-edit-order {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
    font-weight: 600 !important;
}

.btn-edit-order:hover {
    background: #e2e8f0 !important;
    color: #0284c7 !important;
}

.btn-view-receipt {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
    border-color: #bfdbfe !important;
    font-weight: 600 !important;
}

.btn-view-receipt:hover {
    background: #dbeafe !important;
    color: #1e40af !important;
}

.btn-wa-dispatch {
    background: #25D366 !important;
    color: #ffffff !important;
    border-color: #25D366 !important;
    font-weight: 700 !important;
}

.btn-wa-dispatch.is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.btn-packing-slip {
    background: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}

.status-save-feedback,
.tracking-save-feedback,
.dest-save-feedback {
    display: block;
    font-size: 11px;
    margin-top: 3px;
}

.status-save-feedback.success,
.tracking-save-feedback.success,
.dest-save-feedback.success { color: #16a34a; font-weight: 700; }
.status-save-feedback.error,
.tracking-save-feedback.error,
.dest-save-feedback.error { color: #dc2626; font-weight: 700; }

/* Editor de Destino y Agencia a Demanda */
.dest-editor-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.portal-dest-city,
.portal-dest-agency {
    width: 100% !important;
    font-size: 11px !important;
    padding: 2px 6px !important;
    height: 25px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

.portal-dest-city:focus,
.portal-dest-agency:focus {
    border-color: #C00812 !important;
    box-shadow: 0 0 0 1px #C00812 !important;
    outline: none !important;
}

.btn-save-dest {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

.btn-save-dest:hover {
    background: #e2e8f0 !important;
}

/* Modal de Hoja de Empaque por Almacén */
.toyoauto-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(2px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.toyoauto-modal-container {
    background: #ffffff;
    border-radius: 12px;
    max-width: 760px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    overflow: hidden;
    animation: modalPopIn 0.2s ease-out;
}

@keyframes modalPopIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.toyoauto-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-icon {
    font-size: 24px;
}

.modal-close-btn {
    background: transparent;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
}

.modal-close-btn:hover {
    color: #0f172a;
    background: #e2e8f0;
}

.toyoauto-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.modal-config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.modal-select-warehouse {
    width: 100% !important;
    font-size: 13px !important;
    height: 34px !important;
    margin-top: 4px;
    border-radius: 6px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    font-weight: 600;
}

.modal-order-summary-box {
    font-size: 12.5px;
    color: #334155;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.modal-items-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.modal-items-quick-actions {
    display: flex;
    gap: 6px;
}

.modal-table-scroll {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.modal-items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.modal-items-table th {
    position: sticky;
    top: 0;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    padding: 8px 10px;
    text-align: left;
    z-index: 2;
}

.modal-items-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}

.modal-items-table tr:last-child td {
    border-bottom: none;
}

.modal-items-table tr:hover {
    background: #f8fafc;
}

.toyoauto-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.btn-submit-packing-slip {
    background: #C00812 !important;
    border-color: #C00812 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 4px 18px !important;
}

.btn-submit-packing-slip:hover {
    background: #990000 !important;
    border-color: #990000 !important;
}

/* Múltiples Almacenes & Guías en el Portal de Despachos */
.portal-shipments-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shipments-chips-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shipment-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11.5px;
    max-width: 100%;
}

.shipment-chip .chip-wh {
    font-weight: 700;
    color: #0f172a;
}

.shipment-chip .chip-carrier {
    color: #475569;
}

.shipment-chip .chip-track {
    font-family: monospace;
    color: #C00812;
}

.shipment-chip .btn-remove-shipment {
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 14px;
    padding: 0 2px;
    font-weight: 800;
    line-height: 1;
}

.shipment-chip .btn-remove-shipment:hover {
    color: #ef4444;
}

.add-shipment-row {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-top: 3px;
}

.add-shipment-row select,
.add-shipment-row input {
    font-size: 11px !important;
    padding: 2px 6px !important;
    height: 26px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

.add-shipment-row .wh-select {
    flex: 1 1 125px !important;
    max-width: 140px !important;
}

.add-shipment-row .tracking-number-input {
    flex: 1 1 115px !important;
    min-width: 80px !important;
}

.no-shipments-msg {
    font-size: 11.5px;
    color: #94a3b8;
    font-style: italic;
}

/* ==========================================================================
   DROPDOWN FLOTANTE DE MENSAJERÍA WHATSAPP RÁPIDA (PORTAL DE DESPACHOS)
   ========================================================================== */
.portal-wa-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.portal-wa-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 99999;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    min-width: 195px;
    padding: 6px 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Alinear a la derecha en la celda de acciones */
.portal-actions-cell .portal-wa-dropdown-wrap .portal-wa-menu {
    left: auto;
    right: 0;
}

.wa-menu-item {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 14px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    background: transparent;
    border: none !important;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    box-sizing: border-box;
}

.wa-menu-item:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

.wa-menu-item.btn-wa-web-action:hover {
    background: #ecfdf5 !important;
    color: #059669 !important;
}

.wa-menu-item.btn-wa-copy-action:hover {
    background: #eff6ff !important;
    color: #2563eb !important;
}

/* Toast flotante simple para confirmación de copia */
.toyoauto-quick-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 100000;
    display: none;
    border-left: 4px solid #22c55e;
}

/* ==========================================================================
   29. PANTALLA EXCLUSIVA DE ACCESO A MIS PEDIDOS (SIN CONTRASEÑAS)
   ========================================================================== */
.toyoauto-orders-access-wrapper {
    max-width: 480px;
    margin: 40px auto 70px auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

.toyoauto-orders-access-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

.access-card-header {
    margin-bottom: 24px;
}

.access-card-header .access-icon {
    font-size: 42px;
    display: block;
    margin-bottom: 10px;
}

.access-card-header h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

.access-card-header p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.toyoauto-access-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
}

.toyoauto-phone-access-form .form-group {
    text-align: left;
    margin-bottom: 16px;
}

.toyoauto-phone-access-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 6px;
}

.toyoauto-phone-access-form .input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.toyoauto-phone-access-form .input-prefix-icon {
    position: absolute;
    left: 14px;
    font-size: 18px;
    pointer-events: none;
}

.toyoauto-phone-access-form input[type="tel"] {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #0f172a;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.toyoauto-phone-access-form input[type="tel"]:focus {
    border-color: #25D366;
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.15);
}

.access-card-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.access-card-footer p {
    font-size: 12px;
    color: #94a3b8;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.access-card-footer .back-home-link {
    color: #C00812;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s ease;
}

.access-card-footer .back-home-link:hover {
    color: #990000;
    text-decoration: underline;
}


/* ==========================================================================
   28. REDISEÑO MODERNO Y AMIGABLE DE CHECKOUT (MÓVIL & ESCRITORIO)
   ========================================================================== */

/* RESET COMPLETO DE ANCHOS Y FLOATS DE STOREFRONT */
.woocommerce-checkout .col2-set,
.woocommerce-checkout #customer_details,
.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-review-order,
.toyoauto-checkout-customer-col,
.toyoauto-checkout-review-col,
.toyoauto-customer-card,
.toyoauto-review-card,
.toyoauto-checkout-grid {
    float: none !important;
    clear: both !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
}

.toyoauto-checkout-customer-col,
.toyoauto-checkout-review-col,
.toyoauto-customer-card,
.toyoauto-review-card,
.toyoauto-review-card #order_review,
.toyoauto-review-card .woocommerce-checkout-review-order {
    width: 100% !important;
    max-width: 100% !important;
}

/* Ocultar encabezados duplicados nativos */
.toyoauto-customer-card .woocommerce-billing-fields > h3,
.toyoauto-customer-card .woocommerce-shipping-fields > h3,
.toyoauto-customer-card .woocommerce-additional-fields > h3,
.toyoauto-review-card #order_review_heading {
    display: none !important;
}

.toyoauto-hidden-country {
    display: none !important;
}

/* ==========================================================================
   CUPÓN DE DESCUENTO EN CHECKOUT (LIMPIO Y SIN DESBORDES NI MANCHAS)
   ========================================================================== */
.woocommerce-form-coupon-toggle {
    margin-bottom: 20px !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 12px 18px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    display: block !important;
    box-shadow: none !important;
    line-height: 1.5 !important;
    position: relative !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info:before,
.woocommerce-form-coupon-toggle .woocommerce-info:after {
    display: none !important;
    content: none !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon,
.woocommerce-form-coupon-toggle .woocommerce-info a {
    color: var(--toyo-red) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    margin-left: 4px !important;
    transition: opacity 0.2s ease !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a:hover {
    opacity: 0.8 !important;
}

/* El formulario solo se muestra cuando el usuario hace clic en el enlace */
form.checkout_coupon.woocommerce-form-coupon {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    margin-bottom: 20px !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
}

form.checkout_coupon.woocommerce-form-coupon p {
    margin: 0 !important;
}

form.checkout_coupon.woocommerce-form-coupon p.form-row-first {
    width: auto !important;
    float: left !important;
    margin-right: 12px !important;
    margin-bottom: 8px !important;
}

form.checkout_coupon.woocommerce-form-coupon p.form-row-last {
    width: auto !important;
    float: left !important;
    margin-bottom: 8px !important;
}

form.checkout_coupon.woocommerce-form-coupon input.input-text {
    height: 44px !important;
    width: 240px !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    background: #f8fafc !important;
}

form.checkout_coupon.woocommerce-form-coupon button.button {
    height: 44px !important;
    padding: 0 22px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

form.checkout_coupon.woocommerce-form-coupon button.button:hover {
    background: var(--toyo-red) !important;
}

/* ==========================================================================
   GRID PRINCIPAL DE CHECKOUT (ESCRITORIO: 58% / 42%)
   ========================================================================== */
.toyoauto-checkout-grid {
    display: grid !important;
    grid-template-columns: 58% 42% !important;
    gap: 28px !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
}

.toyoauto-customer-card,
.toyoauto-review-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 26px 28px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.toyoauto-review-card {
    position: sticky !important;
    top: 24px !important;
}

/* Cabeceras de Tarjetas */
.toyoauto-card-header {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding-bottom: 18px !important;
    margin-bottom: 22px !important;
    border-bottom: 1.5px solid #f1f5f9 !important;
}

.toyoauto-card-header .header-icon {
    font-size: 24px !important;
    width: 44px !important;
    height: 44px !important;
    background: #f8fafc !important;
    border-radius: 10px !important;
    border: 1px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.toyoauto-card-header h2 {
    margin: 0 0 4px 0 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: -0.02em !important;
}

.toyoauto-card-header p {
    margin: 0 !important;
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
}

.toyoauto-card-header .items-count-badge {
    display: inline-block !important;
    background: #fee2e2 !important;
    color: var(--toyo-red) !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    margin-top: 4px !important;
}

/* Campos de Facturación */
.toyoauto-checkout-form .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px 16px !important;
    width: 100% !important;
}

.toyoauto-checkout-form p.form-row {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
}

.toyoauto-checkout-form p.form-row-wide,
.toyoauto-checkout-form p.notes {
    grid-column: 1 / -1 !important;
}

.toyoauto-checkout-form label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 6px !important;
}

.toyoauto-checkout-form input[type="text"],
.toyoauto-checkout-form input[type="tel"],
.toyoauto-checkout-form input[type="email"],
.toyoauto-checkout-form select,
.toyoauto-checkout-form textarea {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 14.5px !important;
    color: #0f172a !important;
    background: #f8fafc !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 9px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    min-height: 46px !important;
}

.toyoauto-checkout-form input:focus,
.toyoauto-checkout-form select:focus,
.toyoauto-checkout-form textarea:focus {
    border-color: #25D366 !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2) !important;
}

/* ==========================================================================
   TABLA DE RESUMEN DE PRODUCTOS (COLUMNA DERECHA)
   ========================================================================== */
.toyoauto-review-card table.shop_table,
.toyoauto-review-card .woocommerce-checkout-review-order-table {
    width: 100% !important;
    table-layout: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
    background: #ffffff !important;
}

.toyoauto-review-card table.shop_table th {
    background: #f8fafc !important;
    padding: 12px 14px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    border-bottom: 1.5px solid #e2e8f0 !important;
    letter-spacing: 0.5px !important;
}

.toyoauto-review-card table.shop_table td {
    padding: 12px 14px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-size: 13.5px !important;
    color: #1e293b !important;
    vertical-align: middle !important;
}

.toyoauto-review-card table.shop_table td.product-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #0f172a !important;
}

.toyoauto-review-card table.shop_table td.product-total {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    text-align: right !important;
    color: #0f172a !important;
    white-space: nowrap !important;
}

.toyoauto-review-card table.shop_table tfoot th,
.toyoauto-review-card table.shop_table tfoot td {
    padding: 10px 14px !important;
    border-top: 1px solid #f1f5f9 !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
}

.toyoauto-review-card table.shop_table .order-total th,
.toyoauto-review-card table.shop_table .order-total td {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--toyo-red) !important;
    border-top: 2px solid #e2e8f0 !important;
    background: #fef2f2 !important;
}

.toyoauto-review-card table.shop_table .order-total td {
    text-align: right !important;
}

/* ==========================================================================
   MÉTODOS DE PAGO Y BOTÓN DE CONFIRMACIÓN
   ========================================================================== */
.toyoauto-review-card #payment {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 18px 20px !important;
    margin-top: 20px !important;
}

.toyoauto-review-card #payment ul.payment_methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.toyoauto-review-card #payment ul.payment_methods li {
    margin-bottom: 12px !important;
    line-height: 1.4 !important;
}

.toyoauto-review-card #payment ul.payment_methods li label {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.toyoauto-review-card #payment div.payment_box {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    margin: 10px 0 14px 0 !important;
    font-size: 13.5px !important;
    color: #334155 !important;
    line-height: 1.55 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
}

.toyoauto-review-card #payment div.payment_box:before {
    display: none !important;
}

.toyoauto-review-card .woocommerce-terms-and-conditions-wrapper,
.toyoauto-review-card .woocommerce-privacy-policy-text {
    font-size: 12.5px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
    margin: 14px 0 !important;
}

.toyoauto-review-card .woocommerce-privacy-policy-text a {
    color: var(--toyo-red) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

.toyoauto-review-card #place_order {
    width: 100% !important;
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    padding: 16px 20px !important;
    border-radius: 12px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 54px !important;
    margin-top: 15px !important;
}

.toyoauto-review-card #place_order:hover {
    background: #20ba5a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55) !important;
}

/* ==========================================================================
   BARRA Y DRAWER PLEGABLE PARA MÓVILES
   ========================================================================== */
.toyoauto-mobile-summary-wrapper {
    display: none;
    max-width: 1180px;
    margin: 0 auto 20px auto;
}

.toyoauto-mobile-summary-bar {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    user-select: none;
}

.toyoauto-mobile-summary-bar:hover,
.toyoauto-mobile-summary-bar.is-active {
    border-color: var(--toyo-red);
    background: #fef2f2;
}

.toyoauto-mobile-summary-bar.is-active {
    border-radius: 12px 12px 0 0 !important;
    border-bottom: 1px dashed #cbd5e1 !important;
}

.toyoauto-mobile-summary-bar .summary-bar-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.toyoauto-mobile-summary-bar .summary-bar-icon {
    font-size: 18px;
}

.toyoauto-mobile-summary-bar .summary-bar-arrow {
    font-size: 12px;
    color: var(--toyo-red);
    transition: transform 0.2s ease;
}

.toyoauto-mobile-summary-bar.is-active .summary-bar-arrow {
    transform: rotate(180deg);
}

.toyoauto-mobile-summary-bar .summary-bar-amount {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.toyoauto-mobile-summary-bar .summary-usd-amount {
    font-size: 16px;
    font-weight: 800;
    color: var(--toyo-red);
}

.toyoauto-mobile-summary-bar .summary-ves-amount {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
}

.toyoauto-mobile-items-drawer {
    display: none;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 16px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.toyoauto-mobile-items-drawer.is-open {
    display: block !important;
    animation: toyoautoFadeIn 0.2s ease forwards;
}

.mobile-drawer-products {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-drawer-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.mobile-drawer-item:last-child {
    border-bottom: none !important;
}

.mobile-drawer-item .item-thumb img {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
}

.mobile-drawer-item .item-details {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.mobile-drawer-item .item-name {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
}

.mobile-drawer-item .item-sku {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #64748b !important;
}

.mobile-drawer-item .item-qty {
    font-size: 11.5px !important;
    color: #94a3b8 !important;
}

.mobile-drawer-item .item-subtotal {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-align: right !important;
    white-space: nowrap !important;
}

/* ==========================================================================
   ADAPTACIÓN MOBILE (< 960px)
   ========================================================================== */
@media (max-width: 960px) {
    .toyoauto-mobile-summary-wrapper {
        display: block !important;
    }

    .toyoauto-checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .toyoauto-customer-card,
    .toyoauto-review-card {
        padding: 20px 16px !important;
        border-radius: 14px !important;
    }

    .toyoauto-review-card {
        position: static !important;
    }

    /* En móvil, ocultar la tabla larga repetida y mantener pagos y botón */
    .toyoauto-review-card table.shop_table,
    .toyoauto-review-card .toyoauto-card-header.review-header {
        display: none !important;
    }

    .toyoauto-checkout-form .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .toyoauto-checkout-form p.form-row-first,
    .toyoauto-checkout-form p.form-row-last {
        grid-column: 1 / -1 !important;
    }
}

@keyframes toyoautoFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   TARJETAS DE PAGO CON DESCUENTO POR DIVISAS EN EL RECIBO DIGITAL
   ========================================================================== */
.payment-accounts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.payment-accounts-header h3 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}

.forex-discount-tag {
    background: #fef2f2;
    color: var(--toyo-red);
    border: 1px solid #fecaca;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
}

.receipt-payment-accounts .payment-accounts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.receipt-payment-accounts .account-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.receipt-payment-accounts .account-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.receipt-payment-accounts .account-card.has-discount {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.receipt-payment-accounts .account-card.has-discount:hover {
    border-color: #86efac;
}

.receipt-payment-accounts .account-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.receipt-payment-accounts .badge-ves {
    background: #e0f2fe;
    color: #0369a1;
}

.receipt-payment-accounts .badge-zelle {
    background: #ede9fe;
    color: #6d28d9;
}

.receipt-payment-accounts .badge-usdt {
    background: #fef3c7;
    color: #b45309;
}

.receipt-payment-accounts .account-amount-box {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.receipt-payment-accounts .discount-comparison {
    display: flex;
    align-items: center;
    gap: 8px;
}

.receipt-payment-accounts .old-price {
    font-size: 12.5px;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.receipt-payment-accounts .discount-badge {
    background: #16a34a;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
}

.receipt-payment-accounts .amount-value {
    font-size: 20px;
    font-weight: 800;
}

.receipt-payment-accounts .bs-value { color: var(--toyo-red); }
.receipt-payment-accounts .usd-value { color: #16a34a; }
.receipt-payment-accounts .usdt-value { color: #16a34a; }

.receipt-payment-accounts .savings-text {
    font-size: 14px;
    color: #15803d;
    font-weight: 800;
    margin-top: 3px;
    display: inline-block;
}

@media (max-width: 768px) {
    .receipt-payment-accounts .payment-accounts-grid {
        grid-template-columns: 1fr;
    }
}

/* BOTONES DE DESCARGA E IMPRESIÓN DEL RECIBO */
.receipt-quick-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.2s ease;
}

.receipt-quick-print-btn:hover {
    background: #C00812;
    color: #ffffff;
}

.toyoauto-btn-pdf {
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #0f172a !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.toyoauto-btn-pdf:hover {
    background: #C00812 !important;
    border-color: #C00812 !important;
    color: #ffffff !important;
}

.btn-receipt-pdf {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
    font-weight: 700 !important;
}

.btn-receipt-pdf:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

.receipt-print-footer {
    display: none;
}

/* ESTILOS DE IMPRESIÓN Y GENERACIÓN DE PDF OFICIAL */
@media print {
    @page {
        size: letter portrait;
        margin: 12mm 15mm;
    }

    /* 1. Ocultar todos los elementos web que no forman parte del documento */
    header, footer, nav,
    .site-header, .site-footer, .storefront-handheld-footer-bar,
    .toyoauto-mobile-nav, .no-print, #wpadminbar,
    .receipt-header-actions, .receipt-footer-links,
    .chat-wa-quick-btn, .portal-filter-bar, .toyoauto-nav-tabs,
    .admin-bar, #adminmenuwrap, #adminmenuback, #wpfooter {
        display: none !important;
    }

    /* 2. Formatear la página completa a fondo blanco limpio */
    body, html, #page, #content, #primary, #main, .col-full, .site-content, .toyoauto-receipt-wrapper {
        background: #ffffff !important;
        color: #000000 !important;
        padding: 0 !important;
        margin: 0 !important;
        font-size: 11pt !important;
        line-height: 1.4 !important;
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        float: none !important;
    }

    .toyoauto-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .receipt-card {
        box-shadow: none !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 8px !important;
        padding: 20px 25px !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .receipt-header {
        border-bottom: 2px solid #0f172a !important;
        padding-bottom: 15px !important;
        margin-bottom: 20px !important;
    }

    .receipt-logo {
        max-height: 45px !important;
    }

    .receipt-badge {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* 3. Tabla de repuestos en documento PDF */
    .receipt-table {
        width: 100% !important;
        border-collapse: collapse !important;
        page-break-inside: auto;
    }

    .receipt-table tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }

    .receipt-table th {
        background: #f1f5f9 !important;
        color: #0f172a !important;
        border: 1px solid #cbd5e1 !important;
        padding: 8px 10px !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .receipt-table td {
        border: 1px solid #e2e8f0 !important;
        padding: 8px 10px !important;
        font-size: 10.5pt !important;
    }

    .receipt-table .brand-badge {
        background: #e0f2fe !important;
        color: #0369a1 !important;
        border: 1px solid #bae6fd !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .receipt-table code {
        background: #f1f5f9 !important;
        border: 1px solid #e2e8f0 !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    /* 4. Resumen y cuentas */
    .receipt-info-grid .info-card {
        border: 1px solid #cbd5e1 !important;
        background: #f8fafc !important;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .receipt-payment-accounts {
        border: 1px solid #cbd5e1 !important;
        background: #f8fafc !important;
        padding: 15px !important;
        page-break-inside: avoid;
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    .account-card {
        border: 1px solid #cbd5e1 !important;
        box-shadow: none !important;
    }

    /* 5. Pie de página formal del PDF */
    .receipt-print-footer {
        display: block !important;
        margin-top: 25px !important;
        padding-top: 15px !important;
        border-top: 1px dashed #94a3b8 !important;
        text-align: center !important;
        font-size: 8.5pt !important;
        color: #64748b !important;
    }
}

/* Ocultar banner/notificación de confirmación de correo en Mis Pedidos */
.woocommerce-account .woocommerce-info:has(a[href*="wc_send_verification"]),
.woocommerce-account .woocommerce-message:has(a[href*="wc_send_verification"]),
.woocommerce-account .woocommerce-notice:has(a[href*="wc_send_verification"]),
.woocommerce-account a.wc-forward[href*="wc_send_verification"],
.woocommerce-account a[href*="wc_send_verification"] {
    display: none !important;
}

/* Botones de acción en tabla de Mis Pedidos */
.woocommerce-orders-table__cell-order-actions {
    display: inline-flex !important;
    gap: 8px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.woocommerce-orders-table__cell-order-actions a.button.pay {
    background: #16a34a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.25) !important;
    transition: all 0.2s ease !important;
}

.woocommerce-orders-table__cell-order-actions a.button.pay:hover {
    background: #15803d !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.35) !important;
}

.woocommerce-orders-table__cell-order-actions a.button.view {
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: all 0.2s ease !important;
}

.woocommerce-orders-table__cell-order-actions a.button.view:hover {
    background: #1e293b !important;
    transform: translateY(-1px) !important;
}

/* Supresión de outline/focus ring azul por clic o toque táctil en todo el sitio */
:focus:not(:focus-visible),
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   BOUTIQUE TOYOTA & LIFESTYLE (CATÁLOGO EN CUADRÍCULA NATURAL)
   ========================================================================== */
.toyoauto-boutique-page {
    background-color: #f8fafc;
    min-height: 80vh;
    padding-bottom: 60px;
}

.toyoauto-boutique-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 45px 0 40px;
    text-align: center;
    position: relative;
    border-bottom: 3px solid #C00812;
}

.boutique-hero-badge {
    display: inline-block;
    background: rgba(192, 8, 18, 0.2);
    color: #f87171;
    border: 1px solid rgba(192, 8, 18, 0.4);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 14px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.boutique-page-title {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.boutique-page-subtitle {
    font-size: 15px;
    color: #94a3b8;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.5;
}

.toyoauto-boutique-content-section {
    padding-top: 30px;
}

/* Toolbar & Category Pills */
.boutique-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.boutique-category-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.boutique-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    color: #475569;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.boutique-pill:hover {
    border-color: #cbd5e1;
    color: #0f172a;
    background: #f1f5f9;
}

.boutique-pill.active {
    background: #C00812;
    border-color: #C00812;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(192, 8, 18, 0.25);
}

.boutique-sort-dropdown .boutique-select {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Boutique Grid (4 Column Responsive Layout) */
.toyoauto-boutique-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .toyoauto-boutique-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .toyoauto-boutique-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .boutique-page-title {
        font-size: 26px;
    }
    .boutique-page-subtitle {
        font-size: 13.5px;
    }
}

@media (max-width: 480px) {
    .toyoauto-boutique-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Boutique Card */
.boutique-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.boutique-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.boutique-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.boutique-wishlist-btn:hover,
.boutique-wishlist-btn.active {
    color: #ef4444;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);
}

.boutique-card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    overflow: hidden;
    position: relative;
}

.boutique-card-thumb .boutique-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.boutique-card:hover .boutique-card-thumb .boutique-img {
    transform: scale(1.04);
}

.boutique-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.boutique-card-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #C00812;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.boutique-card-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.boutique-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.15s ease;
}

.boutique-card-title a:hover {
    color: #C00812;
}

.boutique-card-pricing {
    margin-bottom: 12px;
}

.boutique-price-usd {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.boutique-price-usd .curr-code {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

.boutique-price-ves {
    font-size: 12.5px;
    font-weight: 600;
    color: #16a34a;
    margin-top: 1px;
}

.boutique-btn-cart {
    display: block;
    width: 100%;
    background: #0f172a;
    color: #ffffff !important;
    text-align: center;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.boutique-btn-cart:hover {
    background: #C00812;
    box-shadow: 0 4px 12px rgba(192, 8, 18, 0.25);
}

/* Empty State */
.boutique-empty-state {
    text-align: center;
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 60px 20px;
    margin: 20px 0;
}

.boutique-empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.boutique-empty-state h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.boutique-empty-state p {
    font-size: 15px;
    color: #64748b;
    max-width: 480px;
    margin: 0 auto 24px;
}

.boutique-empty-state .empty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Pagination */
.boutique-pagination {
    margin-top: 36px;
    text-align: center;
}

.boutique-pagination ul.page-numbers {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.boutique-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.boutique-pagination .page-numbers.current {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.boutique-pagination .page-numbers:hover:not(.current) {
    background: #f1f5f9;
    border-color: #cbd5e1;
}



