/* ====================================================
   1. ASTRA THEME: LIMPIEZA DE ESPACIOS Y FOOTER
   ==================================================== */
.site-content, 
.ast-container, 
.site-main, 
.entry-content,
.ast-article-single {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.site-footer, 
.ast-builder-footer-wrapper,
.site-primary-footer-wrap {
    display: none !important;
}

p:empty {
    display: none !important;
}

/* ====================================================
   2. COOKIEYES: DISEÑO LUXURY MAISON FARAHAT
   ==================================================== */

/* Contenedor del banner (Fondo negro, SIN bordes ni líneas blancas) */
.cky-consent-bar, .cky-consent-container {
    background-color: #050505 !important;
    border: none !important; 
    outline: none !important;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.95) !important;
    padding: 30px 20px !important;
}

/* Eliminar el icono de la galleta, el logo y el botón flotante */
.cky-banner-icon, 
.cky-banner-logo,
.cky-btn-revisit-wrapper,
.cky-revisit-bottom-left,
.cky-revisit-bottom-right {
    display: none !important;
}

/* Título */
.cky-title {
    font-family: 'Cormorant Garamond', serif !important;
    color: #ffffff !important;
    font-size: 26px !important;
    font-weight: 300 !important;
    font-style: italic !important;
    margin-bottom: 10px !important;
}

/* Texto de la descripción */
.cky-notice-des, .cky-notice-des * {
    color: #bbbbbb !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 11px !important;
    line-height: 1.8 !important;
    letter-spacing: 1px !important;
}

/* Enlace de Leer Más */
.cky-notice-des a {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
}

/* Contenedor de los botones */
.cky-notice-btn-wrapper {
    justify-content: flex-end !important;
    gap: 15px !important;
    margin-top: 20px !important;
}

/* Botón ACEPTAR TODO */
.cky-btn-accept {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 9px !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    border-radius: 2px !important;
    padding: 15px 30px !important;
    transition: all 0.4s ease !important;
}
.cky-btn-accept:hover {
    background-color: transparent !important;
    color: #ffffff !important;
}

/* Botones RECHAZAR y CONFIGURAR */
.cky-btn-reject, .cky-btn-customize {
    background-color: transparent !important;
    color: #888888 !important;
    border: 1px solid #333333 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 9px !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    border-radius: 2px !important;
    padding: 15px 30px !important;
    transition: all 0.4s ease !important;
}
.cky-btn-reject:hover, .cky-btn-customize:hover {
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* ====================================================
   3. COOKIEYES: PANEL DE CONFIGURACIÓN Y MÓVIL
   ==================================================== */

/* Fondo del panel modal */
.cky-preference-center {
    background-color: #050505 !important;
    border: 1px solid #1a1a1a !important;
}

/* Textos interiores legibles */
.cky-preference-center, 
.cky-preference-center *,
.cky-accordion-header-des {
    color: #cccccc !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* Títulos del panel */
.cky-preference-title, 
.cky-accordion-header-title {
    color: #ffffff !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 22px !important;
    font-weight: 300 !important;
}

/* Fondos transparentes y bordes limpios en las cajas interiores */
.cky-preference-header, .cky-preference-body, .cky-accordion-header {
    background-color: transparent !important;
    border-bottom: 1px solid #1a1a1a !important;
}

/* Botón de cerrar (X) */
.cky-btn-close {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
}
.cky-btn-close:hover {
    color: #8c001a !important;
}

/* Interruptores (Switches) en Blanco y Negro */
.cky-switch input[type="checkbox"]:checked + .cky-slider {
    background-color: #ffffff !important; 
}
.cky-switch input[type="checkbox"]:checked + .cky-slider:before {
    background-color: #000000 !important;
}

/* Optimización para Móviles */
@media (max-width: 768px) {
    .cky-notice-btn-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-top: 25px !important;
    }
    
    .cky-btn-accept, 
    .cky-btn-reject, 
    .cky-btn-customize {
        width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
    }
}