/*! Theme Name: Kadence | Fabrikios Official - Versión Final Consolidada */

/*1.TIPOGRAFÍA*/
body, .elementskit-widget-accordion * { font-family: 'Akaya Telivigala', sans-serif !important; }
h1, h2, h3, .elementskit-widget-accordion .ekit-heading { font-family: 'Nunito', sans-serif !important; }

/*2.CARRUSEL*/
.text-carousel { overflow: hidden; border-radius: 20px; background-color: #247D8F; padding: 15px 0; width: 100%; position: relative; box-sizing: border-box; }
.carousel-track { display: flex; width: max-content; animation: scrollText 40s linear infinite; }
.carousel-track span { display: inline-block; padding-right: 50px; font-size: 20px; color: #E6F4F1; font-weight: bold; text-transform: uppercase; white-space: nowrap; }
@keyframes scrollText { 0% { transform: translateX(0%); } 100% { transform: translateX(-50%); } }
@media (max-width: 1024px) { .carousel-track span { font-size: 25px; } }
@media (max-width: 768px) { .carousel-track span { font-size: 18px; } }

/*3.AJUSTES-GENERALES*/
html, body { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.grecaptcha-badge { visibility: hidden !important; }
.fabrikios-no-reparto { background: #fff4e6; border-left: 4px solid #ff7a59; color: #8a3b22; padding: 12px; margin-bottom: 12px; border-radius: 5px; font-weight: 600; }

/*4.CHECKOUT*/
#billing_postcode_field, #shipping_postcode_field, .fabrikios-hide-postcode { display: none !important; }
select[name="billing_city"], select[name="shipping_city"] { font-weight: 600; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3 { font-weight: 700; color: #333; border-bottom: 2px solid #eee; padding-bottom: 5px; }
.woocommerce input[type="text"], .woocommerce input[type="tel"], .woocommerce input[type="email"], .woocommerce select { border: 1px solid #ccc; border-radius: 6px; padding: 10px; width: 100%; }
#billing_phone_field label::after { content: " (WhatsApp)"; color: #247D8F; font-weight: 600; }
#billing_address_1_field label::after { content: " *"; color: red; }
.woocommerce form .form-row { margin-bottom: 12px; }

/*5.MENU-HFE-PC*/
:root { --fb-yellow: #C7A424; --fb-white: #ffffff; }

.elementor-element-69225b0c .hfe-nav-menu > li > a.hfe-menu-item, 
.elementor-element-69225b0c nav .hfe-menu-item { background-color: var(--fb-yellow) !important; color: var(--fb-white) !important; padding: 8px 14px !important; font-size: 16px !important; font-weight: 500 !important; border-radius: 18px !important; border: 1px solid var(--fb-yellow) !important; display: inline-flex !important; align-items: center; justify-content: center; transition: all 0.18s ease !important; white-space: nowrap !important; }

.elementor-element-69225b0c .hfe-nav-menu > li > a.hfe-menu-item:hover { background-color: var(--fb-white) !important; color: var(--fb-yellow) !important; }

.elementor-element-69225b0c .hfe-nav-menu ul.sub-menu { background-color: var(--fb-white) !important; padding: 8px 0 !important; border-radius: 12px !important; box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important; min-width: 160px !important; z-index: 99999 !important; }

.elementor-element-69225b0c .hfe-nav-menu ul.sub-menu li a { color: var(--fb-yellow) !important; font-size: 16px !important; padding: 8px 16px !important; display: block !important; transition: all 0.15s ease !important; }
.elementor-element-69225b0c .hfe-nav-menu ul.sub-menu li a:hover { background-color: var(--fb-yellow) !important; color: var(--fb-white) !important; }
.elementor-element-69225b0c .hfe-nav-menu { gap: 6px !important; }

@media (max-width: 992px) { .elementor-element-550ca4ac .hfe-nav-menu > li > a.hfe-menu-item { padding: 8px 10px !important; font-size: 16px !important; } }

/*6.WISHLIST-BLOQUE-PRINCIPAL*/
.tinv-wishlist { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); max-width: 900px; margin: 40px auto; }
.tinv-wishlist .tinv-header h2 { color: var(--fb-yellow); text-align: center; font-size: 22px; }
.tinv-wishlist .return-to-shop .button { background-color: var(--fb-yellow); color: #fff; border-radius: 20px; padding: 10px 24px; transition: all 0.2s ease; }
.tinv-wishlist .return-to-shop .button:hover { background-color: #fff; color: var(--fb-yellow); border: 1px solid var(--fb-yellow); }

/* =====================================================
   7. BOTÓN USUARIO
   ===================================================== */
.fabrikios-user-wrap { 
    position: relative !important; 
    display: inline-block; 
    vertical-align: middle; 
}
.fabrikios-user-btn {
    background-color: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 1px solid var(--fb-yellow) !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}
.fabrikios-user-ico {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.fabrikios-user-ico svg {
    width: 20px !important;
    height: 20px !important;
    fill: #ffffff !important;
    display: block !important;
}
/* PC: rectangular con texto */
@media (min-width: 1025px) {
    .fabrikios-user-btn {
        padding: 8px 18px !important;
        border-radius: 20px !important;
        gap: 8px !important;
        font-weight: 700 !important;
        font-size: 13px !important;
        text-transform: uppercase !important;
    }
}
/* MÓVIL: bola amarilla, solo icono */
@media (max-width: 1024px) {
    .fabrikios-user-btn {
        width: 42px !important;
        height: 42px !important;
        border-radius: 50% !important;
        padding: 0 !important;
        gap: 0 !important;
    }
    .fabrikios-user-label,
    .fabrikios-user-caret {
        display: none !important;
    }
}
/* DESPLEGABLE — CSS controla visibilidad, no JS */
.fabrikios-user-menu,
.fabrikios-user-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.fabrikios-user-menu li::before,
.fabrikios-user-menu li::after {
    content: none !important;
    display: none !important;
}
.fabrikios-user-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 105%;
    background: #ffffff !important;
    min-width: 180px;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
    z-index: 999999 !important;
    border: 1px solid #eee;
    overflow: hidden;
}
/* Abre por click (JS pone aria-expanded=true) */
.fabrikios-user-btn[aria-expanded="true"] ~ .fabrikios-user-menu {
    display: block !important;
}
/* Abre por hover en PC (backup para sticky clonado) */
@media (min-width: 1025px) {
    .fabrikios-user-wrap:hover .fabrikios-user-menu {
        display: block !important;
    }
}
.fabrikios-user-menu li a { 
    display: block !important; 
    padding: 12px 16px !important; 
    color: var(--fb-yellow) !important; 
    text-decoration: none !important;
    font-size: 15px !important;
}
.fabrikios-user-menu li a:hover { 
    background-color: var(--fb-yellow) !important; 
    color: #ffffff !important;
    transition: background 0.2s ease;
}
/*8. BLANQUEAMIENTO-RELIEVE*/
body.woocommerce-page, body.page-id-5860, .site, #wrapper,
.woocommerce div.product,
.woocommerce div.product .summary.entry-summary,
.single-product .entry-content-wrap,
.single-product .product-content-wrapper {
    background-color: #ffffff !important;
}

.woocommerce-MyAccount-content, .customer-login-container, .woocommerce-Login {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    border: 1px solid #f0f0f0 !important;
}

/* S8: solo product-inner-recap y kadence — li.product lo controla S11 */
.kadence-product-loop-item, .product-inner-recap {
    background-color: #ffffff !important;
    border-radius: 15px !important;
    padding-bottom: 0 !important;
}

.product-info-wrap, .product-content-wrapper, .kadence-product-image-inner {
    background: transparent !important;
}

.entry-hero, .entry-hero-container-inner {
    background-color: #ffffff !important;
    padding-bottom: 10px !important;
}
.entry-hero .entry-title {
    color: var(--fb-yellow) !important;
    text-shadow: none !important;
}

.woocommerce-info {
    border-top-color: var(--fb-yellow) !important;
    background-color: var(--fb-yellow) !important;
    color: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 30px rgba(0,0,0,0.08) !important;
    padding: 20px 30px !important;
    border: none !important;
}
.woocommerce-info::before { color: #ffffff !important; }

.woocommerce-loop-category__title {
    background-color: var(--fb-yellow) !important;
    color: white !important;
    padding: 10px !important;
    border-radius: 0 0 15px 15px !important;
    margin-top: -5px !important;
}

/*8.1. WISHLIST-PAGINA-LISTADO*/
.tinv-wishlist {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 40px auto;
}
.tinv-wishlist .tinv-header h2 { color: var(--fb-yellow); text-align: center; font-size: 22px; }
.tinv-wishlist table td { padding: 12px 10px; border-bottom: 1px solid #eee; }
.tinv-wishlist .product-thumbnail img { max-width: 90px; border-radius: 6px; }
/*9. VISTA MÓVIL - CABECERA*/
@media (max-width: 1024px) {
    .elementor-element-69225b0c { margin-top: -8px !important; padding-top: 0 !important; }
    .elementor-element-69225b0c .elementor-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 15px !important;
    }
    .hfe-nav-menu-icon { color: #ffffff !important; font-size: 28px !important; display: block !important; }
    .hfe-nav-menu__container { width: 100vw !important; left: 0 !important; background-color: #ffffff !important; }
}

/*10. PRODUCTO INDIVIDUAL*/
h1.product_title.entry-title {
    color: #247D8F !important;
    line-height: 1.2 !important;
    margin-bottom: 8px !important;
}

a.product-single-category.single-category {
    color: var(--fb-yellow) !important;
    font-weight: 700 !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #247D8F !important;
}

/* Textos descriptivos — solo contextos WooCommerce, sin tocar footer */
.woocommerce div.product p,
.woocommerce div.product li,
.woocommerce div.product td,
.woocommerce div.product label,
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-tabs .panel p,
.woocommerce-cart table.cart td,
.woocommerce-cart .cart-collaterals p,
.woocommerce-cart .cart-collaterals label,
.woocommerce-checkout form.checkout p,
.woocommerce-checkout form.checkout label,
.woocommerce-checkout form.checkout td {
    color: #247D8F !important;
}

/* Botón añadir al carrito */
.woocommerce div.product form.cart button.single_add_to_cart_button {
    background-color: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    height: 48px !important;
    min-width: 180px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
    background-color: #ffffff !important;
    color: var(--fb-yellow) !important;
}

/* Botones +/- cantidad */
.quantity .plus, .quantity .minus {
    background-color: var(--fb-yellow) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    border: none !important;
    font-weight: 700 !important;
}

/* Botón wishlist — contenedor */
.tinv-wraper.woocommerce .tinvwl_add_to_wishlist_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #ffffff !important;
    border: 1.5px solid var(--fb-yellow) !important;
    border-radius: 20px !important;
    padding: 10px 20px !important;
    color: var(--fb-yellow) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    min-width: 220px !important;
    height: 44px !important;
    margin: 10px 0 !important;
}

/* Wishlist — lógica de textos con clases exactas del DOM */
.tinvwl_add_to_wishlist_button span.tinvwl_add_to_wishlist_text,
.tinvwl_add_to_wishlist_button span.tinvwl_remove_from_wishlist_text {
    display: none !important;
}
a.tinvwl_add_to_wishlist_button.inited-add-wishlist span.tinvwl_add_to_wishlist_text {
    display: inline !important;
}
a.tinvwl_add_to_wishlist_button.inited-remove-wishlist span.tinvwl_remove_from_wishlist_text {
    display: inline !important;
}

/* Espaciado wishlist */
.tinv-wraper.woocommerce {
    margin: 8px 0 12px !important;
    padding: 0 !important;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs { margin-top: 16px !important; }

/* Galería */
.woocommerce div.product div.images { margin-bottom: 0 !important; }
.woocommerce-product-gallery, .woocommerce-product-gallery__wrapper { margin: 0 !important; }

/* Breadcrumb móvil */
@media (max-width: 1024px) {
    .product-title .kadence-breadcrumbs,
    nav.woocommerce-breadcrumb {
        padding-top: 35px !important;
        display: block !important;
    }
}

/* Móvil producto */
@media (max-width: 768px) {
    .woocommerce div.product div.images img {
        max-height: 320px !important;
        object-fit: cover !important;
        border-radius: 12px !important;
    }
    .woocommerce div.product .summary > * { margin-bottom: 6px !important; }
    form.cart { flex-direction: row !important; justify-content: flex-start !important; margin-bottom: 6px !important; }
}
/* ============================================================
   11. CATÁLOGO — TARJETAS DE PRODUCTO
   ============================================================ */

/* -- BREADCRUMB: espacio para que no quede tapado -- */
body.single-product .kadence-breadcrumbs,
body.single-product .woocommerce-breadcrumb {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 18px 20px 6px !important;
    font-size: 14px !important;
    color: rgba(36,125,143,0.55) !important;
}
body.single-product .kadence-breadcrumbs a,
body.single-product .woocommerce-breadcrumb a {
    color: rgba(36,125,143,0.55) !important;
    text-decoration: none !important;
}
body.single-product .kadence-breadcrumbs a:hover,
body.single-product .woocommerce-breadcrumb a:hover {
    color: var(--fb-yellow) !important;
}

/* -- CONTENEDOR: margen superior -- */
body.single-product .woocommerce {
    max-width: 1100px !important;
    margin: 10px auto 40px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    background: transparent !important;
}
@media (max-width: 768px) {
    body.single-product .kadence-breadcrumbs,
    body.single-product .woocommerce-breadcrumb {
        padding: 12px 14px 4px !important;
        font-size: 11px !important;
    }
    body.single-product .woocommerce {
        padding: 0 14px !important;
        margin-top: 6px !important;
    }
}
@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}
@media (max-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

/* Tarjeta base */
.woocommerce ul.products li.product {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(36,125,143,0.10) !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    border: 1px solid rgba(36,125,143,0.08) !important;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 32px rgba(36,125,143,0.22) !important;
}

/* Fix cyan Kadence — content-bg en div interno */
.woocommerce ul.products li.product div.content-bg,
.woocommerce ul.products li.product .product-details {
    background-color: #ffffff !important;
}

/* Imagen */
.woocommerce ul.products li.product .woocommerce-loop-product__link,
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
    display: block !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px 16px 0 0 !important;
    flex-shrink: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 16px 16px 0 0 !important;
    transition: transform 0.35s ease !important;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__link img {
    transform: scale(1.05) !important;
}

/* Overlay hover imagen */
.woocommerce ul.products li.product .woocommerce-loop-product__link::after {
    content: "?? Ver producto";
    position: absolute !important;
    inset: 0 !important;
    background: rgba(36,125,143,0.72) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.25s ease !important;
    border-radius: 16px 16px 0 0 !important;
}
.woocommerce ul.products li.product:hover .woocommerce-loop-product__link::after {
    opacity: 1 !important;
}

/* Título */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    padding: 14px 16px 4px !important;
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #247D8F !important;
    line-height: 1.3 !important;
    flex-grow: 1 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 40px !important;
}

/* Excerpt oculto */
.woocommerce ul.products li.product .product-excerpt {
    display: none !important;
}

/* Precio */
.woocommerce ul.products li.product .price {
    display: block !important;
    padding: 0 16px 10px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #247D8F !important;
    flex-shrink: 0 !important;
}

/* Botón carrito */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .add_to_cart_button {
    display: block !important;
    margin: 0 16px 10px !important;
    padding: 10px 16px !important;
    background-color: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 20px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product a.button:hover {
    background-color: #ffffff !important;
    color: var(--fb-yellow) !important;
}

/* "Ver carrito" */
.woocommerce ul.products li.product .added_to_cart {
    display: block !important;
    margin: 0 16px 8px !important;
    text-align: center !important;
    font-size: 12px !important;
    color: #247D8F !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
/* Wishlist en tarjeta — AJUSTE PARA QUE QUEPA EN 4 COLUMNAS */
.woocommerce ul.products li.product .tinv-wraper.woocommerce {
    display: block !important;
    width: 100% !important;
    padding: 0 8px 12px !important; /* Reducimos padding lateral a 8px */
    margin: 0 !important;
    box-sizing: border-box !important;
}

.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: unset !important; /* Quitamos cualquier mínimo que lo ensanche */
    padding: 6px 4px !important;  /* Padding lateral mínimo para que el texto tenga sitio */
    font-size: 10px !important;   /* Texto un poco más pequeño para 4 columnas */
    border-radius: 12px !important;
    white-space: nowrap !important;
    overflow: visible !important; /* Importante para que no se corte el icono */
}

/* Ocultar el texto largo si molesta demasiado en móvil/columnas estrechas */
.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button span {
    font-size: inherit !important;
}

/* Wishlist — estado "ya en lista" */
.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button.inited-remove-wishlist,
.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button.inited-remove-wishlist i,
.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button.inited-remove-wishlist::before {
    color: var(--fb-yellow) !important;
    background: #ffffff !important;
    border-color: var(--fb-yellow) !important;
}
.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button i {
    color: inherit !important;
    font-size: 13px !important;
}

/* Badge oferta */
.woocommerce ul.products li.product .onsale {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    background: #247D8F !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    z-index: 10 !important;
    text-transform: uppercase !important;
}

/* Paginación */
.woocommerce nav.woocommerce-pagination {
    text-align: center !important;
    margin: 32px 0 !important;
}
.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: 2px solid var(--fb-yellow) !important;
    color: var(--fb-yellow) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
}

/* Resultados / ordenar */
.woocommerce-result-count {
    color: #247D8F !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}
.woocommerce-ordering select {
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 20px !important;
    padding: 6px 14px !important;
    color: #247D8F !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    background: #fff !important;
}
/* ============================================================
   12. SHOP — HEADER OFFSET + TÍTULO + PILLS
   ============================================================ */

/* Título */
body.post-type-archive-product .entry-header.product-archive-title h1,
body.post-type-archive-product .woocommerce-products-header h1,
body.tax-product_cat .entry-header h1,
body.tax-product_cat .woocommerce-products-header h1,
body.post-type-archive-product h1.page-title,
body.tax-product_cat h1.page-title {
    font-size: 45px !important;
    letter-spacing: 3px !important;
    margin: 0 0 4px !important;
    color: #247D8F !important;
}

/* Entry-header compacto */
body.post-type-archive-product .entry-header,
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .entry-header,
body.tax-product_cat .woocommerce-products-header {
    padding: 16px 0 4px !important;
    min-height: unset !important;
    margin: 0 !important;
}

/* Header offset — móvil */
body.post-type-archive-product .content-area,
body.tax-product_cat .content-area {
    padding-top: 50px !important;
}

/* Header offset — PC */
@media (min-width: 1025px) {
    body.post-type-archive-product .content-area,
    body.tax-product_cat .content-area {
        padding-top: 20px !important;
    }
}

/* Pills base — PC: flex centrado */
.fb-pills-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 16px 0 20px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.fb-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 7px 18px !important;
    border-radius: 999px !important;
    border: 2px solid var(--fb-yellow, #C7A424) !important;
    color: var(--fb-yellow, #C7A424) !important;
    background: transparent !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s !important;
    white-space: nowrap !important;
}
.fb-pill:hover {
    background: var(--fb-yellow, #C7A424) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
.fb-pill--active {
    background: var(--fb-yellow, #C7A424) !important;
    color: #ffffff !important;
    pointer-events: none !important;
}

/* Botón toggle — oculto en PC */
.fb-filter-toggle {
    display: none !important;
}

/* MÓVIL */
@media (max-width: 1024px) {

    /* Botón toggle visible */
    .fb-filter-toggle {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        background: var(--fb-yellow, #C7A424) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 20px !important;
        padding: 9px 20px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        margin: 8px auto 4px !important;
        font-family: inherit !important;
    }
    .fb-caret {
        transition: transform 0.2s ease !important;
        display: inline-block !important;
    }
    .fb-filter-toggle.fb-open .fb-caret {
        transform: rotate(180deg) !important;
    }

    /* Pills ocultas por defecto en móvil */
    .fb-pills-wrap {
        display: none !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        padding: 12px 4px 16px !important;
        justify-content: unset !important;
    }
    .fb-pills-wrap.fb-open {
        display: grid !important;
    }

    /* Si hay pill activa, mostrar siempre el grid abierto */
    .fb-pills-wrap:has(.fb-pill--active:not(:first-child)) {
        display: grid !important;
    }

    .fb-pill {
        font-size: 11px !important;
        padding: 6px 8px !important;
        white-space: normal !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* Tarjetas compactas */
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
    height: 160px !important;
}
.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    padding: 10px 12px 2px !important;
    font-size: 13px !important;
    min-height: 36px !important;
}
.woocommerce ul.products li.product .price {
    padding: 0 12px 8px !important;
    font-size: 14px !important;
}
.woocommerce ul.products li.product .button {
    margin: 0 12px 8px !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
}
/* ============================================================
   13. CARRITO – SHORTCODE CLÁSICO – FABRIKIOS v7 LIMPIO
   INSTRUCCIÓN: Reemplaza TODO tu bloque 13 con esto.
   El selector de inicio es la línea de body.page-id-5852 {
   ============================================================ */
/* 1. MATAR EL VERDE: Fondo blanco total para el Carrito */
body.page-id-5852,
body.page-id-5852 #wrapper,
body.page-id-5852 #inner-wrap,
body.page-id-5852 .site,
body.page-id-5852 .site-content,
body.page-id-5852 .content-area,
body.page-id-5852 #primary,
body.page-id-5852 .site-main,
body.page-id-5852 .entry-content,
body.page-id-5852 .entry-content-wrap,
body.page-id-5852 .content-wrap,
body.page-id-5852 article {
    background-color: #ffffff !important;
    background-image: none !important;
}
body.page-id-5852 .hero-section-overlay { display: none !important; }
body.page-id-5852 .hero-container.site-container,
body.page-id-5852 .entry-hero .hero-container {
    background: #ffffff !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: unset !important;
}

/* HERO / CABECERA TÍTULO */
body.page-id-5852 .entry-hero,
body.page-id-5852 .entry-hero-container,
body.page-id-5852 .entry-hero-container-inner,
body.page-id-5852 .page-hero-section,
body.page-id-5852 .entry-header {
    background-color: #ffffff !important;
    background-image: none !important;
    min-height: unset !important;
    padding: 22px 0 8px !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-bottom: none !important;
}
body.page-id-5852 .entry-hero::before,
body.page-id-5852 .entry-hero::after,
body.page-id-5852 .entry-hero-container::before,
body.page-id-5852 .entry-hero-container-inner::before {
    display: none !important;
    opacity: 0 !important;
    background: none !important;
}
body.page-id-5852 .entry-hero *:not(h1):not(.entry-title) {
    background: transparent !important;
    background-image: none !important;
}
body.page-id-5852 h1.entry-title {
    font-size: 45px !important;
    letter-spacing: 3px !important;
    color: #247D8F !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    margin: 0 0 4px !important;
    text-align: center !important;
}

/* FONDOS TRANSPARENTES – dejan ver el blanco del body */
body.page-id-5852 .kadence-woo-cart-form-wrap,
body.page-id-5852 .woocommerce,
body.page-id-5852 #primary,
body.page-id-5852 .site-main,
body.page-id-5852 .content-area,
body.page-id-5852 .entry-content,
body.page-id-5852 .entry-content-wrap {
    background: transparent !important;
    background-color: transparent !important;
}

/* -- LAYOUT DOS COLUMNAS ----------------------------------- */
body.page-id-5852 .kadence-woo-cart-form-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    align-items: flex-start !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 0px !important;
    box-sizing: border-box !important;
}
body.page-id-5852 .woocommerce-notices-wrapper {
    flex: 0 0 100% !important;
    width: 100% !important;
    order: -1 !important;
}
body.page-id-5852 form.woocommerce-cart-form {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(36,125,143,0.10) !important;
    border: 1px solid rgba(36,125,143,0.08) !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}
body.page-id-5852 .cart-collaterals {
    flex: 0 0 320px !important;
    width: 320px !important;
    position: sticky !important;
    top: 80px !important;
    align-self: flex-start !important;
}
@media (max-width: 1024px) {
    body.page-id-5852 .kadence-woo-cart-form-wrap {
        flex-direction: column !important;
        padding: 0 12px !important;
    }
    body.page-id-5852 .cart-collaterals {
        flex: 1 1 100% !important;
        width: 100% !important;
        position: static !important;
    }
    body.page-id-5852 form.woocommerce-cart-form {
        width: 100% !important;
    }
}

/* -- TABLA BASE -------------------------------------------- */
body.page-id-5852 table.cart {
    width: 100% !important;
    border-collapse: collapse !important;
    background: transparent !important;
}
body.page-id-5852 table.cart thead th {
    color: #247D8F !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0 10px 14px !important;
    border-bottom: 2px solid rgba(36,125,143,0.12) !important;
    background: transparent !important;
    white-space: nowrap !important;
}
body.page-id-5852 table.cart thead .product-remove { display: none !important; }

body.page-id-5852 table.cart tbody tr.cart_item {
    border-bottom: 1px solid rgba(36,125,143,0.09) !important;
    background: transparent !important;
    transition: background 0.2s !important;
}
body.page-id-5852 table.cart tbody tr.cart_item:last-child { border-bottom: none !important; }
body.page-id-5852 table.cart tbody tr.cart_item:hover { background: #f5f9fa !important; }

body.page-id-5852 table.cart td {
    padding: 14px 10px !important;
    vertical-align: middle !important;
    background: transparent !important;
    color: #247D8F !important;
}

/* THUMBNAIL */
body.page-id-5852 table.cart td.product-thumbnail { padding: 14px 8px !important; }
body.page-id-5852 table.cart td.product-thumbnail img {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    display: block !important;
}

/* NOMBRE */
body.page-id-5852 table.cart td.product-name a {
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    color: #247D8F !important;
    line-height: 1.3 !important;
    transition: color 0.2s !important;
}
body.page-id-5852 table.cart td.product-name a:hover { color: var(--fb-yellow) !important; }
body.page-id-5852 table.cart td.product-name dl.variation,
body.page-id-5852 table.cart td.product-name dl.variation * {
    color: #999 !important;
    font-size: 12px !important;
}

/* PRECIO */
body.page-id-5852 table.cart td.product-price,
body.page-id-5852 table.cart td.product-price * {
    color: #247D8F !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* CANTIDAD */
body.page-id-5852 table.cart td.product-quantity .quantity {
    display: inline-flex !important;
    align-items: center !important;
    border: 1.5px solid rgba(36,125,143,0.22) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #ffffff !important;
}
body.page-id-5852 table.cart td.product-quantity .quantity .minus,
body.page-id-5852 table.cart td.product-quantity .quantity .plus {
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: none !important;
    width: 30px !important;
    height: 34px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    border-radius: 0 !important;
    transition: background 0.2s !important;
}
body.page-id-5852 table.cart td.product-quantity .quantity .minus:hover,
body.page-id-5852 table.cart td.product-quantity .quantity .plus:hover { background: #247D8F !important; }
body.page-id-5852 table.cart td.product-quantity .quantity input.qty {
    width: 40px !important;
    height: 34px !important;
    text-align: center !important;
    border: none !important;
    border-left: 1px solid rgba(36,125,143,0.15) !important;
    border-right: 1px solid rgba(36,125,143,0.15) !important;
    font-weight: 700 !important;
    color: #247D8F !important;
    font-size: 14px !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
    -moz-appearance: textfield !important;
}
body.page-id-5852 table.cart td.product-quantity .quantity input.qty::-webkit-inner-spin-button,
body.page-id-5852 table.cart td.product-quantity .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none !important; }

/* SUBTOTAL */
body.page-id-5852 table.cart td.product-subtotal,
body.page-id-5852 table.cart td.product-subtotal * {
    color: var(--fb-yellow) !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    background: transparent !important;
}

/* ELIMINAR */
body.page-id-5852 table.cart td.product-remove {
    width: 44px !important;
    text-align: center !important;
    padding: 14px 4px !important;
}
body.page-id-5852 table.cart td.product-remove a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background: rgba(199,164,36,0.12) !important;
    border: 1.5px solid transparent !important;
    font-size: 0 !important;
    color: transparent !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    cursor: pointer !important;
}
body.page-id-5852 table.cart td.product-remove a.remove::before {
    content: "\00D7" !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--fb-yellow) !important;
    line-height: 1 !important;
}
body.page-id-5852 table.cart td.product-remove a.remove:hover { background: var(--fb-yellow) !important; }
body.page-id-5852 table.cart td.product-remove a.remove:hover::before { color: #ffffff !important; }

/* -- ACTIONS: CUPÓN Y ACTUALIZAR --------------------------- */
body.page-id-5852 form.woocommerce-cart-form table.cart tr.actions td {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 24px 0 10px !important;
    border-top: 1px solid rgba(36,125,143,0.15) !important;
    border-bottom: none !important;
    background: transparent !important;
    gap: 15px !important;
}
body.page-id-5852 form.woocommerce-cart-form table.cart tr.actions td .coupon {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: 1 !important;
}
body.page-id-5852 form.woocommerce-cart-form table.cart tr.actions td input#coupon_code {
    width: 220px !important;
    height: 46px !important;
    border: 1.5px solid rgba(36,125,143,0.3) !important;
    border-radius: 23px !important;
    padding: 0 20px !important;
    background: #ffffff !important;
    color: #247D8F !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    margin: 0 !important;
    outline: none !important;
    transition: border-color 0.3s ease !important;
}
body.page-id-5852 form.woocommerce-cart-form table.cart tr.actions td input#coupon_code:focus {
    border-color: var(--fb-yellow) !important;
}
body.page-id-5852 form.woocommerce-cart-form table.cart tr.actions .coupon button[name="apply_coupon"] {
    height: 46px !important;
    background: transparent !important;
    color: var(--fb-yellow) !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 23px !important;
    padding: 0 24px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}
body.page-id-5852 form.woocommerce-cart-form table.cart tr.actions .coupon button[name="apply_coupon"]:hover {
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
}
body.page-id-5852 form.woocommerce-cart-form table.cart tr.actions button[name="update_cart"] {
    height: 46px !important;
    background: transparent !important;
    color: #247D8F !important;
    border: 2px solid #247D8F !important;
    border-radius: 23px !important;
    padding: 0 28px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    opacity: 1 !important;
}
body.page-id-5852 form.woocommerce-cart-form table.cart tr.actions button[name="update_cart"]:hover {
    background: #247D8F !important;
    color: #ffffff !important;
}
body.page-id-5852 form.woocommerce-cart-form table.cart tr.actions button[name="update_cart"]:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    background: transparent !important;
    color: #247D8F !important;
}

/* -- TARJETA TOTALES --------------------------------------- */
body.page-id-5852 .cart-collaterals .cart_totals {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(36,125,143,0.10) !important;
    padding: 24px !important;
    border: 1px solid rgba(36,125,143,0.08) !important;
}
body.page-id-5852 .cart-collaterals .cart_totals h2 {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #247D8F !important;
    margin: 0 0 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid rgba(36,125,143,0.12) !important;
}
body.page-id-5852 .cart_totals table.shop_table {
    width: 100% !important;
    border-collapse: collapse !important;
}
body.page-id-5852 .cart_totals table.shop_table th {
    color: #555 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 10px 0 !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(36,125,143,0.08) !important;
    background: transparent !important;
    width: 45% !important;
}
body.page-id-5852 .cart_totals table.shop_table td {
    color: #247D8F !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 10px 0 !important;
    text-align: right !important;
    border-bottom: 1px solid rgba(36,125,143,0.08) !important;
    background: transparent !important;
}
body.page-id-5852 .cart_totals table.shop_table tr:last-child th,
body.page-id-5852 .cart_totals table.shop_table tr:last-child td { border-bottom: none !important; }
body.page-id-5852 .cart_totals table.shop_table tr.order-total th,
body.page-id-5852 .cart_totals table.shop_table tr.order-total td,
body.page-id-5852 .cart_totals table.shop_table tr.order-total td * {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--fb-yellow) !important;
    border-bottom: none !important;
    padding-top: 14px !important;
    background: transparent !important;
}
body.page-id-5852 .cart_totals table.shop_table tr.shipping td p,
body.page-id-5852 .cart_totals table.shop_table tr.shipping td small,
body.page-id-5852 .cart_totals .woocommerce-shipping-destination {
    font-size: 12px !important;
    color: #888 !important;
    font-weight: 400 !important;
}
body.page-id-5852 .cart_totals .shipping-calculator-button {
    color: var(--fb-yellow) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}
body.page-id-5852 .cart_totals table.shop_table tr.cart-discount th,
body.page-id-5852 .cart_totals table.shop_table tr.cart-discount td,
body.page-id-5852 .cart_totals table.shop_table tr.cart-discount td * {
    color: #2a9d5c !important;
    font-size: 13px !important;
    background: transparent !important;
}
body.page-id-5852 .woocommerce-remove-coupon {
    color: #888 !important;
    font-size: 11px !important;
    margin-left: 6px !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}
body.page-id-5852 .woocommerce-remove-coupon:hover { color: var(--fb-yellow) !important; }

/* -- BOTÓN FINALIZAR PC ------------------------------------ */
body.page-id-5852 .wc-proceed-to-checkout {
    padding: 0 !important;
    margin-top: 16px !important;
}
body.page-id-5852 .wc-proceed-to-checkout a.checkout-button {
    display: block !important;
    width: 100% !important;
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 24px !important;
    padding: 14px 24px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    text-align: center !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(199,164,36,0.25) !important;
    transition: all 0.22s ease !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: unset !important;
}
body.page-id-5852 .wc-proceed-to-checkout a.checkout-button:hover {
    background: #ffffff !important;
    color: var(--fb-yellow) !important;
    box-shadow: none !important;
}

/* -- NOTICES ----------------------------------------------- */
body.page-id-5852 .woocommerce-message,
body.page-id-5852 .woocommerce-info {
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
}
body.page-id-5852 .woocommerce-message::before,
body.page-id-5852 .woocommerce-info::before { color: #ffffff !important; }
body.page-id-5852 .woocommerce-error {
    background: #fff0f0 !important;
    color: #c0392b !important;
    border-left: 4px solid #c0392b !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    list-style: none !important;
}

/* -- CARRITO VACÍO ----------------------------------------- */
body.page-id-5852 p.cart-empty {
    text-align: center !important;
    padding: 40px 20px !important;
    color: #247D8F !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(36,125,143,0.10) !important;
}
body.page-id-5852 .return-to-shop { text-align: center !important; padding: 20px 0 !important; }
body.page-id-5852 .return-to-shop a.button {
    display: inline-block !important;
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 20px !important;
    padding: 10px 28px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
}

/* -- MÓVIL =768px ------------------------------------------ */
@media (max-width: 768px) {

    body.page-id-5852 form.woocommerce-cart-form {
        padding: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    body.page-id-5852 table.cart thead { display: none !important; }

    body.page-id-5852 table.cart,
    body.page-id-5852 table.cart tbody { display: block !important; width: 100% !important; }

    /* Grid ítem móvil */
    body.page-id-5852 table.cart tbody tr.cart_item {
        display: grid !important;
        grid-template-columns: 24px 72px 1fr !important;
        grid-template-areas:
            "del  img  name"
            ".    img  price"
            ".    img  qty"
            ".    img  sub" !important;
        gap: 3px 10px !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(36,125,143,0.09) !important;
        background: transparent !important;
        position: relative !important;
        align-items: start !important;
    }
    body.page-id-5852 table.cart tbody tr.cart_item td {
        display: block !important;
        padding: 0 !important;
        background: transparent !important;
    }
    body.page-id-5852 table.cart td.product-remove    { grid-area: del !important;   padding-top: 3px !important; }
    body.page-id-5852 table.cart td.product-thumbnail { grid-area: img !important;   align-self: start !important; }
    body.page-id-5852 table.cart td.product-name      { grid-area: name !important; }
    body.page-id-5852 table.cart td.product-name a    { font-size: 13px !important;  word-break: break-word !important; white-space: normal !important; }
    body.page-id-5852 table.cart td.product-price     { grid-area: price !important; }
    body.page-id-5852 table.cart td.product-price,
    body.page-id-5852 table.cart td.product-price *   { font-size: 12px !important;  color: #888 !important; font-weight: 500 !important; }
    body.page-id-5852 table.cart td.product-quantity  { grid-area: qty !important;   padding-top: 4px !important; }
    body.page-id-5852 table.cart td.product-subtotal  { grid-area: sub !important;   padding-top: 2px !important; }
    body.page-id-5852 table.cart td.product-subtotal,
    body.page-id-5852 table.cart td.product-subtotal * { font-size: 13px !important; font-weight: 800 !important; color: var(--fb-yellow) !important; }

    /* Botones +/- compactos */
    body.page-id-5852 table.cart td.product-quantity .quantity .minus,
    body.page-id-5852 table.cart td.product-quantity .quantity .plus {
        width: 26px !important;
        height: 28px !important;
        font-size: 14px !important;
    }
    body.page-id-5852 table.cart td.product-quantity .quantity input.qty {
        width: 32px !important;
        height: 28px !important;
        font-size: 13px !important;
    }

    body.page-id-5852 table.cart td.product-thumbnail img {
        width: 68px !important;
        height: 68px !important;
    }

    /* FIX MÓVIL ACTIONS (zona cupón) */
    body.page-id-5852 form.woocommerce-cart-form table.cart tr.actions td {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 20px 0 10px !important;
    }
    body.page-id-5852 form.woocommerce-cart-form table.cart tr.actions td .coupon {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 12px !important;
    }
    body.page-id-5852 form.woocommerce-cart-form table.cart tr.actions td input#coupon_code {
        width: 100% !important;
        text-align: center !important;
    }
    body.page-id-5852 form.woocommerce-cart-form table.cart tr.actions .coupon button[name="apply_coupon"],
    body.page-id-5852 form.woocommerce-cart-form table.cart tr.actions button[name="update_cart"] {
        width: 100% !important;
        margin-left: 0 !important;
    }

    /* Espacio para botón fijo */
    body.page-id-5852 .cart-collaterals { padding-bottom: 80px !important; }

    /* FINALIZAR STICKY */
    body.page-id-5852 .wc-proceed-to-checkout {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        padding: 12px 16px !important;
        background: #ffffff !important;
        box-shadow: 0 -4px 16px rgba(0,0,0,0.10) !important;
        margin-top: 0 !important;
    }
    body.page-id-5852 .wc-proceed-to-checkout a.checkout-button {
        border-radius: 20px !important;
        padding: 14px !important;
        font-size: 14px !important;
    }
}

/* -- FIX ALINEACIÓN CABECERAS COLUMNAS (PC) --------------- */
body.page-id-5852 table.cart thead th.product-price     { text-align: center !important; }
body.page-id-5852 table.cart thead th.product-quantity  { text-align: center !important; }
body.page-id-5852 table.cart thead th.product-subtotal  { text-align: right !important; padding-right: 10px !important; }
body.page-id-5852 table.cart td.product-price           { text-align: center !important; }
body.page-id-5852 table.cart td.product-quantity        { text-align: center !important; }
body.page-id-5852 table.cart td.product-subtotal        { text-align: right !important; padding-right: 10px !important; }

/* FIX columna remove – visibility reserva el espacio sin mostrar th */
body.page-id-5852 table.cart thead th.product-remove {
    display: table-cell !important;
    visibility: hidden !important;
    width: 44px !important;
    padding: 0 !important;
}

/* -- FIX ICONO CARRITO HFE (elemento 6a93a10c) ------------- */
/* NOTA: este fix va aquí pero afecta al header (template 5868) */
.elementor-element-6a93a10c {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
}
.elementor-element-6a93a10c .hfe-masthead-custom-menu-items,
#hfe-site-header-cart {
    display: flex !important;
    align-items: center !important;
}
@media (max-width: 1024px) {
    .elementor-element-6a93a10c {
        margin-top: 4px !important; /* ajusta +/- si no queda nivelado */
    }
}
/* ============================================================
   14. CHECKOUT - FABRIKIOS vFINAL
   page-id: 5853
   ============================================================ */

/* -- 1. FONDO BLANCO Y FIX SIDEBAR KADENCE ----------------- */
body.page-id-5853,
body.page-id-5853 #wrapper,
body.page-id-5853 .site,
body.page-id-5853 .site-content,
body.page-id-5853 .content-area,
body.page-id-5853 #primary,
body.page-id-5853 .site-main,
body.page-id-5853 .entry-content,
body.page-id-5853 .entry-content-wrap,
body.page-id-5853 .content-wrap,
body.page-id-5853 .inner-wrap,
body.page-id-5853 #inner-wrap,
body.page-id-5853 .wrap,
body.page-id-5853 article,
body.page-id-5853 .site-main > * {
    background-color: #ffffff !important;
    background-image: none !important;
}
body.page-id-5853 .hero-section-overlay { display: none !important; }
body.page-id-5853 .hero-container.site-container,
body.page-id-5853 .entry-hero .hero-container {
    background: #ffffff !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: unset !important;
}

/* FIX KADENCE: Matar el Sidebar y forzar #primary al 100% */
body.page-id-5853 aside#secondary {
    display: none !important; /* Oculta el sidebar invisible */
}
body.page-id-5853 #primary {
    width: 100% !important; /* El primary recupera todo el ancho */
    max-width: 100% !important;
    float: none !important;
}
body.page-id-5853 .content-container.site-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}
body.page-id-5853 .entry-content-wrap {
    padding: 0 !important;
    background: transparent !important;
}

/* FIX ELEMENTOR: solo dentro de #primary, no toca el header */
body.page-id-5853 #primary .elementor-element,
body.page-id-5853 #primary .e-con,
body.page-id-5853 #primary .e-con-full,
body.page-id-5853 #primary .e-flex,
body.page-id-5853 #primary .e-parent,
body.page-id-5853 #primary .elementor-widget-wrap,
body.page-id-5853 #primary .elementor-widget-container,
body.page-id-5853 #primary .elementor-section,
body.page-id-5853 #primary .elementor-container,
body.page-id-5853 #primary .elementor-inner,
body.page-id-5853 #primary .elementor-column,
body.page-id-5853 #primary .elementor-column-wrap,
body.page-id-5853 #primary .e-con-inner {
    background-color: transparent !important;
    background-image: none !important;
    /* Mata variables CSS de Elementor que generan el fondo verde */
    --background-color: transparent !important;
    --e-con-background: transparent !important;
}
/* Apunta el contenedor específico con background "classic" de Elementor */
body.page-id-5853 #primary [data-element_type="container"],
body.page-id-5853 #primary [data-element_type="section"] {
    background-color: transparent !important;
    background-image: none !important;
    --background-color: transparent !important;
}

/* -- 2. HERO / TITULO -------------------------------------- */
body.page-id-5853 .entry-hero,
body.page-id-5853 .entry-hero-container,
body.page-id-5853 .entry-hero-container-inner,
body.page-id-5853 .page-hero-section,
body.page-id-5853 .entry-header {
    background-color: #ffffff !important;
    background-image: none !important;
    min-height: unset !important;
    padding: 20px 0 3px !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    border: none !important;
}
body.page-id-5853 .entry-hero::before,
body.page-id-5853 .entry-hero::after,
body.page-id-5853 .entry-hero-container::before,
body.page-id-5853 .entry-hero-container-inner::before {
    display: none !important;
    opacity: 0 !important;
    background: none !important;
}
body.page-id-5853 .entry-hero *:not(h1):not(.entry-title) {
    background: transparent !important;
    background-image: none !important;
}
body.page-id-5853 h1.entry-title {
    font-size: 50px !important;
    letter-spacing: 3px !important;
    color: #247D8F !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    margin: 0 0 4px !important;
    text-align: center !important;
}

/* Contenedores WooCommerce transparentes */
body.page-id-5853 .woocommerce,
body.page-id-5853 #primary,
body.page-id-5853 .site-main,
body.page-id-5853 .content-area,
body.page-id-5853 .entry-content,
body.page-id-5853 .entry-content-wrap {
    background: transparent !important;
}

/* -- 3. CUPON / AVISO -------------------------------------- */
body.page-id-5853 .woocommerce-form-coupon-toggle .woocommerce-info {
    background: #247D8F !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    padding: 16px 22px !important;
    font-weight: 600 !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 8px !important;
}
body.page-id-5853 .woocommerce-form-coupon-toggle .woocommerce-info::before {
    color: #ffffff !important;
}
body.page-id-5853 .woocommerce-form-coupon-toggle .showcoupon {
    color: var(--fb-yellow) !important;
    font-weight: 800 !important;
}
body.page-id-5853 .checkout_coupon {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid rgba(36,125,143,0.10) !important;
    padding: 25px !important;
    margin-bottom: 0px !important;
    box-sizing: border-box !important;
}
body.page-id-5853 .checkout_coupon .button {
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 20px !important;
    padding: 10px 22px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}
body.page-id-5853 .checkout_coupon .button:hover {
    background: #ffffff !important;
    color: var(--fb-yellow) !important;
}

/* -- 4. LAYOUT PC: GRID ------------------------------------ */
/* -- 4. LAYOUT: FLEXBOX CENTRADO (ESTILO CARRITO) --------- */
body.page-id-5853 form.checkout.woocommerce-checkout {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 32px !important;
    align-items: flex-start !important;
    justify-content: center !important; /* Centra las columnas */
    max-width: 1100px !important;
    margin: 0 auto !important;
    padding: 10 0px 20px !important;
    background: transparent !important;
    box-sizing: border-box !important;
}
 
body.page-id-5853 #customer_details .col-1,
body.page-id-5853 #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
}
 
@media (min-width: 1025px) {
    /* Avisos y Cupón arriba, centrados */
    body.page-id-5853 form.checkout .woocommerce-notices-wrapper,
    body.page-id-5853 form.checkout .woocommerce-form-coupon-toggle,
    body.page-id-5853 form.checkout .checkout_coupon {
        width: 100% !important;
        flex: 1 1 100% !important;
        margin-bottom: 20px !important;
    }
    
    /* Columna Izquierda (Datos Cliente) */
    body.page-id-5853 #customer_details {
        flex: 1 1 500px !important;
        max-width: 660px !important;
        margin: 0 !important;
    }
    
    /* Ocultar el H3 suelto para no romper la alineación flex */
    body.page-id-5853 h3#order_review_heading {
        display: none !important;
    }
    
    /* Columna Derecha (Resumen/Pago) */
    body.page-id-5853 #order_review {
        flex: 0 0 380px !important;
        width: 380px !important;
        margin: 0 !important;
        position: sticky !important;
        top: 90px !important;
        align-self: start !important;
    }
}
 
/* MOVIL Y TABLET */
@media (max-width: 1024px) {
    body.page-id-5853 form.checkout.woocommerce-checkout {
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
        padding: 0 14px 100px !important;
    }
    
    /* Aviso del cupón en móvil */
    body.page-id-5853 form.checkout .woocommerce-form-coupon-toggle,
    body.page-id-5853 form.checkout .checkout_coupon {
        width: 100% !important;
    }

    body.page-id-5853 #customer_details,
    body.page-id-5853 h3#order_review_heading,
    body.page-id-5853 #order_review {
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
        flex: 1 1 100% !important;
    }
    
    /* Mostrar título en móvil */
    body.page-id-5853 h3#order_review_heading {
        display: block !important;
        margin-top: 20px !important;
    }
}

/* MOVIL Y TABLET */
@media (max-width: 1024px) {
    body.page-id-5853 form.checkout.woocommerce-checkout {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        padding: 0 14px 100px !important;
    }
    body.page-id-5853 #customer_details,
    body.page-id-5853 h3#order_review_heading,
    body.page-id-5853 #order_review {
        width: 100% !important;
        position: static !important;
    }
}

/* -- 5. CAJAS DE DATOS ------------------------------------- */
body.page-id-5853 #customer_details {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
body.page-id-5853 .woocommerce-billing-fields,
body.page-id-5853 .woocommerce-shipping-fields,
body.page-id-5853 .woocommerce-additional-fields {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(36,125,143,0.08) !important;
    border: 1px solid rgba(36,125,143,0.05) !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* -- 6. ENCABEZADOS ---------------------------------------- */
body.page-id-5853 h3#order_review_heading {
    font-family: 'Nunito', sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: var(--fb-yellow) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}
body.page-id-5853 .woocommerce-billing-fields > h3,
body.page-id-5853 .woocommerce-shipping-fields > h3,
body.page-id-5853 .woocommerce-additional-fields > h3 {
    font-family: 'Nunito', sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: var(--fb-yellow) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-bottom: 2px solid rgba(199,164,36,0.25) !important;
    padding-bottom: 10px !important;
    margin: 0 0 18px !important;
    background: transparent !important;
}

/* -- 7. CAMPOS DEL FORMULARIO ------------------------------ */
body.page-id-5853 .woocommerce-input-wrapper input[type="text"],
body.page-id-5853 .woocommerce-input-wrapper input[type="tel"],
body.page-id-5853 .woocommerce-input-wrapper input[type="email"],
body.page-id-5853 .woocommerce-input-wrapper input[type="password"],
body.page-id-5853 .woocommerce-input-wrapper input[type="number"],
body.page-id-5853 .woocommerce-input-wrapper select,
body.page-id-5853 .woocommerce-input-wrapper textarea {
    border: 1.5px solid rgba(36,125,143,0.25) !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    width: 100% !important;
    font-size: 14px !important;
    color: #247D8F !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    transition: border-color 0.2s !important;
}
body.page-id-5853 .woocommerce-input-wrapper input:focus,
body.page-id-5853 .woocommerce-input-wrapper select:focus,
body.page-id-5853 .woocommerce-input-wrapper textarea:focus {
    border-color: var(--fb-yellow) !important;
    box-shadow: 0 0 0 3px rgba(199,164,36,0.12) !important;
    outline: none !important;
}
body.page-id-5853 .woocommerce-input-wrapper select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23247D8F' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-color: #ffffff !important;
    padding-right: 36px !important;
    cursor: pointer !important;
}
body.page-id-5853 .form-row label {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #1a5f6e !important;
    margin-bottom: 6px !important;
    display: block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
body.page-id-5853 .form-row label abbr.required,
body.page-id-5853 .form-row label span.required {
    color: var(--fb-yellow) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    border: none !important;
}

/* Campos ocultos */
body.page-id-5853 #billing_postcode_field,
body.page-id-5853 #shipping_postcode_field,
body.page-id-5853 #billing_country_field,
body.page-id-5853 #shipping_country_field,
body.page-id-5853 #billing_state_field,
body.page-id-5853 #shipping_state_field,
body.page-id-5853 #billing_company_field,
body.page-id-5853 #shipping_company_field {
    display: none !important;
}

/* Checkbox enviar a otra direccion */
body.page-id-5853 .ship-to-different-address {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 14px !important;
    background: rgba(36,125,143,0.05) !important;
    border-radius: 10px !important;
    margin-bottom: 16px !important;
    cursor: pointer !important;
}
body.page-id-5853 .ship-to-different-address label {
    cursor: pointer !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #247D8F !important;
    margin: 0 !important;
    text-transform: none !important;
}
body.page-id-5853 .ship-to-different-address input[type="checkbox"] {
    width: 17px !important;
    height: 17px !important;
    accent-color: var(--fb-yellow) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

/* -- 8. CAJA RESUMEN PEDIDO -------------------------------- */
body.page-id-5853 #order_review {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(36,125,143,0.08) !important;
    border: 1px solid rgba(36,125,143,0.05) !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Tabla */
body.page-id-5853 table.shop_table,
body.page-id-5853 table.woocommerce-checkout-review-order-table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 16px !important;
    background: transparent !important;
}
body.page-id-5853 table.shop_table thead th,
body.page-id-5853 table.woocommerce-checkout-review-order-table thead th {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: rgba(36,125,143,0.55) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(36,125,143,0.10) !important;
    background: transparent !important;
}
body.page-id-5853 table.shop_table thead th:last-child,
body.page-id-5853 table.woocommerce-checkout-review-order-table thead th:last-child {
    text-align: right !important;
}
body.page-id-5853 table.shop_table tbody td,
body.page-id-5853 table.woocommerce-checkout-review-order-table tbody td {
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(36,125,143,0.07) !important;
    font-size: 13px !important;
    color: #247D8F !important;
    vertical-align: middle !important;
    background: transparent !important;
}
body.page-id-5853 table.shop_table tbody td:first-child,
body.page-id-5853 table.woocommerce-checkout-review-order-table tbody td:first-child {
    font-weight: 600 !important;
    padding-right: 8px !important;
}
body.page-id-5853 table.shop_table tbody td:last-child,
body.page-id-5853 table.woocommerce-checkout-review-order-table tbody td:last-child {
    text-align: right !important;
    font-weight: 700 !important;
}
body.page-id-5853 table.shop_table tfoot th,
body.page-id-5853 table.shop_table tfoot td,
body.page-id-5853 table.woocommerce-checkout-review-order-table tfoot th,
body.page-id-5853 table.woocommerce-checkout-review-order-table tfoot td {
    padding: 7px 0 !important;
    font-size: 13px !important;
    color: #247D8F !important;
    border: none !important;
    background: transparent !important;
}
body.page-id-5853 table.shop_table tfoot td,
body.page-id-5853 table.woocommerce-checkout-review-order-table tfoot td {
    text-align: right !important;
    font-weight: 700 !important;
}
/* Fila TOTAL amarillo */
body.page-id-5853 table.shop_table tfoot .order-total th,
body.page-id-5853 table.shop_table tfoot .order-total td,
body.page-id-5853 table.woocommerce-checkout-review-order-table tfoot .order-total th,
body.page-id-5853 table.woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: var(--fb-yellow) !important;
    border-top: 2px solid rgba(36,125,143,0.12) !important;
    padding-top: 14px !important;
}

