/*
 Theme Name:   Las Rozas Mola Child
 Description:  Tema hijo para el ecosistema Skyline de Las Rozas
 Author:       Gemma Taracido
 Template:     skt-directory
 Version:      1.0.0
*//*
 Theme Name:    Las Rozas Mola Child
 Description:  Tema hijo para el ecosistema Skyline de Las Rozas
 Author:        Gemma Taracido
 Template:      skt-directory
 Version:       1.0.0
*/


#mola-map-container {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 2px solid #eee;
}

/*cambio de contraseña*/
 
    
    .btn-primary-mola:hover { background: #fbc02d !important; color: #033457 !important; }


/* --- 1. CABECERA ESCRITORIO SKYLINE (CON AVATAR Y FLECHA) --- */

/* --- CONTROL DE MENÚ Y CAPAS CRÍTICAS --- */
.has_trans_header .header_wrap, 
header#masthead {
    z-index: 99999 !important;
    position: relative !important;
}

.header {
    height: 100px !important;
}

.logo img {
    position: relative !important;
    z-index: 100000 !important;
}

/* PERMITIR CLICS EN ELEMENTOS CLAVE */
.mola-header-content, .mola-back-ball, .btn-upload {
    pointer-events: auto !important;
}



/* AVATAR CIRCULAR */
.dashboard-avatar-container {
    position: absolute !important; /* Lo sacamos del flujo de texto */
    top: -75px !important; /* Lo subimos para que quede mitad fuera, mitad dentro */
    left: 50% !important;
    transform: translateX(-50%) !important; /* Lo centramos perfecto */
    width: 80px !important;
    height: 80px !important;
    min-width: 90px !important;
    min-height: 90px !important;
    background: #fff !important;
    border: 4px solid #fbc02d !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    z-index: 9999 !important; /* Alto, pero menor que el menú */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    pointer-events: auto !important; /* Queremos que se pueda clicar */
}

