/* --- LIMPIEZA DE ESTRUCTURA Y ENCUADRE --- */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- MENÚ SUPERIOR REFINADO --- */
.lb-menu-universal-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999999;
    background: #003366;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Aumentamos el espacio para que el carrito y el logo bajen y no se tapen */
body { 
    padding-top: 75px !important; 
}

/* --- DISEÑO DEL BOTÓN MÁS ESTILIZADO --- */
.lb-btn-header {
    max-width: 1200px;
    margin: 0 auto;
    background: #003366;
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
}

/* --- DISEÑO DEL DESPLEGABLE --- */
.lb-dropdown-content {
    display: none;
    background: white;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.lb-dropdown-content a {
    display: block;
    padding: 14px 25px;
    color: #0073B7 !important;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.lb-dropdown-content a:hover {
    background: #f8f9fa;
    color: #F5A623 !important;
}

/* AJUSTE PARA PC */
@media (min-width: 769px) {
    .lb-btn-header { border-radius: 0 0 8px 8px; width: auto; min-width: 300px; }
}

/* --- LIMPIEZA DE ESTRUCTURAS INNECESARIAS --- */
.dokan-form-group.dokan-product-short-description,
.dokan-form-group.dokan-product-tags,
.dokan-form-group.dokan-product-sku,
.dokan-form-group.dokan-product-shipping .dokan-shipping-container,
.dokan-other-options,
.dokan-form-group.dokan-product-brand, 
.dokan-form-group.term-product_brand,
.dokan-form-group.dokan-product-brands,
.dokan-brand-search-box,
label[for="product_brand"],
label[for="product_tag_search"],
.content-half-part.downloadable-virtual,
.dokan-product-type-container label[for="_virtual"],
.dokan-product-type-container label[for="_downloadable"],
.post-type-archive-product #comments,
.tax-product_cat #comments,
.post-type-archive-product #reviews,
.tax-product_cat #reviews,
.post-type-archive-product .ast-single-post-navigation,
.shop-page #comments,
.entry-meta .published, 
.entry-meta .updated,
.ast-post-date,
.ast-woo-product-category-meta,
.product .entry-meta,
.post-type-archive-product .related.products,
.tax-product_cat .related.products,
.ast-separate-container .ast-article-post, 
.ast-separate-container .ast-article-single,
.ast-article-single .comments-area,
.woocommerce-Tabs-panel--reviews h2, 
.woocommerce-Reviews-title,
.archive.post-type-archive-product .related.products,
.ast-related-posts-wrapper,
.ast-single-related-posts-container,
.ast-separate-container .ast-single-related-posts-container,
section.related.products,
.up-sells.upsells.products,
.cross-sells,
#wcfmmp-store-more-products,
.wcfmmp-store-related-products,
.wcfm-related-products,
.post-navigation,
.ast-post-navigation {
    display: none !important;
}

.ast-separate-container .ast-article-post, 
.ast-separate-container .ast-article-single {
    border-bottom: none !important;
}

/* ======================================================= */
/* RECTIFICACIÓN: ELIMINACIÓN ABSOLUTA MODO NOCHE / OSCURO */
/* ======================================================= */

/* 1. Ocultar el interruptor visual por completo si fue creado por código */
.ast-header-dark-mode-wrap,
.ast-dark-mode-switcher,
#ast-hf-menu-dark-mode,
.menu-item-dark-mode-switcher,
.dark-mode-toggle,
[class*="dark-mode"],
[id*="dark-mode"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

/* 2. Blindaje de contraste: Forzar al mapa y registro a mantenerse en modo claro */
.leaflet-container, 
#lb-map-wrapper, 
#lb_mapa_registro,
.woocomemrce-account,
.ast-header-bar-inner {
    background-color: #ffffff !important;
    color: #333333 !important;
}

/* El recuadro amarillo del mapa en el registro siempre legible */
div[style*="background: #fffbe6"] {
    background-color: #fffbe6 !important;
    border-color: #ffe58f !important;
    color: #856404 !important;
}