/* Metodos envio */
body.page-id-5853 .woocommerce-shipping-methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.page-id-5853 .woocommerce-shipping-methods li {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 4px !important;
    background: transparent !important;
    border: none !important;
}
body.page-id-5853 .woocommerce-shipping-methods li input[type="radio"] {
    accent-color: var(--fb-yellow) !important;
    flex-shrink: 0 !important;
}
body.page-id-5853 .woocommerce-shipping-methods li label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #247D8F !important;
    margin: 0 !important;
    text-transform: none !important;
    cursor: pointer !important;
}

/* -- 9. SECCION PAGO --------------------------------------- */
body.page-id-5853 #payment,
body.page-id-5853 .woocommerce-checkout-payment {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}
body.page-id-5853 #payment ul.payment_methods {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    border: none !important;
    background: transparent !important;
}
body.page-id-5853 #payment ul.payment_methods li {
    border: 1.5px solid rgba(36,125,143,0.18) !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    background: #ffffff !important;
    list-style: none !important;
    margin: 0 !important;
    transition: border-color 0.2s !important;
}
body.page-id-5853 #payment ul.payment_methods li::before,
body.page-id-5853 #payment ul.payment_methods li::after {
    display: none !important;
    content: none !important;
}
body.page-id-5853 #payment ul.payment_methods li:has(input[type="radio"]:checked) {
    border-color: var(--fb-yellow) !important;
    background: rgba(199,164,36,0.04) !important;
    border-left: 4px solid var(--fb-yellow) !important;
}
body.page-id-5853 #payment ul.payment_methods li label {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #247D8F !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    text-transform: none !important;
    background: transparent !important;
    letter-spacing: 0 !important;
}
body.page-id-5853 #payment ul.payment_methods li input[type="radio"] {
    accent-color: var(--fb-yellow) !important;
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
}
body.page-id-5853 #payment .payment_box {
    background: rgba(36,125,143,0.05) !important;
    border-radius: 8px !important;
    padding: 12px !important;
    margin-top: 10px !important;
    font-size: 12px !important;
    color: #247D8F !important;
    line-height: 1.6 !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