.dashboard-avatar-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .dashboard-avatar-container {
        width: 75px !important;
        height: 75px !important;
        min-width: 75px !important;
        min-height: 75px !important;
        top: -57px !important;
    }
    .mola-header-content {
        padding-top: 50px !important;
    }
}


    /* Inputs Estilo Mola */
    .mola-input-group { text-align: left; margin-bottom: 20px; }
    .mola-input-group label { display: block; font-weight: 700; font-size: 12px; color: #333; margin-bottom: 8px; text-transform: uppercase; }
    
    .input-with-icon { position: relative; }
    .input-with-icon i { position: absolute; left: 15px; top: 15px; color: #aaa; }
    .input-with-icon input { 
        width: 100%; padding: 12px 15px 12px 45px; border: 2px solid #f0f0f0; 
        border-radius: 12px; background: #fafafa; transition: 0.3s; box-sizing: border-box;
    }
    .input-with-icon input:focus { border-color: #fbc02d; background: #fff; outline: none; }

    .btn-mola-full { 
        background: #033457; color: #fff; width: 100%; padding: 15px; border-radius: 50px; 
        border: none; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: 0.3s;
    }
    .btn-mola-full:hover { background: #fbc02d; color: #033457; transform: translateY(-2px); }

    .mola-notice { padding: 12px; border-radius: 10px; font-size: 13px; margin-bottom: 20px; text-align: left; }
    .mola-notice.error { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }
    .mola-notice.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }


/*.  FICHA ACCESO LOGIN, REGISTRO, RECUPERACION CONTRASEÑA, CAMBIO CLAVE */

    .mola-auth-bg { background: #f4f7f6; padding-bottom: 60px; min-height: 80vh; }
    
    .mola-auth-card { 
        max-width: 660px; 
        margin: -20px auto 0 !important; /* Solapado perfecto */
        background: #fff; 
        padding: 40px; 
        border-radius: 30px; 
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        text-align: center;
        position: relative;
        z-index: 999;
        border-bottom: 6px solid #fbc02d;
    }

    .mola-auth-card h2 { color: #033457; font-weight: 800; margin-bottom: 5px; }
    .auth-intro { color: #666; font-size: 14px; margin-bottom: 25px; line-height: 1.6; }

    /* Inputs Estilo Mola */
    .mola-input-group { text-align: left; margin-bottom: 20px; }
    .mola-input-group label { display: block; font-weight: 700; font-size: 12px; color: #333; margin-bottom: 8px; text-transform: uppercase; }
    
    .input-with-icon { position: relative; }
    .input-with-icon i { position: absolute; left: 15px; top: 15px; color: #aaa; }
    .input-with-icon input { 
        width: 100%; 
        padding: 12px 15px 12px 45px; 
        border: 2px solid #f0f0f0; 
        border-radius: 12px; 
        background: #fafafa; 
        transition: 0.3s;
        box-sizing: border-box;
    }
    .input-with-icon input:focus { border-color: #fbc02d; background: #fff; outline: none; }

    /* Botón Mola */
    .btn-mola-full { 
        background: #033457; 
        color: #fff; 
        width: 100%; 
        padding: 15px; 
        border-radius: 50px; 
        border: none; 
        font-weight: 800; 
        text-transform: uppercase; 
        cursor: pointer; 
        transition: 0.3s;
        box-shadow: 0 5px 15px rgba(3,52,87,0.3);
    }
    .btn-mola-full:hover { background: #fbc02d; color: #033457; transform: translateY(-2px); }

    .mola-notice.error { background: #ffebee; color: #c62828; padding: 12px; border-radius: 10px; font-size: 13px; margin-bottom: 20px; text-align: left; }
    
    .mola-auth-links { margin-top: 25px; font-size: 13px; color: #888; }
    .mola-auth-links a { color: #033457; font-weight: 800; text-decoration: none; border-bottom: 2px solid #fbc02d; }

    
    .mola-register-invitation h2 { color: #033457; font-weight: 800; margin-bottom: 15px; text-align: center; }
    .skt-login-register-form-control label { font-weight: 700; color: #333; font-size: 13px; }
    .do_input, input[type="text"], input[type="email"], input[type="password"] { 
        width: 100%; padding: 12px; border: 2px solid #f0f0f0; border-radius: 12px; background: #fafafa; margin-top: 5px;
    }
    #submits { 
        background: #033457; color: white; border: none; padding: 15px; width: 100%; 
        border-radius: 50px; font-weight: 800; cursor: pointer; margin-top: 20px;
    }
    #submits:hover { background: #fbc02d; color: #033457; }



/* --- POSICIONAMIENTO CORRECTO DEL AVATAR --- */







.mola-subtitle {
    color: #fbc02d !important;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

/* --- 2. BOTÓN VOLVER (LA FLECHITA RECUPERADA) --- */

.mola-integrated-header a.mola-back-btn { 
    position: absolute !important; 
    top: 120px !important; 
    left: 15px !important; 
    z-index: 9999 !important;
    width: 40px !important;
    height: 40px !important;
    background: #fbc02d !important; 
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    border: none !important;
}

.mola-integrated-header a.mola-back-btn span { display: none !important; }

.mola-integrated-header a.mola-back-btn i { 
    color: #033457 !important; 
    font-size: 18px !important; 
    margin: 0 !important;
}


/*REGISTRO EMPRESA*/
  
    .mola-h2 { color: #033457; font-weight: 800; text-align: center; margin-bottom: 15px; font-size: 24px; line-height: 1.2; }
    .auth-intro { color: #666; font-size: 15px; text-align: center; margin-bottom: 25px; }
    
    .mola-benefits-grid { 
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px; 
        background: #f8fafd; padding: 20px; border-radius: 15px; margin-bottom: 30px;
    }
    .benefit-item { font-size: 13px; color: #033457; font-weight: 600; display: flex; align-items: center; gap: 8px; }
    .benefit-item i { color: #fbc02d; }

    .mola-input-group { margin-bottom: 20px; text-align: left; }
    .mola-input-group label { display: block; font-weight: 700; font-size: 12px; color: #333; margin-bottom: 8px; text-transform: uppercase; }
    .mola-input-group input { 
        width: 100%; padding: 14px; border: 2px solid #f0f0f0; border-radius: 12px; 
        background: #fafafa; box-sizing: border-box; font-size: 15px;
    }
    .mola-input-group input:focus { border-color: #fbc02d; outline: none; background: #fff; }

    .btn-mola-reg { 
        background: #033457; color: #fff; width: 100%; padding: 18px; border-radius: 50px; 
        border: none; font-weight: 800; cursor: pointer; margin-top: 10px; font-size: 16px;
    }
    .btn-mola-reg:hover { background: #fbc02d; color: #033457; transform: translateY(-2px); }


/* --- DISEÑO FICHA PÚBLICA MOLA --- */

.mola-minisite { /*padding-top: 120px;*/ background: #fdfdfd; padding-bottom: 60px;}




aside .mola-side-card { background: white; padding: 25px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: center; position: relative; z-index: 10; border: 1px solid #eee; }


.mola-verified-badge { color: #2e7d32; font-weight: 800; font-size: 13px; margin-bottom: 15px; display: block; }

.mola-social-row { display: flex; gap: 8px; justify-content: center; margin: 15px 0; }
.mola-social-row > div { flex: 1; }

.mola-social-row button, 
.mola-social-row a, 
.mola-social-row .skt-share-btn { 
    height: 40px !important; 
    font-family: inherit !important; 
    font-weight: 800 !important; 
    font-size: 11px !important; 
    text-transform: uppercase !important; 
    border-radius: 8px !important; 
    display: flex !important; 
    align-items: center; 
    justify-content: center; 
    width: 100% !important; 
}

.mola-section-title { font-weight: 800; color: #033457; margin: 30px 0 15px 0; border-bottom: 2px solid #fbc02d; display: inline-block; padding-bottom: 5px; }

.mola-btn { display: block; padding: 12px; border-radius: 10px; text-decoration: none; font-weight: 800; margin-bottom: 10px; text-align: center; text-transform: uppercase; font-size: 12px; }
.mola-btn-wa { background: #25d366; color: white; }
.mola-btn-web { background: #033457; color: white; }


    /* Ocultamos el avatar circular del banner azul en esta página */
   .mola-minisite .dashboard-avatar-container { 
        display: none !important; 
    }

    /* 1. Reducimos el aire por arriba y por abajo en el banner azul */
    .mola-minisite .mola-header-overlay { 
        /*padding-top: 65px !important;
        padding-bottom: 20px !important;*/
        min-height: 150px !important; 
    }

    .mola-minisite .mola-integrated-header {
        height: auto !important;
        /*min-height: 150px !important;*/
    }

   
.mola-minisite .mola-header-content {
	    margin-top: -55px;
	    margin-bottom: 35px;

	 }
	
    /* 4. Subimos un poco el título dentro de la caja */
    .mola-minisite .mola-header-content h1 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        line-height: 1 !important;
    }

    @media (max-width: 768px) {
        .mola-minisite .mola-header-overlay { 
            /*padding-top: 75px !important; */
            min-height: 120px !important; 
        }
       
	
    }


/* ESTILO MODAL RECLAMAR */
.mola-modal-claim { display:none; position:fixed; z-index:10001; left:0; top:0; width:100%; height:100%; background:rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
.mola-modal-claim-content { background:white; margin:10% auto; padding:30px; width:90%; max-width:400px; border-radius:25px; position:relative; text-align:center; }

/* RESPONSIVE */
@media (max-width: 768px) { 
   
    .mola-main-grid { grid-template-columns: 1fr; margin-top: 20px; } 
    .mola-profile-pic { margin-top: -70px; } 
}

/* --- BLOQUE CTA: ¿TIENES ALGO QUE OFRECER? --- */
.mola-cta-section { 
    margin-top: 60px; 
    margin-bottom: 40px; 
    padding-top: 30px; 
    border-top: 1px solid #eee; 
}

.mola-cta-box {
    background: #f9fcff; 
    border: 2px dashed #033457; 
    border-radius: 15px;
    padding: 30px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    gap: 20px; 
    flex-wrap: wrap; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.cta-content { display: flex; align-items: center; gap: 20px; flex: 1; }

.cta-icon-wrap { 
    width: 60px; height: 60px; 
    background: #e3f2fd; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 30px; 
    color: #033457; 
}

.cta-text h4 { margin: 0 0 5px 0; color: #033457; font-size: 22px; font-weight: 800; }
.cta-text p { margin: 0; color: #555; font-size: 15px; }

.btn-cta-add {
    background: #fbc02d; 
    color: #033457 !important; 
    text-decoration: none;
    padding: 15px 35px; 
    border-radius: 50px; 
    font-weight: 800;
    font-size: 15px; 
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
    box-shadow: 0 5px 15px rgba(251,192,45,0.3); 
    transition: 0.2s;
}

.btn-cta-add:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 20px rgba(251,192,45,0.4); 
}

/* --- PAGINACIÓN ESTILIZADA --- */
.mola-pagination-styled { 
    text-align: center; 
    margin: 50px 0; 
    display: flex; 
    justify-content: center; 
    gap: 8px; 
}

.mola-pagination-styled .page-numbers { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 40px; 
    height: 40px; 
    background: #fff; 
    border: 1px solid #ddd; 
    border-radius: 50%; 
    color: #033457; 
    text-decoration: none; 
    font-weight: bold; 
    transition: all 0.3s ease; 
}

.mola-pagination-styled .page-numbers:hover { 
    background: #fbc02d; 
    border-color: #fbc02d; 
    transform: scale(1.1); 
}

.mola-pagination-styled .page-numbers.current { 
    background: #033457; 
    color: #fff; 
    border-color: #033457; 
}

/* Ajuste móvil para el bloque CTA */
@media (max-width: 600px) {
    .mola-cta-box { text-align: center; justify-content: center; }
    .cta-content { flex-direction: column; }
    .btn-cta-add { width: 100%; justify-content: center; }
}

/* --- ESTILOS DIRECTORIO A-Z --- */

.directorio-container { 
    max-width: 1100px; 
    margin: 30px auto; 
    padding: 0 15px; 
}

/* Caja de búsqueda y Abecedario */
.search-box { 
    background: #fff; 
    padding: 25px; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    margin-bottom: 30px; 
    border: 1px solid #eee; 
}

.search-form { display: flex; gap: 10px; margin-bottom: 20px; }

.mola-input { 
    flex: 1; 
    padding: 12px 20px; 
    border: 2px solid #eee; 
    border-radius: 30px; 
    font-size: 16px; 
    outline: none; 
}

.mola-btn-search { 
    background: #033457; 
    color: #fff; 
    border: none; 
    padding: 0 25px; 
    border-radius: 30px; 
    cursor: pointer; 
    font-size: 18px; 
}

/* Las cajitas de las letras */
.alphabet-filter { 
    display: flex; 
    flex-wrap: nowrap; /* Forzamos a que no salte de línea */
    gap: 4px; /* Reducimos el espacio entre letras */
    justify-content: space-between; /* Las distribuimos uniformemente */
    margin-top: 15px;
    width: 100%;
}

.letter-btn { 
    flex: 1; /* Hacemos que cada letra crezca lo mismo */
    min-width: 25px; /* Tamaño mínimo para que no se peguen */
    height: 35px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: #f9f9f9; 
    border: 1px solid #eee; 
    border-radius: 6px; 
    text-decoration: none; 
    color: #033457; 
    font-size: 13px; /* Bajamos un punto la fuente para ganar espacio */
    font-weight: bold; 
    transition: 0.3s;
}

/* En móvil, como no caben todas, activamos el scroll horizontal */
@media (max-width: 900px) {
    .alphabet-filter { 
        overflow-x: auto; 
        justify-content: flex-start;
        padding-bottom: 10px;
    }
    .letter-btn {
        flex: 0 0 35px; /* En móvil recuperan su tamaño fijo */
    }
}

/* Cuadrícula de negocios */
.biz-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 20px; 
}

.biz-card { 
    background: #fff; 
    border-radius: 12px; 
    padding: 15px; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    border: 1px solid #eee; 
    text-decoration: none !important; 
    transition: 0.3s; 
}

.biz-card:hover { 
    border-color: #fbc02d; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.05); 
}

.biz-avatar { 
    width: 55px; 
    height: 55px; 
    border-radius: 50%; 
    object-fit: cover; 
}

.biz-info h3 { margin: 0; font-size: 16px; color: #033457; }
.biz-info p { margin: 2px 0 0; font-size: 12px; color: #777; }

/* Burbuja de edición */
.edit-bubble { 
    position: absolute; 
    top: -5px; 
    right: -5px; 
    background: #fbc02d; 
    color: #033457; 
    width: 26px; 
    height: 26px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 5; 
    font-size: 12px; 
}

/* --- CATEGORÍAS ANUNCIOS: GRID Y CARDS --- */

.mola-stats-hero { 
    background: #fff; 
    padding: 25px; 
    border-radius: 15px; 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    margin-bottom: 40px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); 
    border-left: 5px solid #fbc02d; 
}

.stats-icon-box { 
    width: 60px; height: 60px; 
    background: #fffdeb; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fbc02d; 
    font-size: 28px; 
}

.skt-listing-categories-grid-compact { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 20px; 
    margin-bottom: 50px; 
}

.mola-category-card { 
    background: #fff; 
    border-radius: 12px; 
    padding: 20px; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    text-decoration: none !important; 
    border: 1px solid #eee; 
    transition: all 0.2s; 
}

.mola-category-card:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.08); 
    border-color: #033457; 
}

.cat-icon { 
    width: 50px; height: 50px; 
    background: #e3f2fd; 
    border-radius: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    flex-shrink: 0; 
}

.cat-icon i { font-size: 22px; color: #033457; }
.cat-info h3 { margin: 0; font-size: 16px; color: #033457; font-weight: 700; }


/* ESTILOS anuncios activos */
    .mola-page-wrapper { padding: 20px 20px 60px 20px; background: #f4f7f6; min-height: 60vh; }
    .mola-results-container { max-width: 1000px; margin: 0 auto; }
    .mola-alert-success { background: #e8f5e9; color: #2e7d32; padding: 15px; border-radius: 8px; margin-bottom: 20px; font-weight: bold; border: 1px solid #c8e6c9; text-align: center; }
    
    .ads-grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
    .ad-grid-item { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: 0.2s; border: 1px solid #eee; display: flex; flex-direction: column; }
    .ad-grid-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
    
    .ad-img-wrapper { height: 160px; width: 100%; position: relative; background: #eee; }
    .ad-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
    
    .status-badge { position: absolute; top: 10px; right: 10px; font-size: 10px; font-weight: 800; padding: 5px 12px; border-radius: 20px; color: white; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
    .status-badge.active { background: #4caf50; }
    .status-badge.pending { background: #ff9800; }
    .status-badge.draft { background: #9e9e9e; }
    
    .ad-content { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
    .ad-title { font-size: 16px; color: #033457; margin: 0 0 15px 0; line-height: 1.3; font-weight: 700; flex-grow: 1; }
    
    .ad-actions { display: flex; gap: 8px; margin-top: auto; border-top: 1px solid #f0f0f0; padding-top: 15px; }
    .btn-action { padding: 8px 15px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: bold; display: inline-flex; align-items: center; gap: 5px; justify-content: center; transition: 0.2s; }
    
    .btn-action.edit { background: #e3f2fd; color: #0277bd; flex: 1; }
    .btn-action.edit:hover { background: #0277bd; color: white; }
    .btn-action.view { background: #f5f5f5; color: #555; width: 40px; }
    .btn-action.delete { background: #ffebee; color: #c62828; width: 40px; }
    .btn-action.delete:hover { background: #c62828; color: white; }

    .btn-create-new { display: inline-block; background: #033457; color: white; padding: 12px 30px; border-radius: 30px; text-decoration: none; font-weight: bold; margin-top: 20px; }
    .btn-secondary-action { display: inline-block; background: #fff; color: #555; border: 1px solid #ccc; padding: 10px 25px; border-radius: 30px; text-decoration: none; font-weight: bold; font-size: 13px; }

    @media (max-width: 768px) { .ads-grid-cards { grid-template-columns: 1fr; } }



/* --- FICHA DE NEGOCIO PRO --- */

.mola-badge-destacado {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    z-index: 5;
}


.mola-card-main {
    background: #fff;
    border-radius: 40px;
    padding: 50px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.mola-grid-ficha {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.mola-category-tag {
    background: #033457;
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
}

.mola-title-ficha { font-size: 42px; font-weight: 900; color: #111; margin: 15px 0; }

/* Responsive */
@media (max-width: 850px) {
    .mola-grid-ficha { grid-template-columns: 1fr; }

    .mola-card-main { padding: 30px 20px; }

.mola-hero-listing {
    width: 100%;
    margin-top: 0;
    position: relative;
    z-index: 1; /* La foto se queda atrás */
}

.main-banner-listing {
    width: 100% !important;
    height: 500px !important; /* Altura original que te gustaba */
    object-fit: cover !important;
    border-radius: 0 0 40px 40px !important;
    display: block;
}

.mola-wrapper-ficha {
    max-width: 1200px;
    margin: -100px auto 40px !important; /* El margen negativo de -100px la sube sobre la foto */
    padding: 0 20px;
    position: relative;
    z-index: 99; /* Asegura que la ficha esté por delante de la foto */
}

.mola-card-ficha {
    background: #fff !important;
    border-radius: 30px !important;
    padding: 40px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important; /* Sombra un poco más profunda para dar relieve */
	}

.mola-layout-ficha { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: 30px; }

.mola-promo-box { background: #fff9c4; padding: 30px; border-radius: 20px; border: 2px dashed #fbc02d; margin: 30px 0; }
.mola-hashtag { color: #fbc02d; font-weight: 800; display: block; margin-top: 10px; }

.mola-contact-card-v2 { background: #fff; border: 1px solid #eee; padding: 25px; border-radius: 25px; text-align: center; position: sticky; top: 120px; }
.mola-avatar-ficha { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; border: 3px solid #fbc02d; }

.btn-mola-checkin { background: #033457; color: #fff; border: none; padding: 12px; border-radius: 50px; width: 100%; font-weight: 800; cursor: pointer; transition: 0.3s; }
.btn-mola-checkin:hover { background: #fbc02d; color: #033457; }

.btn-ficha-call { background: #28a745; color: #fff !important; display: block; padding: 12px; border-radius: 12px; text-decoration: none; margin-bottom: 10px; font-weight: 700; }
.btn-ficha-profile { background: #f8f9fa; color: #333 !important; display: block; padding: 12px; border-radius: 12px; text-decoration: none; border: 1px solid #ddd; }

    .mola-layout-ficha { grid-template-columns: 1fr; }
    .main-banner-listing {
        height: 300px !important;
    }
    .mola-wrapper-ficha {
        margin: -60px auto 20px !important; /* Menos subida en móvil para que no tape toda la foto */
    }
   
}
	
/* ESTILOS PARA EL ESCRITORIO */
   .mola-btn-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #fff; padding: 18px 5px; border-radius: 18px; border: 1px solid #eee; text-decoration: none; color: #444; transition: 0.3s; }
    .mola-btn-panel i { font-size: 24px; margin-bottom: 8px; color: #555; }
    .mola-btn-panel span { font-size: 9px; font-weight: 800; text-transform: uppercase; text-align: center; }
    .mola-btn-panel.featured { background: #e3f2fd; color: #0277bd; border-color: #bbdefb; }
    .mola-btn-panel.yellow-btn { background: #fff9e6; border-color: #fbc02d; }
    .mola-btn-panel.blue-btn { background: #f0f7ff; border-color: #90caf9; }
    .mola-btn-panel.logout { background: #ffebee; border-color: #ffcdd2; color:#c62828; }
   
    @media (max-width: 600px) { 
		.mola-menu-grid { grid-template-columns: repeat(3, 1fr) !important; } 
		.plan-card-pro { flex-direction: column; text-align: center; gap: 20px; } 
	}	




    /* EDITAR PERFIL */
  
    .mola-form-card { background: white; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 30px; overflow: hidden; border: 1px solid #eee; }
    .card-header { padding: 20px 25px; border-bottom: 1px solid #f0f0f0; }
    .card-header h3 { margin: 0; font-size: 18px; color: #033457; font-weight: 800; }
    .mola-flex-container { display: flex; gap: 30px; padding: 25px; flex-wrap: wrap; }
    .avatar-preview { width:120px; height:120px; border-radius:50%; overflow:hidden; border:4px solid #f9f9f9; box-shadow: 0 5px 15px rgba(0,0,0,0.1); margin: 0 auto 15px; }
    .avatar-preview img { width:100%; height:100%; object-fit:cover; }
    .btn-upload { display: inline-block; background: #e3f2fd; color: #0277bd; padding: 8px 15px; border-radius: 20px; font-size: 12px; cursor: pointer; font-weight: bold; }
    .form-group { margin-bottom: 15px; }
    .form-group label { display: block; font-weight: 700; margin-bottom: 5px; color: #444; font-size: 13px; }
    .form-group input, .form-group textarea, select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
    .form-row { display: flex; gap: 20px; }
    .half { flex: 1; }
    .section-subtitle { margin: 25px 0 10px; color: #033457; font-weight: 800; text-transform: uppercase; font-size: 13px; border-bottom: 1px solid #eee; padding-bottom: 5px; }
   .save-bar { 
        background: white; 
        padding: 15px 20px; 
        border-radius: 15px 15px 0 0; 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        box-shadow: 0 -10px 20px rgba(0,0,0,0.1); 
        position: fixed; /* Fixed para que siempre esté a mano */
        bottom: 0; 
        left: 0; 
        right: 0; 
        z-index: 9999; /* Por encima de todo, incluido el menú */
        max-width: 950px;
        margin: 0 auto;
    }
    .btn-save { background: #033457; color: white; padding: 12px 30px; border-radius: 30px; border: none; font-weight: bold; cursor: pointer; }
    .btn-view { background: #e3f2fd; color: #0277bd; padding: 12px 20px; border-radius: 30px; text-decoration: none; font-weight: bold; font-size: 13px; }
    .mola-alert { padding: 15px; border-radius: 8px; margin-bottom: 25px; text-align: center; font-weight: bold; }
    .mola-alert.success { background: #e8f5e9; color: #2e7d32; }
    @media (max-width: 600px) { .form-row { flex-direction: column; gap: 0; } .save-bar {bottom: 60px; /* Si tienes un menú inferior tipo App, subimos la barra para que no choquen */
            border-radius: 15px;
            margin: 10px;
            width: auto;} }


/*LOGIN*/
    .mola-auth-bg { background: #f4f7f6; padding-bottom: 60px; min-height: 80vh; }
    
    .mola-auth-container { 
        max-width: 400px; 
        margin: 40px auto; 
        padding: 40px 30px; 
        background: #fff; 
        border-radius: 20px; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
        text-align: center;
    }

    .mola-auth-logo { font-size: 60px; color: #033457; margin-bottom: 15px; }
    .mola-auth-container h3 { color: #033457; font-weight: 800; font-size: 24px; margin: 0; }
    .mola-auth-container p { color: #888; font-size: 14px; margin-bottom: 30px; }

    /* Forms */
    .mola-input-group { text-align: left; margin-bottom: 20px; }
    .mola-input-group label { display: block; font-weight: 700; color: #333; font-size: 12px; margin-bottom: 6px; text-transform: uppercase; }
    
    .input-with-icon { position: relative; }
    .input-with-icon i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #aaa; }
    .input-with-icon input { 
        width: 100%; padding: 12px 15px 12px 45px; border: 2px solid #eee; 
        border-radius: 10px; font-size: 15px; outline: none; transition: 0.3s;
        box-sizing: border-box;
    }
    .input-with-icon input:focus { border-color: #033457; background: #f9f9f9; }

    /* Buttons */
    .mola-btn-primary {
        background: #033457; color: #fff; border: none; padding: 14px; 
        border-radius: 10px; font-weight: 800; font-size: 16px; cursor: pointer;
        transition: 0.3s; width: 100%; margin-top: 10px;
    }
    .mola-btn-primary:hover { background: #fbc02d; color: #033457; transform: translateY(-2px); }

    /* Notices */
    .mola-notice { padding: 12px; border-radius: 8px; margin-bottom: 20px; font-size: 13px; font-weight: 600; text-align: left; display: flex; align-items: center; gap: 10px; }
    .mola-notice.error { background: #ffebee; color: #c62828; }
    .mola-notice.info { background: #fff8e1; color: #033457; border-left: 4px solid #fbc02d; }

    /* Links */
    .mola-auth-links { margin-top: 25px; font-size: 13px; color: #999; }
    .mola-auth-links a { text-decoration: none; color: #666; font-weight: 600; }
    .mola-auth-links a.highlight { color: #033457; border-bottom: 2px solid #fbc02d; }
    .mola-auth-links .sep { margin: 0 8px; }

    @media (max-width: 600px) {
        .mola-auth-container { padding: 30px 20px; border-radius: 0; box-shadow: none; margin: 0; max-width: 100%; }
        .mola-auth-bg { background: #fff; }
    }

/*AÑADIR ANUNCIO*/

    .mola-container { background: #f4f7f6; padding: 40px 10px; }
    .mola-card { background: #fff; padding: 40px; border-radius: 25px; box-shadow: 0 15px 35px rgba(0,0,0,0.08); max-width: 900px; margin: 0 auto; }
    .mola-h3 { font-size: 18px; font-weight: 800; border-left: 6px solid #fbc02d; padding-left: 15px; margin: 30px 0 20px; text-transform: uppercase; color: #333; }
    .f-row { margin-bottom: 20px; }
    .f-row label { display: block; margin-bottom: 8px; color: #555; font-weight: 600; font-size: 13px; }
    .f-row input, .f-row select, .f-row textarea { width: 100%; padding: 12px; border: 2px solid #f0f0f0; border-radius: 12px; background: #fafafa; }
    .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .mola-submit { width: 100%; padding: 20px; background: #033457 !important; color: #fff; border: none; border-top: 6px solid #fbc02d; font-weight: 800; border-radius: 15px; cursor: pointer; margin-top: 30px; }
    .img-preview { width: 100px; height: 100px; object-fit: cover; border-radius: 15px; border: 3px solid #fbc02d; margin-bottom: 10px; display: block; }
    .add-btn { background: #fbc02d; border: none; padding: 8px 15px; border-radius: 8px; font-weight: 700; cursor: pointer; }

/*HISTORIAL PEDIDOS*/

   
   
    
    /* Estilo para la tabla interactiva */
    table.dataTable thead th { background-color: #f8f9fa !important; color: #033457 !important; border-bottom: 2px solid #eee !important; padding: 15px !important; font-size: 11px; text-transform: uppercase; font-weight: 800; }
    table.dataTable tbody td { padding: 15px !important; border-bottom: 1px solid #f0f0f0; }
    

    @media (max-width: 768px) { .table-responsive { overflow-x: auto; } }

/* --- ESTILOS PAGINACIÓN MOLA --- */
/* Usamos el ID de la tabla para darle máxima prioridad sobre el min.css */
#mola_payment_table_wrapper .dataTables_paginate .paginate_button.current,
#mola_payment_table_wrapper .dataTables_paginate span .paginate_button.current {
    background: #033457 !important; /* Fondo Azul */
    color: #fbc02d !important;      /* Número Amarillo */
    border: 1px solid #033457 !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}

/* Forzamos que el color del texto no cambie ni al pasar el ratón */
#mola_payment_table_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #fbc02d !important;
    background: #033457 !important;
}

/* --- ESTILO NÚMERO AMARILLO SOBRE FONDO AZUL --- */

/* 1. El botón de la página actual */
.dataTables_wrapper .dataTables_paginate .paginate_button.current, 
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #033457 !important; /* El azul oscuro de Las Rozas Mola */
    color: #fbc02d !important;      /* El amarillo Mola para el número */
    border: 2px solid #033457 !important;
    font-weight: 900 !important;    /* Un poco más de grosor para que destaque */
    box-shadow: 0 4px 10px rgba(3, 52, 87, 0.3) !important;
}

/* 2. Ajuste para los botones de Anterior/Siguiente para que no distraigan */
.dataTables_wrapper .dataTables_paginate .paginate_button.previous, 
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    color: #033457 !important;
    font-size: 11px !important;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 30px !important; /* Más ovalados */
}

/* 3. El efecto cuando pasas el ratón por los otros números */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current) {
    background: #fbc02d !important;
    color: #033457 !important;
    border-color: #fbc02d !important;
}

/* 4. Quitar el reborde azul feo que pone Chrome al hacer clic */
.paginate_button:focus {
    outline: none !important;
    box-shadow: none !important;
}
	

/*DAR PUNTOS*/
    /* Estilos TPV */
  
   

    .btn-volver {
        display: inline-block; background: rgba(255,255,255,0.2); color: white;
        text-decoration: none; padding: 8px 20px; border-radius: 20px;
        font-size: 12px; font-weight: bold; margin-top: 10px;
    }

 
    .customer-info {
        display: flex; align-items: center; gap: 15px; text-align: left;
        background: #f0f4f8; padding: 15px; border-radius: 15px; margin-bottom: 25px;
    }
    .customer-info img { border-radius: 50%; border: 2px solid #fff; }
    .customer-info .label { font-size: 11px; text-transform: uppercase; color: #777; letter-spacing: 1px; }
    .customer-info .name { margin: 0; color: #033457; font-size: 18px; }

    .input-group label { display: block; font-weight: bold; color: #555; margin-bottom: 10px; }
    .money-input { position: relative; margin-bottom: 10px; }
    .money-input input {
        width: 100%; font-size: 40px; font-weight: bold; color: #033457;
        padding: 15px; text-align: center; border: 2px solid #e0e0e0; border-radius: 15px;
        outline: none;
    }
    .money-input input:focus { border-color: #fbc02d; }
    .money-input .currency {
        position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
        font-size: 30px; color: #ccc;
    }
    .helper { font-size: 14px; color: #888; margin-bottom: 30px; }

    .btn-action {
        display: block; width: 100%; padding: 15px; border-radius: 10px;
        background: #033457; color: white; font-weight: bold; text-decoration: none;
        border: none; cursor: pointer; font-size: 16px; transition: 0.2s;
    }
    .btn-action.success { background: #4caf50; box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3); }
    .btn-action:disabled { opacity: 0.7; cursor: not-allowed; }

/*ESCRITORIO*/


/* --- DASHBOARD MOLA STYLE --- */

.dashboard-wrapper { background: #f4f7f6; padding-bottom: 60px;}
.plan-card { background: linear-gradient(135deg, #033457 0%, #001f3f 100%); color: white; padding: 25px; border-radius: 20px; margin-bottom: 30px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 8px 20px rgba(3, 52, 87, 0.25); }
.plan-title { color: #fbc02d; font-weight: 800; margin: 5px 0; }

.mola-menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.mola-btn-panel { background: #fff; padding: 15px 5px; border-radius: 15px; border: 1px solid #eee; display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #444; transition: 0.3s; }
.mola-btn-panel i { font-size: 22px; margin-bottom: 8px; }
.mola-btn-panel span { font-size: 10px; font-weight: 800; text-transform: uppercase; text-align: center; }
.mola-btn-panel:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* Colores de Botones Especiales */
.mola-btn-panel.featured { background: #e3f2fd; color: #0277bd; border-color: #bbdefb; }
.mola-btn-panel.yellow-btn { background: #fff9e6; color: #033457; border-color: #fbc02d; }
.mola-btn-panel.logout { background: #ffebee; color: #c62828; }

.wallet-bar { background: #033457; border-radius: 20px; padding: 20px; display: flex; justify-content: space-around; color: #fff; margin-bottom: 25px; }
.wallet-item { display: flex; align-items: center; gap: 15px; }
.w-num { font-size: 24px; font-weight: 900; color: #fbc02d; display: block; }
.w-label { font-size: 10px; opacity: 0.7; font-weight: 800; }

/* Modales */
.dni-style { background: linear-gradient(135deg, #033457 0%, #001f3f 100%) !important; border: 2px solid #fbc02d !important; width: 340px !important; }
.dni-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.dni-avatar { width: 60px; height: 60px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; }
.dni-qr-body { background: #fff; padding: 20px; border-radius: 15px; margin-bottom: 15px; min-height: 200px; display: flex; align-items: center; justify-content: center; }

@media (max-width: 600px) {
    .mola-menu-grid { grid-template-columns: repeat(3, 1fr); }
    .plan-card, .wallet-bar { flex-direction: column; text-align: center; gap: 15px; }
}
.cat-count { 
    font-size: 11px; 
    color: #888; 
    background: #f5f5f5; 
    padding: 2px 8px; 
    border-radius: 10px; 
    margin-top: 5px; 
    display: inline-block; 
}

.cat-arrow { color: #ccc; transition: 0.2s; }
.mola-category-card:hover .cat-arrow { color: #fbc02d; transform: translateX(5px); }

    /* Aseguramos que el contenedor principal ocupe su sitio y se centre */
    .mola-dashboard-container {
        max-width: 900px; /* Ajusta este ancho a tu gusto */
        margin: 0 auto !important; /* CENTRADO DINÁMICO */
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    /* Estilo para los botones del panel (para que no se vean gigantes al centrar) */
    .mola-btn-panel {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #fdfdfd;
        border: 1px solid #eee;
        padding: 15px 10px;
        border-radius: 15px;
        text-decoration: none !important;
        transition: 0.3s;
    }

    .mola-btn-panel:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        background: #fff;
    }

    .mola-btn-panel i { font-size: 20px; margin-bottom: 8px; color: #033457; }
    .mola-btn-panel span { font-size: 10px; font-weight: 800; text-transform: uppercase; color: #555; }

    /* Estilos de botones especiales */
    .mola-btn-panel.featured { background: #033457; border-color: #033457; }
    .mola-btn-panel.featured i, .mola-btn-panel.featured span { color: #fff; }
    .mola-btn-panel.yellow-btn { background: #fbc02d; border-color: #fbc02d; }
    .mola-btn-panel.yellow-btn i, .mola-btn-panel.yellow-btn span { color: #033457; }
    .mola-btn-panel.logout i { color: #ff5252; }

    /* Modales */
    .mola-modal-overlay {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.7); display: flex; align-items: center;
        justify-content: center; z-index: 9999;
    }
    .mola-modal-content {
        background: white; padding: 30px; border-radius: 25px;
        max-width: 320px; width: 90%; text-align: center; position: relative;
    }
    .close-modal { position: absolute; top: 15px; right: 20px; font-size: 25px; cursor: pointer; color: #aaa; }



/*ESCANER*/
  
    
    .mola-scanner-card {
        background: white;
        width: 100%; max-width: 400px;
        margin: 0 auto;
        border-radius: 25px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
        overflow: hidden;
        text-align: center;
        min-height: 350px;
        position: relative;
        border: 1px solid #eee;
    }

    .btn-activar {
        background: #fbc02d; color: #033457; border: none;
        padding: 16px 35px; border-radius: 50px;
        font-size: 15px; font-weight: 900;
        cursor: pointer; box-shadow: 0 5px 15px rgba(251, 192, 45, 0.3);
        transition: 0.3s;
    }
    .btn-activar:hover { background: #033457; color: #fff; transform: translateY(-2px); }

    #reader video { object-fit: cover; width: 100% !important; height: 100% !important; }

    .scan-overlay {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center;
    }
    .scan-frame {
        width: 220px; height: 220px;
        border: 3px solid #fbc02d;
        border-radius: 20px;
        box-shadow: 0 0 0 2000px rgba(3, 52, 87, 0.6);
        margin-bottom: 20px;
    }
    .scan-overlay p { color: white; font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

    #scan-feedback {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background: white; display: none; align-items: center; justify-content: center;
        flex-direction: column;
    }

    @media (max-width: 480px) {
        .mola-scanner-card { border-radius: 0; width: 100vw; margin-left: -20px; min-height: 100vh; margin-top: -20px; }
    }

/*RESEÑAS*/
    /* RESET Y BASE MOLA */
    

    /* Ajustes específicos para el contenido del shortcode si fuera necesario */
    .mola-reviews-management-box {
        background: white;
        padding: 10px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        border: 1px solid #eee;
    }


/*VISITAS*/
    
    @media(max-width: 768px) {
        .mola-table th:nth-child(3), .mola-table td:nth-child(3) { display: none; }
        .mola-crm-card { border-radius: 15px; }
    }


/*APORTACIONES*/
    .tab-btn { padding: 10px 18px; border-radius: 30px; text-decoration: none; font-size: 11px; font-weight: 800; background: #fff; color: #033457; border: 1px solid #e2e8f0; transition: 0.3s; }
    .tab-btn.active { background: #033457; color: #fff; border-color: #033457; box-shadow: 0 5px 15px rgba(3,52,87,0.2); }
    .tab-btn:hover:not(.active) { background: #f8fafc; }

/*PUNTOS*/

    
    .mola-tab-btn { background: #fff; border: 1px solid #ddd; padding: 15px; border-radius: 15px; cursor: pointer; flex: 1; min-width: 140px; text-align: center; transition: 0.3s; }
    .mola-tab-btn.active { background: #033457; color: #fff; border-color: #033457; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(3,52,87,0.2); }
    .mola-tab-btn i { display: block; font-size: 22px; margin-bottom: 8px; color: #033457; }
    .mola-tab-btn.active i { color: #fbc02d; }
    .mola-tab-btn strong { display: block; font-size: 14px; }
    .mola-tab-btn span { font-size: 11px; opacity: 0.8; font-weight: 800; }

    .mola-content-box { background: #fff; border-radius: 20px; padding: 30px; border: 1px solid #eee; display: none; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
    .box-title { margin-top: 0; color: #033457; font-weight: 800; font-size: 18px; margin-bottom: 25px; border-bottom: 1px solid #f1f5f9; padding-bottom: 15px; }
    
    .mola-data-table { width: 100%; border-collapse: collapse; }
    .mola-data-table th { text-align: left; color: #94a3b8; font-size: 11px; text-transform: uppercase; padding: 12px; border-bottom: 2px solid #f1f5f9; }
    .mola-data-table td { padding: 15px 12px; border-bottom: 1px solid #f8fafc; font-size: 14px; }
    
    .tag { padding: 4px 10px; border-radius: 6px; font-size: 10px; font-weight: 800; text-transform: uppercase; }
    .tag.pts { background: #fbc02d; color: #033457; }
    .tag.green { background: #def7ec; color: #03543f; }
    .tag.orange { background: #fef3c7; color: #92400e; }
    .tag.red { background: #fee2e2; color: #991b1b; }

    .review-item { border-bottom: 1px solid #f1f5f9; padding: 20px 0; }
    .review-item p { font-style: italic; color: #475569; margin: 10px 0; font-size: 14px; line-height: 1.6; }
    
    .btn-delete-link { background: none; border: none; color: #ef4444; cursor: pointer; font-size: 12px; font-weight: 700; text-decoration: underline; padding: 0; }
    .empty-msg { text-align: center; color: #94a3b8; padding: 40px 0; font-style: italic; }
    .date-col { color: #94a3b8; font-size: 12px; width: 100px; }

    .mola-notice { padding: 15px; border-radius: 12px; margin-bottom: 25px; font-weight: 600; text-align: center; }
    .mola-notice.success { background: #def7ec; color: #03543f; }
    .mola-notice.error { background: #fee2e2; color: #991b1b; }

    @media (max-width: 600px) {
        .mola-tab-btn { min-width: 45%; }
    }


/*PAGINA PAGOS*/
    
    .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: -50px; position: relative; z-index: 5; }
    .pricing-card { background: #fff; border-radius: 20px; padding: 30px; border: 2px solid transparent; cursor: pointer; transition: 0.3s; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
    .pricing-card.active { border-color: #033457; box-shadow: 0 15px 40px rgba(3,52,87,0.15); }
    .pricing-card.popular { border-top: 5px solid #fbc02d; }
    .pricing-card.premium { background: #033457; color: white; }
    .pricing-card.premium .price, .pricing-card.premium h3 { color: #fff; }
    .price { font-size: 36px; font-weight: 900; color: #033457; margin: 15px 0; }
    .feature-list { list-style: none; padding: 0; font-size: 14px; color: #666; }
    .pricing-card.premium .feature-list { color: #bbdefb; }
    .feature-list li { margin-bottom: 12px; }
    .featured-toggle { background: #f0f2f5; padding: 12px; border-radius: 12px; text-align: center; font-weight: 800; font-size: 12px; color: #555; margin-top: 20px; cursor: pointer; }
    .featured-toggle.is-active { background: #fbc02d; color: #033457; }
    .pay-tab { flex: 1; border: 1px solid #ddd; background: #fff; padding: 15px; border-radius: 12px; font-weight: 800; cursor: pointer; font-size: 13px; }
    .pay-tab.active { background: #e3f2fd; border-color: #033457; color: #033457; }
    .badge-pop { position: absolute; top: 0; right: 0; background: #fbc02d; color: #033457; padding: 5px 15px; font-size: 10px; font-weight: 900; border-bottom-left-radius: 15px; }

/*taxonomy-listing_locations*/

    /* Estilos Skyline integrados (Los mismos que el buscador para consistencia) */
  
 
    .mola-back-btn { display: inline-block; margin-bottom: 20px; color: rgba(255,255,255,0.9); text-decoration: none; font-size: 12px; font-weight: 700; border: 1px solid rgba(255,255,255,0.4); padding: 6px 18px; border-radius: 20px; background: rgba(0,0,0,0.2); transition: 0.3s; }
    .mola-back-btn:hover { background: #fff; color: #033457; }

    .mola-horizontal-filter-bar { background: #fff; padding: 20px 0; border-bottom: 1px solid #eee; margin-bottom: 40px; }
    .mola-filter-form-inline { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
    .mola-filter-item { display: flex; flex-direction: column; min-width: 180px; }
    .mola-filter-item label { font-size: 11px; font-weight: 800; color: #033457; text-transform: uppercase; margin-bottom: 5px; }
    .mola-filter-item input, .mola-filter-item select { padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; width: 100%; outline: none; }
    .mola-submit-btn { background: #033457; color: white; border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; height: 40px; display: flex; align-items: center; justify-content: center; transition: 0.2s; font-weight: bold; }
    .mola-submit-btn:hover { background: #fbc02d; color: #033457; }

    .mola-results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
    .mola-result-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee; }
    .mola-card-thumb { height: 200px; position: relative; overflow: hidden; }
    .mola-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .mola-card-price { position: absolute; bottom: 10px; right: 10px; background: rgba(3, 52, 87, 0.9); color: white; padding: 4px 12px; border-radius: 20px; font-weight: bold; font-size: 14px; }
    .tags-container { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 5; }
    .mola-tag-rating { background: white; padding: 2px 8px; border-radius: 10px; font-weight: bold; font-size: 12px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

    .mola-pagination-styled { text-align: center; margin: 50px 0; display: flex; justify-content: center; gap: 5px; }
    .mola-pagination-styled .page-numbers { display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; background: #fff; border: 1px solid #ddd; border-radius: 50%; color: #555; text-decoration: none; font-weight: bold; font-size: 14px; }
    .mola-pagination-styled .page-numbers.current { background: #033457; color: #fff; border-color: #033457; }

    .mola-cta-section { margin-top: 60px; margin-bottom: 40px; padding-top: 30px; border-top: 1px solid #eee; }
    .mola-cta-box { background: #f9fcff; border: 2px dashed #033457; border-radius: 15px; padding: 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
    .cta-icon-wrap { width: 60px; height: 60px; background: #e3f2fd; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #033457; }
    .btn-cta-add { background: #fbc02d; color: #033457; text-decoration: none; padding: 15px 35px; border-radius: 50px; font-weight: 800; box-shadow: 0 5px 15px rgba(251,192,45,0.3); }

    @media (max-width: 600px) {
		.mola-subtitle { font-size: 12px; color: #bbdefb; }
        .mola-cta-box { text-align: center; justify-content: center; }
        .btn-cta-add { width: 100%; justify-content: center; }
    }

/*CABECERAS ANTIGUAS*/

/* Ocultar por la fuerza cualquier cabecera vieja que se cuele */
    .sktframe-core-pageheader, .page_header_wrap { display: none !important; }

/*blog*/
    .single_post, .lay3_inner { 
        margin-top: -50px !important; 
        background: #fff; 
        border-radius: 30px; 
        padding: 40px; 
        position: relative; 
        z-index: 99; 
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }

/* CONTENEDOR CIRCULAR DEL LOGO */

.mola-profile-pic {
    width: 140px !important; 
    height: 140px !important; 
    background: #ffffff !important;
    border-radius: 50% !important; 
    border: 5px solid white !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1) !important;
    overflow: hidden !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: -100px auto 15px auto !important; /* Mantenemos el efecto de "pisar" la foto */
    position: relative;
    z-index: 20;
}

/* AJUSTE PARA LA IMAGEN (Shortpixel / Picture) */
.mola-profile-pic img {
    width: 85% !important; /* Un poco de aire para que el logo no toque los bordes */
    height: 85% !important;
    object-fit: contain !important; /* Garantiza que el logo se vea ENTERO */
    display: block !important;
}

/* Ajuste móvil para que no sea tan gigante */
@media (max-width: 900px) {
    .mola-profile-pic {
        width: 110px !important;
        height: 110px !important;
        margin-top: -60px !important;
    }
}

/* =============================================================================
   BLOQUE FINAL: SKYLINE + CABECERA + UX MOLA
   ============================================================================= */

/* 1. EL CONTENEDOR DEL SKYLINE (Estructura y alineación) */
.mola-integrated-header {
     position: relative; 
	width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    height: auto !important; 
    padding-bottom: 60px !important; 
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; 
    border: none !important;
    pointer-events: none; /* Deja pasar clics al fondo (menú) */
	z-index: 10 !important; 
	box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
	background-repeat: no-repeat;
    background-color: transparent;
	background-position: center;
    background-image: url('https://lasrozasmola.es/wp-content/uploads/2026/02/Banner-skyline.jpeg');

}

 
   
/* 2. LA CAJA DEL TÍTULO */
.mola-header-content {
	position: relative; /* Importante para que el avatar se guíe por esta caja */
    background: rgba(3, 52, 87, 0.9) !important;
    padding: 20px 40px !important;
    border-radius: 15px !important;
    border-bottom: 4px solid #fbc02d !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    width: auto !important;
    max-width: 90% !important; 
    text-align: center !important;
    margin-bottom: 0 !important;
    pointer-events: auto; /* Esta caja sí recibe clics */
	width: fit-content;
    flex-direction: column;
    align-items: center;
    margin-top: 15px; /* Bajamos la caja para que el avatar no choque con el menú */
 	display: flex;
}


.mola-header-content h1 {
    font-size: 24px !important;
    color: #fff !important;
    margin: 0 !important;
	font-weight: 900 !important; 
    line-height: 1.2 !important;
    text-transform: uppercase;
	letter-spacing: 1px;
}


/* 3. ELIMINAR ESPACIOS RESIDUALES (Franja blanca) */
.mola-header-overlay {
	background: rgba(3, 52, 87, 0.85); 
	width: 100%; 
	height: 100%;
	padding: 60px 20px 120px 20px; 
	text-align: center; 
	color: white; 
	display: flex; 
	flex-direction: column; 
	align-items: center; 
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    line-height: 0 !important;
    background: none !important;
	justify-content: center;
	text-align: center;
}
  


/* 4. LA FICHA BLANCA (Posicionamiento y solape) */
.mola-content-wrapper, 
.mola-wrapper,
.mola-container-1200 {
    max-width: 1200px !important;
    margin: -80px auto 40px auto !important; 
    position: relative !important;
    z-index: 99 !important;
}

/* 5. BOTÓN VOLVER (La Bolita) - Versión Blindada */
.mola-back-ball {
    position: absolute !important; 
    top: 110px !important;          
    left: 25px !important;
    width: 42px !important;
    height: 42px !important;
    background: #fbc02d !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #033457 !important;
    z-index: 2147483647 !important; 
    pointer-events: auto !important; 
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-decoration: none !important;
    transition: transform 0.2s ease;
}
 .mola-minisite .mola-back-ball {
        top: 65px !important; 
    }

.mola-back-ball:hover {
    transform: scale(1.1);
    background-color: #ffffff !important;
}

.mola-back-ball i {
    font-size: 18px !important;
}

/* 6. AJUSTES MÓVILES */
@media (max-width: 768px) {
    .mola-back-ball {
        top: 85px !important;    
        left: 15px !important;
        width: 38px !important;
        height: 38px !important;
    }
    .mola-integrated-header {
        height: 240px !important; 
        padding-bottom: 40px !important;
    }
    .mola-header-content h1 {
        font-size: 20px !important;
    }
    .mola-content-wrapper, .mola-wrapper {
        margin-top: -60px !important;
    }
	 .mola-minisite .mola-back-ball { 
            top: 45px !important; 
        }
}

/* =======================================================
   ESTILOS PARA LA PAGINACIÓN MOLA
======================================================= */
/* Ocultar el título feo de WordPress */
h2.screen-reader-text {
    display: none !important;
}

/* Contenedor de la paginación */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
    flex-wrap: wrap;
}

/* Estilo de los botones (Números) */
.nav-links .page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #033457;
    border: 2px solid #eee;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

/* Efecto al pasar el ratón */
.nav-links a.page-numbers:hover {
    background: #f0f4f8;
    border-color: #033457;
    transform: translateY(-2px);
}

/* Botón de la página actual (El que está activo) */
.nav-links .page-numbers.current {
    background: #fbc02d;
    color: #033457;
    border-color: #fbc02d;
    box-shadow: 0 4px 15px rgba(251, 192, 45, 0.4);
}

/* Botones de Siguiente / Anterior (Puntos suspensivos) */
.nav-links .page-numbers.dots {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #999;
}

/* 1. Contenedor General */
.rank-math-block {
    max-width: 900px;
    margin: 40px auto !important;
    background: transparent;
}

/* 2. Cada ítem de la pregunta (Caja blanca con sombra) */
.rank-math-list-item {
    background: #ffffff;
    border-radius: 15px !important;
    margin-bottom: 20px !important;
    padding: 0 !important; /* Quitamos padding interno para controlarlo en la pregunta/respuesta */
    border: 1px solid #eee !important;
    box-shadow: 0 10px 25px rgba(3, 52, 87, 0.05);
    transition: all 0.3s ease;
    list-style: none !important;
}

.rank-math-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(3, 52, 87, 0.1);
    border-color: #fbc02d !important;
}

/* 3. La Pregunta (El titular) */
.rank-math-question {
    padding: 25px 30px !important;
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #033457 !important;
    display: flex;
    align-items: center;
    cursor: pointer;
    line-height: 1.4;
}

/* Icono decorativo antes de la pregunta */
.rank-math-question:before {
    content: "\f059"; /* fa-question-circle */
    font-family: "FontAwesome";
    margin-right: 15px;
    color: #fbc02d;
    font-size: 22px;
}

/* 4. La Respuesta (El contenido) */
.rank-math-answer {
    padding: 0 30px 25px 67px !important; /* Alineado con el texto de la pregunta */
    color: #555 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    border: none !important;
}

/* 5. Ajuste para móviles */
@media (max-width: 768px) {
    .rank-math-question {
        font-size: 16px !important;
        padding: 20px !important;
    }
    .rank-math-answer {
        padding: 0 20px 20px 20px !important;
    }
    .rank-math-question:before {
        font-size: 18px;
        margin-right: 10px;
    }
}

/* BLOQUE HOME ACCESOS DIRECTOS*/
        .mola-app-dashboard-v2, .mola-app-hero-v2 {
            background: #fff; border-radius: 20px; padding: 25px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.06); margin-bottom: 30px;
            font-family: 'Segoe UI', sans-serif; border: 1px solid #eee;
        }

        .mola-welcome-hub { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
        .mola-user-meta { display: flex; align-items: center; gap: 12px; }
        .mola-mini-avatar { width: 45px; height: 45px; border-radius: 50%; border: 2px solid #fbc02d; object-fit: cover; }
        .mola-user-text .greeting { display: block; font-size: 11px; color: #888; text-transform: uppercase; font-weight: 700; }
        .mola-user-text .username { margin: 0; font-size: 18px; color: #033457; font-weight: 800; }
        .mola-points-bubble { background: #033457; color: #fff; padding: 8px 15px; border-radius: 30px; font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 8px; }

        .mola-hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
        .mola-hub-card { 
            background: #f8fafc; padding: 20px 10px; border-radius: 15px; text-decoration: none;
            display: flex; flex-direction: column; align-items: center; gap: 5px;
            border: 1px solid #edf2f7; transition: 0.2s;
        }
        .mola-hub-card:active { transform: scale(0.98); }
        .mola-hub-card .hub-icon { font-size: 24px; color: #033457; margin-bottom: 5px; }
        .mola-hub-card .hub-label { font-size: 14px; font-weight: 800; color: #033457; }
        .mola-hub-card .hub-sublabel { font-size: 10px; color: #94a3b8; font-weight: 600; text-transform: uppercase; }
        
        /* Destacado GPS */
        .gps-highlight { background: #e3f2fd; border-color: #bbdefb; }
        .gps-highlight .hub-icon { color: #2196f3; }

        .mola-promo-strip { background: #f8f9fa; color: #666; padding: 12px; border-radius: 12px; margin-top: 20px; font-size: 11px; text-align: center; border: 1px solid #eee; }
        .mola-promo-strip i { color: #fbc02d; margin-right: 5px; }

        .mola-app-hero-v2 { text-align: center; background: linear-gradient(135deg, #033457 0%, #054a7a 100%); color: white; border: none; }
        .hero-title { color: white; font-size: 24px; font-weight: 900; margin-bottom: 10px; }
        .hero-text { color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 25px; }
        .btn-mola-main { background: #fbc02d; color: #033457; padding: 14px 25px; border-radius: 12px; display: block; text-decoration: none; font-weight: 800; }
        .btn-mola-sub { color: white; font-size: 13px; text-decoration: underline; display: block; margin-top: 15px; opacity: 0.8; }

        @media (min-width: 992px) {
            .mola-hub-grid { grid-template-columns: repeat(4, 1fr); }
            .mola-app-hero-v2 { padding: 50px; }
        }
    
/* =============================================================================
   MOLA PLAN STATUS BAR (V2) - ESTILOS PREMIUM
   ============================================================================= */

/* Contenedor Principal */
.mola-plan-status-v2 {
    background: #033457; /* Tu azul corporativo */
    border-radius: 20px; /* Bordes más suaves tipo App */
    padding: 20px 25px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    overflow: hidden; /* Para contener los efectos de brillo */
    box-shadow: 0 10px 30px rgba(3, 52, 87, 0.15); /* Sombra más sutil */
    border: 1px solid rgba(251, 192, 45, 0.1); /* Borde amarillo muy suave */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; /* Tipografía limpia */
}

/* Efecto Hover sutil */
.mola-plan-status-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(3, 52, 87, 0.2);
}

/* Sección de información (Izquierda) */
.mola-status-main {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}

/* --- Contenedor del Icono --- */
.mola-status-icon-wrap {
    position: relative;
    width: 55px;
    height: 55px;
    flex-shrink: 0;
}

.mola-status-icon {
    background: linear-gradient(135deg, #fbc02d 0%, #f9a825 100%); /* Degradado amarillo */
    width: 100%;
    height: 100%;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #033457; /* Texto azul sobre fondo amarillo */
    box-shadow: 0 4px 10px rgba(251, 192, 45, 0.3);
    position: relative;
    z-index: 2; /* Encima del pulso */
}

/* Efecto de pulso/brillo detrás del icono */
.mola-status-icon-pulse {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(251, 192, 45, 0.4);
    border-radius: 15px;
    z-index: 1;
    animation: molaIconPulse 2s infinite;
}

@keyframes molaIconPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* --- Textos de Información --- */
.mola-status-text {
    flex: 1;
}

/* Etiqueta superior (Origen, Separador, Plan, Estrella) */
.mola-status-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7); /* Texto blanco suave */
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap; /* Para móviles */
}

/* Destacados en amarillo */
.mola-status-label .mola-plan-name,
.mola-status-label .mola-plan-star {
    color: #fbc02d; /* Tu amarillo corporativo */
    font-weight: 800;
}

.mola-status-label .mola-separator {
    opacity: 0.4;
}

.mola-status-label .mola-plan-star {
    font-size: 14px; /* Estrella un poco más grande */
    margin-left: -2px;
}

/* Texto descriptivo / Enlace */
.mola-status-description {
    font-size: 14px;
    font-weight: 500;
    color: white;
    line-height: 1.4;
}

/* Estilos para el enlace si está dentro de description */
.mola-status-description a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.2s;
}

.mola-status-description a i {
    color: #fbc02d; /* Icono de refresh en amarillo */
    font-size: 14px;
}

.mola-status-description a:hover {
    color: #fbc02d;
}

/* --- Sección de Acción (Derecha - Opcional) --- */
.mola-status-action {
    flex-shrink: 0;
}

.btn-mola-status {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
}

.btn-mola-status i {
    font-size: 14px;
    color: #fbc02d;
}

.btn-mola-status:hover {
    background: #fbc02d;
    color: #033457;
    border-color: #fbc02d;
    box-shadow: 0 5px 15px rgba(251, 192, 45, 0.3);
}

.btn-mola-status:hover i {
    color: #033457;
}

/* --- Adaptación para Móviles --- */
@media (max-width: 600px) {
    .mola-plan-status-v2 {
        flex-direction: column; /* Apilar elementos en vertical */
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }
    
    .mola-status-main {
        width: 100%;
    }
    
    .mola-status-icon-wrap {
        width: 45px;
        height: 45px;
    }
    
    .mola-status-icon {
        font-size: 20px;
    }
    
    .mola-status-label {
        font-size: 10px;
    }
    
    .mola-status-description {
        font-size: 13px;
    }
    
    .mola-status-action {
        width: 100%;
        display: flex;
        justify-content: flex-end; /* Botón a la derecha en móvil */
    }
}

/* =============================================================================
   MOLA DASHBOARD & ESCRITORIO (ESTILOS COMPACTOS)
   ============================================================================= */

.mola-page-wrapper { 
    background: #f8fafc; 
    padding-bottom: 100px; 
}

/* 1. SECCIÓN DE FAVORITOS (REJILLA GENERAL) */
#mola-favs-biz, 
#mola-favs-ads { 
    clear: both; 
    display: block; 
    width: 100%; 
    margin-top: 30px; 
}

.mola-dashboard-container [class*="grid"], 
.mola-dashboard-container [class*="list"] {
    display: grid !important; /* Mantenemos este para forzar el layout sobre el tema original */
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* 2. LOGOS DE NEGOCIOS (EN CÍRCULO) */
#mola-favs-biz img {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fbc02d;
    margin-bottom: 10px;
}

/* 3. ANUNCIOS / OFERTAS (RECTANGULARES) */
#mola-favs-ads img {
    width: 100%;
    height: 120px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #eee;
    margin-bottom: 10px;
}

/* 4. TARJETAS COMPACTAS */
.mola-dashboard-container article, 
.mola-dashboard-container .listing-item {
    background: #fff;
    border-radius: 18px;
    padding: 15px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    transition: transform 0.2s ease;
}

.mola-dashboard-container article:hover {
    transform: translateY(-3px);
}

.mola-dashboard-container h3, 
.mola-dashboard-container h4 {
    font-size: 13px;
    font-weight: 800;
    min-height: 32px;
    margin: 0 0 8px 0;
    text-align: center;
}

/* 5. MISIONES DE LA COMUNIDAD */
.mola-missions-wrapper, 
[class*="misiones"] { 
    padding: 15px; 
    margin-bottom: 20px; 
}

.mola-missions-grid { 
    display: flex; 
    overflow-x: auto; 
    gap: 10px; 
    padding-bottom: 10px;
    scrollbar-width: none; /* Oculta scroll en Firefox */
}

.mola-missions-grid::-webkit-scrollbar {
    display: none; /* Oculta scroll en Chrome/Safari */
}

.mission-item { 
    flex: 0 0 200px; 
    padding: 10px; 
    font-size: 11px; 
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
}

.mission-item img, 
.mission-item i { 
    width: 30px; 
    height: 30px; 
    font-size: 16px; 
}

/* 6. RESPONSIVO (MÓVIL) */
@media (max-width: 800px) {
    .mola-dashboard-container [class*="grid"], 
    .mola-dashboard-container [class*="list"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    #mola-favs-ads img { height: 100px; }
    #mola-favs-biz img { width: 65px; height: 65px; min-width: 65px; }
}

/* =============================================================================
   MOLA ADS MANAGER - DISEÑO DE LISTADO DE ANUNCIOS
   ============================================================================= */

.mola-ads-manager-container {
    max-height: 450px; /* Un poco más alto para ver mejor */
    overflow-y: auto;
    padding: 10px 5px;
}

/* Fila de cada anuncio */
.mola-ad-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #fff;
    border-radius: 15px;
    margin-bottom: 12px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.mola-ad-row:hover {
    border-color: #fbc02d;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background: #f9fafb;
}

/* Enlace principal (Imagen + Texto) */
.mola-ad-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
    color: inherit;
    flex: 1;
}

/* Miniatura del anuncio */
.mola-ad-thumb {
    width: 70px; /* Aumentado de 50 a 70 */
    height: 70px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f4f8;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mola-ad-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mola-ad-thumb i {
    font-size: 24px;
    color: #cbd5e0;
}

/* Textos */
.mola-ad-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mola-ad-title {
    margin: 0 !important;
    font-size: 16px !important; /* Más grande y legible */
    color: #033457 !important;
    font-weight: 800 !important;
    line-height: 1.2;
}

/* Badges de estado */
.mola-ad-status-badge span {
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-active {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.badge-expired {
    background: #fff1f2;
    color: #e11d48;
    border: 1px solid #fecdd3;
}

/* Botones de acción */
.mola-ad-actions {
    margin-left: 15px;
}

.btn-mola-renew {
    background: #e11d48;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 12px;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
    display: inline-block;
    transition: transform 0.2s;
}

.btn-mola-renew:hover {
    transform: scale(1.05);
    background: #be123c;
}

.btn-mola-view {
    color: #033457;
    font-size: 16px;
    padding: 10px 15px;
    background: #f1f5f9;
    border-radius: 10px;
    display: inline-block;
}

.btn-mola-view:hover {
    background: #e2e8f0;
}

/* Mensaje vacío */
.mola-no-ads {
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    background: #f8fafc;
    border-radius: 15px;
    border: 2px dashed #e2e8f0;
}

/* --- IGUALAR DISEÑO CON LISTINGS --- */

.mola-card-media {
    position: relative;
    width: 100%;
    height: 210px; /* Igual que en tu buscador */
    background: #eee;
    overflow: hidden;
}

.mola-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Llena el espacio sin estirar */
}

/* Logo Circular (Sello) */
.mola-card-stamp {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid #fbc02d;
    background: #fff;
    z-index: 10;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estrellas (Arriba Derecha) */
.mola-rating-top-right {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 11px;
    z-index: 10;
    color: #033457;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Precio (Píldora sobre imagen) */
.mola-card-price-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #033457;
    color: #fff;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 14px;
    z-index: 10;
}

/* Botón VER OFERTA alineado */
.mola-btn-ver-oferta {
    display: block;
    background: #033457;
    color: #fff !important;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    font-size: 12px;
}

/* Rejilla de la Home */
.mola-results-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
}

/* --- DISEÑO DE LAS TARJETAS (BACKGROUND Y BORDES) --- */

.mola-card-premium {
    background: #ffffff !important;
    border-radius: 15px !important;
    border: 1px solid #eee !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.mola-card-premium:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

/* --- ESTILO PARA LAS OFERTAS DESTACADAS (GOLD) --- */
.mola-card-gold {
    border: 2px solid #fbc02d !important; /* Borde amarillo Mola */
    background: #fffcf5 !important; /* Un fondo ligerísimamente crema para que destaque */
    box-shadow: 0 8px 20px rgba(251, 192, 45, 0.2) !important;
}

/* Ajuste para que el título destaque dentro de la card */
.mola-card-body h3 a {
    color: #033457 !important;
    transition: color 0.3s !important;
}

.mola-card-body h3 a:hover {
    color: #fbc02d !important;
}

@media (max-width: 800px) {
    .mola-results-grid { grid-template-columns: 1fr !important; }
}
/* --- SECCIÓN CONTACTO PORTADA --- */
.mola-contact-wrapper {
    margin: 40px 0;
    font-family: 'Montserrat', sans-serif;
}

.mola-contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mola-contact-box {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.mola-contact-box:hover {
    transform: translateY(-5px);
}

.mola-contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.mola-box-whatsapp .mola-contact-icon { color: #25D366; }
.mola-box-email .mola-contact-icon { color: #033457; }

.mola-contact-box h3 {
    color: #033457;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 10px;
}

.mola-contact-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Botones */
.mola-btn-wa, .mola-btn-contact {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    transition: 0.3s;
}

.mola-btn-wa {
    background: #25D366;
    color: #fff !important;
}

.mola-btn-wa:hover { background: #128C7E; }

.mola-btn-contact {
    background: #033457;
    color: #fff !important;
}

.mola-btn-contact:hover { background: #fbc02d; color: #033457 !important; }

/* Responsive */
@media (max-width: 768px) {
    .mola-contact-container { grid-template-columns: 1fr; }
}

/* =============================================================================
   VITRINA ESTILO WATCH - EFECTO GIRO (FLIP) Y CORRECCIÓN DE BORDES
   ============================================================================= */

/* 1. Contenedor de la vitrina (Asegurar flex-wrap) */
.mola-watch-vitrina {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
    padding: 30px !important;
    margin-bottom: 50px !important;
}

/* 2. El contenedor del trofeo (Contenedor 3D) */
.mola-trofeo-container {
    width: 100px !important;
    height: 130px !important; /* Altura para icono + texto */
    perspective: 1000px !important; /* Esencial para el efecto 3D */
    cursor: pointer !important;
}

/* 3. El elemento que gira (Flip Card) */
.mola-trofeo-flip {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; /* Giro suave */
    transform-style: preserve-3d !important;
}

/* 4. Estado al pulsar (Giro de 180 grados) */
.mola-trofeo-container.is-flipped .mola-trofeo-flip {
    transform: rotateY(180deg) !important;
}

/* 5. Caras Comunes (Delantera y Trasera) */
.mola-trofeo-front, .mola-trofeo-back {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    backface-visibility: hidden !important; /* Oculta la cara de atrás al girar */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    border-radius: 15px; /* Suavizar las esquinas del bloque entero */
}

/* 6. CARA DELANTERA (La Insignia) */
.mola-trofeo-front {
    z-index: 2 !important;
    transform: rotateY(0deg) !important; /* Posición inicial */
}

/* 7. CARA TRASERA (El Texto de Logro) */
.mola-trofeo-back {
    transform: rotateY(180deg) !important; /* Empieza girada */
    background: #ffffff; /* Fondo para el texto */
    border: 2px solid #e2e8f0;
    padding: 15px !important;
    justify-content: center !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Estado Desbloqueado Trasero */
.mola-trofeo-back.is-unlocked {
    border-color: #fbc02d !important;
    background: #fffdf5;
}

/* --- ESTILOS INTERNOS (Iconos y Textos) --- */

/* Icono (Círculo Frontal) */
.mola-trofeo-icon-wrap {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 10px !important;
    background: #f8fafc;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 35px !important;
    position: relative !important;
    border: 3px solid #e2e8f0 !important;
    overflow: hidden !important; /* CORRECCIÓN DE BORDES BLANCOS: Corta lo que sobresale */
}

/* Estado Desbloqueado Frontal */
.mola-trofeo-front.is-unlocked .mola-trofeo-icon-wrap {
    background: #fff !important;
    border-color: #fbc02d !important;
    box-shadow: 0 10px 20px rgba(251, 192, 45, 0.2) !important;
}

/* Imagen de Insignia (Corrección Total) */
.mola-trofeo-icon-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Fuerza a rellenar el círculo sin deformar */
    object-position: center !important;
    border-radius: 50% !important; /* Se adapta al círculo */
    display: block !important;
}

/* Estado Bloqueado */
.mola-trofeo-front.is-locked .mola-trofeo-icon-wrap {
    filter: grayscale(1) opacity(0.3);
}

/* Nombre de Trofeo (Delantero) */
.mola-trofeo-name {
    font-size: 11px !important;
    color: #033457 !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* Texto Trasero (El tipo de logro) */
.mola-back-title {
    font-size: 14px;
    font-weight: 900;
    color: #033457;
    margin-bottom: 5px;
}

.mola-back-status {
    font-size: 11px;
    font-weight: 700;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 4px 10px;
    border-radius: 20px;
}

.mola-back-status.is-locked {
    color: #666;
    background: #eee;
}

/* Candado Pequeño (Frontal) */
.mola-lock-small {
    position: absolute !important;
    bottom: -5px;
    right: -5px;
    background: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 3;
}
.mola-trofeo-back {
    padding: 10px !important;
    text-align: center;
    line-height: 1.2 !important;
}

.mola-back-title {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Máximo 2 líneas para el nombre del reto */
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 26px; /* Altura fija para que no baile el diseño */
}

/* Bloque de oferta dentro de la ruta */
.mola-oferta-destacada-ruta {
    background: #033457; /* Azul Mola */
    color: #ffffff;
    padding: 20px 15px;
    border-radius: 12px;
    margin: 15px 0;
    text-align: center;
    position: relative;
    border: 2px solid #fbc02d; /* Borde Oro Mola */
    box-shadow: 0 8px 15px rgba(3, 52, 87, 0.2);
}

.mola-oferta-destacada-ruta p {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.mola-oferta-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fbc02d;
    color: #033457;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Efecto sutil de pulso para que no dejen de mirarlo */
@keyframes pulse-mola {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
    100% { transform: translateX(-50%) scale(1); }
}
.mola-oferta-badge {
    animation: pulse-mola 2s infinite;
}