/* ==========================================================
   ELECTRO REVIVE SPA - CSS GLOBAL (VERSIÓN MAESTRA FINAL V20)
   ========================================================== */

/* ==========================================================
   1. ANTI-DESBORDAMIENTO (CORRECCIÓN DE ANCHO REAL)
   ========================================================== */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #0b0710 !important; 
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

#page, .site-header, .footer-widgets, .site-info, .site-content {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

#page, .site-header { overflow: visible !important; }
.footer-widgets, .site-info, .site-content { overflow-x: hidden !important; }

.alignfull, .alignwide {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ==========================================================
   2. CABECERA, LOGO Y MENÚ PRINCIPAL
   ========================================================== */
.site-header {
    background-color: rgba(26, 0, 51, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #00ff66 !important;
    position: relative;
    z-index: 999999 !important; 
    margin-bottom: 0 !important;
    padding: 0 !important;
}

.inside-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 20px !important; 
    min-height: 60px !important; 
}

.site-branding, .site-logo { margin: 0 !important; padding: 0 !important; line-height: 0 !important; }
.main-title { display: none !important; }

/* Tamaño del logo en Computador */
.site-logo img { 
    max-height: 90px !important; 
    height: 90px !important; 
    width: auto !important; 
    transition: all 0.3s ease;
}

/* Tamaño del logo en Celulares (un poco más chico para que quepa bien el menú) */
@media (max-width: 768px) {
    .site-logo img { 
        max-height: 65px !important; 
        height: 65px !important; 
    }
}

.menu-toggle {
    background-color: transparent !important;
    color: #00ff66 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 50px !important;
    padding: 0 10px !important;
}

.main-navigation, .sticky-enabled .main-navigation {
    position: relative;
    z-index: 999999 !important;
    overflow: visible !important; 
}

.main-navigation .main-nav ul li a {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
}

.main-navigation .main-nav ul li a:hover {
    color: #00ff66 !important;
    text-shadow: 0 0 5px #00ff66, 0 0 10px rgba(0, 255, 102, 0.7);
}

@media (min-width: 769px) {
    .main-navigation .menu-toggle { display: none; }
    
    .main-navigation .main-nav ul li a {
        line-height: 50px !important; 
        height: 50px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .main-navigation ul ul {
        background-color: rgba(26, 0, 51, 0.98) !important;
        border: 1px solid #00ff66 !important;
        border-top: none !important; 
        border-radius: 0 0 10px 10px !important; 
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.8), 0px 0px 15px rgba(0, 255, 102, 0.3) !important;
        padding: 5px 0 !important;
        z-index: 9999999 !important; 
        top: 100% !important; 
        position: absolute !important;
    }

    .main-navigation ul ul ul {
        top: 0 !important; 
        left: 100% !important; 
        border-top: 1px solid #00ff66 !important; 
        border-radius: 10px !important; 
        margin-left: 2px !important; 
    }

    .main-navigation .main-nav ul ul li a { 
        font-size: 13px !important; 
        color: #ffffff !important; 
        line-height: normal !important;
        height: auto !important;
        padding: 12px 20px !important;
    }

    .main-navigation .main-nav ul ul li:hover > a { 
        background-color: rgba(0, 255, 102, 0.1) !important; 
        color: #00ff66 !important; 
    }
}

.wp-block-group, .wp-block-cover, .hero-section, .woocommerce-page .site-main { position: relative; z-index: 1 !important; }
/* ==========================================================
   3. TIENDA GENERAL
   ========================================================== */
.woocommerce-page, .woocommerce-cart, .woocommerce-checkout,
.woocommerce-page #page, .woocommerce-page .site-content {
    background-color: #1a0033 !important; 
    color: #ffffff;
}

.woocommerce-page .site-content { padding-top: 30px !important; }
.woocommerce-breadcrumb, .woocommerce-products-header__title.page-title { display: none !important; }
.woocommerce-products-header { margin: 0 !important; padding: 0 !important; }

.woocommerce-page input[type="search"], .woocommerce-page textarea, 
.wp-block-search__input, .woocommerce-product-search input[type="search"] {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #00ff66 !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 12px 20px !important;
}

.wp-block-search__button, .woocommerce-product-search button {
    background-color: #00ff66 !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    padding: 10px 25px !important;
    cursor: pointer !important;
    box-shadow: 0 0 10px rgba(0,255,102,.3);
}

.wp-block-search__label, .woocommerce-product-search label, .wc-block-grid__title,
.wp-block-group h2:not(.titulo-neon-categorias):not(.gc-titulo) { display: none !important; }

.woocommerce-ordering select {
    background-color: rgba(43, 0, 87, 0.7) !important;
    color: #ffffff !important;
    border: 2px solid #00ff66 !important;
    border-radius: 10px !important;
    padding: 10px 15px !important;
    font-weight: bold;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.woocommerce-ordering select:hover { box-shadow: 0px 0px 12px rgba(0, 255, 102, 0.5); background-color: rgba(43, 0, 87, 0.9) !important; }
.woocommerce-ordering select option { background-color: #1a0033; color: white; }

/* ==========================================================
   4. TARJETAS DE PRODUCTOS EN TIENDA
   ========================================================== */
ul.products li.product, .wc-block-grid__product {
    background-color: rgba(26, 11, 46, 0.9) !important; 
    padding: 20px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0, 255, 102, 0.1) !important;
    transition: all 0.3s ease;
    text-align: center;
}

ul.products li.product:hover, .wc-block-grid__product:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 255, 102, 0.2);
    border: 1px solid #00ff66 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title, 
.wc-block-grid__product-title, .wc-block-grid__product-link {
    color: #ffffff !important;
    font-size: 1.3em !important;
    font-weight: 900 !important;
    padding: 10px 0 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    line-height: 1.2;
    display: block !important;
    margin: 10px 0 !important;
}

.woocommerce ul.products li.product .price, .woocommerce div.product p.price,
.wc-block-grid__product-price, .price ins {
    color: #00ff66 !important;
    font-size: 1.6rem !important;
    font-weight: 900 !important;
    display: block;
    margin: 15px 0 !important;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.5);
    text-decoration: none !important;
}

.wc-block-grid__product-price del { color: #3d8e5c !important; font-size: 1rem !important; margin-right: 8px; opacity: 0.6; }
.wc-block-grid__product-onsale, .woocommerce span.onsale { 
    background-color: #00ff66 !important; color: #000000 !important; font-weight: 900 !important;
    padding: 6px 12px !important; border-radius: 20px !important; min-height: auto !important;
    min-width: auto !important; font-size: 12px !important; line-height: 1 !important;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.5) !important; top: 10px !important; right: 10px !important; left: auto !important;
}

.woocommerce ul.products li.product .button, 
.wc-block-grid__product-add-to-cart a, .add_to_cart_button {
    background-color: #00ff66 !important; color: #1a0033 !important; font-weight: 900 !important; border-radius: 50px !important; padding: 12px 25px !important; text-transform: uppercase !important; transition: all 0.3s ease !important; border: none !important; display: inline-block !important; width: 100% !important; text-align: center !important; font-size: 0.9rem !important; line-height: 1.2 !important; margin-bottom: 5px !important;
}