body.page-id-5853 #payment .payment_box::before { display: none !important; }
body.page-id-5853 #payment .payment_box p {
    margin: 0 !important;
    color: #247D8F !important;
    font-size: 12px !important;
}
body.page-id-5853 #payment .woocommerce-terms-and-conditions-wrapper {
    font-size: 11px !important;
    color: rgba(36,125,143,0.65) !important;
    margin: 12px 0 10px !important;
    line-height: 1.5 !important;
}
body.page-id-5853 #payment .woocommerce-terms-and-conditions-wrapper a {
    color: var(--fb-yellow) !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}
body.page-id-5853 #payment .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
    accent-color: var(--fb-yellow) !important;
    width: 15px !important;
    height: 15px !important;
    vertical-align: middle !important;
}

/* -- 10. BOTON REALIZAR PEDIDO ----------------------------- */
body.page-id-5853 #payment .place-order {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}
body.page-id-5853 #place_order,
body.page-id-5853 #payment #place_order {
    display: block !important;
    width: 100% !important;
    padding: 16px 24px !important;
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 25px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 14px rgba(199,164,36,0.35) !important;
    margin-top: 12px !important;
}
body.page-id-5853 #place_order:hover,
body.page-id-5853 #payment #place_order:hover {
    background: #ffffff !important;
    color: var(--fb-yellow) !important;
    box-shadow: none !important;
}

