/* =========================================
   CSS GLOBAL NEXUM (ESTRUCTURA + HEADER)
   Exportado del Additional CSS de Astra (customizer).
   ========================================= */

/* --- 1. ESTRUCTURA: ELIMINAR ESPACIOS BLANCOS DEL TEMA --- */
.site-header, header#masthead {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.site-content, #content, .page-wrap, .entry-content {
    margin-top: -1px !important;
    padding-top: 0 !important;
}
.vc_row-no-padding:first-child .vc_column_container, .vc_row:first-child {
    margin-top: -2px !important;
    padding-top: 0 !important;
}
.page-header, .page-title-wrap {
    display: none !important;
}

/* --- 2. MENÚ: DESTACADO NARANJA --- */
.menu-destacado-naranja > a {
    color: #F49815 !important;
    font-weight: 700 !important;
}
.menu-destacado-naranja > a:hover {
    border-bottom: 2px solid #F49815;
}

/* --- 3. CARRITO FLOTANTE (WPC) --- */
div[class*="woofc-count"] {
    /* Posición: alineado con WhatsApp */
    bottom: 100px !important;
    right: 20px !important;
    z-index: 999999 !important;

    /* Estética: redondo, sombra y centrado */
    border-radius: 50% !important;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.3) !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* --- 4. OCULTAR CARRITO FANTASMA EN MENÚ DE TEXTO --- */
.nav-menu .woofc-menu-item,
.menu-item .woofc-menu-item-link {
    display: none !important;
}

/* --- AVISO DE ENVÍOS EN FICHA DE PRODUCTO --- */
.nexum-alert-box {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: 'Sora', sans-serif;
    line-height: 1.4;
    font-size: 14px;
}

.nexum-alert-box .nexum-icon {
    font-size: 24px;
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

.nexum-flash {
    background-color: #FFF8E1;
    border: 1px solid #FFC107;
    color: #333;
}
.nexum-flash .highlight {
    color: #F49815;
    font-weight: 800;
    text-transform: uppercase;
}
.nexum-flash small {
    display: block;
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}

.nexum-normal {
    background-color: #f9fbfb;
    border: 1px solid #e0e0e0;
    color: #555;
}

.nexum-preventa {
    background-color: #fff4f4;
    border: 1px dashed #e74c3c;
    color: #c0392b;
}

.nexum-woofc-preventa {
    display: block;
    margin: 4px 0 2px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    color: #c0392b;
}

.woocommerce .variation-DISPONIBILIDAD,
.woocommerce .variation-DISPONIBILIDAD p,
.nexum-cart-preventa {
    color: #c0392b;
    font-weight: 600;
}

.nexum-flete {
    background-color: #e3f2fd;
    border: 1px solid #2196F3;
    color: #0d47a1;
}

.nexum-vol {
    background-color: #fff8f0;
    border: 1px solid #F49815;
    color: #5d4037;
}

.nexum-paquetes {
    background-color: #f9fbfb;
    border: 1px solid #e0e0e0;
    color: #555;
}

body.single-post h2,
body.single-post h3 {
    color: #00A599 !important;
}

body.single-post h2 {
    font-size: 24px !important;
    border-bottom: 3px solid #f49815;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

body.single-post h3 {
    font-size: 20px !important;
}

/* --- CUOTAS SIN INTERÉS (también en mu-plugin; refuerzo visual) --- */
.nexum-cuotas {
    background-color: #FFF8E1;
    border: 1px solid #F49815;
    color: #212121;
    margin-top: 12px;
    margin-bottom: 14px;
}
.nexum-cuotas--projected {
    border-color: #00A599;
    background-color: #E8F7F5;
}
.nexum-cuotas .nexum-icon {
    font-size: 18px;
    font-weight: 700;
    color: #F49815;
}
.nexum-cuotas--projected .nexum-icon {
    color: #00A599;
}
.nexum-cuotas .nexum-cuotas-mes {
    display: block;
    margin-top: 4px;
    font-weight: 600;
    color: #00A599;
}
.nexum-cuotas-mp-note {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.35;
    color: #757575;
    font-weight: 400;
}
.nexum-cuotas-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    max-width: 360px;
    margin-left: auto;
    padding: 12px 16px;
    background: #212121;
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 99999;
}
.nexum-cuotas-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}


@media (min-width: 922px) {
    .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link {
        padding-left: 12px !important;
        padding-right: 12px !important;
        font-size: 14px !important;
    }
}

/* Logo: 129×40 en celular y en escritorio. El trazo del pie y de la ®
   se engrosa solo desde 1200 px, sin agrandar la caja. */
.custom-logo-link svg.custom-logo {
    width: 129px !important;
    height: 40px !important;
    display: block;
}
@media (min-width: 1200px) {
    .ast-desktop .custom-logo .nexum-logo-tagline {
        stroke: #ffffff;
        stroke-width: 6;
        stroke-linejoin: round;
        stroke-linecap: butt;
    }
    .ast-desktop .custom-logo .nexum-logo-reg {
        stroke: #ffffff;
        stroke-width: 3;
        stroke-linejoin: round;
        stroke-linecap: round;
    }
}