.woocommerce ul.products li.product .button:hover, .wc-block-grid__product-add-to-cart a:hover { background-color: #ffffff !important; color: #000 !important; box-shadow: 0 0 20px #00ff66 !important; transform: translateY(-2px); }

a.added_to_cart.wc-forward { display: block !important; background: transparent !important; color: #00ff66 !important; border: 2px solid #00ff66 !important; padding: 10px 20px !important; border-radius: 50px !important; font-weight: 900 !important; font-size: 0.85rem !important; text-transform: uppercase !important; letter-spacing: 1px !important; text-decoration: none !important; text-align: center !important; transition: all .3s !important; margin-top: 8px !important; width: 100% !important; }
a.added_to_cart.wc-forward:hover { background: #00ff66 !important; color: #000 !important; box-shadow: 0 0 15px rgba(0,255,102,.4) !important; }

/* ==========================================================
   5. PAGINACIÓN Y PÁGINA INDIVIDUAL
   ========================================================== */
.woocommerce nav.woocommerce-pagination ul { border: none !important; display: flex !important; justify-content: center !important; gap: 8px !important; margin-top: 50px !important; margin-bottom: 30px !important; padding: 0 !important; }
.woocommerce nav.woocommerce-pagination ul li { border: none !important; display: inline-block !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { background-color: rgba(26, 11, 46, 0.6) !important; color: #ffffff !important; border: 1px solid rgba(0, 255, 102, 0.3) !important; border-radius: 8px !important; padding: 10px 18px !important; font-weight: 800 !important; font-size: 16px !important; transition: all 0.3s ease !important; text-decoration: none !important; display: inline-block !important; }
.woocommerce nav.woocommerce-pagination ul li a:hover { background-color: rgba(0, 255, 102, 0.1) !important; border-color: #00ff66 !important; color: #00ff66 !important; box-shadow: 0 0 12px rgba(0, 255, 102, 0.4) !important; transform: translateY(-2px); }
.woocommerce nav.woocommerce-pagination ul li span.current { background-color: #00ff66 !important; color: #000000 !important; border-color: #00ff66 !important; box-shadow: 0 0 15px rgba(0, 255, 102, 0.6) !important; }

.single-product { background-color: #0b0710 !important; }
.single-product #page, .single-product #content, .single-product .site-content, .single-product .site-main { background-color: transparent !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
.single-product div.product { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; max-width: 1200px; margin: 30px auto !important; padding: 0 15px; box-sizing: border-box; position: relative; z-index: 1; }
.single-product .woocommerce-product-gallery { width: 48% !important; float: none !important; margin: 0 !important; border-radius: 15px; overflow: hidden; border: 1px solid rgba(0, 255, 102, 0.1) !important; box-sizing: border-box !important; }
.single-product .summary { width: 48% !important; float: none !important; margin: 0 !important; background: rgba(26, 11, 46, 0.6) !important; padding: 30px !important; border-radius: 20px; border: 1px solid rgba(0, 255, 102, 0.3) !important; backdrop-filter: blur(10px); box-sizing: border-box !important; display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; }
.single-product .summary .product_title { color: #fff !important; font-size: clamp(22px, 3.5vw, 32px) !important; font-weight: 800; text-transform: uppercase; margin-top: 0; margin-bottom: 15px; text-shadow: 0 0 10px #00ff66; text-align: center !important; width: 100% !important; }
.single-product .summary .woocommerce-product-details__short-description p { color: rgba(255,255,255,0.8); line-height: 1.6; font-size: 15px; margin-bottom: 20px; text-align: center !important; }
.single-product .summary form.cart, .single-product .summary table.variations { display: flex; flex-direction: column; align-items: center !important; width: 100% !important; margin: 0 auto !important; }
.single-product .summary form.cart .button, .single-product .summary button.single_add_to_cart_button { background-color: #00ff66 !important; color: #000000 !important; font-weight: 900 !important; border-radius: 50px !important; padding: 15px 20px !important; font-size: 16px !important; text-transform: uppercase; width: 100% !important; max-width: 400px; text-align: center !important; border: none !important; transition: all 0.3s ease !important; margin: 15px auto 0 !important; display: block !important; }
.single-product .summary form.cart .button:hover { background-color: #ffffff !important; box-shadow: 0 0 20px #00ff66 !important; transform: translateY(-2px); }
.woocommerce-tabs ul.tabs li { background-color: #2b0057 !important; border: 1px solid #00ff66 !important; border-radius: 10px 10px 0 0; }
.woocommerce-tabs ul.tabs li.active { background-color: #00ff66 !important; }
.woocommerce-tabs ul.tabs li.active a { color: #1a0033 !important; }
.woocommerce-tabs .panel { background: rgba(43, 0, 87, 0.4) !important; border: 1px solid #00ff66 !important; color: white !important; padding: 20px; border-radius: 0 0 15px 15px; }

/* ==========================================================
   6. CARRITO Y CHECKOUT (MÁRGENES Y FORMULARIOS)
   ========================================================== */
.wp-block-woocommerce-cart, 
.wp-block-woocommerce-checkout { 
    width: 100% !important; max-width: 1150px !important; margin: 40px auto 60px !important; padding: 0 20px !important; color: #ffffff !important; box-sizing: border-box !important;
}

.wp-block-woocommerce-cart h1, .wp-block-woocommerce-cart h2, .wp-block-woocommerce-cart h3, 
.wp-block-woocommerce-checkout h1, .wp-block-woocommerce-checkout h2, .wp-block-woocommerce-checkout h3,
.wp-block-woocommerce-cart span:not(.wc-block-formatted-money-amount), .wp-block-woocommerce-cart p, 
.wc-block-components-totals-item__label, .wc-block-components-totals-item__value, 
.wc-block-components-product-metadata__name, .wc-block-components-product-metadata__value { color: #f1f1f1 !important; }

/* --- A. TEXTOS GLOBALES DE PRODUCTOS (CERO CORTES) --- */
.wc-block-components-product-name,
.wc-block-components-product-description,
.wc-block-components-product-price,
.wc-block-components-product-details,
.wc-block-components-product-description p { 
    word-break: normal !important; 
    overflow-wrap: normal !important;
    white-space: normal !important;
    hyphens: none !important;
    display: block !important;
    max-width: 100% !important;
    text-align: left !important;
}

.wc-block-components-product-name { color: #00ff66 !important; text-decoration: none !important; font-weight: 800 !important; font-size: 1.1rem !important; line-height: 1.2 !important; text-transform: uppercase !important; transition: all 0.3s ease !important; margin-bottom: 5px !important;}
.wc-block-components-product-description { color: rgba(255, 255, 255, 0.7) !important; font-size: 0.85rem !important; line-height: 1.4 !important; margin-bottom: 8px !important; }
.wc-block-components-product-price .wc-block-formatted-money-amount, .wc-block-components-totals-item__value .wc-block-formatted-money-amount, .wc-block-components-totals-item__value strong { color: #00ff66 !important; font-weight: 900 !important; font-size: 1.1rem !important; }

/* --- B. DISEÑO EN ESCRITORIO (PC) --- */
@media (min-width: 769px) {
    .wc-block-cart-items .wc-block-cart-item {
        display: flex !important;
        align-items: flex-start !important;
        padding-bottom: 20px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin-bottom: 15px !important;
    }
    
    .wc-block-components-order-summary-item {
        display: flex !important;
        align-items: flex-start !important;
        padding-bottom: 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin-bottom: 15px !important;
    }

    .wc-block-cart-item__image, .wc-block-components-order-summary-item__image {
        width: 80px !important; flex-shrink: 0 !important; margin-right: 20px !important;
    }

    .wc-block-cart-item__product, .wc-block-components-order-summary-item__info {
        flex: 1 !important; min-width: 200px !important;
    }

    .wc-block-cart-item__quantity { margin-right: 20px !important; }

    .wc-block-cart-item__total, .wc-block-components-order-summary-item__totals {
        min-width: 100px !important; text-align: right !important; display: flex !important; flex-direction: column !important; align-items: flex-end !important; justify-content: flex-start !important;
    }
}

/* Opciones de Pago */
.wc-block-components-radio-control-accordion-option { background: rgba(0, 0, 0, 0.3) !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; border-radius: 8px !important; margin-bottom: 10px !important; padding: 15px !important; }
.wc-block-components-radio-control__label { color: #ffffff !important; font-weight: bold !important; font-size: 15px !important; }
.wc-block-components-radio-control-accordion-content { color: rgba(255, 255, 255, 0.7) !important; font-size: 0.95rem !important; line-height: 1.6 !important; margin-top: 10px !important;}

/* Selector y Botones */
.wc-block-components-quantity-selector { background-color: rgba(26, 11, 46, 0.8) !important; border: 1px solid rgba(0, 255, 102, 0.4) !important; border-radius: 8px !important; }
.wc-block-components-quantity-selector input { color: #ffffff !important; background: transparent !important; font-weight: bold !important; }
.wc-block-components-quantity-selector button { color: #00ff66 !important; }
.wc-block-components-quantity-selector button:hover { background-color: rgba(0, 255, 102, 0.1) !important; }
.wc-block-cart-item__remove-link { color: #ff3366 !important; text-decoration: none !important; font-size: 0.9rem !important; font-weight: bold !important; transition: all 0.3s ease !important; }
.wc-block-cart-item__remove-link:hover { color: #ff0040 !important; text-shadow: 0 0 8px rgba(255, 51, 102, 0.5) !important; }

/* Cajas Laterales y Botón Final */
.wc-block-cart__totals-title, .wc-block-checkout__title { text-transform: uppercase !important; font-weight: 900 !important; border-bottom: 1px solid rgba(0, 255, 102, 0.3) !important; padding-bottom: 15px !important; margin-bottom: 25px !important; color: #ffffff !important; }
.wc-block-components-totals-wrapper, .wc-block-components-sidebar { background-color: rgba(26, 11, 46, 0.6) !important; border: 1px solid rgba(0, 255, 102, 0.3) !important; border-radius: 20px !important; padding: 30px !important; backdrop-filter: blur(10px) !important; box-sizing: border-box !important;}

.wc-block-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button,
.wc-block-cart .wc-block-components-checkout-button,
.wc-block-components-checkout-place-order-button { 
    background-color: #00ff66 !important; color: #000000 !important; font-weight: 900 !important; border-radius: 50px !important; padding: 18px 20px !important; text-transform: uppercase !important; transition: all 0.3s ease !important; border: none !important; margin-top: 20px !important; font-size: 1.2rem !important; width: 100% !important;
}
.wc-block-components-checkout-place-order-button:hover, .wc-block-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:hover, .wc-block-cart .wc-block-components-checkout-button:hover { background-color: #ffffff !important; color: #000 !important; box-shadow: 0 0 20px #00ff66 !important; transform: translateY(-2px); }

/* Cupones y Vacío */
.wc-block-components-totals-coupon-link { color: #00ff66 !important; font-weight: bold !important; }
.wc-block-components-totals-coupon__input { background-color: rgba(255, 255, 255, 0.05) !important; border: 1px solid #00ff66 !important; color: white !important; border-radius: 8px !important; max-width: 100% !important;}
.wc-block-components-totals-coupon__button { background-color: transparent !important; color: #00ff66 !important; border: 1px solid #00ff66 !important; border-radius: 8px !important; font-weight: bold !important; }
.wc-block-components-totals-coupon__button:hover { background-color: #00ff66 !important; color: #000 !important; box-shadow: 0 0 10px rgba(0, 255, 102, 0.4) !important; }
.wc-block-cart__empty-cart__title { color: #00ff66 !important; font-weight: 900 !important; text-shadow: 0 0 10px rgba(0, 255, 102, 0.4) !important; text-transform: uppercase !important; }
.wc-block-cart__empty-cart__title svg { fill: #00ff66 !important; }

/* ==========================================================
   7. BLOQUES CUSTOM (BANNERS)
   ========================================================== */
.intro-reacondicionados, .er-intro { text-align: center; padding: 40px 20px; width: 100% !important; max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box !important; background: rgba(45,27,77,.3); border-top: 1px dashed rgba(0,255,102,.2); border-bottom: 1px dashed rgba(0,255,102,.2); }
.er-intro { background: linear-gradient(180deg, rgba(26,11,46,0) 0%, rgba(26,11,46,0.6) 100%); border-bottom: 1px solid rgba(0,255,102,.15); margin-bottom: 30px !important; border-top: none; }
.tag-status { display: inline-block; background-color: #00ff66; color: #000000 !important; padding: 6px 18px; font-size: 10px; font-weight: 900; border-radius: 4px; letter-spacing: 2px; box-shadow: 0 0 15px rgba(0,255,102,.4); }
.titulo-intro-gaming { color: #ffffff !important; font-size: clamp(20px, 5vw, 38px) !important; font-weight: 900 !important; margin: 15px 0 !important; text-transform: uppercase; text-shadow: 0 0 10px rgba(0,255,102,.7); animation: flickerGlow 4s infinite; }
.desc-intro-gaming { color: #ffffff !important; font-size: 16px; line-height: 1.6; max-width: 700px; margin: 0 auto; }
.desc-intro-gaming strong { color: #00ff66 !important; font-weight: 800; }
.desc-intro-gaming span { display: block; margin-top: 10px; font-style: italic; color: rgba(0,255,102,.8); font-size: 14px; }
@keyframes flickerGlow { 0%,18%,22%,25%,53%,57%,100% { text-shadow: 0 0 10px rgba(0,255,102,.7), 0 0 20px rgba(0,255,102,.3); } 20%,24%,55% { text-shadow: none; color: rgba(255,255,255,.5); } }
.gc-titulo { color: #fff !important; text-shadow: 0 0 8px #00ff66, 0 0 20px rgba(0,255,102,.4); text-transform: uppercase; letter-spacing: 3px; font-size: 22px; margin: 0 0 15px 0 !important; }
.gc-grid { display: flex; flex-direction: column; gap: 15px; width: 100% !important; max-width: 100% !important; margin: 0 auto; box-sizing: border-box; }
.gc-subgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; width: 100% !important; }
.gc-card { display: block; position: relative; overflow: hidden; border-radius: 12px; border: 1px solid rgba(0,255,102,.3); text-decoration: none !important; transition: border-color .3s, box-shadow .3s; background-size: cover; background-position: center top; width: 100% !important; }
.gc-card-principal { height: 280px; } .gc-card-secundaria { height: 180px; }
.gc-card-ps   { background-image: url('https://electro-revive.com/wp-content/uploads/2026/03/play-station-banner.jpeg'); }
.gc-card-nint { background-image: url('https://electro-revive.com/wp-content/uploads/2026/03/NINTENDO-COLLAGE.jpg'); }
.gc-card-xbox { background-image: url('https://electro-revive.com/wp-content/uploads/2026/03/XBOBX-COLLAGE.jpg'); }
.gc-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.15) 55%, transparent 100%); display: flex; align-items: flex-end; justify-content: space-between; padding: 22px; box-sizing: border-box; }
.gc-overlay h3 { color: #fff !important; font-size: 22px !important; font-weight: 900 !important; text-transform: uppercase !important; letter-spacing: 2px !important; margin: 0 !important; text-shadow: 0 2px 6px rgba(0,0,0,.9) !important; }
.gc-subtitulo { display: block; color: #00ff66 !important; font-size: 13px !important; margin-top: 6px !important; line-height: 1.3 !important; }
.gc-ver { display: inline-block; background: #00ff66; color: #000 !important; padding: 10px 20px; border-radius: 5px; font-weight: 900; font-size: 11px; letter-spacing: 1px; white-space: nowrap; margin-left: 20px; flex-shrink: 0; text-decoration: none !important; }
.gc-card:hover { border-color: #00ff66 !important; box-shadow: 0 0 20px rgba(0,255,102,.25); }
.gc-card:hover .gc-ver { background: #00cc52; }
.gc-grid p, .gc-grid br, .gc-subgrid p, .gc-subgrid br { display: none !important; margin: 0 !important; padding: 0 !important; }
.er-tag { display: inline-block; background: #00ff66; color: #000 !important; padding: 5px 16px; font-size: 10px; font-weight: 900; border-radius: 4px; letter-spacing: 2px; box-shadow: 0 0 12px rgba(0,255,102,.4); margin-bottom: 14px; }
.er-titulo { color: #ffffff !important; font-size: clamp(22px, 4vw, 36px) !important; font-weight: 900 !important; text-transform: uppercase !important; letter-spacing: 3px !important; margin: 0 0 14px 0 !important; text-shadow: 0 0 20px rgba(0,255,102,.3); }
.er-desc { color: rgba(255,255,255,.85) !important; font-size: 15px !important; line-height: 1.7 !important; max-width: 650px; margin: 0 auto 24px !important; }
.er-desc strong { color: #00ff66 !important; font-weight: 800; }
.er-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
a.er-pill, .er-pill { background: rgba(0,255,102,.08); border: 1px solid rgba(0,255,102,.35); color: #00ff66 !important; padding: 7px 16px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; transition: background .3s; text-decoration: none !important; cursor: pointer; }
a.er-pill:hover, .er-pill:hover { background: rgba(0,255,102,.25) !important; border-color: #00ff66 !important; box-shadow: 0 0 10px rgba(0,255,102,.2); color: #00ff66 !important; }

/* ==========================================================
   8. MEDIA QUERIES (VERSIÓN RESPONSIVA MÓVIL BLINDADA)
   ========================================================== */
@media (max-width: 768px) {
    img, div, section, article, header, footer { max-width: 100% !important; box-sizing: border-box !important; }

    .main-navigation ul ul, 
    .main-navigation ul ul ul { position: relative !important; top: auto !important; left: auto !important; width: 100% !important; border: none !important; border-top: 1px solid rgba(0,255,102,0.2) !important; box-shadow: none !important; padding-left: 15px !important; border-radius: 0 !important; }

    .woocommerce ul.products[class*="columns-"] li.product, 
    .woocommerce-page ul.products[class*="columns-"] li.product { width: 100% !important; float: none !important; margin: 0 0 20px 0 !important; padding: 15px !important; }
    
    .woocommerce ul.products li.product .button, .woocommerce div.product .button { padding: 15px 10px !important; font-size: 16px !important; }
    .wc-block-grid__product-title { font-size: 1rem !important; }
    .wc-block-grid__product-price { font-size: 1.3rem !important; }
    .wc-block-grid__product-add-to-cart a { font-size: 0.8rem !important; padding: 10px 8px !important; }
    .wp-block-search__input { font-size: 14px !important; padding: 10px 14px !important; }
    .wp-block-search__button { padding: 10px 16px !important; font-size: 12px !important; }

    .single-product div.product { flex-direction: column !important; padding: 0 10px !important; margin: 15px auto !important; }
    .single-product .woocommerce-product-gallery, .single-product .summary { width: 100% !important; float: none !important; margin-bottom: 20px !important; }
    .single-product .summary { padding: 20px !important; }
    
    /* --- CARRITO Y CHECKOUT MÓVIL: DESTRUCCIÓN TOTAL DE CUADRÍCULAS --- */
    .wp-block-woocommerce-cart, 
    .wp-block-woocommerce-checkout { 
        display: flex !important;
        flex-direction: column !important;
        margin: 20px 0 80px 0 !important; 
        padding: 0 !important; 
        width: 100% !important;
    }
    
    .wc-block-cart__main, .wc-block-cart__sidebar,
    .wc-block-checkout__main, .wc-block-checkout__sidebar { width: 100% !important; flex: none !important; display: block !important; padding: 0 !important; }

    .wc-block-components-totals-wrapper, .wc-block-components-sidebar { padding: 15px !important; margin-top: 20px !important; width: 100% !important; border-radius: 0 !important; border-left: none !important; border-right: none !important; }

    /* FORZAMOS APILAMIENTO VERTICAL (FOTO ARRIBA, TEXTO MEDIO, TOTAL ABAJO) */
    .woocommerce-cart table, .woocommerce-cart thead, .woocommerce-cart tbody, .woocommerce-cart tr, .woocommerce-cart th, .woocommerce-cart td,
    .woocommerce-checkout table, .woocommerce-checkout thead, .woocommerce-checkout tbody, .woocommerce-checkout tr, .woocommerce-checkout th, .woocommerce-checkout td,
    .wc-block-cart-items .wc-block-cart-item,
    .wc-block-components-order-summary-item,
    .wc-block-cart-item__wrap,
    .wc-block-cart-item__product {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .wc-block-cart-items .wc-block-cart-item,
    .wc-block-components-order-summary-item {
        padding: 15px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border-radius: 10px !important;
        border: 1px solid rgba(0,255,102,0.1) !important;
        margin-bottom: 20px !important;
    }

    .wc-block-cart-item__image,
    .wc-block-components-order-summary-item__image {
        width: 80px !important;
        margin: 0 auto 15px 0 !important; /* Foto izquierda, espacio abajo */
    }

    .wc-block-cart-item__info,
    .wc-block-components-order-summary-item__info {
        width: 100% !important;
        min-width: 100% !important;
        padding: 0 !important;
    }

    .wc-block-cart-item__quantity {
        width: 100% !important;
        margin-top: 15px !important;
    }

    /* Precio total "Ahorra" en su propia línea inferior */
    .wc-block-cart-item__total,
    .wc-block-components-order-summary-item__totals {
        width: 100% !important;
        text-align: left !important;
        align-items: flex-start !important;
        padding-top: 15px !important;
        border-top: 1px dashed rgba(0, 255, 102, 0.3) !important; /* Línea de recibo */
        margin-top: 15px !important;
    }

    .wc-block-components-checkout-place-order-button { font-size: 1rem !important; padding: 15px 10px !important; margin-bottom: 30px !important; }

    .intro-reacondicionados { padding: 30px 15px; width: 100% !important; margin: 0 !important; }
    .desc-intro-gaming { font-size: 14px; }
    .gc-subgrid { grid-template-columns: 1fr; }
    .gc-card-principal { height: 200px; }
    .gc-card-secundaria { height: 160px; }
    .gc-overlay { padding: 14px; }
    .gc-overlay h3 { font-size: 16px !important; letter-spacing: 1px !important; }
    .gc-subtitulo { font-size: 11px !important; }
    .gc-ver { padding: 8px 12px; font-size: 10px; margin-left: 10px; }
    .gc-titulo { font-size: 16px; letter-spacing: 2px; }
    .er-intro { padding: 30px 15px 24px; width: 100% !important; margin: 0 !important; }
    .er-titulo { letter-spacing: 1px !important; }
    .er-desc { font-size: 13px !important; }
    .er-pill { font-size: 11px; padding: 6px 12px; }
}

@media (max-width: 480px) {
    .gc-card-principal { height: 170px; }
    .gc-card-secundaria { height: 140px; }
    .gc-overlay h3 { font-size: 14px !important; }
    .gc-ver { display: none; }
    .titulo-intro-gaming { font-size: 20px !important; }
}

/* ============================================
   NUEVO CATÁLOGO AJAX Y FILTROS
   ============================================ */

/* Contenedor de Filtros */
.filtros-servicios {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 15px !important;
    margin: 0 auto 40px auto !important;
    padding: 0 10px !important;
    width: 100% !important;
}
.filtros-servicios button.filtro-btn {
    background-color: #1e113a !important;
    color: #fff !important;
    border: 2px solid #2a1e4a !important;
    border-radius: 50px !important;
    padding: 10px 25px !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    width: auto !important;
    margin: 0 !important;
}
.filtros-servicios button.filtro-btn.active, 
.filtros-servicios button.filtro-btn:hover {
    background-color: #39FF14 !important;
    color: #000 !important;
    border-color: #39FF14 !important;
}

/* Contenedor de Productos AJAX en Cuadrícula (GRID) */
#contenedor-servicios ul.products { 
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 30px !important;
    list-style: none !important; 
    margin: 0 !important; 
    padding: 0 !important; 
}
#contenedor-servicios ul.products li.product {
    list-style-type: none !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important; /* MATA EL FLOAT DE GENERATEPRESS */
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: none !important;
}
#contenedor-servicios ul.products li.product:hover {
    transform: translateY(-5px);
}
#contenedor-servicios ul.products li.product::before { 
    display: none !important; 
}
#contenedor-servicios ul.products li.product a { 
    text-decoration: none !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
#contenedor-servicios ul.products li.product img {
    background: #ffffff !important;
    padding: 15px !important;
    border-radius: 8px !important;
    width: 100% !important;
    object-fit: contain !important;
    aspect-ratio: 1/1 !important;
    margin-bottom: 15px !important;
}
#contenedor-servicios ul.products li.product .onsale {
    background: #FFF100 !important; 
    color: #000 !important;
    position: absolute !important; 
    top: 10px !important; 
    right: 10px !important;
    padding: 5px 10px !important; 
    font-weight: bold !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
}
#contenedor-servicios ul.products li.product .woocommerce-loop-product__title {
    color: #ffffff !important; 
    font-weight: bold !important; 
    text-transform: uppercase !important;
    font-size: 15px !important;
    margin-bottom: 15px !important;
    text-align: center !important;
}
#contenedor-servicios ul.products li.product .price {
    text-align: center !important;
    margin-bottom: 20px !important;
}
#contenedor-servicios ul.products li.product .price del { 
    color: #1a6b30 !important; 
    text-decoration: line-through !important; 
    margin-right: 8px !important;
}
#contenedor-servicios ul.products li.product .price ins, 
#contenedor-servicios ul.products li.product .price > span {
    color: #39FF14 !important; 
    font-weight: bold !important; 
    font-size: 1.2em !important;
    text-decoration: none !important;
}
#contenedor-servicios ul.products li.product .add_to_cart_button {
    background: #39FF14 !important; 
    color: #000 !important;
    border-radius: 50px !important; 
    padding: 12px 20px !important;
    text-transform: uppercase !important; 
    font-weight: bold !important; 
    width: 100% !important; 
    text-align: center !important;
    display: block !important;
    margin-top: auto !important;
    border: none !important;
}
#contenedor-servicios ul.products li.product .add_to_cart_button:hover {
    background: #32e610 !important;
    transform: scale(1.03) !important;
}

@media (max-width: 768px) {
    #contenedor-servicios ul.products {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
        gap: 15px !important;
    }
}

/* ============================================
   ELECTRO REVIVE - SIDE CART (FIX DESBORDAMIENTO)
   ============================================ */
@media (min-width: 769px) {
    html body .xoo-wsc-container { 
        width: 380px !important; 
        max-width: 100vw !important; 
    }
}
@media (max-width: 768px) {
    html body .xoo-wsc-container { 
        width: 100% !important; 
        max-width: 100vw !important; 
    }
}
html body .xoo-wsc-container, html body .xoo-wsc-slider, html body .xoo-wsc-body, html body .xoo-wsc-content, html body .xoo-wsc-header, html body .xoo-wsc-footer { background-color: #1a0b2e !important; }
html body .xoo-wsc-container *, html body .xoo-wsc-hdr-title, html body .xoo-wsc-pname, html body .xoo-wsc-sm-info, html body .xoo-wsc-ft-amt-sub, html body .xoo-wsc-ft-note, html body .xoo-wsc-footer p, html body .xoo-wsc-footer span { color: #ffffff !important; }

/* Precios destacados y cruz de cierre en Cyan */
html body .xoo-wsc-sm-info .woocommerce-Price-amount, html body .xoo-wsc-footer .woocommerce-Price-amount, html body .xoo-wsc-icon-cross, html body .xoo-wsc-hdr-close, html body .xoo-wsc-hdr-icon, html body span.xoo-wsc-icon-bag2 { color: #00ffff !important; font-weight: 900 !important; }
html body .xoo-wsc-sm-info del .woocommerce-Price-amount { color: rgba(255,255,255,0.4) !important; font-weight: 400 !important; }

/* Contenedores de productos con borde Rosa sutil */
html body .xoo-wsc-product { background-color: rgba(26, 11, 46, 0.9) !important; border: 1px solid rgba(255, 0, 255, 0.3) !important; border-radius: 12px !important; padding: 12px !important; margin-bottom: 12px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; }
html body .xoo-wsc-img-col { flex: 0 0 65px !important; max-width: 65px !important; margin-right: 15px !important; }
html body .xoo-wsc-img-col img { background: #ffffff !important; border-radius: 5px !important; padding: 4px !important; width: 100% !important; height: auto !important; }
html body .xoo-wsc-info-col { flex: 1 !important; text-align: left !important; overflow: hidden !important; }
html body .xoo-wsc-pname { font-size: 13px !important; margin-bottom: 5px !important; line-height: 1.2 !important; white-space: normal !important; }
html body .xoo-wsc-smr-del { color: #ff003c !important; font-size: 18px !important; margin-left: 10px !important; cursor: pointer; }
html body .xoo-wsc-footer { padding: 15px !important; border-top: 1px solid rgba(255, 0, 255, 0.4) !important; }

/* Botones con degradado Cyberpunk moderno */
html body .xoo-wsc-footer a, html body .xoo-wsc-ft-buttons-cont a, html body .xoo-wsc-ft-btn { background: linear-gradient(90deg, #ff00ff, #ba00ff) !important; color: #ffffff !important; border-radius: 50px !important; font-weight: 900 !important; text-transform: uppercase !important; font-size: 13px !important; padding: 12px !important; margin-top: 10px !important; text-align: center !important; display: block !important; border: none !important; box-shadow: 0 4px 12px rgba(255, 0, 255, 0.3) !important; }
html body .xoo-wsc-footer a *, html body .xoo-wsc-ft-buttons-cont a *, html body .xoo-wsc-ft-btn * { color: #ffffff !important; }
html body .xoo-wsc-footer a:hover, html body .xoo-wsc-ft-buttons-cont a:hover { background-color: #ffffff !important; background: #ffffff !important; color: #000000 !important; box-shadow: 0 0 15px rgba(255,0,255,0.6) !important; }
html body .xoo-wsc-footer a:hover *, html body .xoo-wsc-ft-buttons-cont a:hover * { color: #000000 !important; }

html body .xoo-wsc-basket { background-color: #00ffff !important; border: 2px solid #1a0b2e !important; }
html body .xoo-wsc-basket .xoo-wsc-bki { color: #000000 !important; }
html body .xoo-wsc-items-count { background-color: #ff003c !important; color: #ffffff !important; border: 2px solid #0d001a !important; }
html body .xoo-wsc-body::-webkit-scrollbar { width: 6px !important; }
html body .xoo-wsc-body::-webkit-scrollbar-track { background: #0d001a !important; }
html body .xoo-wsc-body::-webkit-scrollbar-thumb { background: #ff00ff !important; border-radius: 10px !important; }

/* ============================================
   BOTÓN DE WHATSAPP - ELEVACIÓN ANTI-CHOQUE
   ============================================ */
a[href*="wa.me"], 
a[href*="api.whatsapp.com"],
a[href*="whatsapp.com/send"],
div[class*="whatsapp"], 
div[id*="whatsapp"],
.btn-whatsapp {
    bottom: 110px !important; /* Lo sube lo suficiente para librar la burbuja del carrito */
    z-index: 999998 !important; /* Lo pone justo debajo de la burbuja por si se cruzan */
    margin-bottom: 20px !important;
}
/* ============================================
   BOTÓN DE WHATSAPP - ALINEACIÓN PERFECTA
   ============================================ */
a[href*="wa.me"], 
a[href*="api.whatsapp.com"],
a[href*="whatsapp.com/send"],
div[class*="whatsapp"], 
div[id*="whatsapp"],
.btn-whatsapp {
    bottom: 105px !important; /* 👈 Le subí 5px para que no toque la burbuja roja */
    right: 15px !important; /* 👈 Lo moví 5px a la derecha para centrarlo con el carrito */
    margin: 0 !important; 
    z-index: 999998 !important; 
}
/* ==========================================================
   9. CORRECCIÓN DE MÁRGENES GENERATEPRESS Y BANNER HERO
   ========================================================== */

/* 1. Ocultar el título de la página ("reciclaje") */
.page .entry-header, 
h1.entry-title, 
.page-title {
    display: none !important;
}

/* 2. Eliminar el espacio superior entre el menú y la imagen */
.page .site-content,
.page .inside-article,
#content {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 3. Aterrizaje Perfecto: Forzar al banner a abarcar el 100% de la pantalla */
.hero-banner {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important; /* Truco para romper la caja de WordPress */
    background-size: cover !important; 
    background-position: center bottom !important;
}

/* 4. Solución a los Textos Desbordados en otras secciones */
.game-world, 
.filtros-servicios, 
.woocommerce-products-header,
.woocommerce-page .site-main {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
}

/* Asegurar que las cajas no se rompan */
.alliance-card, .value-card, .stat-box {
    box-sizing: border-box !important;
    max-width: 100% !important;
}
/* ==========================================================
   11. FIX: ANCHO COMPLETO Y RESPONSIVO EN PÁGINA DE PRODUCTO
   ========================================================== */

/* 1. Forzar al contenedor principal a usar el 100% del espacio (Mata el sidebar fantasma) */
body.single-product #primary,
body.single-product .site-main {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

/* 2. Ocultar definitivamente cualquier barra lateral de GeneratePress en esta página */
body.single-product #right-sidebar,
body.single-product #left-sidebar,
body.single-product .sidebar {
    display: none !important;
}

/* 3. Asegurar que la caja del producto esté centrada y estructurada (PC) */
body.single-product div.product {
    margin: 40px auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 20px !important; /* Espacio limpio entre imagen y texto */
}

/* Anchos para Escritorio (Mitad y mitad) */
body.single-product .woocommerce-product-gallery {
    width: 48% !important; 
}

body.single-product .summary {
    width: 48% !important; 
}

/* 4. Mejorar la lectura: Alinear los textos y viñetas a la izquierda */
body.single-product .summary .woocommerce-product-details__short-description,
body.single-product .summary .woocommerce-product-details__short-description p {
    text-align: left !important;
    width: 100% !important;
}

body.single-product .summary .woocommerce-product-details__short-description ul {
    text-align: left !important;
    padding-left: 20px !important;
    margin-top: 15px !important;
}

body.single-product .summary .woocommerce-product-details__short-description li {
    margin-bottom: 12px !important;
    line-height: 1.6 !important;
}

/* ==========================================================
   12. MODO CELULAR (PÁGINA DE PRODUCTO INDIVIDUAL)
   ========================================================== */
@media (max-width: 768px) {
    body.single-product div.product {
        flex-direction: column !important; /* Apila la imagen arriba y el texto abajo */
        margin: 20px auto !important;
        padding: 0 15px !important;
        gap: 20px !important;
    }

    body.single-product .woocommerce-product-gallery, 
    body.single-product .summary {
        width: 100% !important; /* Ahora cada uno ocupa todo el ancho de la pantalla del celular */
        max-width: 100% !important;
    }

    body.single-product .summary {
        padding: 20px 15px !important; /* Ajustamos el relleno de la caja morada para que no quite espacio */
    }
    
    /* Achicar un poquito el título del producto en móviles para que no sature */
    body.single-product .summary .product_title {
        font-size: 24px !important;
    }
}
/* ==========================================================
   13. MEJORAS EN DESCRIPCIÓN Y VALORACIONES (TABS WOOCOMMERCE)
   ========================================================== */

/* Contenedor principal de las pestañas */
body.single-product .woocommerce-tabs {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 50px auto !important;
    padding: 0 15px !important;
    clear: both !important;
}

/* Títulos de las pestañas (botones superiores) */
body.single-product .woocommerce-tabs ul.tabs {
    padding: 0 !important;
    margin: 0 0 -1px 0 !important; /* Para unir visualmente la pestaña con la caja */
    display: flex !important;
    gap: 5px !important;
    overflow-x: auto !important; /* Permite deslizar con el dedo en móvil si hay muchas */
    border: none !important;
}

body.single-product .woocommerce-tabs ul.tabs li {
    background-color: rgba(26, 11, 46, 0.6) !important;
    border: 1px solid rgba(0, 255, 102, 0.3) !important;
    border-bottom: none !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
    color: #a0a0a0 !important;
    font-weight: 700 !important;
    padding: 15px 25px !important;
    display: block !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
}

/* Pestaña Activa */
body.single-product .woocommerce-tabs ul.tabs li.active {
    background-color: rgba(26, 11, 46, 0.95) !important;
    border: 1px solid #00ff66 !important;
    border-bottom: 2px solid rgba(26, 11, 46, 0.95) !important; /* Borra la línea de abajo */
    z-index: 2 !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a {
    color: #00ff66 !important;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.4) !important;
}

/* Paneles de contenido (La caja de abajo) */
body.single-product .woocommerce-tabs .panel {
    background-color: rgba(26, 11, 46, 0.95) !important;
    border: 1px solid #00ff66 !important;
    border-radius: 0 10px 10px 10px !important;
    padding: 40px !important;
    color: #f0f0f0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    line-height: 1.8 !important;
}

/* Títulos dentro de los paneles */
body.single-product .woocommerce-tabs .panel h2 {
    color: #00ff66 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    margin-top: 0 !important;
    margin-bottom: 25px !important;
    text-shadow: 0 0 10px rgba(0,255,102,0.3) !important;
}

/* =======================================
   ESTILOS ESPECÍFICOS PARA VALORACIONES
   ======================================= */

/* Lista de Comentarios/Reseñas */
#reviews #comments ol.commentlist {
    padding: 0 !important;
    margin: 0 !important;
}

#reviews #comments ol.commentlist li {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(0, 255, 102, 0.2) !important;
    border-radius: 12px !important;
    padding: 25px !important;
    margin-bottom: 20px !important;
    list-style: none !important;
}

/* El avatar (foto) del cliente */
#reviews #comments ol.commentlist li img.avatar {
    background: #1a0b2e !important;
    border: 2px solid #00ff66 !important;
    border-radius: 50% !important;
    padding: 3px !important;
    width: 60px !important;
    height: auto !important;
    box-shadow: 0 0 10px rgba(0,255,102,0.2) !important;
}

/* Nombre del cliente y fecha */
#reviews .meta {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    display: block !important;
}
#reviews .meta strong { color: #00ff66 !important; }

/* El texto de la reseña */
#reviews .comment-text {
    color: #e0e0e0 !important;
    margin-left: 85px !important; /* Deja espacio para que el avatar respire */
}

/* Las Estrellitas */
.woocommerce .star-rating {
    color: #ffd700 !important; /* Amarillo oro brillante */
    font-size: 16px !important;
    float: right !important; /* Pone las estrellas a la derecha */
}

/* =======================================
   FORMULARIO PARA DEJAR UNA VALORACIÓN
   ======================================= */
#review_form_wrapper {
    margin-top: 40px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 30px !important;
    border-radius: 12px !important;
    border: 1px dashed rgba(255, 215, 0, 0.5) !important; /* Borde dorado para invitar a comentar */
}

#review_form_wrapper .comment-reply-title {
    color: #ffd700 !important;
    font-size: 20px !important;
    margin-bottom: 15px !important;
}

/* Estrellas interactivas al comentar */
#review_form_wrapper .stars a {
    color: #ffd700 !important;
}

/* Inputs de nombre, correo y texto */
#review_form_wrapper input[type="text"],
#review_form_wrapper input[type="email"],
#review_form_wrapper textarea {
    background-color: rgba(26, 11, 46, 0.8) !important;
    border: 1px solid rgba(0, 255, 102, 0.3) !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 15px !important;
}

#review_form_wrapper input[type="text"]:focus,
#review_form_wrapper input[type="email"]:focus,
#review_form_wrapper textarea:focus {
    border-color: #00ff66 !important;
    outline: none !important;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.3) !important;
}

/* Botón de Enviar Reseña */
#review_form_wrapper .submit {
    background-color: #00ff66 !important;
    color: #000 !important;
    font-weight: 900 !important;
    border-radius: 50px !important;
    padding: 15px 35px !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 10px !important;
}

#review_form_wrapper .submit:hover {
    background-color: #fff !important;
    box-shadow: 0 0 20px #00ff66 !important;
}

/* =======================================
   RESPONSIVO MÓVIL (TABS Y REVIEWS)
   ======================================= */
@media (max-width: 768px) {
    body.single-product .woocommerce-tabs .panel {
        padding: 20px 15px !important; /* Reducimos el relleno interno en celular */
        border-radius: 0 0 10px 10px !important;
    }

    body.single-product .woocommerce-tabs ul.tabs li a {
        padding: 12px 15px !important;
        font-size: 13px !important;
    }
    
    /* Acomodamos el comentario si la pantalla es pequeña */
    #reviews .comment-text {
        margin-left: 0 !important; /* Quitamos el margen izquierdo */
        margin-top: 15px !important; /* Lo bajamos debajo del avatar */
        clear: both !important;
    }
    
    #reviews #comments ol.commentlist li img.avatar {
        float: left !important; /* Foto a la izquierda */
        margin-bottom: 10px !important;
        margin-right: 15px !important;
    }

    /* Movemos las estrellas debajo del nombre en celular para no apretar */
    .woocommerce .star-rating {
        float: none !important;
        margin-bottom: 10px !important;
    }
    
    #review_form_wrapper {
        padding: 20px 15px !important;
    }
}
/* ==========================================================
   14. MEJORAS EN PRODUCTOS RELACIONADOS Y VENTAS DIRIGIDAS
   ========================================================== */

/* Contenedor principal de Productos Relacionados */
body.single-product section.related.products,
body.single-product section.up-sells.products {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 50px auto 60px auto !important;
    padding: 0 15px !important;
    clear: both !important;
}

/* Título de "Productos relacionados" */
body.single-product section.related.products > h2,
body.single-product section.up-sells.products > h2 {
    color: #00ff66 !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    margin-bottom: 30px !important;
    text-shadow: 0 0 10px rgba(0, 255, 102, 0.4) !important;
    text-align: left !important;
}

/* Grid inteligente para evitar el "aplastamiento" */
body.single-product section.related.products ul.products,
body.single-product section.up-sells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 25px !important;
    margin: 0 !important;
}

/* Tarjeta individual de producto relacionado */
body.single-product section.related.products ul.products li.product,
body.single-product section.up-sells.products ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    background-color: rgba(26, 11, 46, 0.8) !important;
    border: 1px solid rgba(0, 255, 102, 0.2) !important;
    border-radius: 15px !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

body.single-product section.related.products ul.products li.product:hover {
    border-color: #00ff66 !important;
    box-shadow: 0 5px 15px rgba(0, 255, 102, 0.2) !important;
    transform: translateY(-5px) !important;
}

/* Imagen del producto */
body.single-product section.related.products ul.products li.product img {
    background: #fff !important;
    padding: 10px !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Evitar que los textos se partan feo ("PLAY STATIO N") */
body.single-product section.related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    margin-bottom: 10px !important;
    line-height: 1.4 !important;
}

/* Arreglar el botón deformado */
body.single-product section.related.products ul.products li.product .button {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: auto !important; /* Empuja el botón siempre al fondo de la tarjeta */
    padding: 12px 15px !important;
    white-space: normal !important; 
    border-radius: 50px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
}

/* ==========================================================
   RESPONSIVO CELULAR (PRODUCTOS RELACIONADOS)
   ========================================================== */
@media (max-width: 768px) {
    body.single-product section.related.products ul.products,
    body.single-product section.up-sells.products ul.products {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important; /* Tarjetas adaptadas a móvil */
        gap: 15px !important;
    }
    
    body.single-product section.related.products > h2,
    body.single-product section.up-sells.products > h2 {
        font-size: 20px !important;
        text-align: center !important;
    }
}
/* ==========================================================
   15. BOTÓN "VOLVER A LA TIENDA" EN RESULTADOS/CATEGORÍAS
   ========================================================== */

/* Aseguramos que el texto de resultados no flote de forma extraña */
.woocommerce-result-count {
    float: none !important;
    display: block !important;
    margin-bottom: 15px !important;
}

/* Diseño del nuevo botón */
.btn-volver-tienda {
    display: inline-block !important;
    background-color: transparent !important;
    color: #00ff66 !important;
    border: 2px solid #00ff66 !important;
    border-radius: 50px !important;
    padding: 10px 25px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    font-size: 13px !important;
    margin-bottom: 30px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.2) !important;
    letter-spacing: 1px !important;
}

.btn-volver-tienda:hover {
    background-color: #00ff66 !important;
    color: #1a0b2e !important; /* Letra oscura al hacer hover */
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.6) !important;
    transform: translateY(-2px) !important;
}
/* --- ESTILOS PARA EL CAMPO DE CANTIDAD (EL RECUADRO BLANCO) --- */
.woocommerce .quantity .qty {
    background-color: rgba(22, 0, 43, 0.8) !important; /* Fondo morado oscuro casi transparente */
    color: #39FF14 !important; /* Texto en tu verde neón característico */
    border: 1px solid rgba(160, 100, 255, 0.4) !important; /* Borde morado sutil */
    border-radius: 6px !important; /* Bordes redondeados para combinar con el botón */
    padding: 10px !important;
    height: 45px !important; /* Iguala la altura del botón de agregar al carrito */
    font-weight: bold !important;
    font-size: 16px !important;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.5) !important;
    transition: all 0.3s ease;
}

/* Efecto al hacer clic en el campo de cantidad */
.woocommerce .quantity .qty:focus {
    outline: none !important;
    border-color: #39FF14 !important; /* El borde se vuelve verde neón */
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3) !important; /* Brillo verde */
    background-color: #0b0710 !important;
}

/* --- ESTILOS PARA EL SELECTOR DE MODELO (VARIACIONES) --- */
.woocommerce div.product form.cart .variations select {
    background-color: rgba(22, 0, 43, 0.8) !important;
    color: #e0e0e0 !important; /* Texto gris claro/blanco */
    border: 1px solid rgba(160, 100, 255, 0.4) !important;
    border-radius: 6px !important;
    padding: 10px 15px !important;
    height: 45px !important;
    font-size: 15px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Esto personaliza la flechita del menú desplegable */
    appearance: none; 
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339FF14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

/* Efecto al hacer clic en el selector de modelo */
.woocommerce div.product form.cart .variations select:focus {
    outline: none !important;
    border-color: #39FF14 !important;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3) !important;
}

/* Quitar la etiqueta "Limpiar" o darle estilo (aparece cuando eliges una variación) */
.woocommerce div.product form.cart .reset_variations {
    color: #39FF14 !important;
    margin-left: 10px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}
/* ---------------------------------------------------
   1. REVIVIR Y ESTILIZAR EL TÍTULO DEL PRODUCTO
--------------------------------------------------- */
.woocommerce div.product h1.product_title.entry-title {
    display: block !important; /* Forzamos a que vuelva a aparecer */
    color: #39FF14 !important; /* Verde neón */
    font-size: 32px !important;
    font-weight: 800 !important;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.4) !important;
    margin-bottom: 20px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------------------------------------------------
   2. ELIMINAR LAS FLECHAS BLANCAS NATIVAS DE CANTIDAD
--------------------------------------------------- */
/* Esto oculta el bloque blanco feo que el navegador le pone a los campos de números */
.woocommerce .quantity input[type="number"]::-webkit-inner-spin-button,
.woocommerce .quantity input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}
.woocommerce .quantity input[type="number"] {
    -moz-appearance: textfield !important;
}

/* Si tu tema (GeneratePress) está usando botones personalizados de + y - */
.woocommerce .quantity .minus, 
.woocommerce .quantity .plus {
    background-color: #16002b !important;
    color: #39FF14 !important;
    border: 1px solid rgba(160, 100, 255, 0.4) !important;
    border-radius: 4px;
    transition: 0.3s ease;
}

.woocommerce .quantity .minus:hover, 
.woocommerce .quantity .plus:hover {
    background-color: #39FF14 !important;
    color: #000 !important;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

/* ---------------------------------------------------
   3. ARREGLAR COLORES: PRECIO, STOCK Y LIMPIAR
--------------------------------------------------- */
/* Precio en la variación */
.woocommerce div.product p.price, 
.woocommerce div.product span.price,
.woocommerce div.product .woocommerce-variation-price .price {
    color: #39FF14 !important; /* Verde neón en vez del amarillo/dorado */
    font-weight: bold !important;
    font-size: 24px !important;
}

/* Texto de "X disponibles" (Stock) */
.woocommerce div.product p.stock.in-stock {
    color: #00C853 !important; /* Un verde un poco más oscuro para diferenciarlo del precio */
    font-weight: 600;
}

/* Botón "Limpiar" selección */
.woocommerce div.product form.cart .reset_variations {
    color: #ff2a7a !important; /* Un rosa/rojo neón para que contraste como acción de borrar */
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    margin-top: 10px;
    display: inline-block;
    transition: 0.3s;
}

.woocommerce div.product form.cart .reset_variations:hover {
    text-shadow: 0 0 8px rgba(255, 42, 122, 0.6);
}
/* ==========================================================
   17. REPARACIÓN VISUAL: TARJETAS DE PRODUCTOS (CONSOLAS Y CATÁLOGO)
   ========================================================== */

/* 1. Forzar la cuadrícula (Grid) para que las tarjetas no se estiren al 100% */
div[id^="contenedor-"] ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 30px !important;
    list-style: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* 2. Estructura de la tarjeta individual */
div[id^="contenedor-"] ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    background-color: rgba(26, 11, 46, 0.8) !important;
    border: 1px solid rgba(0, 255, 102, 0.2) !important;
    border-radius: 15px !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    position: relative !important; /* Para anclar la etiqueta de oferta */
    box-sizing: border-box !important;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

div[id^="contenedor-"] ul.products li.product:hover {
    transform: translateY(-5px) !important;
    border-color: #00ff66 !important;
    box-shadow: 0 5px 20px rgba(0, 255, 102, 0.2) !important;
}

/* 3. Imagen del producto (Fondo blanco para que resalte) */
div[id^="contenedor-"] ul.products li.product img {
    background: #ffffff !important;
    padding: 15px !important;
    border-radius: 8px !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    margin-bottom: 15px !important;
}

/* 4. Etiqueta de ¡Oferta! */
div[id^="contenedor-"] ul.products li.product .onsale {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    background: #00ff66 !important;
    color: #000 !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    z-index: 10 !important;
    text-decoration: none !important;
    box-shadow: 0 2px 10px rgba(0,255,102,0.4) !important;
}

/* 5. Título del producto (Eliminamos el azul por defecto) */
div[id^="contenedor-"] ul.products li.product .woocommerce-loop-product__title {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.4 !important;
}

div[id^="contenedor-"] ul.products li.product a {
    text-decoration: none !important;
}

/* 6. Precios */
div[id^="contenedor-"] ul.products li.product .price {
    margin-bottom: 20px !important;
    display: block !important;
}

/* Precio Viejo Tachado */
div[id^="contenedor-"] ul.products li.product .price del,
div[id^="contenedor-"] ul.products li.product .price del span {
    color: #ff3366 !important; /* Rojo oscuro para tachado */
    text-decoration: line-through !important;
    margin-right: 8px !important;
    font-size: 14px !important;
}

/* Precio Nuevo o Normal */
div[id^="contenedor-"] ul.products li.product .price ins,
div[id^="contenedor-"] ul.products li.product .price ins span,
div[id^="contenedor-"] ul.products li.product .price > span {
    color: #00ff66 !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    text-decoration: none !important;
    text-shadow: 0 0 8px rgba(0,255,102,0.4) !important;
}

/* 7. Botón Agregar al Carrito */
div[id^="contenedor-"] ul.products li.product .button {
    background: #00ff66 !important;
    color: #000 !important;
    border-radius: 50px !important;
    padding: 12px 20px !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: auto !important; /* Magia: empuja el botón siempre al fondo de la tarjeta */
    border: none !important;
    transition: all 0.3s ease !important;
}

div[id^="contenedor-"] ul.products li.product .button:hover {
    background: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,255,102,0.5) !important;
}

/* ==========================================================
   RESPONSIVO CELULAR (TARJETAS DE PRODUCTO)
   ========================================================== */
@media (max-width: 768px) {
    div[id^="contenedor-"] ul.products {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important; /* Tarjetas más compactas en celular */
        gap: 15px !important;
    }
    
    div[id^="contenedor-"] ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px !important;
    }
    
    div[id^="contenedor-"] ul.products li.product .price ins,
    div[id^="contenedor-"] ul.products li.product .price > span {
        font-size: 16px !important;
    }
}
/* ==========================================================
   18. PÁGINA DE SERVICIO TÉCNICO
   ========================================================== */

/* --- HERO SECTION --- */
.catalog-hero {
    margin-top: -60px !important; 
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    
    background-color: #16002b;
    background-image: linear-gradient(rgba(75, 20, 120, 0.80), rgba(75, 20, 120, 0.80)), url('https://img.freepik.com/vector-gratis/patron-costuras-placas-circuitos_98292-3920.jpg?semt=ais_rp_progressive&w=740&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
    padding: 100px 20px 60px; 
    text-align: center;
    border-bottom: 2px solid rgba(57, 255, 20, 0.3);
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.catalog-hero-content { max-width: 800px; margin: 0 auto; }

.badge-eco {
    background: #00C853; 
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.catalog-hero h1 {
    font-size: 48px;
    margin: 0 0 20px 0;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.green-text {
    color: #39FF14;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.7), 1px 1px 2px rgba(0,0,0,0.8);
}

.text-outline {
    font-size: 22px; 
    line-height: 1.6;
    font-weight: 600;
    color: #ffffff;
    -webkit-text-stroke: 0.8px #111111; 
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9); 
    margin: 0;
}

/* --- CONTENEDOR CATÁLOGO --- */
.catalog-details {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;

    padding: 60px 20px 100px;
    background-color: #16002b;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-image: radial-gradient(rgba(90, 24, 154, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
}

.catalog-container { max-width: 1200px; margin: 0 auto; }

/* --- FILTROS VISUALES PRINCIPALES --- */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px; 
}

/* --- SUB-FILTROS --- */
.sub-filters {
    display: none; 
    margin-bottom: 40px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px dashed rgba(57, 255, 20, 0.3);
}

.filter-btn {
    background: rgba(60, 9, 108, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(160, 100, 255, 0.4);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sub-btn {
    padding: 8px 18px;
    font-size: 12px;
    background: rgba(0, 0, 0, 0.5);
}

.filter-btn:hover {
    border-color: #39FF14;
    background: rgba(90, 24, 154, 0.8);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.filter-btn.active {
    background: #00C853;
    border-color: #39FF14;
    color: white;
    box-shadow: 0 0 20px rgba(0, 200, 83, 0.5);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* --- GRILLA Y TARJETAS --- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.catalog-item {
    background: rgba(60, 9, 108, 0.4); 
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(160, 100, 255, 0.3);
    transition: 0.4s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeIn 0.4s ease;
}

.catalog-item.hide { display: none !important; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.catalog-item:hover {
    border-color: #39FF14;
    box-shadow: 0 15px 40px rgba(57, 255, 20, 0.15);
    transform: translateY(-5px);
    background: rgba(90, 24, 154, 0.5);
}

.item-header {
    background: rgba(36, 0, 70, 0.6);
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(160, 100, 255, 0.2);
}

.item-icon {
    font-size: 45px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
    display: block;
    margin-bottom: 15px;
}

.item-title {
    font-size: 20px;
    color: #39FF14;
    margin: 0;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3), 1px 1px 2px rgba(0,0,0,0.5);
    line-height: 1.3;
}

.item-body {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #fdfdfd;
    margin: 0 0 20px 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    flex-grow: 1;
}

.item-price {
    font-size: 14px;
    color: #39FF14;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 6px;
    border: 1px dashed rgba(57, 255, 20, 0.3);
}

.btn-quote {
    background: transparent;
    color: white;
    padding: 12px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #00C853;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.btn-quote:hover {
    background: #00C853;
    box-shadow: 0 0 15px rgba(0, 200, 83, 0.4);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* --- PAGINACIÓN --- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
}

.page-btn {
    background: rgba(60, 9, 108, 0.6);
    border: 1px solid rgba(160, 100, 255, 0.4);
    color: white;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.page-btn:hover {
    background: rgba(90, 24, 154, 0.8);
    border-color: #39FF14;
}

.page-btn.active {
    background: #00C853;
    border-color: #39FF14;
    box-shadow: 0 0 15px rgba(0, 200, 83, 0.4);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(60, 9, 108, 0.2);
    border-color: transparent;
}

.results-info {
    text-align: center;
    color: #39FF14;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .catalog-hero h1 { font-size: 38px; }
}
/* 1. LIMPIEZA Y CONTENEDOR ADAPTABLE (REEMPLAZA TU SECCIÓN 1) */
#tech-form-pro br, 
#tech-form-pro p:empty { display: none !important; }

#tech-form-pro {
    background: #0b021d !important;
    border: 2px solid #39FF14 !important; /* Borde neón más marcado */
    padding: 40px !important;            /* Más aire interno para que se vea "grande" */
    width: 95% !important;               /* Se adapta a pantallas chicas */
    max-width: 850px !important;         /* Se expande en pantallas grandes */
    margin: 40px auto !important;        /* Centrado con espacio arriba/abajo */
    border-radius: 20px !important;
    box-sizing: border-box !important;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.2) !important;
    transition: all 0.4s ease;
}

/* 2. DISEÑO DE FILAS Y CAMPOS (REEMPLAZA TU SECCIÓN 2) */
/* MEJORA DEL ENCABEZADO */
#tech-form-pro .form-header { 
    text-align: center !important; 
    margin-bottom: 40px !important; /* Más espacio antes de los campos */
}

#tech-form-pro .form-header h2 { 
    color: #fff !important; 
    font-size: 32px !important; /* Título imponente */
    margin: 0 0 10px 0 !important; 
    font-weight: 900 !important; 
    letter-spacing: 1px !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2) !important;
}

#tech-form-pro .form-header p { 
    color: #a777e3 !important; /* Morado claro para que armonice con los labels */
    font-size: 16px !important;  /* Tamaño legible */
    margin: 0 !important; 
    font-weight: 500 !important;
    opacity: 0.9 !important;
}

/* REJILLA FLEXIBLE: Esto hace que se adapte */
.fila-doble { 
    display: flex !important; 
    flex-wrap: wrap !important; /* Permite que los campos bajen en móviles */
    gap: 20px !important; 
    margin-bottom: 20px !important; 
}

.campo { 
    flex: 1 1 300px !important; /* Base de 300px, si hay menos espacio se apila */
    display: flex !important; 
    flex-direction: column !important; 
}

.campo.full-width { flex: 1 1 100% !important; }

#tech-form-pro label {
    color: #a777e3 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
    text-transform: uppercase !important;
}

#tech-form-pro input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid #3d2b6b !important;
    color: #00ff66 !important;
    padding: 15px !important; /* Inputs más grandes y fáciles de tocar */
    font-size: 15px !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 3. ADAPTACIÓN ESPECÍFICA PARA MÓVILES (MEDIA QUERY) */
@media screen and (max-width: 600px) {
    #tech-form-pro {
        padding: 20px !important;
        width: 100% !important;
    }
    
    .fila-doble .campo {
        flex: 1 1 100% !important; /* En celular, todo ocupa el 100% del ancho */
    }
    
    #tech-form-pro .form-header h2 {
        font-size: 22px !important;
    }
}

/* 4. BOTÓN Y LÓGICA DE ENVÍO (MANTENER IGUAL) */
#tech-form-pro .wpcf7-submit {
    background: #00ff66 !important;
    color: #0b021d !important;
    font-weight: 900 !important;
    padding: 18px !important;
    font-size: 16px !important;
    border-radius: 50px !important; /* Botón más moderno */
    cursor: pointer !important;
    width: 100% !important;
    box-shadow: 0 0 15px rgba(0, 255, 102, 0.4) !important;
}

/* 5. DISEÑO DE CUPÓN E INVITACIÓN (TU CÓDIGO ACTUALIZADO) */
.card-cupon, .card-invitacion-pro {
    max-width: 500px !important;
    margin: 20px auto !important;
    display: block !important;
    background: rgba(21, 8, 51, 0.95) !important;
    border: 2px solid #00ff66 !important;
    border-radius: 20px !important;
    padding: 30px !important;
}

.invitacion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Grid responsivo para el mapa */
    gap: 20px;
}

.cupon-hidden { display: none !important; }
.mostrar-cupon, .mostrar-invitacion { display: block !important; animation: aparecerSuave 0.8s ease forwards; }

@keyframes aparecerSuave {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 3. LÓGICA DE ENVÍO (OCULTAR FORMULARIO) */
#tech-form-pro.form-enviado .form-header,
#tech-form-pro.form-enviado .fila-doble,
#tech-form-pro.form-enviado .campo,
#tech-form-pro.form-enviado .boton-contenedor,
.wpcf7-response-output { 
    display: none !important; 
}

#tech-form-pro.form-enviado {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* 4. EL CUPÓN VIRTUAL (TICKET PROFESIONAL) */
.cupon-hidden { display: none; opacity: 0; }

.mostrar-cupon {
    display: flex !important;
    justify-content: center;
    margin-top: -30px;
    animation: ticketExplosion 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.card-cupon {
    background: linear-gradient(145deg, #150833, #0b021d) !important;
    border: 2px solid #00ff66 !important;
    padding: 40px !important;
    border-radius: 20px !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 350px !important;
    box-shadow: 0 0 40px rgba(0, 255, 102, 0.3) !important;
}

.emoji-rayo { font-size: 30px; color: #00ff66; display: block; margin-bottom: 10px; }
.card-cupon h3 { color: #fff !important; font-size: 24px !important; font-weight: 900 !important; letter-spacing: 2px !important; margin: 0 !important; }
.txt-socio { color: #a777e3 !important; font-size: 11px !important; font-weight: bold !important; margin-bottom: 25px !important; }
/* DISEÑO MEJORADO PARA "CODIGO DE DESCUENTO" */
.label-folio {
    background: #00ff66 !important; /* Fondo verde neón */
    color: #0b021d !important;      /* Texto oscuro para contraste */
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 1.5px !important;
    padding: 4px 12px !important;
    border-radius: 4px !important;
    display: inline-block !important; /* Para que no ocupe todo el ancho */
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    box-shadow: 0 0 10px rgba(0, 255, 102, 0.4) !important;
    position: relative !important;
    top: -5px !important;
}
.folio-display {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(0, 255, 102, 0.2) !important;
    padding: 20px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
}

#numero-folio-final {
    color: #00ff66 !important;
    font-size: 50px !important; /* Ajustado para que quepan prefijos largos */
    font-family: 'Courier New', monospace !important;
    font-weight: 900 !important;
    text-shadow: 0 0 15px rgba(0, 255, 102, 0.6) !important;
}

.instrucciones { color: #ccc !important; font-size: 13px !important; line-height: 1.4 !important; }

/* ANIMACIÓN UNIFICADA */
@keyframes ticketExplosion {
    from { opacity: 0; transform: scale(0.5) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
/* OCULTAR POR DEFECTO */
.cupon-hidden {
    display: none !important;
    opacity: 0;
}

/* MOSTRAR CUANDO EL FORMULARIO SE ENVÍA */
.mostrar-invitacion {
    display: block !important;
    opacity: 1 !important;
    animation: aparecerSuave 0.8s ease forwards;
    margin-top: 20px !important; /* Espacio entre el cupón y la invitación */
}

/* ARREGLO PARA QUE EL CUPÓN NO SE ESTIRE (Tu problema de la foto) */
.card-cupon, .card-invitacion {
    max-width: 450px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* ANIMACIÓN DE ENTRADA */
@keyframes aparecerSuave {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- CONTENEDOR PRINCIPAL DE INVITACIÓN --- */
.card-invitacion-pro {
    background: rgba(22, 0, 43, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 2px solid #39FF14 !important;
    border-radius: 20px !important;
    padding: 30px !important;
    max-width: 800px !important; /* Más ancho para las 2 columnas */
    margin: 30px auto !important;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.2) !important;
    color: white !important;
}

.invitacion-header { text-align: center; margin-bottom: 25px; }
.invitacion-header h2 { color: #fff; font-size: 24px; font-weight: 800; margin: 10px 0; }
.accent-line { width: 50px; height: 3px; background: #39FF14; margin: 0 auto; box-shadow: 0 0 10px #39FF14; }

/* --- GRID DE DOS COLUMNAS --- */
.invitacion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    align-items: center;
    text-align: left;
}

.green-text { color: #39FF14; text-shadow: 0 0 10px rgba(57, 255, 20, 0.5); }

.info-list-pro { list-style: none; padding: 0; margin: 0; }
.info-list-pro li { display: flex; gap: 15px; margin-bottom: 15px; font-size: 14px; line-height: 1.4; }
.info-list-pro .icon { font-size: 20px; }

/* --- MAPA --- */
.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(57, 255, 20, 0.3);
    height: 200px;
}

/* --- RESPONSIVO CELULARES --- */
@media (max-width: 600px) {
    .invitacion-grid {
        grid-template-columns: 1fr; /* Una columna en móvil */
    }
    .card-invitacion-pro { padding: 20px !important; }
}

/* REGLA DE VISIBILIDAD (Importante para que aparezca) */
.mostrar-invitacion {
    display: block !important;
    opacity: 1 !important;
    animation: fadeInSlideUp 0.8s ease forwards;
}

@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* MOSTRAR CON EL CUPÓN */
.mostrar-invitacion {
    display: block !important;
    animation: fadeInSlideUp 0.8s ease forwards;
}

@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* 1. ESTADO INICIAL: Ambos ocultos */
.cupon-hidden {
    display: none !important;
    opacity: 0;
}

/* 2. REGLA PARA MOSTRAR EL CUPÓN (Esto es lo que faltaba) */
.mostrar-cupon {
    display: block !important;
    opacity: 1 !important;
    animation: aparecerSuave 0.8s ease forwards;
}

/* 3. REGLA PARA MOSTRAR LA INVITACIÓN */
.mostrar-invitacion {
    display: block !important;
    opacity: 1 !important;
    animation: aparecerSuave 0.8s ease forwards;
    margin-top: 25px !important; /* Espacio entre las dos tarjetas */
}

/* 4. AJUSTE DE DISEÑO PARA AMBAS TARJETAS */
.card-cupon, .card-invitacion {
    max-width: 450px !important;
    margin: 20px auto !important;
    display: block !important;
    background: rgba(21, 8, 51, 0.9) !important;
    border: 2px solid #00ff66 !important;
    border-radius: 20px !important;
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.2) !important;
}

/* ANIMACIÓN ÚNICA */
@keyframes aparecerSuave {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- ESTILOS EXCLUSIVOS PARA EL SLIDE DE SOCIOS --- */

/* Asegura que el contenido se vea sobre la imagen */
.slide-socios .contenido-texto {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 60px 40px !important;
    z-index: 10 !important;
}

/* El cuadro oscuro que protege el texto sin tapar toda la foto */
.slide-socios .texto-wrapper-pro {
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%) !important;
    padding: 25px !important;
    border-radius: 15px !important;
    display: inline-block !important;
}

/* Título Socios con brillo neón */
.slide-socios h2 {
    color: #ffffff !important;
    font-size: 48px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.5) !important; /* Brillo verde sutil */
    margin-bottom: 5px !important;
}

/* Párrafo descriptivo */
.slide-socios p {
    color: #ffffff !important;
    font-size: 18px !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8) !important;
    margin-bottom: 25px !important;
}

/* NUEVO BOTÓN NEÓN (No afecta a los otros sliders) */
.btn-carrusel-neon {
    display: inline-block !important;
    background: transparent !important;
    border: 3px solid #39FF14 !important; /* Verde Neón */
    color: #39FF14 !important;
    padding: 14px 28px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-carrusel-neon:hover {
    background: #39FF14 !important;
    color: #000 !important;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.7) !important;
    transform: scale(1.05) !important;
}

/* Ajuste móvil solo para este slide */
@media screen and (max-width: 600px) {
    .slide-socios h2 { font-size: 30px !important; }
    .slide-socios .texto-wrapper-pro { width: 90% !important; }
    .btn-carrusel-neon { width: 100% !important; text-align: center !important; }
}
/* --- AJUSTE DE VISIBILIDAD SOLO PARA EL SLIDE DE SOCIOS --- */

/* Trazo de seguridad para el Título */
.slide-socios-ajuste h2 {
    color: #ffffff !important;
    font-weight: 900 !important;
    /* Trazo negro sutil para despegar el blanco de la foto */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 
                 -1px -1px 0px rgba(0, 0, 0, 0.5) !important;
}

/* Trazo de seguridad para el Párrafo */
.slide-socios-ajuste p {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9) !important;
}

/* Refuerzo para el Botón en este slide */
.slide-socios-ajuste .btn-carrusel {
    border: 2px solid #39FF14 !important; /* Trazo neón verde */
    background: rgba(11, 2, 29, 0.6) !important; /* Fondo translúcido para que no sea un bloque sólido */
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.4) !important; /* Resplandor neón */
    transition: 0.3s !important;
}

.slide-socios-ajuste .btn-carrusel:hover {
    background: #39FF14 !important;
    color: #000 !important;
    box-shadow: 0 0 30px #39FF14 !important;
}
/*borrar esto despues*/
/* ==========================================================
   CSS CRÍTICO PARA EL FUNCIONAMIENTO DE LOS FILTROS
   ========================================================== */

/* 1. Ocultar los elementos filtrados (ESTO ARREGLA EL PROBLEMA) */
.catalog-item.hide {
    display: none !important;
}

/* 2. Destacar visualmente el botón de filtro que está seleccionado */
.filter-btn.active {
    background-color: #39FF14 !important; /* Verde Neón Club Juegos V */
    color: #0b021d !important;            /* Texto oscuro para contraste */
    border-color: #39FF14 !important;
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.4) !important;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* 3. Estilo para el botón de Paginación seleccionado */
.page-btn.active {
    background-color: #39FF14 !important;
    color: #0b021d !important;
    font-weight: bold !important;
    border: 1px solid #39FF14 !important;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.3) !important;
}

/* 4. Animación suave para cuando aparecen los servicios */
.catalog-item {
    animation: fadeInCatalog 0.5s ease-in-out;
}

@keyframes fadeInCatalog {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}  
/*borrar*/
/* ==========================================================
   FIX DEFINITIVO: ALTURA DE IMÁGENES Y TARJETAS CATÁLOGO
   ========================================================== */

/* 1. Blindaje total para la imagen usando el ID padre */
#service-grid .catalog-item .item-header .item-image {
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 8px !important;
    display: block !important;
}

/* 2. Forzar estructura flexible en la tarjeta */
#service-grid .catalog-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* 3. El cuerpo toma el espacio sobrante */
#service-grid .catalog-item .item-body {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 4. El botón se va al fondo obligatoriamente */
#service-grid .catalog-item .item-body .btn-quote {
    margin-top: auto !important;
}
/* --- PALETA DE COLORES TECH --- */
:root {
    --purple-deep: #16002b;      
    --purple-vibrant: #3c096c;   
    --green-neon: #39FF14;       
    --green-strong: #00C853;     
    --text-light: #f5f5f5;       
}

.specialties-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
    padding: 100px 0;
    
    background-color: var(--purple-deep);
    background-image: linear-gradient(rgba(75, 20, 120, 0.80), rgba(75, 20, 120, 0.80)), url('https://img.freepik.com/vector-gratis/patron-costuras-placas-circuitos_98292-3920.jpg?semt=ais_rp_progressive&w=740&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.specialties-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.specialties-header {
    text-align: center;
    margin-bottom: 80px;
}

.pre-title {
    color: var(--green-neon);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
}

.specialties-header h2 {
    font-size: 42px;
    color: white;
    margin: 0;
    font-weight: 800;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
}

.accent-line {
    width: 60px;
    height: 4px;
    background: var(--green-strong);
    box-shadow: 0 0 10px var(--green-neon);
    margin: 20px auto 0;
    border-radius: 2px;
}

.specialty-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.specialty-row.reverse {
    flex-direction: row-reverse;
}

.specialty-row:last-child {
    margin-bottom: 0;
}

/* Cajas de imágenes (Efecto Cristal oscuro) */
.specialty-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(60, 9, 108, 0.4); 
    backdrop-filter: blur(8px);
    border: 1px solid rgba(160, 100, 255, 0.2);
    border-radius: 24px;
    height: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: 0.4s ease;
    overflow: hidden; /* Mantiene la imagen dentro de los bordes redondeados */
}

.specialty-row:hover .specialty-visual {
    transform: scale(1.03);
    border-color: var(--green-neon);
    box-shadow: 0 15px 40px rgba(57, 255, 20, 0.2);
}

/* Propiedades exclusivas para las nuevas imágenes */
.specialty-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Llena el contenedor sin deformarse */
    transition: transform 0.5s ease;
}

.specialty-row:hover .specialty-img {
    transform: scale(1.08); /* Efecto de acercamiento suave al pasar el cursor */
}

.specialty-content {
    flex: 1;
}

.specialty-content h3 {
    font-size: 36px;
    margin: 0 0 20px 0;
    color: var(--green-neon);
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.specialty-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0 0 25px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}

.s-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.s-list li {
    font-size: 17px;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}

@media (max-width: 768px) {
    .specialty-row, .specialty-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .s-list li {
        justify-content: center;
        text-align: left;
    }
}
/* --- Botón Destacado: Estilo Gamer RGB --- */

/* Ajuste principal del enlace */
.boton-renueva a {
    position: relative !important;
    background-color: #1a1a1a !important; /* Fondo oscuro para resaltar el neón */
    color: #ffffff !important; /* Letra blanca */
    font-weight: 800 !important;
    border-radius: 30px !important;
    padding: 8px 20px !important;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
    border: none !important;
    transition: transform 0.3s ease;
}

/* El efecto RGB animado detrás del botón */
.boton-renueva a::before {
    content: '';
    position: absolute;
    top: -3px; 
    left: -3px; 
    right: -3px; 
    bottom: -3px;
    /* Gradiente con todos los colores RGB */
    background: linear-gradient(90deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    background-size: 400%;
    border-radius: 33px; /* Ligeramente más redondo que el botón para envolverlo bien */
    z-index: -1;
    animation: animacion-rgb 8s linear infinite; /* Velocidad del cambio de color */
    opacity: 0.9;
    transition: filter 0.3s ease;
}

/* Brillo Neón Extra al pasar el cursor */
.boton-renueva a:hover {
    transform: scale(1.05); /* El botón crece un poquito */
}

.boton-renueva a:hover::before {
    filter: blur(10px); /* Esto hace que la luz RGB se expanda como neón */
    opacity: 1;
}

/* Animación fluida de los colores RGB */
@keyframes animacion-rgb {
    0% { background-position: 0% 0%; }
    100% { background-position: 400% 0%; }
}
/* ===== NUEVO BLOQUE: MISIONES Y BENEFICIOS (3 COLUMNAS) ===== */
.misiones-container {
    max-width: 1200px;
    margin: 80px auto 40px auto;
    padding: 0 20px;
}

.misiones-header {
    text-align: center;
    margin-bottom: 50px;
}

.misiones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mision-card {
    background: rgba(13, 0, 26, 0.9);
    border: 4px solid;
    padding: 40px 25px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.mision-card:hover { transform: translateY(-10px); }

/* Colores por tarjeta */
.card-rescate { border-color: #00f2ff; box-shadow: 6px 6px 0 rgba(0, 242, 255, 0.2); }
.card-rescate:hover { box-shadow: 0 0 20px #00f2ff; }
.card-rescate .mision-icon { color: #00f2ff; text-shadow: 0 0 10px #00f2ff; }

.card-academia { border-color: #ff00ff; box-shadow: 6px 6px 0 rgba(255, 0, 255, 0.2); }
.card-academia:hover { box-shadow: 0 0 20px #ff00ff; }
.card-academia .mision-icon { color: #ff00ff; text-shadow: 0 0 10px #ff00ff; }

.card-reciclaje { border-color: var(--neon); box-shadow: 6px 6px 0 rgba(0, 255, 102, 0.2); }
.card-reciclaje:hover { box-shadow: 0 0 20px var(--neon); }
.card-reciclaje .mision-icon { color: var(--neon); text-shadow: 0 0 10px var(--neon); }

.mision-icon { font-size: 50px; margin-bottom: 20px; display: block; }
.mision-title { font-size: 16px; color: #fff; margin-bottom: 20px; line-height: 1.6; text-shadow: 2px 2px 0 #000; }
.mision-text { color: #ddd; font-size: 15px; line-height: 1.7; margin-bottom: 30px; font-family: 'Segoe UI', sans-serif; }

/* Botones 8-bits */
.btn-mision {
    display: inline-block;
    padding: 15px 20px;
    font-family: 'Press Start 2P', monospace;
    font-size: 11px;
    color: #000;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    box-sizing: border-box;
}

.btn-cyan { background: #00f2ff; box-shadow: 4px 4px 0 #008899; }
.btn-cyan:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #008899; }

.btn-magenta { background: #ff00ff; box-shadow: 4px 4px 0 #880088; }
.btn-magenta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #880088; }

.btn-green { background: var(--neon); box-shadow: 4px 4px 0 #005522; }
.btn-green:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #005522; }

/* ===== CORRECCIÓN DE LA ZONA DE MONEDAS ===== */
.coins-section-fixed {
    background: rgba(13,0,26,.9);
    border: 4px solid var(--yellow);
    /* Aumentamos el padding superior (80px) para que el texto no choque con la etiqueta amarilla */
    padding: 80px 20px 60px; 
    margin: 40px auto 80px;
    max-width: 1000px;
    text-align: center;
    box-shadow: 8px 8px 0 rgba(255,215,0,.15);
    position: relative;
    box-sizing: border-box;
}

.coins-section-fixed::before {
    content: '⭐ ZONA DE RECOMPENSAS ⭐';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow);
    color: #000;
    font-size: 12px;
    padding: 10px 25px;
    box-shadow: 2px 2px 0 #8B6914;
    font-weight: bold;
    white-space: nowrap;
    z-index: 2;
}

.coins-title-fixed {
    /* Usamos clamp para que el texto se achique en celulares y no se rompa */
    font-size: clamp(14px, 2.5vw, 22px); 
    color: var(--yellow);
    text-shadow: 3px 3px 0 #8B6914;
    margin-bottom: 20px;
    line-height: 1.6;
}

.coins-subtitle-fixed {
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    color: #f0f0f0;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .misiones-grid { grid-template-columns: 1fr; }
    .coins-section-fixed { padding: 60px 15px 40px; margin: 40px 15px; }
}
/* --- Botón Destacado: Estilo Gamer RGB (LEGIBILIDAD CORREGIDA) --- */
.boton-renueva a {
    position: relative !important;
    background-color: #1a1a1a !important; 
    color: #ffffff !important; /* Letra blanca por defecto */
    text-shadow: 1px 1px 2px #000 !important; /* Sombra negra para asegurar contraste */
    font-weight: 900 !important;
    border-radius: 30px !important;
    padding: 12px 25px !important;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
    border: none !important;
    transition: all 0.3s ease !important;
}

.boton-renueva a:hover {
    transform: scale(1.05); 
    color: #000000 !important; /* Al iluminarse el fondo, la letra se vuelve negra */
    text-shadow: none !important; /* Quitamos la sombra para que se vea nítido */
    background-color: transparent !important; /* Deja pasar la luz RGB */
}
/* ==================================================== */
/* 1. RESET TOTAL Y MODO OSCURO PARA EL MENÚ LATERAL    */
/* ==================================================== */

/* Forzamos fondo transparente en los contenedores padre */
nav.woocommerce-MyAccount-navigation,
div.woocommerce-MyAccount-navigation {
    background: transparent !important;
}

/* Aplicamos el diseño al bloque principal del menú */
.woocommerce-MyAccount-navigation ul {
    background: #1e1e2f !important;
    border-radius: 12px !important;
    padding: 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Limpiamos el fondo blanco residual de cada ítem */
.woocommerce-MyAccount-navigation ul li {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Colores de los enlaces (Reposo) */
.woocommerce-MyAccount-navigation ul li a {
    color: #a0a0b5 !important;
    background: transparent !important;
    display: block !important;
    padding: 10px 15px !important;
    transition: all 0.3s ease !important;
}

/* Colores de los enlaces (Activo y Hover) */
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    color: #25d366 !important; /* Verde Electro Revive */
    background: rgba(37, 211, 102, 0.1) !important;
    border-radius: 8px !important;
}

/* ==================================================== */
/* 2. OVERRIDE ABSOLUTO DE LAS TARJETAS (GRID)          */
/* ==================================================== */

/* Usamos el padre (.wcmtx-my-account-links) y el atributo [style] 
   para ganarle la pelea de especificidad a los estilos en línea */
.wcmtx-my-account-links div.wcmtx_dashboard_link[style],
.wcmtx-my-account-links div.wcmtx_dashboard_link {
    background-color: #242435 !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

/* Forzamos el color blanco en todos los textos e iconos hijos, 
   incluso si tienen estilos en línea inyectados */
.wcmtx-my-account-links div.wcmtx_dashboard_link[style] a,
.wcmtx-my-account-links div.wcmtx_dashboard_link a,
.wcmtx-my-account-links div.wcmtx_dashboard_link[style] i,
.wcmtx-my-account-links div.wcmtx_dashboard_link i,
.wcmtx-my-account-links div.wcmtx_dashboard_link[style] span,
.wcmtx-my-account-links div.wcmtx_dashboard_link span {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Animación Hover de las tarjetas */
.wcmtx-my-account-links div.wcmtx_dashboard_link:hover {
    border-color: #25d366 !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.15) !important;
}

/* Ajuste del contador numérico (Burbuja) */
.wcmtx-my-account-links div.wcmtx_dashboard_link .count {
    background-color: #25d366 !important;
    color: #1e1e2f !important;
}
/* ========================================================================== */
/* 1. RESET Y REDISEÑO DEL MENÚ LATERAL (ESTILO UI MODERNO)                   */
/* ========================================================================== */

/* Destruimos los fondos blancos residuales del tema base */
html body .woocommerce-MyAccount-navigation,
html body .woocommerce-MyAccount-navigation ul,
html body .woocommerce-MyAccount-navigation ul li,
html body .woocommerce-MyAccount-navigation ul li a {
    background: transparent !important;
    background-color: transparent !important;
}

/* Contenedor principal del menú lateral */
html body .woocommerce-MyAccount-navigation {
    background-color: #151521 !important; /* Fondo oscuro premium */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Separadores sutiles entre opciones */
html body .woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Estilo de los enlaces en reposo */
html body .woocommerce-MyAccount-navigation ul li a {
    color: #8b8b9f !important; /* Gris técnico elegante */
    padding: 16px 20px !important;
    display: block !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    border-left: 3px solid transparent !important;
}

/* Estado Activo y Efecto Hover (El toque profesional) */
html body .woocommerce-MyAccount-navigation ul li.is-active a,
html body .woocommerce-MyAccount-navigation ul li a:hover {
    color: #ffffff !important;
    background: linear-gradient(90deg, rgba(37, 211, 102, 0.15) 0%, rgba(37, 211, 102, 0) 100%) !important;
    border-left: 3px solid #25d366 !important; /* Acento verde neón */
}


/* ========================================================================== */
/* 2. PANELES DE CONTROL FRONTALES (ELIMINACIÓN DE COLORES PASTEL)            */
/* ========================================================================== */

/* Forzamos el fondo oscuro en cada bloque, ignorando los estilos en línea */
html body .woocommerce-MyAccount-content .wcmtx_dashboard_link {
    background: #1a1a2e !important; /* Azul marino/gris muy oscuro */
    background-color: #1a1a2e !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Textos de las tarjetas */
html body .woocommerce-MyAccount-content .wcmtx_dashboard_link a,
html body .woocommerce-MyAccount-content .wcmtx_dashboard_link span {
    color: #e2e8f0 !important; /* Blanco hueso para contraste limpio */
    font-weight: 500 !important;
}

/* Iconos de las tarjetas (Les damos el color corporativo verde) */
html body .woocommerce-MyAccount-content .wcmtx_dashboard_link i {
    color: #25d366 !important; 
    font-size: 28px !important;
    margin-bottom: 10px !important;
    display: block !important;
    opacity: 0.9 !important;
}

/* Efecto 3D al pasar el ratón (Hover) */
html body .woocommerce-MyAccount-content .wcmtx_dashboard_link:hover {
    transform: translateY(-6px) !important;
    border-color: #25d366 !important;
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.15) !important;
    background-color: #1f1f35 !important; /* Aclara sutilmente el fondo */
}

/* Burbujas de notificación (Contadores numéricos) */
html body .woocommerce-MyAccount-content .wcmtx_dashboard_link .count {
    background-color: #ff3366 !important; /* Rojo alerta profesional */
    color: #ffffff !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    padding: 3px 8px !important;
    border: 2px solid #1a1a2e !important; /* Borde oscuro para recortar */
}
/* ==================================================== */
/* REDISEÑO MAESTRO: ELECTRO REVIVE DASHBOARD          */
/* ==================================================== */

/* 1. CONTENEDOR PRINCIPAL */
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: transparent !important;
    padding: 20px 0;
}

/* 2. SIDEBAR (MENÚ LATERAL) */
.woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    background-color: #0f0f12 !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 20px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4) !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 10px !important;
    border: none !important;
}

.woocommerce-MyAccount-navigation ul li a {
    color: #8b8b9f !important;
    text-decoration: none !important;
    padding: 12px 18px !important;
    display: block !important;
    border-radius: 10px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    font-size: 15px !important;
}

/* Efecto activo y hover del menú */
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: rgba(37, 211, 102, 0.1) !important;
    color: #25d366 !important;
    box-shadow: inset 3px 0 0 #25d366 !important;
}

/* 3. ÁREA DE CONTENIDO (DERECHA) */
.woocommerce-MyAccount-content {
    flex: 1;
    color: #ffffff !important;
    background: transparent !important;
}

/* Mensaje de Bienvenida */
.woocommerce-MyAccount-content p {
    color: #a0a0b5 !important;
    line-height: 1.6 !important;
}

/* 4. TARJETA ESPECIAL DE PUNTOS (Simulación Visual) */
/* Agregaremos esto para que destaque cuando lo insertes */
.electro-points-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f12 100%) !important;
    border: 1px solid rgba(37, 211, 102, 0.3) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    margin-bottom: 30px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.05) !important;
}

.electro-points-card h2 {
    color: #25d366 !important;
    margin: 0 !important;
    font-size: 22px !important;
}

.electro-points-card .points-value {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

/* 5. TABLAS DE PEDIDOS Y REPARACIONES */
table.shop_table {
    background-color: #0f0f12 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px !important;
    border-collapse: separate !important;
    overflow: hidden !important;
}

table.shop_table thead th {
    background-color: #1a1a2e !important;
    color: #25d366 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    padding: 20px !important;
    border: none !important;
}

table.shop_table tbody td {
    padding: 20px !important;
    color: #e2e8f0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Botones en el dashboard */
.woocommerce-button.button {
    background-color: #25d366 !important;
    color: #000 !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    border: none !important;
    transition: transform 0.2s !important;
}

.woocommerce-button.button:hover {
    transform: scale(1.05) !important;
}
/* ==================================================== */
/* DISEÑO PRO PARA TABLA DE REPARACIONES (REPAIR SHOP)  */
/* ==================================================== */

/* 1. Textos Generales y Títulos */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3,
.woocommerce-MyAccount-content .welcome-text {
    color: #ffffff !important;
}

.woocommerce-MyAccount-content p {
    color: #a0a0b5 !important;
}

/* 2. Botones de Filtro Superiores (Estilo Píldora Dark) */
.woocommerce-MyAccount-content a[class*="btn-default"],
.woocommerce-MyAccount-content a[href*="status"],
.woocommerce-MyAccount-content .filter-jobs a {
    background-color: #1a1a2e !important;
    color: #a0a0b5 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 8px 18px !important;
    border-radius: 30px !important; /* Bordes redondeados modernos */
    display: inline-block !important;
    margin: 5px 5px 15px 0 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

/* Efecto al pasar el mouse por los filtros */
.woocommerce-MyAccount-content a[class*="btn-default"]:hover,
.woocommerce-MyAccount-content a[href*="status"]:hover {
    background-color: rgba(37, 211, 102, 0.1) !important;
    color: #25d366 !important;
    border-color: #25d366 !important;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.2) !important;
}

/* 3. La Tabla de Trabajos (Fondo oscuro y bordes verdes) */
.woocommerce-MyAccount-content table, 
.woocommerce-MyAccount-content .table-responsive table {
    background-color: #111118 !important;
    border-collapse: collapse !important;
    width: 100% !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Cabecera de la tabla */
.woocommerce-MyAccount-content table th {
    background-color: #1a1a2e !important;
    color: #25d366 !important;
    padding: 16px !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    border: none !important;
    border-bottom: 2px solid rgba(37, 211, 102, 0.3) !important;
}

/* Filas de la tabla */
.woocommerce-MyAccount-content table td {
    background-color: transparent !important;
    color: #e2e8f0 !important;
    padding: 16px !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    vertical-align: middle !important;
}

/* 4. Botones de Acción dentro de la tabla (Azul viejo -> Verde Neón) */
.woocommerce-MyAccount-content table td .btn,
.woocommerce-MyAccount-content table td a.btn,
.woocommerce-MyAccount-content table td a[class*="btn-primary"] {
    background-color: #25d366 !important;
    color: #050505 !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    font-weight: 700 !important;
    border: none !important;
    display: block !important;
    margin-bottom: 5px !important;
    text-align: center !important;
    transition: transform 0.2s ease !important;
}

.woocommerce-MyAccount-content table td a.btn:hover {
    transform: scale(1.05) !important;
    background-color: #1ebe59 !important;
}

/* 5. Buscador (Search bar) */
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="search"] {
    background-color: #1a1a2e !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 400px !important;
}
/* ==================================================== */
/* DETALLES FINOS Y CORRECCIONES DE INTERFAZ            */
/* ==================================================== */

/* 1. Eliminar viñetas (Nivel Máximo) */
.woocommerce-MyAccount-navigation ul,
.woocommerce-MyAccount-navigation ul li {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Muchos temas inyectan los puntos usando pseudo-elementos, esto los anula: */
.woocommerce-MyAccount-navigation ul li::before,
.woocommerce-MyAccount-navigation ul li::after {
    display: none !important;
    content: none !important;
}

/* 2. Centrar la lupa rebelde y quitarle la flotación */
.woocommerce-MyAccount-content img {
    max-width: 100px !important;
    height: auto !important;
    display: block !important;
    margin: 50px auto !important; /* Fuerza el centrado horizontal */
    opacity: 0.5 !important; 
    filter: grayscale(100%) !important;
    float: none !important;      /* Quita el anclaje a la derecha */
    position: static !important; /* Quita posiciones absolutas */
    clear: both !important;      /* Evita que se superponga con la tabla */
}

/* Centrar el contenedor de la lupa por si el plugin lo envuelve en un párrafo */
.woocommerce-MyAccount-content p:has(img) {
    text-align: center !important;
    width: 100% !important;
}
/* ==================================================== */
/* PARCHE SENIOR DE PERFECCIONAMIENTO DE INTERFAZ       */
/* ==================================================== */

/* 1. Reset Total de Viñetas Rebeldes del Tema */
html body .woocommerce-MyAccount-navigation ul, 
html body .woocommerce-MyAccount-navigation ul li {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Anular pseudo-elementos del tema que inyectan los puntos */
html body .woocommerce-MyAccount-navigation ul li::before, 
html body .woocommerce-MyAccount-navigation ul li::after {
    display: none !important;
    content: none !important;
}


/* 2. Dómar y Centrar el "Símbolo de Lupa" Rebelde (Reset Absoluto) */
/* Este selector atrapa cualquier elemento grande que no sea la tabla */
html body .woocommerce-MyAccount-content div:not(.table-responsive):not(.shop_table) a[class*="btn-primary"],
html body .woocommerce-MyAccount-content > p:has(img),
html body .woocommerce-MyAccount-content > img,
html body .woocommerce-MyAccount-content a.wc-backward {
    float: none !important;      /* Quita el anclaje a la derecha */
    position: static !important; /* Quita posiciones absolutas o fijas */
    display: block !important;
    max-width: 120px !important; /* Tamaño prudente */
    height: auto !important;
    margin: 60px auto !important; /* Fuerza el centrado horizontal y espacio vertical */
    opacity: 0.6 !important; 
    filter: grayscale(100%) !important; /* Gris elegante */
    box-shadow: none !important;
}


/* 3. Corrección de Visibilidad del Texto "Azul Plomo" (Contraste) */
/* Forzamos un Modo Oscuro Profundo en las alertas de WooCommerce */
html body .woocommerce-MyAccount-content .woocommerce-info,
html body .woocommerce-MyAccount-content .woocommerce-message,
html body .woocommerce-MyAccount-content div[role="alert"] {
    background-color: #0f0f12 !important; /* Fondo negro profundo */
    color: #e2e8f0 !important; /* Letras blanco hueso, perfectamente legibles */
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 2px solid #25d366 !important; /* Borde superior verde Electro Revive */
    border-radius: 12px !important;
    text-align: center !important;
    padding: 25px !important;
}

/* Forzamos el color de los iconos dentro de estas alertas */
html body .woocommerce-MyAccount-content div[role="alert"]::before,
html body .woocommerce-MyAccount-content div[role="alert"] i {
    color: #25d366 !important;
}

/* 3. Ocultar el botón de "Explorar productos / Ir a la tienda" en Pedidos vacíos */
.woocommerce-MyAccount-content .woocommerce-message a.button,
.woocommerce-MyAccount-content .woocommerce-info a.button,
.woocommerce-MyAccount-content .woocommerce-error a.button {
    display: none !important;
}

/* Ajuste fino al mensaje de "No hay pedidos" para que se vea centrado y limpio */
.woocommerce-MyAccount-content .woocommerce-info {
    background-color: #1a1a2e !important;
    color: #a0a0b5 !important;
    border-top-color: #25d366 !important; /* Línea superior verde Electro Revive */
    text-align: center !important;
    padding: 20px !important;
    border-radius: 8px !important;
}
/* ==================================================== */
/* FIX: LUPA Y TABLA DEL PLUGIN (COMPUTER REPAIR SHOP)  */
/* ==================================================== */

/* --- 1. DOMAR LA LUPA DE BÚSQUEDA --- */
/* Alinear el buscador y el botón en una sola línea */
html body div.alignsearchright {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    margin-bottom: 25px !important;
    clear: both !important;
}

/* Estilo del cuadro de texto */
html body div.alignsearchright input[type="text"] {
    max-width: 250px !important;
    margin: 0 !important;
    border-radius: 8px 0 0 8px !important; /* Borde izquierdo redondeado */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: #1a1a2e !important;
    color: #ffffff !important;
    padding: 10px 15px !important;
}

/* El botón cuadrado verde que contiene la lupa */
html body div.alignsearchright a.searchjobsicon {
    background-color: #25d366 !important;
    padding: 0 15px !important;
    border-radius: 0 8px 8px 0 !important; /* Borde derecho redondeado */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    position: static !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

html body div.alignsearchright a.searchjobsicon:hover {
    background-color: #1ebe59 !important;
}

/* ==================================================== */
/* FIX UNIVERSAL: LUPA EN TODAS LAS PESTAÑAS Y VIÑETAS  */
/* ==================================================== */

/* --- ELIMINAR PUNTITOS BLANCOS (VIÑETAS) AL 100% --- */
html body .woocommerce-MyAccount-navigation ul li {
    list-style: none !important;
    list-style-type: none !important;
}

/* Apagamos el ::marker de los navegadores modernos */
html body .woocommerce-MyAccount-navigation ul li::marker,
html body .woocommerce-MyAccount-navigation ul li::before {
    display: none !important;
    content: "" !important;
    font-size: 0 !important;
    color: transparent !important;
}


/* --- DOMAR LA LUPA DE BÚSQUEDA (COMODÍN UNIVERSAL) --- */
/* El [class*="alignsearch"] atrapa cualquier div que contenga esa palabra, sin importar la pestaña */
html body .woocommerce-MyAccount-content div[class*="alignsearch"] {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    margin-bottom: 25px !important;
    clear: both !important;
}

html body .woocommerce-MyAccount-content div[class*="alignsearch"] input[type="text"] {
    max-width: 250px !important;
    margin: 0 !important;
    border-radius: 8px 0 0 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    background: #1a1a2e !important;
    color: #ffffff !important;
    padding: 10px 15px !important;
}

/* El botón verde (Atrapa searchjobsicon, searchquotesicon, etc.) */
html body .woocommerce-MyAccount-content div[class*="alignsearch"] a[class*="search"] {
    background-color: #25d366 !important;
    padding: 0 15px !important;
    border-radius: 0 8px 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    position: static !important;
    box-shadow: none !important;
}

html body .woocommerce-MyAccount-content div[class*="alignsearch"] a[class*="search"]:hover {
    background-color: #1ebe59 !important;
}

/* La imagen de la lupa forzada a 20px en TODAS partes */
html body .woocommerce-MyAccount-content div[class*="alignsearch"] a[class*="search"] img {
    width: 20px !important;
    max-width: 20px !important; /* Límite estricto */
    height: auto !important;
    margin: 0 !important;
    position: static !important;
    filter: invert(1) grayscale(100%) brightness(0) !important;
}


/* --- 2. FORZAR MODO OSCURO EN LA TABLA --- */
/* Apuntamos a la raíz de la tabla para matar el fondo blanco */
html body div.smaller_table.jobs_table_list table,
html body div.smaller_table.jobs_table_list table tbody,
html body div.smaller_table.jobs_table_list table tbody tr,
html body div.smaller_table.jobs_table_list table tbody td {
    background-color: #111118 !important; /* Fondo negro profundo */
    background: #111118 !important;
    color: #e2e8f0 !important; /* Texto gris claro/blanco */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Si el texto azul es un enlace, lo volvemos verde corporativo */
html body div.smaller_table.jobs_table_list table tbody td a:not(.btn) {
    color: #25d366 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

/* Eliminar colores de fondo extraños en textos (como se veía en tu imagen) */
html body div.smaller_table.jobs_table_list table tbody td span,
html body div.smaller_table.jobs_table_list table tbody td div {
    background: transparent !important;
    color: inherit !important;
}
/* =========================================
   ESTÉTICA FORMULARIO SEGUIMIENTO ELECTRO REVIVE
   ========================================= */

/* 1. Forzar títulos y textos a blanco brillante */
.wc_order_status_form h2,
.wc_order_status_form p,
.wc_order_status_form label,
.wc_order_status_form span {
    color: #ffffff !important;
}

/* 2. Caja de texto para ingresar el número */
.wc_order_status_form input[type="text"],
.wc_order_status_form input[type="search"] {
    background-color: rgba(0, 0, 0, 0.4) !important; /* Fondo oscuro semi-transparente */
    border: 2px solid #25D366 !important; /* Borde verde Electro Revive */
    color: #ffffff !important; /* Letras blancas al escribir */
    border-radius: 8px !important;
    padding: 15px !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto 20px auto !important;
    display: block !important;
}

/* 3. Color del texto de ayuda dentro de la caja (placeholder) */
.wc_order_status_form input::placeholder {
    color: #b3b3b3 !important; 
}

/* 4. Botón de consultar con estética tecnológica */
.wc_order_status_form button,
.wc_order_status_form input[type="submit"] {
    background-color: #25D366 !important; /* Verde brillante */
    color: #111118 !important; /* Texto oscuro para máximo contraste */
    font-weight: 800 !important;
    font-size: 16px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 15px 40px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: block !important;
    margin: 0 auto !important;
}

/* 5. Efecto Hover: Cuando el cliente pasa el mouse por el botón */
.wc_order_status_form button:hover,
.wc_order_status_form input[type="submit"]:hover {
    background-color: #ffffff !important;
    color: #25D366 !important;
    box-shadow: 0px 0px 15px rgba(37, 211, 102, 0.6) !important;
}
/* =========================================
   OCULTAR ANUNCIO PREMIUM EN TICKET CLIENTE
   ========================================= */

#invoice-box h2 {
    display: none !important;
}

/* ==========================================================
   MODAL DE SERVICIOS (TARJETA AGRANDADA Y POSICIÓN ARRIBA)
   ========================================================== */
.catalog-modal {
    display: none;
    position: fixed;
    z-index: 999999999 !important; /* Máxima prioridad para tapar toda la cabecera */
    left: 0 !important;
    top: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(11, 2, 29, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important; /* Difuminado para Apple/Safari */
    justify-content: center !important;
    align-items: flex-start !important; /* Ancla la tarjeta hacia arriba */
    padding-top: 40px !important; /* Hace que la tarjeta aparezca mucho más arriba */
    padding-bottom: 50px !important;
    overflow-y: auto !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.catalog-modal.show {
    display: flex;
    opacity: 1;
}

.catalog-modal .modal-content {
    background: linear-gradient(145deg, rgba(60, 9, 108, 0.95), rgba(22, 0, 43, 0.98));
    border: 2px solid #39FF14;
    border-radius: 20px;
    padding: 30px 40px 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 40px rgba(57, 255, 20, 0.4);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    margin-bottom: 50px !important;
}

.catalog-modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #39FF14;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: 0.3s;
    z-index: 10;
}

.close-modal:hover {
    color: white;
    text-shadow: 0 0 15px #39FF14;
    transform: scale(1.1);
}

#modal-body-content .item-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid rgba(160, 100, 255, 0.4);
}

#modal-body-content .item-title {
    font-size: 28px;
    margin-bottom: 15px;
    color: #39FF14;
}

#modal-body-content .item-desc {
    font-size: 16px;
    margin-bottom: 20px;
}

#modal-body-content .item-price {
    font-size: 24px;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    margin-bottom: 25px;
}

#modal-body-content .btn-quote {
    font-size: 16px;
    padding: 15px;
    background: #39FF14;
    color: #000;
}

#modal-body-content .btn-quote:hover {
    background: #fff;
}

.catalog-item { cursor: pointer; }
.catalog-item .btn-quote { position: relative; z-index: 2; }

/* ==========================================================
   BLOQUEO DE SCROLL PARA EL MODAL (NUEVO MÉTODO ANTI-SALTO)
   ========================================================== */
html.modal-abierto, 
body.modal-abierto {
    overflow: hidden !important;
}

/* ==========================================================
   20. REDISEÑO EXTREMO CHECKOUT (BLINDADO CONTRA WOOCOMMERCE)
   ========================================================== */

/* 1. ELIMINAR TEXTO BASURA ("Texto opcional para este paso...") */
html body .wc-block-checkout__step-description,
html body .wc-block-components-checkout-step__description,
html body .wc-block-components-checkout-step p {
    display: none !important;
}

/* 2. ARREGLAR CAJAS BLANCAS DE PAÍS Y REGIÓN (PASAR A MODO OSCURO) */
html body .wc-block-components-combobox-control,
html body .wc-block-components-combobox {
    background-color: #16002b !important;
    border: 1px solid rgba(57, 255, 20, 0.4) !important;
    color: #ffffff !important;
}
html body .wc-block-components-combobox-control input,
html body .wc-block-components-combobox .wc-block-components-combobox-control__input {
    background: transparent !important;
    color: #ffffff !important;
}
/* Flecha del desplegable en verde */
html body .wc-block-components-combobox-control button svg {
    fill: #39FF14 !important;
}

/* 3. EVITAR TEXTO CORTADO EN EL PRODUCTO ("¡Lleva tu experie...") */
html body .wc-block-components-product-metadata__description,
html body .wc-block-components-product-name,
html body .wc-block-components-product-details,
html body .wc-block-components-product-details__description {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    display: block !important;
    word-wrap: break-word !important;
    line-height: 1.5 !important;
}

/* 4. DESTRUIR CAJAS NEGRAS VACÍAS Y LIMPIAR EL RESUMEN (Lateral derecho) */
/* Quitamos el diseño de rectángulos separados feos y lo hacemos un texto limpio */
html body .wc-block-components-panel,
html body .wc-block-components-totals-item,
html body .wc-block-components-totals-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
/* Le ponemos solo una línea abajo a los items para separar con elegancia */
html body .wc-block-components-totals-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 15px 0 !important;
    margin: 0 !important;
}
/* Magia: Ocultamos las filas vacías que WooCommerce mete por defecto (Envío e Impuestos) */
html body .wc-block-components-totals-shipping,
html body .wc-block-components-totals-taxes,
html body .wc-block-components-totals-fees,
html body .wc-block-components-panel:empty {
    display: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* Quitar línea al total final */
html body .wc-block-components-totals-footer-item {
    border-bottom: none !important;
}

/* 5. ARREGLAR EL BOTÓN TOTAL DEL CARRITO LATERAL (JUNTAR TEXTO Y PRECIO) */
html body .xoo-wsc-footer .xoo-wsc-ft-btn-checkout,
html body .xoo-wsc-footer a.xoo-wsc-ft-btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
}
html body .xoo-wsc-footer .xoo-wsc-ft-btn-checkout span,
html body .xoo-wsc-footer a.xoo-wsc-ft-btn span,
html body .xoo-wsc-footer .xoo-wsc-ft-btn-checkout strong,
html body .xoo-wsc-footer a.xoo-wsc-ft-btn strong {
    float: none !important;
    display: inline-block !important;
    margin: 0 !important;
    width: auto !important;
    flex: 0 auto !important;
    text-align: center !important;
}


/* ==========================================================
   RESET TOTAL Y ORDENADO VERTICAL DEL RESUMEN (CHECKOUT)
   ========================================================== */

/* 1. Forzar a que cada producto sea una caja limpia y espaciada */
.wc-block-components-order-summary-item {
    display: block !important;
    /* Rompe el flexbox rebelde de WooCommerce */
    position: relative !important;
    background-color: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(0, 255, 102, 0.15) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
}

/* 2. Control absoluto de la imagen (Aislada a la izquierda) */
.wc-block-components-order-summary-item__image-container {
    float: left !important;
    width: 65px !important;
    height: 65px !important;
    margin-right: 15px !important;
    margin-bottom: 10px !important;
    position: relative !important;
    clip-path: none !important;
    border-radius: 6px !important;
}

.wc-block-components-order-summary-item__image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 6px !important;
}

/* --- EXTERMINIO DEL CÍRCULO BLANCO FLOTANTE --- */
/* Bloqueamos de forma masiva cualquier etiqueta, check o pseudo-elemento oculto en esa zona */
.wc-block-components-order-summary-item__image-container::before,
.wc-block-components-order-summary-item__image-container::after,
.wc-block-components-order-summary-item__wrap::before,
.wc-block-components-order-summary-item__wrap::after,
.wc-block-components-order-summary-item input[type="radio"],
.wc-block-components-order-summary-item input[type="checkbox"],
.wc-block-components-order-summary-item [class*="radio"],
.wc-block-components-order-summary-item [class*="control"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

/* 3. Bloque de Textos (Título y subtítulo) */
.wc-block-components-order-summary-item__info {
    display: block !important;
    margin-bottom: 12px !important;
    text-align: left !important;
}

/* Título: Ocupa su propia línea sin pisar nada */
.wc-block-components-order-summary-item .wc-block-components-product-name {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    line-height: 1.4 !important;
    margin: 0 0 4px 0 !important;
    display: block !important;
}

.wc-block-components-order-summary-item__description {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    display: block !important;
}

/* 4. Bloque de Precios y Descuentos (Abajo del todo, limpio y claro) */
.wc-block-components-order-summary-item__totals {
    display: flex !important;
    flex-direction: row-reverse !important; /* Pone el precio neón primero a la izquierda */
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    clear: both !important; /* Evita que se monte en la foto flotante */
    padding-top: 10px !important;
    border-top: 1px dashed rgba(255, 255, 255, 0.1) !important;
    margin-top: 10px !important;
    width: 100% !important;
}

/* Precio de oferta destacado (Verde Neón) */
.wc-block-components-order-summary-item__totals .wc-block-formatted-money-amount {
    color: #00ff66 !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.2) !important;
}

/* Precio antiguo tachado ($70.000) */
.wc-block-components-order-summary-item__totals .wc-block-components-product-price__regular {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    text-decoration: line-through !important;
    margin: 0 !important;
}

/* Badge de Ahorro/Descuento */
.wc-block-components-order-summary-item__totals [class*="discount"],
.wc-block-components-order-summary-item__totals [class*="badge"],
.wc-block-components-product-badge {
    background-color: rgba(0, 255, 102, 0.1) !important;
    border: 1px solid rgba(0, 255, 102, 0.3) !important;
    color: #00ff66 !important;
    font-size: 11px !important;
    font-weight: bold !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
    margin: 0 !important;
}

/* ============================================
   ELECTRO REVIVE - SIDE CART (UNIFICADO)
   ============================================ */
@media (min-width: 769px) {
    html body .xoo-wsc-container { 
        width: 380px !important;
        max-width: 100vw !important; 
    }
}
@media (max-width: 768px) {
    html body .xoo-wsc-container { 
        width: 100% !important;
        max-width: 100vw !important; 
    }
}
html body .xoo-wsc-container, html body .xoo-wsc-slider, html body .xoo-wsc-body, html body .xoo-wsc-content, html body .xoo-wsc-header, html body .xoo-wsc-footer { background-color: #1a0b2e !important;
}
html body .xoo-wsc-container *, html body .xoo-wsc-hdr-title, html body .xoo-wsc-pname, html body .xoo-wsc-sm-info, html body .xoo-wsc-ft-amt-sub, html body .xoo-wsc-ft-note, html body .xoo-wsc-footer p, html body .xoo-wsc-footer span { color: #ffffff !important;
}

/* Precios destacados y cruz de cierre en Cyan */
html body .xoo-wsc-sm-info .woocommerce-Price-amount, html body .xoo-wsc-footer .woocommerce-Price-amount, html body .xoo-wsc-icon-cross, html body .xoo-wsc-hdr-close, html body .xoo-wsc-hdr-icon, html body span.xoo-wsc-icon-bag2 { color: #00ffff !important;
    font-weight: 900 !important; }
html body .xoo-wsc-sm-info del .woocommerce-Price-amount { color: rgba(255,255,255,0.4) !important; font-weight: 400 !important;
}

/* Contenedores de productos con borde Rosa sutil */
html body .xoo-wsc-product { background-color: rgba(26, 11, 46, 0.9) !important;
    border: 1px solid rgba(255, 0, 255, 0.3) !important; border-radius: 12px !important; padding: 12px !important; margin-bottom: 12px !important; display: flex !important;
    align-items: center !important; justify-content: space-between !important; }
html body .xoo-wsc-img-col { flex: 0 0 65px !important; max-width: 65px !important;
    margin-right: 15px !important; }
html body .xoo-wsc-img-col img { background: #ffffff !important; border-radius: 5px !important; padding: 4px !important; width: 100% !important;
    height: auto !important; }
html body .xoo-wsc-info-col { flex: 1 !important; text-align: left !important; overflow: hidden !important;
}
html body .xoo-wsc-pname { font-size: 13px !important; margin-bottom: 5px !important; line-height: 1.2 !important; white-space: normal !important;
}
html body .xoo-wsc-smr-del { color: #ff003c !important; font-size: 18px !important; margin-left: 10px !important; cursor: pointer;
}
html body .xoo-wsc-footer { padding: 15px !important; border-top: 1px solid rgba(255, 0, 255, 0.4) !important;
}

/* Botones con degradado Cyberpunk moderno */
html body .xoo-wsc-footer a, html body .xoo-wsc-ft-buttons-cont a, html body .xoo-wsc-ft-btn { background: linear-gradient(90deg, #ff00ff, #ba00ff) !important;
    color: #ffffff !important; border-radius: 50px !important; font-weight: 900 !important; text-transform: uppercase !important; font-size: 13px !important; padding: 12px !important;
    margin-top: 10px !important; text-align: center !important; display: block !important; border: none !important;
    box-shadow: 0 4px 12px rgba(255, 0, 255, 0.3) !important; }
html body .xoo-wsc-footer a *, html body .xoo-wsc-ft-buttons-cont a *, html body .xoo-wsc-ft-btn * { color: #ffffff !important;
}
html body .xoo-wsc-footer a:hover, html body .xoo-wsc-ft-buttons-cont a:hover { background-color: #ffffff !important; background: #ffffff !important; color: #000000 !important;
    box-shadow: 0 0 15px rgba(255,0,255,0.6) !important; }
html body .xoo-wsc-footer a:hover *, html body .xoo-wsc-ft-buttons-cont a:hover * { color: #000000 !important;
}

html body .xoo-wsc-basket { background-color: #00ffff !important; border: 2px solid #1a0b2e !important; }
html body .xoo-wsc-basket .xoo-wsc-bki { color: #000000 !important;
}
html body .xoo-wsc-items-count { background-color: #ff003c !important; color: #ffffff !important; border: 2px solid #0d001a !important;
}
html body .xoo-wsc-body::-webkit-scrollbar { width: 6px !important; }
html body .xoo-wsc-body::-webkit-scrollbar-track { background: #0d001a !important;
}
html body .xoo-wsc-body::-webkit-scrollbar-thumb { background: #ff00ff !important; border-radius: 10px !important;
}

/* ==========================================================
   21. AJUSTES VISUALES CARRITO Y CHECKOUT (BLINDADO)
   ========================================================== */

/* 1. Bajar el checkout para que el banner no lo tape (Escritorio) */
.woocommerce-checkout .site-content,
.wp-block-woocommerce-checkout,
.woocommerce-cart .site-content,
.wp-block-woocommerce-cart {
    padding-top: 80px !important;
    margin-top: 20px !important;
}

/* 2. Títulos de los pasos (1, 2 y 3) */
html body .wc-block-components-checkout-step__title {
    font-size: 26px !important;
    font-weight: 900 !important; 
    color: #ffffff !important; 
    margin-bottom: 25px !important; 
    letter-spacing: 1px !important;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.2) !important; 
}

/* 3. FIX DEFINITIVO: El "Punto Blanco" de la cantidad */
/* Atacamos todas las posibles clases que usa WooCommerce para esa burbuja */
html body .wc-block-components-product-badge,
html body .wc-block-components-product-indicator,
html body .wc-block-components-badge {
    background-color: #39FF14 !important;
    border: 2px solid #0b0710 !important; 
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.5) !important;
    color: #000000 !important;
    display: flex !important; /* Forza el centrado interno */
    align-items: center !important;
    justify-content: center !important;
}

/* Forzamos a que el número interior sea negro sí o sí */
html body .wc-block-components-product-badge span,
html body .wc-block-components-product-indicator span,
html body .wc-block-components-badge span,
html body .wc-block-components-product-indicator__number {
    color: #000000 !important;
    font-weight: 900 !important;
    font-size: 14px !important;
}

/* 4. FIX MÓVIL: Evitar que los botones flotantes tapen la pantalla */
@media (max-width: 768px) {
    /* Despega el acordeón del checkout del banner neón superior */
    html body .wp-block-woocommerce-checkout,
    html body .wp-block-woocommerce-cart {
        padding-top: 60px !important;
    }

    /* Crea un espacio GIGANTE al final de la página para que puedas hacer 
       scroll más abajo y los botones flotantes no te tapen el botón de pago */
    html body .woocommerce-checkout .site-content,
    html body .woocommerce-cart .site-content,
    html body .wp-block-woocommerce-checkout {
        padding-bottom: 180px !important;
    }
    
    /* Achica un poco los títulos para que no saturen la pantalla pequeña */
    html body .wc-block-components-checkout-step__title {
        font-size: 20px !important;
    }
}
/* ==========================================================
   22. ESTILOS DE DESCUENTO CYBER (CATÁLOGO DE SERVICIOS)
   ========================================================== */

/* Contenedor relativo para posicionar la etiqueta */
.catalog-item .item-header {
    position: relative !important;
}

/* Diseño de la etiqueta CYBER */
.cyber-badge {
    position: absolute !important;
    top: 15px !important;
    right: -10px !important;
    background: linear-gradient(90deg, #ff00c8, #ff0000) !important; /* Degradado Cyber */
    color: #ffffff !important;
    padding: 6px 15px !important;
    font-weight: 900 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-radius: 8px 0 0 8px !important;
    box-shadow: -3px 3px 10px rgba(255, 0, 200, 0.4) !important;
    z-index: 5 !important;
    transform: rotate(5deg) !important;
/* Le da un estilo dinámico/agresivo */
}

/* Modificación de la caja de precio */
.catalog-item .item-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
    background: rgba(255, 0, 200, 0.1) !important;
/* Fondo con ligero tono cyber */
    border-color: #ff00c8 !important;
/* Borde rosa neón */
}

/* Precio Viejo Tachado */
.catalog-item .item-price del {
    color: #ff4a4a !important;
/* Rojo lavado */
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
}

/* Precio Nuevo Resaltado */
.catalog-item .item-price ins {
    color: #39FF14 !important;
/* Verde Neón */
    font-size: 20px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.4) !important;
}

/* Agrandar un poco el botón de cotizar para compensar */
.catalog-item .btn-quote {
    margin-top: 10px !important;
}

/* --- PAGINACIÓN --- */
.pagination-container {
    display: flex;
    flex-wrap: wrap !important; /* Magia anti-desborde */
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    padding: 0 10px !important;
}

.page-btn {
    background: rgba(60, 9, 108, 0.6);
    border: 1px solid rgba(160, 100, 255, 0.4);
    color: white;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.page-btn:hover {
    background: rgba(90, 24, 154, 0.8);
    border-color: #39FF14;
}

.page-btn.active {
    background: #00C853;
    border-color: #39FF14;
    box-shadow: 0 0 15px rgba(0, 200, 83, 0.4);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(60, 9, 108, 0.2);
    border-color: transparent;
}

/* Ajuste móvil para paginación */
@media (max-width: 600px) {
    .page-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 13px !important;
    }
    .pagination-container {
        gap: 5px !important;
        margin-top: 40px !important;
    }
}

/* ==========================================================
   24. FIX DEFINITIVO: PÁGINA DE SEGUIMIENTO (JOB STATUS)
   ========================================================== */

/* Apuntamos directamente a la caja de contenido de WordPress */
.entry-content:has(input[placeholder*="Expediente"]),
.entry-content:has(input[placeholder*="expediente"]),
.inside-article:has(form[action*="job-status"]) {
    padding-top: 180px !important; 
    display: block !important;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .entry-content:has(input[placeholder*="Expediente"]),
    .entry-content:has(input[placeholder*="expediente"]),
    .inside-article:has(form[action*="job-status"]) {
        padding-top: 140px !important; 
    }
}
/* 1. Forzar que la palabra EXCELENTE se vea siempre en BLANCO */
.ti-widget .ti-large-logo h5, 
.ti-widget .ti-large-logo .ti-v-center h5 {
    color: #ffffff !important;
    font-size: 18px !important;
    display: block !important;
}

/* 2. ELIMINAR POR COMPLETO el texto que tiene el rombo roto abajo de las estrellas */
.ti-widget .ti-large-logo .ti-rating-text,
.ti-widget .ti-footer .ti-rating-text {
    display: none !important;
    font-size: 0 !important;
    opacity: 0 !important;
}

/* 3. OPTATIVO: Si quieres que las letras de Google cambien a blanco y tengan mejor contraste */
.ti-widget .ti-large-logo .ti-logo-fb, 
.ti-widget .ti-large-logo .ti-logo-g {
    filter: brightness(0) invert(1) !important;
}
/* Centrar perfectamente el nuevo encabezado arriba de las estrellas */
.ti-widget .ti-large-logo::before {
    content: "EXCELENTE • 4.5" !important;
    display: block !important;
    text-align: center !important; /* Fuerza el centrado horizontal */
    width: 100% !important;        /* Ocupa todo el ancho para alinearse con el logo */
    font-size: 15px !important;    /* Un pelo más sutil */
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 12px !important; /* Separa el texto de las estrellas */
    order: -1 !important;          /* Intenta forzar que se posicione arriba en layouts flex */
}

/* Forzar que todo el bloque de Google actúe como una columna centrada */
.ti-widget .ti-large-logo,
.ti-widget .ti-large-logo .ti-v-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;    /* Centra todos los elementos internos */
    justify-content: center !important;
}