/* -- 11. ERRORES / VALIDACION ------------------------------ */
body.page-id-5853 .woocommerce-error {
    background: #fff0f0 !important;
    color: #c0392b !important;
    border-left: 4px solid #c0392b !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    list-style: none !important;
    margin-bottom: 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
body.page-id-5853 .woocommerce-error li::before { display: none !important; }
body.page-id-5853 .woocommerce-invalid .woocommerce-input-wrapper input,
body.page-id-5853 .woocommerce-invalid .woocommerce-input-wrapper select {
    border-color: #c0392b !important;
}
body.page-id-5853 .woocommerce-validated .woocommerce-input-wrapper input,
body.page-id-5853 .woocommerce-validated .woocommerce-input-wrapper select {
    border-color: #27ae60 !important;
}

/* -- 12. BANNER REPARTO ------------------------------------ */
body.page-id-5853 .fabrikios-no-reparto {
    background: #fff4e6 !important;
    border-left: 4px solid var(--fb-yellow) !important;
    color: #7a5900 !important;
    padding: 11px 14px !important;
    margin-bottom: 14px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

/* -- MOVIL =768px ------------------------------------------ */
@media (max-width: 768px) {

    /* Titulo: un poco mas abajo en movil */
    body.page-id-5853 h1.entry-title {
        font-size: 34px !important;
        margin-top: 10px !important;
        margin-bottom: 16px !important;
    }

    body.page-id-5853 form.checkout.woocommerce-checkout {
        padding: 12px 14px 110px !important;
        gap: 20px !important;
    }

    body.page-id-5853 .woocommerce-billing-fields,
    body.page-id-5853 .woocommerce-shipping-fields,
    body.page-id-5853 .woocommerce-additional-fields,
    body.page-id-5853 #order_review {
        padding: 20px 18px !important;
        border-radius: 14px !important;
    }

    body.page-id-5853 .woocommerce-billing-fields > h3,
    body.page-id-5853 .woocommerce-shipping-fields > h3,
    body.page-id-5853 .woocommerce-additional-fields > h3 {
        font-size: 14px !important;
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
    }

    body.page-id-5853 .woocommerce-input-wrapper input[type="text"],
    body.page-id-5853 .woocommerce-input-wrapper input[type="tel"],
    body.page-id-5853 .woocommerce-input-wrapper input[type="email"],
    body.page-id-5853 .woocommerce-input-wrapper input[type="password"],
    body.page-id-5853 .woocommerce-input-wrapper select,
    body.page-id-5853 .woocommerce-input-wrapper textarea {
        padding: 14px 15px !important;
        font-size: 15px !important;
    }

    body.page-id-5853 #payment ul.payment_methods li {
        padding: 16px 18px !important;
    }
    body.page-id-5853 #payment ul.payment_methods li label {
        font-size: 15px !important;
    }
    body.page-id-5853 #payment .payment_box {
        font-size: 13px !important;
        padding: 14px !important;
    }

    /* Boton fijo */
    body.page-id-5853 #payment .place-order {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        background: #ffffff !important;
        padding: 12px 16px !important;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.12) !important;
        border-top: 1px solid rgba(36,125,143,0.10) !important;
    }
    body.page-id-5853 #place_order,
    body.page-id-5853 #payment #place_order {
        margin-top: 0 !important;
        border-radius: 16px !important;
        padding: 16px !important;
        font-size: 15px !important;
    }
}
/* ============================================================
   15. MI CUENTA — FABRIKIOS vFINAL
   page-id: 5854
   ============================================================ */

/* -- 1. FONDO BLANCO TOTAL --------------------------------- */
body.page-id-5854,
body.page-id-5854 #wrapper,
body.page-id-5854 #inner-wrap,
body.page-id-5854 .site,
body.page-id-5854 .site-content,
body.page-id-5854 .content-area,
body.page-id-5854 #primary,
body.page-id-5854 .site-main,
body.page-id-5854 .entry-content-wrap,
body.page-id-5854 .content-wrap,
body.page-id-5854 article {
    background-color: #ffffff !important;
    background-image: none !important;
}
body.page-id-5854 .content-container.site-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}
body.page-id-5854 aside#secondary { display: none !important; }
body.page-id-5854 #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}
body.page-id-5854 .entry-content-wrap {
    padding: 0 !important;
    background: transparent !important;
}

/* -- 2. HERO: COMPRIMIDO + TÍTULO TEAL SOBRE BLANCO -------- */
body.page-id-5854 .entry-hero,
body.page-id-5854 .entry-hero-container,
body.page-id-5854 .entry-hero-container-inner,
body.page-id-5854 .page-hero-section,
body.page-id-5854 .entry-header {
    min-height: unset !important;
    height: auto !important;
    padding: 14px 0 4px !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background-color: #ffffff !important;
}
body.page-id-5854 .hero-section-overlay { display: none !important; }
body.page-id-5854 .hero-container.site-container,
body.page-id-5854 .entry-hero .hero-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: unset !important;
}
body.page-id-5854 .entry-hero h1.entry-title,
body.page-id-5854 section.entry-hero h1.entry-title,
body.page-id-5854 .entry-header h1.entry-title {
    color: #247D8F !important;
    font-size: 30px !important;
    letter-spacing: 4px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    margin: 0 !important;
    text-align: center !important;
    line-height: 1.2 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* -- 3. CONTENEDOR PRINCIPAL ------------------------------- */
body.page-id-5854 .woocommerce {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
    align-items: flex-start !important;
    max-width: 1100px !important;
    margin: 20px auto 60px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

/* -- 4. COLUMNA IZQUIERDA ---------------------------------- */
body.page-id-5854 .account-navigation-wrap {
    flex: 0 0 220px !important;
    width: 220px !important;
    position: sticky !important;
    top: 80px !important;
    align-self: flex-start !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

/* -- 5. AVATAR REAL ---------------------------------------- */
body.page-id-5854 .kadence-account-avatar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 5px !important;
    margin-bottom: 8px !important;
}
body.page-id-5854 .kadence-account-avatar .kadence-customer-image {
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 2px solid var(--fb-yellow) !important;
    flex-shrink: 0 !important;
}
body.page-id-5854 .kadence-account-avatar .kadence-customer-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
}
body.page-id-5854 .kadence-account-avatar .kadence-customer-name {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #247D8F !important;
    text-align: center !important;
}

/* -- 6. MENÚ LATERAL --------------------------------------- */
body.page-id-5854 .woocommerce-MyAccount-navigation::before {
    display: none !important;
    content: none !important;
}
body.page-id-5854 .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 10px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(36,125,143,0.10) !important;
    border: 1px solid rgba(36,125,143,0.08) !important;
    box-sizing: border-box !important;
}
body.page-id-5854 .woocommerce-MyAccount-navigation ul li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
body.page-id-5854 .woocommerce-MyAccount-navigation ul li::before,
body.page-id-5854 .woocommerce-MyAccount-navigation ul li::after {
    display: none !important;
    content: none !important;
}
body.page-id-5854 .woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 10px 14px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #247D8F !important;
    background: transparent !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-left: 3px solid transparent !important;
}
body.page-id-5854 .woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(199,164,36,0.08) !important;
    color: var(--fb-yellow) !important;
    border-left-color: var(--fb-yellow) !important;
}
body.page-id-5854 .woocommerce-MyAccount-navigation ul li.is-active a,
body.page-id-5854 .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--active a {
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border-left-color: transparent !important;
    box-shadow: 0 4px 12px rgba(199,164,36,0.25) !important;
}

/* -- 7. ÁREA DE CONTENIDO ---------------------------------- */
body.page-id-5854 .woocommerce-MyAccount-content {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(36,125,143,0.10) !important;
    border: 1px solid rgba(36,125,143,0.08) !important;
    padding: 28px !important;
    box-sizing: border-box !important;
    color: #247D8F !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}
body.page-id-5854 .woocommerce-MyAccount-content > p:first-child {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #247D8F !important;
    border-bottom: 1px solid rgba(36,125,143,0.10) !important;
    padding-bottom: 14px !important;
    margin-bottom: 16px !important;
}
body.page-id-5854 .woocommerce-MyAccount-content a {
    color: var(--fb-yellow) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}
body.page-id-5854 .woocommerce-MyAccount-content a:hover {
    color: #247D8F !important;
    text-decoration: underline !important;
}

/* -- 8. ENCABEZADOS INTERNOS ------------------------------ */
body.page-id-5854 .woocommerce-MyAccount-content h2,
body.page-id-5854 .woocommerce-MyAccount-content h3 {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: var(--fb-yellow) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    border-bottom: 2px solid rgba(199,164,36,0.18) !important;
    padding-bottom: 10px !important;
    margin: 0 0 16px !important;
    background: transparent !important;
}

/* -- 9. TABLA PEDIDOS -------------------------------------- */
body.page-id-5854 .woocommerce-MyAccount-content table.woocommerce-orders-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: transparent !important;
}
body.page-id-5854 .woocommerce-MyAccount-content table.woocommerce-orders-table thead th {
    background: rgba(36,125,143,0.05) !important;
    color: #247D8F !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 10px 14px !important;
    border-bottom: 2px solid rgba(36,125,143,0.10) !important;
    white-space: nowrap !important;
}
body.page-id-5854 .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr {
    border-bottom: 1px solid rgba(36,125,143,0.10) !important;
    background: transparent !important;
    transition: background 0.2s !important;
}
body.page-id-5854 .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr:last-child {
    border-bottom: none !important;
}
body.page-id-5854 .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr:hover {
    background: #f5f9fa !important;
}
body.page-id-5854 .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td {
    padding: 14px !important;
    color: #247D8F !important;
    font-size: 13px !important;
    vertical-align: middle !important;
    background: transparent !important;
}

/* -- 10. BADGES ESTADO PEDIDO ----------------------------- */
body.page-id-5854 mark.order-status {
    background: transparent !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    display: inline-block !important;
}
body.page-id-5854 mark.order-status.status-completed,
body.page-id-5854 mark.order-status.status-processing {
    background: rgba(42,157,92,0.12) !important;
    color: #2a9d5c !important;
}
body.page-id-5854 mark.order-status.status-on-hold,
body.page-id-5854 mark.order-status.status-pending {
    background: rgba(199,164,36,0.14) !important;
    color: #a07a00 !important;
}
body.page-id-5854 mark.order-status.status-cancelled,
body.page-id-5854 mark.order-status.status-failed,
body.page-id-5854 mark.order-status.status-refunded {
    background: rgba(192,57,43,0.10) !important;
    color: #c0392b !important;
}
/* -- 11. DIRECCIONES (FIX LADO A LADO DEFINITIVO) ---------- */
body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-Addresses,
body.page-id-5854 .woocommerce-MyAccount-content .u-columns.addresses {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    margin-top: 10px !important;
    width: 100% !important;
    float: none !important;
}

/* FIX: Matar los fantasmas que rompen el Grid */
body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-Addresses::before,
body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-Addresses::after,
body.page-id-5854 .woocommerce-MyAccount-content .u-columns.addresses::before,
body.page-id-5854 .woocommerce-MyAccount-content .u-columns.addresses::after {
    display: none !important;
    content: none !important;
}

body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-Address,
body.page-id-5854 .woocommerce-MyAccount-content .u-column1,
body.page-id-5854 .woocommerce-MyAccount-content .u-column2 {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 25px !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1px solid rgba(36,125,143,0.12) !important;
    box-shadow: 0 4px 15px rgba(36,125,143,0.05) !important;
    box-sizing: border-box !important;
}

body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-Address-title {
    border-bottom: 2px solid rgba(199,164,36,0.18) !important;
    padding-bottom: 15px !important;
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-Address-title h3 {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: var(--fb-yellow) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-Address .edit {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--fb-yellow) !important;
    border: 1.5px solid var(--fb-yellow) !important;
    border-radius: 20px !important;
    padding: 6px 14px !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
}

body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-Address .edit:hover {
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
}

body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-Address address {
    font-style: normal !important;
    font-size: 13px !important;
    color: #247D8F !important;
    line-height: 1.9 !important;
    margin: 0 !important;
}

/* -- 12. WISHLIST — PC (FIX SCROLL Y BOTONES) ---------------- */
body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist {
    overflow-x: auto !important; /* Permite scroll horizontal */
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px !important; /* Aire para el scrollbar */
}

/* Scrollbar Personalizado Fabrikios (Amarillo) */
body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist::-webkit-scrollbar {
    height: 8px !important;
}
body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist::-webkit-scrollbar-track {
    background: rgba(36,125,143,0.1) !important;
    border-radius: 4px !important;
}
body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist::-webkit-scrollbar-thumb {
    background: var(--fb-yellow) !important;
    border-radius: 4px !important;
}
body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist::-webkit-scrollbar-thumb:hover {
    background: #a88b1f !important; /* Amarillo un poco más oscuro al pasar el ratón */
}

/* Evitar que la tabla se comprima */
body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list {
    width: 100% !important;
    min-width: 800px !important; /* Fuerza a la tabla a ser ancha para activar el scroll */
    border-collapse: collapse !important;
}

/* Espacio y alineación de los botones inferiores (Acciones / Añadir al carrito) */
body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist > form > *:not(.tinvwl-table-manage-list) {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important; /* Más aire entre botones */
    align-items: center !important;
    justify-content: space-between !important; /* Separa el select/aplicar del botón add to cart */
    padding: 20px 0 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
/* -- 13. BOTONES GENERALES --------------------------------- */
body.page-id-5854 .woocommerce-MyAccount-content .button,
body.page-id-5854 .woocommerce-MyAccount-content a.button,
body.page-id-5854 .woocommerce-MyAccount-content table .button,
body.page-id-5854 .woocommerce-MyAccount-content button[type="submit"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 20px !important;
    padding: 8px 20px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
body.page-id-5854 .woocommerce-MyAccount-content .button:hover,
body.page-id-5854 .woocommerce-MyAccount-content a.button:hover,
body.page-id-5854 .woocommerce-MyAccount-content button[type="submit"]:hover {
    background: #ffffff !important;
    color: var(--fb-yellow) !important;
}
body.page-id-5854 .woocommerce-MyAccount-content button[type="submit"] {
    margin-top: 16px !important;
    padding: 11px 28px !important;
    font-size: 13px !important;
}

/* -- 14. BOTÓN OJO CONTRASEÑA ----------------------------- */
body.page-id-5854 .woocommerce-MyAccount-content .show-password-input,
body.page-id-5854 .woocommerce-MyAccount-content button.woocommerce-Button.show-password-input {
    background: rgba(199,164,36,0.12) !important;
    border: 1px solid var(--fb-yellow) !important;
    border-radius: 0 10px 10px 0 !important;
    color: var(--fb-yellow) !important;
    padding: 0 14px !important;
    height: 100% !important;
    cursor: pointer !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.2s !important;
}
body.page-id-5854 .woocommerce-MyAccount-content .show-password-input:hover,
body.page-id-5854 .woocommerce-MyAccount-content button.woocommerce-Button.show-password-input:hover {
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
}
body.page-id-5854 .woocommerce-MyAccount-content .password-input,
body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-Input-wrapper {
    display: flex !important;
    align-items: stretch !important;
    border: 1.5px solid rgba(36,125,143,0.25) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}
body.page-id-5854 .woocommerce-MyAccount-content .password-input input,
body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-Input-wrapper input {
    border: none !important;
    border-radius: 0 !important;
    flex: 1 !important;
    box-shadow: none !important;
}

/* -- 15. FORMULARIOS -------------------------------------- */
body.page-id-5854 .woocommerce-MyAccount-content .form-row,
body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-form-row {
    margin-bottom: 14px !important;
}
body.page-id-5854 .woocommerce-MyAccount-content label {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #1a5f6e !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: block !important;
    margin-bottom: 5px !important;
}
body.page-id-5854 .woocommerce-MyAccount-content input[type="text"],
body.page-id-5854 .woocommerce-MyAccount-content input[type="email"],
body.page-id-5854 .woocommerce-MyAccount-content input[type="password"],
body.page-id-5854 .woocommerce-MyAccount-content input[type="tel"],
body.page-id-5854 .woocommerce-MyAccount-content select,
body.page-id-5854 .woocommerce-MyAccount-content textarea {
    border: 1.5px solid rgba(36,125,143,0.25) !important;
    border-radius: 10px !important;
    padding: 11px 14px !important;
    width: 100% !important;
    font-size: 14px !important;
    color: #247D8F !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s !important;
    outline: none !important;
}
body.page-id-5854 .woocommerce-MyAccount-content input:focus,
body.page-id-5854 .woocommerce-MyAccount-content select:focus {
    border-color: var(--fb-yellow) !important;
    box-shadow: 0 0 0 3px rgba(199,164,36,0.12) !important;
}

/* -- 16. NOTICES ------------------------------------------ */
body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-message {
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 18px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    margin-bottom: 16px !important;
    box-shadow: none !important;
}
body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-message::before { color: #ffffff !important; }
body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-error {
    background: #fff0f0 !important;
    color: #c0392b !important;
    border-left: 4px solid #c0392b !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    list-style: none !important;
    margin-bottom: 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-error li::before { display: none !important; }
body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-info {
    background: rgba(36,125,143,0.07) !important;
    color: #247D8F !important;
    border: none !important;
    border-left: 4px solid #247D8F !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 14px !important;
    box-shadow: none !important;
}
/* ============================================================
   15.B LOGIN Y REGISTRO (CUANDO EL USUARIO NO ESTÁ LOGUEADO)
   ============================================================ */

/* Contenedor principal de las 2 columnas */
body.page-id-5854 #customer_login {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto 60px !important;
}

/* Matar los fantasmas flotantes de WooCommerce */
body.page-id-5854 #customer_login::before,
body.page-id-5854 #customer_login::after {
    display: none !important;
}

/* Tarjetas individuales (Cajas blancas con sombra) */
body.page-id-5854 #customer_login .u-column1,
body.page-id-5854 #customer_login .u-column2 {
    float: none !important;
    width: 100% !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(36,125,143,0.08) !important;
    border: 1px solid rgba(36,125,143,0.05) !important;
    padding: 35px 40px !important;
    box-sizing: border-box !important;
}

/* Títulos "ACCEDER" y "REGISTRARSE" */
body.page-id-5854 #customer_login h2 {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #247D8F !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border-bottom: 2px solid rgba(36,125,143,0.1) !important;
    padding-bottom: 15px !important;
    margin-bottom: 25px !important;
    text-align: center !important;
}

/* Estilo de los campos (Inputs) */
body.page-id-5854 #customer_login .form-row {
    margin-bottom: 20px !important;
}
body.page-id-5854 #customer_login label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #247D8F !important;
    margin-bottom: 8px !important;
    display: block !important;
    text-transform: none !important; /* Le quitamos el uppercase para que sea más legible */
}
body.page-id-5854 #customer_login label span.required {
    color: var(--fb-yellow) !important;
}
body.page-id-5854 #customer_login input[type="text"],
body.page-id-5854 #customer_login input[type="password"],
body.page-id-5854 #customer_login input[type="email"] {
    border: 1.5px solid rgba(36,125,143,0.25) !important;
    border-radius: 10px !important;
    padding: 14px 18px !important;
    width: 100% !important;
    font-size: 15px !important;
    color: #247D8F !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}
body.page-id-5854 #customer_login input:focus {
    border-color: var(--fb-yellow) !important;
    box-shadow: 0 0 0 3px rgba(199,164,36,0.12) !important;
    outline: none !important;
}

/* Texto legal de privacidad */
body.page-id-5854 .woocommerce-privacy-policy-text {
    font-size: 12px !important;
    color: #666 !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
}
body.page-id-5854 .woocommerce-privacy-policy-text a {
    color: var(--fb-yellow) !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
}

/* Botones Principales (Acceso y Registro) */
body.page-id-5854 #customer_login button[type="submit"] {
    display: block !important;
    width: 100% !important;
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 25px !important;
    padding: 16px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(199,164,36,0.3) !important;
    margin-top: 10px !important;
}
body.page-id-5854 #customer_login button[type="submit"]:hover {
    background: #ffffff !important;
    color: var(--fb-yellow) !important;
    box-shadow: none !important;
}

/* Botón del Ojo (Mostrar contraseña) */
body.page-id-5854 #customer_login .show-password-input {
    background: transparent !important;
    color: #247D8F !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Checkbox de Recuérdame y link de Contraseña perdida */
body.page-id-5854 .woocommerce-form-login__rememberme {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}
body.page-id-5854 .woocommerce-form-login__rememberme input[type="checkbox"] {
    accent-color: var(--fb-yellow) !important;
    width: 16px !important;
    height: 16px !important;
}
body.page-id-5854 .woocommerce-LostPassword a {
    color: #247D8F !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}
body.page-id-5854 .woocommerce-LostPassword a:hover {
    color: var(--fb-yellow) !important;
}

/* -- 17. RESPONSIVE MÓVIL --------------------------------- */
@media (max-width: 768px) {

    body.page-id-5854 .woocommerce {
        flex-direction: column !important;
        gap: 16px !important;
        padding: 0 15px 5px !important;
        margin-top: 16px !important;
    }

    /* Hero: reducir espacio inferior */
    body.page-id-5854 .entry-hero,
    body.page-id-5854 .entry-hero-container-inner,
    body.page-id-5854 .entry-header {
        padding-bottom: 2px !important;
        margin-bottom: 0 !important;
    }
    body.page-id-5854 .entry-hero h1.entry-title,
    body.page-id-5854 section.entry-hero h1.entry-title {
        font-size: 25px !important;
        letter-spacing: 2px !important;
        padding-top: 20px !important;
        padding-bottom: 2px !important;
        margin: 0 !important;
    }

    /* Columna izquierda: ocupa todo el ancho */
    body.page-id-5854 .account-navigation-wrap {
        flex: 1 1 100% !important;
        width: 100% !important;
        position: static !important;
    }

    /* Avatar: horizontal */
    body.page-id-5854 .kadence-account-avatar {
        flex-direction: row !important;
        justify-content: flex-start !important;
        padding: 0 8px 8px !important;
        gap: 10px !important;
    }

    /* Menú: grid 2 columnas */
    body.page-id-5854 .woocommerce-MyAccount-navigation ul {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        gap: 6px !important;
        padding: 8px !important;
        border-radius: 12px !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-navigation ul li {
        flex: 1 1 calc(50% - 6px) !important;
        min-width: 0 !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-navigation ul li a {
        padding: 8px 10px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        border-left: none !important;
        border-bottom: 3px solid transparent !important;
        border-radius: 8px !important;
        text-align: center !important;
    }

    /* Direcciones: 1 columna en móvil */
    body.page-id-5854 .woocommerce-MyAccount-content .woocommerce-Addresses,
    body.page-id-5854 .woocommerce-MyAccount-content .u-columns.addresses {
        grid-template-columns: 1fr !important;
    }

    /* Pedidos: tarjetas */
    body.page-id-5854 .woocommerce-MyAccount-content table.woocommerce-orders-table {
        display: block !important;
        width: 100% !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content table.woocommerce-orders-table thead {
        display: none !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content table.woocommerce-orders-table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content table.woocommerce-orders-table tbody tr {
        display: flex !important;
        flex-direction: column !important;
        background: #f5f9fa !important;
        border-radius: 12px !important;
        border: 1px solid rgba(36,125,143,0.10) !important;
        padding: 14px !important;
        gap: 6px !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 4px 0 !important;
        font-size: 13px !important;
        border-bottom: none !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td::before {
        content: attr(data-title) !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        color: rgba(36,125,143,0.55) !important;
        letter-spacing: 0.4px !important;
        flex-shrink: 0 !important;
        margin-right: 8px !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td.woocommerce-orders-table__cell-order-actions {
        margin-top: 6px !important;
        border-top: 1px solid rgba(36,125,143,0.10) !important;
        padding-top: 10px !important;
        justify-content: flex-end !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content table.woocommerce-orders-table tbody td.woocommerce-orders-table__cell-order-actions::before {
        display: none !important;
    }

    /* Wishlist móvil: cards */
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist {
        overflow-x: visible !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list {
        display: block !important;
        min-width: unset !important;
        width: 100% !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list thead {
        display: none !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list tbody tr {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
        background: #f5f9fa !important;
        border-radius: 12px !important;
        border: 1px solid rgba(36,125,143,0.10) !important;
        padding: 12px !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist .tinvwl-table-manage-list tbody td {
        display: block !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        font-size: 13px !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist tbody td:nth-child(1),
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist tbody td[class*="date"],
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist tbody td[class*="stock"] {
        display: none !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist tbody td[class*="image"] img,
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist tbody td[class*="thumb"] img {
        width: 68px !important;
        height: 68px !important;
        object-fit: cover !important;
        border-radius: 10px !important;
        display: block !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist tbody td[class*="name"] {
        flex: 1 !important;
        min-width: 0 !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist tbody td[class*="name"] a {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #247D8F !important;
        text-decoration: none !important;
        line-height: 1.3 !important;
        display: block !important;
        word-break: break-word !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist tbody td[class*="price"] {
        font-weight: 800 !important;
        color: var(--fb-yellow) !important;
        font-size: 14px !important;
        width: 100% !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist tbody td[class*="action"],
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist tbody td[class*="cart"] {
        width: 100% !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist tbody td[class*="action"] .button,
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist tbody td[class*="cart"] .button {
        width: 100% !important;
        padding: 8px !important;
        font-size: 11px !important;
        border-radius: 16px !important;
        min-width: unset !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist > form > *:not(.tinvwl-table-manage-list) {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist button,
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist input[type="submit"],
    body.page-id-5854 .woocommerce-MyAccount-content .tinv-wishlist select {
        width: 100% !important;
    }
	/* Login y Registro en Móvil */
    body.page-id-5854 #customer_login {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        padding: 0 !important;
    }
    body.page-id-5854 #customer_login .u-column1,
    body.page-id-5854 #customer_login .u-column2 {
        padding: 25px 20px !important;
    }

}
/* Botón Añadir al carrito — wishlist */
body.page-id-5854 .tinv-wishlist .product-action button.button.alt {
    font-size: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
body.page-id-5854 .tinv-wishlist .product-action button.button.alt::after {
    content: "A\00F1""adir al carrito" !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    font-family: inherit !important;
    visibility: visible !important;
}

/* Botón Aplicar */
body.page-id-5854 .tinv-wishlist button[name="tinvwl-action-product_apply"] {
    font-size: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
body.page-id-5854 .tinv-wishlist button[name="tinvwl-action-product_apply"]::after {
    content: "Aplicar" !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    font-family: inherit !important;
}
/* ============================================================
   16. PEDIDO RECIBIDO — THANK YOU PAGE
   Selector: body.woocommerce-order-received
   ============================================================ */

/* -- 1. BORRADOR NUCLEAR: FONDO BLANCO TOTAL --------------- */
body.woocommerce-order-received,
body.woocommerce-order-received #wrapper,
body.woocommerce-order-received #inner-wrap,
body.woocommerce-order-received .site,
body.woocommerce-order-received .site-content,
body.woocommerce-order-received .content-area,
body.woocommerce-order-received #primary,
body.woocommerce-order-received .site-main,
body.woocommerce-order-received .entry-content,
body.woocommerce-order-received .entry-content-wrap,
body.woocommerce-order-received .content-wrap,
body.woocommerce-order-received article {
    background-color: #ffffff !important;
    background-image: none !important;
}
body.woocommerce-order-received .hero-section-overlay { display: none !important; }
body.woocommerce-order-received .hero-container.site-container,
body.woocommerce-order-received .entry-hero .hero-container {
    background: #ffffff !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: unset !important;
}

/* FIX KADENCE: matar sidebar, recuperar 100% de ancho */
body.woocommerce-order-received aside#secondary { display: none !important; }
body.woocommerce-order-received #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}
body.woocommerce-order-received .content-container.site-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}
body.woocommerce-order-received .entry-content-wrap {
    padding: 0 !important;
    background: transparent !important;
}

/* -- 2. HERO / TÍTULO -------------------------------------- */
body.woocommerce-order-received .entry-hero,
body.woocommerce-order-received .entry-hero-container,
body.woocommerce-order-received .entry-hero-container-inner,
body.woocommerce-order-received .page-hero-section,
body.woocommerce-order-received .entry-header {
    background-color: #ffffff !important;
    background-image: none !important;
    min-height: unset !important;
    padding: 20px 0 3px !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    border: none !important;
}
body.woocommerce-order-received .entry-hero::before,
body.woocommerce-order-received .entry-hero::after,
body.woocommerce-order-received .entry-hero-container::before,
body.woocommerce-order-received .entry-hero-container-inner::before {
    display: none !important;
    opacity: 0 !important;
    background: none !important;
}
body.woocommerce-order-received h1.entry-title {
    font-size: 45px !important;
    letter-spacing: 3px !important;
    color: #247D8F !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    margin: 0 0 4px !important;
    text-align: center !important;
}

/* Contenedores WooCommerce: transparentes para dejar ver el blanco */
body.woocommerce-order-received .woocommerce,
body.woocommerce-order-received .entry-content,
body.woocommerce-order-received .entry-content-wrap {
    background: transparent !important;
}

/* -- 3. CONTENEDOR PRINCIPAL: columna centrada ------------- */
body.woocommerce-order-received .woocommerce {
    max-width: 780px !important;
    margin: 16px auto 60px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    background: transparent !important;
}

/* -- 4. MENSAJE GRACIAS: tarjeta con check de confianza ---- */
body.woocommerce-order-received .woocommerce-thankyou-order-received {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(36,125,143,0.10) !important;
    border: 1px solid rgba(36,125,143,0.08) !important;
    padding: 32px 24px !important;
    margin-bottom: 24px !important;
    text-align: center !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #247D8F !important;
    /* Reset del notice por defecto de WooCommerce */
    border-top: none !important;
    border-left: none !important;
}
/* Bola verde con checkmark */
body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
    content: "\2713" !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: #2a9d5c !important;
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: 0 4px 16px rgba(42,157,92,0.30) !important;
    flex-shrink: 0 !important;
    margin-bottom: 4px !important;
}
/* Neutralizar icono ::before nativo de WooCommerce */
body.woocommerce-order-received .woocommerce-notice--success::before { display: none !important; }

/* -- 5. ORDER OVERVIEW: grid de tarjetas datos del pedido -- */
body.woocommerce-order-received ul.woocommerce-order-overview {
    list-style: none !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
    gap: 12px !important;
}
body.woocommerce-order-received ul.woocommerce-order-overview li {
    background: #ffffff !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 18px rgba(36,125,143,0.10) !important;
    border: 1px solid rgba(36,125,143,0.08) !important;
    padding: 16px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: rgba(36,125,143,0.60) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    list-style: none !important;
}
body.woocommerce-order-received ul.woocommerce-order-overview li::before,
body.woocommerce-order-received ul.woocommerce-order-overview li::after { display: none !important; content: none !important; }
body.woocommerce-order-received ul.woocommerce-order-overview li strong {
    display: block !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #247D8F !important;
    margin-top: 2px !important;
    word-break: break-word !important;
    text-transform: none !important;
}
/* Total: amarillo y más grande */
body.woocommerce-order-received ul.woocommerce-order-overview li.woocommerce-order-overview__total strong,
body.woocommerce-order-received ul.woocommerce-order-overview li.woocommerce-order-overview__total strong * {
    color: var(--fb-yellow) !important;
    font-size: 18px !important;
}

/* -- 6. CAJAS DE SECCIÓN: detalles, cliente, bacs ---------- */
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-bacs-bank-details {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(36,125,143,0.10) !important;
    border: 1px solid rgba(36,125,143,0.08) !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
}
/* BACS: acento amarillo en borde izquierdo */
body.woocommerce-order-received .woocommerce-bacs-bank-details {
    border-left: 4px solid var(--fb-yellow) !important;
}

/* Encabezados internos */
body.woocommerce-order-received .woocommerce-order-details h2,
body.woocommerce-order-received .woocommerce-customer-details h2,
body.woocommerce-order-received .woocommerce-bacs-bank-details h2 {
    font-family: 'Nunito', sans-serif !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: var(--fb-yellow) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border-bottom: 2px solid rgba(199,164,36,0.22) !important;
    padding-bottom: 10px !important;
    margin: 0 0 18px !important;
    background: transparent !important;
}

/* -- 7. TABLA PRODUCTOS DEL PEDIDO ------------------------- */
body.woocommerce-order-received table.woocommerce-table--order-details {
    width: 100% !important;
    border-collapse: collapse !important;
    background: transparent !important;
}
body.woocommerce-order-received table.woocommerce-table--order-details thead th {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: rgba(36,125,143,0.55) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(36,125,143,0.12) !important;
    background: transparent !important;
}
body.woocommerce-order-received table.woocommerce-table--order-details thead th:last-child { text-align: right !important; }
body.woocommerce-order-received table.woocommerce-table--order-details tbody td {
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(36,125,143,0.07) !important;
    font-size: 14px !important;
    color: #247D8F !important;
    vertical-align: middle !important;
    background: transparent !important;
}
body.woocommerce-order-received table.woocommerce-table--order-details tbody td:last-child {
    text-align: right !important;
    font-weight: 700 !important;
}
body.woocommerce-order-received table.woocommerce-table--order-details tbody tr:last-child td { border-bottom: none !important; }
body.woocommerce-order-received table.woocommerce-table--order-details .product-name a {
    color: #247D8F !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}
body.woocommerce-order-received table.woocommerce-table--order-details .product-name a:hover { color: var(--fb-yellow) !important; }
body.woocommerce-order-received table.woocommerce-table--order-details .product-name .product-quantity {
    color: rgba(36,125,143,0.55) !important;
    font-weight: 500 !important;
    font-size: 13px !important;
}
/* tfoot */
body.woocommerce-order-received table.woocommerce-table--order-details tfoot th,
body.woocommerce-order-received table.woocommerce-table--order-details tfoot td {
    padding: 8px 0 !important;
    font-size: 13px !important;
    color: #247D8F !important;
    border: none !important;
    background: transparent !important;
}
body.woocommerce-order-received table.woocommerce-table--order-details tfoot td { text-align: right !important; font-weight: 700 !important; }
body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:first-child th,
body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:first-child td {
    border-top: 2px solid rgba(36,125,143,0.12) !important;
    padding-top: 14px !important;
}
body.woocommerce-order-received table.woocommerce-table--order-details tfoot .order-total th,
body.woocommerce-order-received table.woocommerce-table--order-details tfoot .order-total td,
body.woocommerce-order-received table.woocommerce-table--order-details tfoot .order-total td * {
    font-size: 17px !important;
    font-weight: 800 !important;
    color: var(--fb-yellow) !important;
}

/* -- 8. BACS: datos bancarios ------------------------------ */
body.woocommerce-order-received ul.wc-bacs-bank-details {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
body.woocommerce-order-received ul.wc-bacs-bank-details li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 14px !important;
    background: rgba(36,125,143,0.04) !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    color: #247D8F !important;
    margin: 0 !important;
    list-style: none !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
}
body.woocommerce-order-received ul.wc-bacs-bank-details li::before { display: none !important; content: none !important; }
body.woocommerce-order-received ul.wc-bacs-bank-details li strong {
    font-weight: 800 !important;
    color: #247D8F !important;
    flex-shrink: 0 !important;
}

/* -- 9. DIRECCIÓN DE FACTURACIÓN -------------------------- */
body.woocommerce-order-received .woocommerce-customer-details address {
    font-style: normal !important;
    font-size: 13px !important;
    color: #247D8F !important;
    line-height: 1.9 !important;
    margin: 0 !important;
}

/* -- 10. BOTONES Y NOTICES GENERALES ---------------------- */
body.woocommerce-order-received .woocommerce-order a.button,
body.woocommerce-order-received a.button {
    display: inline-block !important;
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 20px !important;
    padding: 11px 28px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
}
body.woocommerce-order-received a.button:hover { background: #ffffff !important; color: var(--fb-yellow) !important; }
body.woocommerce-order-received .woocommerce-info {
    background: rgba(36,125,143,0.07) !important;
    color: #247D8F !important;
    border: none !important;
    border-left: 4px solid #247D8F !important;
    border-radius: 12px !important;
    padding: 14px 20px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    margin-bottom: 16px !important;
    box-shadow: none !important;
}
body.woocommerce-order-received .woocommerce-info::before { display: none !important; }

/* -- 11. MÓVIL <=768px ------------------------------------- */
@media (max-width: 768px) {

    body.woocommerce-order-received h1.entry-title {
        font-size: 28px !important;
        letter-spacing: 2px !important;
    }
    body.woocommerce-order-received .woocommerce {
        padding: 0 14px !important;
        margin-top: 10px !important;
    }
    body.woocommerce-order-received .woocommerce-thankyou-order-received {
        padding: 24px 18px !important;
        font-size: 15px !important;
    }
    body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
        width: 48px !important;
        height: 48px !important;
        font-size: 24px !important;
    }

    /* Overview: 2 columnas */
    body.woocommerce-order-received ul.woocommerce-order-overview {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    body.woocommerce-order-received ul.woocommerce-order-overview li { padding: 12px 14px !important; }
    body.woocommerce-order-received ul.woocommerce-order-overview li strong { font-size: 13px !important; }
    body.woocommerce-order-received ul.woocommerce-order-overview li.woocommerce-order-overview__total strong { font-size: 15px !important; }

    body.woocommerce-order-received .woocommerce-order-details,
    body.woocommerce-order-received .woocommerce-customer-details,
    body.woocommerce-order-received .woocommerce-bacs-bank-details {
        padding: 18px 16px !important;
        border-radius: 14px !important;
    }

    /* Tabla productos: lista flat */
    body.woocommerce-order-received table.woocommerce-table--order-details,
    body.woocommerce-order-received table.woocommerce-table--order-details tbody { display: block !important; width: 100% !important; }
    body.woocommerce-order-received table.woocommerce-table--order-details thead { display: none !important; }
    body.woocommerce-order-received table.woocommerce-table--order-details tbody tr {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(36,125,143,0.09) !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
    }
    body.woocommerce-order-received table.woocommerce-table--order-details tbody tr:last-child { border-bottom: none !important; }
    body.woocommerce-order-received table.woocommerce-table--order-details tbody td {
        display: block !important;
        padding: 0 !important;
        border: none !important;
        font-size: 13px !important;
    }
    body.woocommerce-order-received table.woocommerce-table--order-details tbody td:last-child {
        font-size: 14px !important;
        font-weight: 800 !important;
    }
    body.woocommerce-order-received table.woocommerce-table--order-details tfoot { display: block !important; }
    body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr {
        display: flex !important;
        justify-content: space-between !important;
    }
    body.woocommerce-order-received table.woocommerce-table--order-details tfoot th,
    body.woocommerce-order-received table.woocommerce-table--order-details tfoot td { padding: 6px 0 !important; }

    /* BACS: etiqueta + valor en columna */
    body.woocommerce-order-received ul.wc-bacs-bank-details li { flex-direction: column !important; align-items: flex-start !important; gap: 2px !important; }
}
/* ============================================================
   17. ESTADOS VACÍOS — EMPTY STATES
   Carrito vacío + Sin resultados de búsqueda/filtro
   ============================================================ */

/* -- CARRITO VACÍO: fondo blanco total --------------------- */
body.woocommerce-cart .woocommerce:has(.cart-empty),
body.woocommerce-cart .site-main:has(.cart-empty),
body.woocommerce-cart .content-area:has(.cart-empty) {
    background: #ffffff !important;
}

/* -- CONTENEDOR CENTRADO GENÉRICO -------------------------- */
.woocommerce-cart p.cart-empty,
.woocommerce-no-js p.cart-empty,
body.woocommerce-cart .woocommerce > p.cart-empty {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 340px !important;
    padding: 48px 32px !important;
    margin: 24px auto !important;
    max-width: 520px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 30px rgba(36,125,143,0.10) !important;
    border: 1px solid rgba(36,125,143,0.08) !important;
    font-size: 0 !important; /* Oculta el texto plano, lo reponemos con ::after */
    text-align: center !important;
    box-sizing: border-box !important;
}

/* Icono bolsa vacía (pseudo-elemento SVG inline via content) */
.woocommerce-cart p.cart-empty::before {
    content: "" !important;
    display: block !important;
    width: 72px !important;
    height: 72px !important;
    margin: 0 auto 20px !important;
    background-color: rgba(199,164,36,0.10) !important;
    border-radius: 50% !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%23C7A424' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 36px 36px !important;
    flex-shrink: 0 !important;
}

/* Texto descriptivo via ::after */
.woocommerce-cart p.cart-empty::after {
    content: "Tu carrito está vacío" !important;
    display: block !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #247D8F !important;
    font-family: 'Nunito', sans-serif !important;
    margin-bottom: 6px !important;
}

/* -- BOTÓN "VOLVER A LA TIENDA" ---------------------------- */
.woocommerce-cart .return-to-shop {
    text-align: center !important;
    padding: 0 0 40px !important;
    margin-top: -8px !important;
}
.woocommerce-cart .return-to-shop a.button,
.woocommerce-cart .return-to-shop a.wc-backward {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 25px !important;
    padding: 13px 32px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(199,164,36,0.28) !important;
    transition: all 0.22s ease !important;
}
.woocommerce-cart .return-to-shop a.button::before {
    content: "?" !important;
    font-size: 15px !important;
    line-height: 1 !important;
}
.woocommerce-cart .return-to-shop a.button:hover {
    background: #ffffff !important;
    color: var(--fb-yellow) !important;
    box-shadow: none !important;
}

/* -- SIN RESULTADOS EN CATÁLOGO/BÚSQUEDA ------------------- */
.woocommerce ul.products:empty,
.woocommerce p.woocommerce-no-products-found,
.woocommerce .woocommerce-no-products-found,
body.post-type-archive-product .woocommerce-info,
body.tax-product_cat .woocommerce-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 280px !important;
    padding: 40px 32px !important;
    margin: 16px auto 40px !important;
    max-width: 520px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 30px rgba(36,125,143,0.10) !important;
    border: 1px solid rgba(36,125,143,0.08) !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #247D8F !important;
    /* Neutralizar estilos del .woocommerce-info global (S8) */
    border-top: none !important;
    border-left: none !important;
    background-color: #ffffff !important;
}

/* Icono lupa para "sin resultados" */
.woocommerce p.woocommerce-no-products-found::before,
.woocommerce .woocommerce-no-products-found::before {
    content: "" !important;
    display: block !important;
    width: 72px !important;
    height: 72px !important;
    margin: 0 auto 20px !important;
    background-color: rgba(36,125,143,0.08) !important;
    border-radius: 50% !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 24 24' fill='none' stroke='%23247D8F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 34px 34px !important;
    flex-shrink: 0 !important;
}

/* Botón "Ver todos los productos" — sale del hook wc_no_products_found via PHP */
.woocommerce p.woocommerce-no-products-found + a,
.woocommerce .woocommerce-no-products-found + a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 25px !important;
    padding: 12px 28px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    margin-top: 20px !important;
    box-shadow: 0 4px 14px rgba(199,164,36,0.28) !important;
    transition: all 0.22s ease !important;
}
.woocommerce p.woocommerce-no-products-found + a:hover,
.woocommerce .woocommerce-no-products-found + a:hover {
    background: #ffffff !important;
    color: var(--fb-yellow) !important;
    box-shadow: none !important;
}

/* -- MÓVIL ------------------------------------------------- */
@media (max-width: 768px) {
    .woocommerce-cart p.cart-empty,
    .woocommerce p.woocommerce-no-products-found,
    .woocommerce .woocommerce-no-products-found {
        min-height: 260px !important;
        padding: 32px 20px !important;
        margin: 14px 16px !important;
        max-width: unset !important;
    }
    .woocommerce-cart p.cart-empty::after {
        font-size: 16px !important;
    }
}
/* ============================================================
   18. LISTA DE DESEOS — PÁGINA PÚBLICA
   page-id: 5898
   ============================================================ */

/* -- 1. FONDO BLANCO TOTAL --------------------------------- */
body.page-id-5898,
body.page-id-5898 #wrapper,
body.page-id-5898 #inner-wrap,
body.page-id-5898 .site,
body.page-id-5898 .site-content,
body.page-id-5898 .content-area,
body.page-id-5898 #primary,
body.page-id-5898 .site-main,
body.page-id-5898 .entry-content,
body.page-id-5898 .entry-content-wrap,
body.page-id-5898 .content-wrap,
body.page-id-5898 article {
    background-color: #ffffff !important;
    background-image: none !important;
}
body.page-id-5898 .hero-section-overlay { display: none !important; }
body.page-id-5898 .hero-container.site-container,
body.page-id-5898 .entry-hero .hero-container {
    background: #ffffff !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: unset !important;
}
body.page-id-5898 aside#secondary { display: none !important; }
body.page-id-5898 #primary {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}
body.page-id-5898 .content-container.site-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
}
body.page-id-5898 .entry-content-wrap {
    padding: 0 !important;
    background: transparent !important;
}

/* -- 2. HERO: COLAPSAR GAP COMPLETAMENTE ------------------- */
/* Si el título no está en el DOM, el entry-hero debe ser 0px  */
body.page-id-5898 .entry-hero,
body.page-id-5898 .entry-hero-container,
body.page-id-5898 .entry-hero-container-inner,
body.page-id-5898 .page-hero-section,
body.page-id-5898 .entry-header {
    background-color: #ffffff !important;
    background-image: none !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
    display: block !important;
}
body.page-id-5898 .entry-hero::before,
body.page-id-5898 .entry-hero::after,
body.page-id-5898 .entry-hero-container::before,
body.page-id-5898 .entry-hero-container-inner::before,
body.page-id-5898 .entry-hero-container-inner::after {
    display: none !important;
    content: none !important;
    height: 0 !important;
}

/* -- 3. TÍTULO — APARECE CON PADDING SOLO SI EXISTE H1 ----- */
body.page-id-5898 h1.entry-title,
body.page-id-5898 .entry-header h1,
body.page-id-5898 .entry-hero h1 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 42px !important;
    letter-spacing: 3px !important;
    color: #247D8F !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    margin: 0 !important;
    padding: 20px 0 10px !important;
    text-align: center !important;
    line-height: 1.2 !important;
    font-family: 'Nunito', sans-serif !important;
    background: transparent !important;
}

/* -- 4. CONTENEDOR TARJETA PRINCIPAL ----------------------- */
body.page-id-5898 .woocommerce,
body.page-id-5898 .entry-content {
    background: transparent !important;
}
body.page-id-5898 .tinv-wishlist {
    max-width: 1100px !important;
    margin: 16px auto 50px !important;
    padding: 28px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(36,125,143,0.10) !important;
    border: 1px solid rgba(36,125,143,0.08) !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}
body.page-id-5898 .tinv-wishlist .tinv-header h2 {
    display: none !important;
}

/* -- 5. TABLA PC ------------------------------------------- */
body.page-id-5898 .tinv-wishlist table.tinvwl-table-manage-list {
    width: 100% !important;
    min-width: 700px !important;
    border-collapse: collapse !important;
    background: transparent !important;
}
body.page-id-5898 .tinv-wishlist table thead th {
    color: #247D8F !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 10px 14px !important;
    border-bottom: 2px solid rgba(36,125,143,0.12) !important;
    background: rgba(36,125,143,0.05) !important;
    white-space: nowrap !important;
    text-align: center !important;
}
body.page-id-5898 .tinv-wishlist table tbody tr {
    border-bottom: 1px solid rgba(36,125,143,0.09) !important;
    background: transparent !important;
    transition: background 0.2s !important;
}
body.page-id-5898 .tinv-wishlist table tbody tr:last-child { border-bottom: none !important; }
body.page-id-5898 .tinv-wishlist table tbody tr:hover { background: #f5f9fa !important; }
body.page-id-5898 .tinv-wishlist table tbody td {
    padding: 15px 10px !important;
    vertical-align: middle !important;
    color: #247D8F !important;
    text-align: center !important;
    font-size: 14px !important;
    background: transparent !important;
}
body.page-id-5898 .tinv-wishlist table td img {
    width: 72px !important;
    height: 72px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    display: block !important;
    margin: 0 auto !important;
}
body.page-id-5898 .tinv-wishlist table td.product-name a {
    font-weight: 700 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    color: #247D8F !important;
    transition: color 0.2s !important;
}
body.page-id-5898 .tinv-wishlist table td.product-name a:hover {
    color: var(--fb-yellow) !important;
}
body.page-id-5898 .tinv-wishlist table td[class*="price"],
body.page-id-5898 .tinv-wishlist table td[class*="price"] * {
    font-weight: 800 !important;
    color: var(--fb-yellow) !important;
    font-size: 15px !important;
}
body.page-id-5898 .tinv-wishlist table td[class*="stock"] {
    font-weight: 600 !important;
    font-size: 12px !important;
}

/* -- 6. BOTÓN ELIMINAR — BOLA AMARILLA CON X BLANCA -------- */
body.page-id-5898 .tinv-wishlist table td.product-remove button,
body.page-id-5898 .tinv-wishlist table td.product-remove a,
body.page-id-5898 .tinv-wishlist table td button.tinvwl-remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: var(--fb-yellow) !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    position: relative !important;
    padding: 0 !important;
    font-size: 0 !important;
    color: transparent !important;
    box-shadow: 0 2px 8px rgba(199,164,36,0.30) !important;
    text-decoration: none !important;
}
body.page-id-5898 .tinv-wishlist table td.product-remove button::after,
body.page-id-5898 .tinv-wishlist table td.product-remove a::after,
body.page-id-5898 .tinv-wishlist table td button.tinvwl-remove::after {
    content: "\00d7" !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1 !important;
    font-family: Arial, sans-serif !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}
body.page-id-5898 .tinv-wishlist table td.product-remove button i,
body.page-id-5898 .tinv-wishlist table td.product-remove button span,
body.page-id-5898 .tinv-wishlist table td button.tinvwl-remove i {
    display: none !important;
}
body.page-id-5898 .tinv-wishlist table td.product-remove button:hover,
body.page-id-5898 .tinv-wishlist table td button.tinvwl-remove:hover {
    background: #a88b1f !important;
    box-shadow: none !important;
}

/* -- 7. BOTÓN AÑADIR AL CARRITO — FIX ICONO + TEXTO -------- */
body.page-id-5898 .tinv-wishlist table td[class*="action"] .button,
body.page-id-5898 .tinv-wishlist table td[class*="action"] button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 20px !important;
    padding: 9px 20px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 3px 10px rgba(199,164,36,0.25) !important;
    letter-spacing: 0.5px !important;
}
body.page-id-5898 .tinv-wishlist table td[class*="action"] .button i,
body.page-id-5898 .tinv-wishlist table td[class*="action"] .button span.tinvwl-txt,
body.page-id-5898 .tinv-wishlist table td[class*="action"] button i,
body.page-id-5898 .tinv-wishlist table td[class*="action"] button span.tinvwl-txt {
    display: none !important;
}
body.page-id-5898 .tinv-wishlist table td[class*="action"] .button::after,
body.page-id-5898 .tinv-wishlist table td[class*="action"] button::after {
    content: "A\00f1""adir al carrito" !important;
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: inherit !important;
    letter-spacing: 0.5px !important;
}
body.page-id-5898 .tinv-wishlist table td[class*="action"] .button:hover,
body.page-id-5898 .tinv-wishlist table td[class*="action"] button:hover {
    background-color: #ffffff !important;
    color: var(--fb-yellow) !important;
    box-shadow: none !important;
}

/* -- 8. BARRA DE ACCIONES INFERIOR ------------------------- */
body.page-id-5898 .tinv-wishlist .tinvwl-to-right,
body.page-id-5898 .tinv-wishlist form > div:last-child {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 20px 0 6px !important;
    border-top: 1px solid rgba(36,125,143,0.12) !important;
    margin-top: 10px !important;
    background: transparent !important;
}
body.page-id-5898 .tinv-wishlist select,
body.page-id-5898 .tinv-wishlist select#tinvwl_product_actions,
body.page-id-5898 .tinv-wishlist select[name="product_actions"] {
    height: 44px !important;
    border: 1.5px solid rgba(36,125,143,0.30) !important;
    border-radius: 22px !important;
    padding: 0 35px 0 20px !important;
    color: #247D8F !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23247D8F' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
    transition: border-color 0.2s !important;
}
body.page-id-5898 .tinv-wishlist select:focus {
    border-color: var(--fb-yellow) !important;
    outline: none !important;
}
body.page-id-5898 .tinv-wishlist button[name*="tinvwl-action"] {
    height: 44px !important;
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 22px !important;
    padding: 0 24px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 3px 10px rgba(199,164,36,0.22) !important;
}
body.page-id-5898 .tinv-wishlist button[name*="tinvwl-action"]:hover {
    background: #ffffff !important;
    color: var(--fb-yellow) !important;
    box-shadow: none !important;
}
body.page-id-5898 .tinv-wishlist button[name*="tinvwl-action"] i { display: none !important; }

body.page-id-5898 .tinv-wishlist button[name="tinvwl-action-product_apply"] { font-size: 0 !important; }
body.page-id-5898 .tinv-wishlist button[name="tinvwl-action-product_apply"]::after {
    content: "Aplicar" !important; font-size: 12px !important; font-family: Arial, sans-serif !important;
}
body.page-id-5898 .tinv-wishlist button[name="tinvwl-action-product_add_to_cart_selected"] { font-size: 0 !important; }
body.page-id-5898 .tinv-wishlist button[name="tinvwl-action-product_add_to_cart_selected"]::after {
    content: "A\00f1""adir seleccionados" !important; font-size: 12px !important; font-family: Arial, sans-serif !important;
}
body.page-id-5898 .tinv-wishlist button[name="tinvwl-action-product_add_to_cart_all"] { font-size: 0 !important; }
body.page-id-5898 .tinv-wishlist button[name="tinvwl-action-product_add_to_cart_all"]::after {
    content: "A\00f1""adir todo" !important; font-size: 12px !important; font-family: Arial, sans-serif !important;
}

/* -- 9. MÓVIL =768px — TARJETAS APILADAS ------------------ */
@media (max-width: 768px) {

    /* FIX GAP MÓVIL: Elementor inyecta containers vacíos en mobile  */
    body.page-id-5898 .elementor-hidden-mobile,
    body.page-id-5898 [class*="elementor-hidden-mobile"] {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.page-id-5898 h1.entry-title {
        font-size: 26px !important;
        letter-spacing: 2px !important;
        padding: 14px 16px 8px !important;
    }

    body.page-id-5898 .tinv-wishlist {
        padding: 14px 12px !important;
        margin: 8px 12px 40px !important;
        overflow-x: visible !important;
    }

    body.page-id-5898 .tinv-wishlist table.tinvwl-table-manage-list {
        display: block !important;
        min-width: unset !important;
        width: 100% !important;
    }
    body.page-id-5898 .tinv-wishlist table thead { display: none !important; }
    body.page-id-5898 .tinv-wishlist table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
    }
    body.page-id-5898 .tinv-wishlist table tbody tr {
        display: grid !important;
        grid-template-columns: 32px 80px 1fr !important;
        grid-template-areas:
            "del  img  name"
            ".    img  price"
            ".    img  stock"
            ".    .    action" !important;
        gap: 4px 10px !important;
        padding: 14px 10px !important;
        background: #f5f9fa !important;
        border-radius: 12px !important;
        border: 1px solid rgba(36,125,143,0.10) !important;
        border-bottom: 1px solid rgba(36,125,143,0.10) !important;
        align-items: start !important;
    }
    body.page-id-5898 .tinv-wishlist table tbody td {
        display: block !important;
        padding: 0 !important;
        border: none !important;
        text-align: left !important;
        font-size: 13px !important;
        background: transparent !important;
    }
    body.page-id-5898 .tinv-wishlist table td.product-remove   { grid-area: del !important; padding-top: 4px !important; }
    body.page-id-5898 .tinv-wishlist table td.product-thumbnail { grid-area: img !important; }
    body.page-id-5898 .tinv-wishlist table td.product-name      { grid-area: name !important; }
    body.page-id-5898 .tinv-wishlist table td[class*="price"]   { grid-area: price !important; }
    body.page-id-5898 .tinv-wishlist table td[class*="stock"]   { grid-area: stock !important; font-size: 11px !important; }
    body.page-id-5898 .tinv-wishlist table td[class*="action"]  { grid-area: action !important; }

    body.page-id-5898 .tinv-wishlist table td img {
        width: 72px !important;
        height: 72px !important;
        margin: 0 !important;
    }
    body.page-id-5898 .tinv-wishlist table td.product-name a {
        font-size: 13px !important;
        word-break: break-word !important;
    }
    body.page-id-5898 .tinv-wishlist table td[class*="action"] .button,
    body.page-id-5898 .tinv-wishlist table td[class*="action"] button {
        width: 100% !important;
        margin-top: 6px !important;
        padding: 10px !important;
        font-size: 11px !important;
        border-radius: 16px !important;
        justify-content: center !important;
    }
    body.page-id-5898 .tinv-wishlist .tinvwl-to-right,
    body.page-id-5898 .tinv-wishlist form > div:last-child {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    body.page-id-5898 .tinv-wishlist select,
    body.page-id-5898 .tinv-wishlist button[name*="tinvwl-action"] {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}
/* ============================================================
   19. CONTRASEÑA PERDIDA — LOST PASSWORD
   Selector: body.page-id-5854 .woocommerce-ResetPassword
   ============================================================ */

/* -- TARJETA CENTRADA -------------------------------------- */
body.page-id-5854 .woocommerce-ResetPassword {
    max-width: 480px !important;
    width: 100% !important;
    margin: 20px auto 60px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(36,125,143,0.08) !important;
    border: 1px solid rgba(36,125,143,0.05) !important;
    padding: 36px 40px !important;
    box-sizing: border-box !important;
}

/* -- TEXTO EXPLICATIVO ------------------------------------- */
body.page-id-5854 .woocommerce-ResetPassword > p {
    font-size: 14px !important;
    color: #247D8F !important;
    line-height: 1.7 !important;
    margin: 0 0 24px !important;
    text-align: center !important;
    font-weight: 500 !important;
}

/* -- LABEL ------------------------------------------------- */
body.page-id-5854 .woocommerce-ResetPassword .form-row label {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #1a5f6e !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: block !important;
    margin-bottom: 6px !important;
}

/* -- INPUT ------------------------------------------------- */
body.page-id-5854 .woocommerce-ResetPassword .form-row input[type="text"],
body.page-id-5854 .woocommerce-ResetPassword .form-row input[type="email"] {
    width: 100% !important;
    border: 1.5px solid rgba(36,125,143,0.25) !important;
    border-radius: 10px !important;
    padding: 13px 16px !important;
    font-size: 14px !important;
    color: #247D8F !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
body.page-id-5854 .woocommerce-ResetPassword .form-row input:focus {
    border-color: var(--fb-yellow) !important;
    box-shadow: 0 0 0 3px rgba(199,164,36,0.12) !important;
}

/* -- BOTÓN RESTABLECER ------------------------------------- */
body.page-id-5854 .woocommerce-ResetPassword .form-row button[type="submit"],
body.page-id-5854 .woocommerce-ResetPassword .form-row input[type="submit"] {
    display: block !important;
    width: 100% !important;
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: 2px solid var(--fb-yellow) !important;
    border-radius: 25px !important;
    padding: 14px 24px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 14px rgba(199,164,36,0.28) !important;
    margin-top: 8px !important;
    box-sizing: border-box !important;
}
body.page-id-5854 .woocommerce-ResetPassword .form-row button[type="submit"]:hover,
body.page-id-5854 .woocommerce-ResetPassword .form-row input[type="submit"]:hover {
    background: #ffffff !important;
    color: var(--fb-yellow) !important;
    box-shadow: none !important;
}

/* -- NOTICES (éxito / error) ------------------------------- */
body.page-id-5854 .woocommerce-ResetPassword .woocommerce-message {
    background: var(--fb-yellow) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}
body.page-id-5854 .woocommerce-ResetPassword .woocommerce-message::before { display: none !important; }

body.page-id-5854 .woocommerce-ResetPassword .woocommerce-error {
    background: #fff0f0 !important;
    color: #c0392b !important;
    border-left: 4px solid #c0392b !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    list-style: none !important;
    margin-bottom: 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}
body.page-id-5854 .woocommerce-ResetPassword .woocommerce-error li::before { display: none !important; }

/* -- MÓVIL ------------------------------------------------- */
@media (max-width: 768px) {
    body.page-id-5854 .woocommerce-ResetPassword {
        margin: 12px 16px 50px !important;
        padding: 28px 22px !important;
        max-width: unset !important;
        border-radius: 14px !important;
    }
    body.page-id-5854 .woocommerce-ResetPassword .form-row input[type="text"],
    body.page-id-5854 .woocommerce-ResetPassword .form-row input[type="email"] {
        padding: 15px 16px !important;
        font-size: 15px !important;
    }
    body.page-id-5854 .woocommerce-ResetPassword .form-row button[type="submit"],
    body.page-id-5854 .woocommerce-ResetPassword .form-row input[type="submit"] {
        padding: 15px !important;
        font-size: 15px !important;
        border-radius: 20px !important;
    }
}