/*
Theme Name: TopStay - Rental State
Theme URI: https://topstay.co/
Description: Plataforma premium de gestión de rentas y propiedades. Powered by Corebill Engine con integración nativa de Blesta API para facturación y soporte automatizado.
Author: TopStay Team / Corebill
Version: 1.0.0
Text Domain: rental-corebill
*/


/* Forzar que todas las imágenes de las propiedades tengan la misma proporción */

.property-card-img {
    height: 250px;
    /* Altura fija para la imagen */
    overflow: hidden;
}

.property-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Recorta la imagen para llenar el espacio sin deformarse */
}


/* Forzar que el cuerpo del texto tenga una altura mínima para alinear botones */

.owl-rooms .details .text {
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


/* Limitar el texto de la intro para que no rompa el diseño */

.intro-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Máximo 2 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    margin-bottom: 5px;
}


/* Forzar que el header tenga fondo oscuro en páginas internas para que el menú blanco se vea */

header:not(.index) {
    background: rgba(43, 45, 51, 0.9) !important;
    position: relative;
}


/* Corregir el solapamiento del botón Add Property en el dashboard */

.page-my-properties .text-right .btn-main {
    margin-top: 10px;
    z-index: 1;
    position: relative;
}


/* Asegurar que el logo y menú tengan espacio suficiente */

.navigation-main .logo {
    padding: 15px 0;
}

.navigation-block {
    margin-top: 10px;
}

.booking-card {
    background: #fff;
    padding: 25px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gold-line {
    border-top: 2px solid #c5a47e;
    width: 50px;
    margin: 15px 0;
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    background: none;
    border: none;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: 0.3s;
}

.auth-tab.active {
    color: #2b2d33;
    border-bottom: 2px solid #c5a47e;
}

.btn-send-request {
    background: #004a67;
    /* Azul Colina */
    color: white;
    width: 100%;
    border: none;
    padding: 12px;
    font-weight: bold;
    margin-top: 15px;
    transition: 0.3s;
}

.btn-send-request:hover {
    background: #c5a47e;
}

.auth-content input {
    margin-bottom: 10px;
}

.forgot-link {
    font-size: 11px;
    color: #c5a47e;
    display: block;
    margin-bottom: 10px;
}

.total-display {
    background: #f9f9f9;
    padding: 10px;
    margin-top: 15px;
    border-radius: 4px;
}

.gold-text {
    color: #c5a47e;
}


/* 1. ESTRUCTURA BASE DEL HEADER (Unificada) */

header.main-header-container {
    position: sticky !important;
    /* Forzamos sticky para ganar a cualquier otro estilo */
    top: 0;
    z-index: 9999;
    width: 100%;
    transition: all 0.4s ease-in-out;
    /* Fondo por defecto (transparente o degradado azul) */
    background: linear-gradient(to bottom, #6a7a9a, #4a5a7a);
}


/* 2. COMPORTAMIENTO EN PÁGINAS INTERNAS (Sin romper el sticky) */

body:not(.home) header.main-header-container {
    background: rgba(43, 45, 51, 0.95);
    /* Fondo oscuro sólido para que se vea el menú */
}


/* 3. ESTADO STICKY (Cuando el usuario baja el scroll) 
   Usamos ambas clases para asegurar compatibilidad con el JS del tema y el nuestro */

header.main-header-container.sticked,
header.main-header-container.is-sticky {
    background: #ffffff !important;
    /* Fondo blanco al bajar */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}


/* 4. LOGO E ICONOS EN ESTADO STICKY (Cambio a colores oscuros) */

header.sticked .logo-default-icon i,
header.is-sticky .logo-default-icon i,
header.sticked .logo-default-icon span,
header.is-sticky .logo-default-icon span {
    color: #2b2d33 !important;
}

header.sticked .navigation-main .navigation-block .navigation-left>li>a,
header.sticked .navigation-main .navigation-block .navigation-right>li>a {
    color: #2b2d33 !important;
    /* Asegura que el texto del menú sea legible en fondo blanco */
}


/* Reducción de logo en sticky */

header.sticked .logo img,
header.is-sticky .logo img {
    max-height: 50px !important;
    width: auto;
}


/* 5. ICONO DE HOTEL (Default) */

.default-hotel-icon {
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.default-hotel-icon i {
    font-size: 32px;
    margin-bottom: 2px;
}

.default-hotel-icon span {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}


/* 1. ESTRUCTURA BASE DEL HEADER */

header.main-header-container {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    width: 100%;
    transition: all 0.4s ease-in-out;
    background: linear-gradient(to bottom, #6a7a9a, #4a5a7a);
}


/* 3. ESTADO STICKY (Cuando el usuario baja el scroll) */

header.main-header-container.sticked {
    background: #0a4a6b !important;
    /* Azul oscuro Colina */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

header.main-header-container.sticked .navigation-left>li>a,
header.main-header-container.sticked .navigation-right>li>a {
    color: #fff !important;
}


/* Dashboard de Gestión */

.manage-property-container {
    background: #f8f9fa;
    padding-top: 50px;
    padding-bottom: 50px;
}

.property-preview {
    border-radius: 12px;
    border: 1px solid #eee;
}


/* Badge de Precio */

.price-badge {
    background: #2b2d33;
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: bold;
}


/* Estilo de los Dropsones */

.dropzone {
    border: 2px dashed #c5a47e !important;
    background: #fdfaf7 !important;
    border-radius: 10px;
    color: #c5a47e;
    font-weight: bold;
}


/* Sidebar Nav */

.nav-pills .nav-link.active {
    background-color: #c5a47e !important;
}

.nav-link {
    color: #2b2d33;
    transition: 0.3s;
}

.nav-link:hover {
    color: #c5a47e;
}


/* Room Cards */

.room-card {
    border: 1px solid #eee;
    transition: transform 0.3s;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}


/* ==========================================================================
   REGISTER PAGE STYLES
   ========================================================================== */


/* 1. ESTILOS GENERALES Y LAYOUT */

.register-section {
    padding: 60px 0;
    background: #f4f4f4;
    min-height: 100vh;
}

.register-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #c5a47e;
}

.register-card h2 {
    color: #2b2d33;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-size: 22px;
}

.register-card .row {
    display: flex;
    flex-wrap: wrap;
}

.register-card .col-sm-6,
.register-card .col-sm-4,
.register-card .col-sm-12 {
    display: flex;
    flex-direction: column;
}


/* 2. FORMULARIOS E INPUTS */

.form-group {
    margin-bottom: 15px;
    width: 100%;
    position: relative;
}

.form-group label {
    font-weight: 600;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

.form-control {
    height: 45px;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding-right: 40px;
}

.validation-msg {
    font-size: 11px;
    font-weight: bold;
    min-height: 15px;
    margin-top: 4px;
    display: block;
}

.text-danger {
    color: #d9534f;
}

.text-success {
    color: #5cb85c;
}

.input-error {
    border-color: #d9534f !important;
}

.input-success {
    border-color: #5cb85c !important;
}


/* Iconos dentro de los inputs */

.input-group-custom {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group-custom .input-icon {
    position: absolute;
    left: 12px;
    color: #c5a47e;
    font-size: 14px;
    z-index: 2;
}

.input-group-custom .form-control {
    padding-left: 35px !important;
}


/* Toggle Ver Password */

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 3;
    color: #999;
    font-size: 16px;
    line-height: 1;
}

.toggle-password:hover {
    color: #c5a47e;
}


/* 3. BOTONES Y MENSAJES */

.btn-gold {
    background: #c5a47e;
    color: #fff;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    padding: 12px 20px;
    width: 100%;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: #2b2d33;
    color: #fff;
}

.btn-gold:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

#form-error-msg {
    background: #f2dede;
    color: #a94442;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #ebccd1;
    margin-bottom: 20px;
    display: none;
    text-align: center;
    font-weight: bold;
}

#form-success-msg {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
    margin-bottom: 20px;
    display: none;
    text-align: center;
    font-weight: bold;
}


/* 4. TÉRMINOS Y CONDICIONES (SWITCH) */

.terms-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
    width: 100%;
}

.terms-link {
    color: #c5a47e;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.terms-link:hover {
    color: #2b2d33;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #c5a47e;
}

input:checked+.slider:before {
    transform: translateX(24px);
}


/* 5. SELECT2 CUSTOMIZATION */

.select2-container .select2-selection--single {
    height: 45px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    padding-left: 35px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 45px !important;
    color: #555 !important;
    padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px !important;
}

.select2-dropdown {
    border: 1px solid #c5a47e !important;
    border-radius: 4px !important;
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    padding: 8px !important;
}

.select2-container--open .select2-dropdown {
    z-index: 9999 !important;
}

.select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #c5a47e !important;
    color: #fff !important;
}


/* 6. SPINNERS Y ANIMACIONES */

.loading-spinner {
    display: inline-block;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-gold .loading-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #c5a47e;
    margin-right: 10px;
}

#city-loading .loading-spinner,
#zip-loading .loading-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(197, 164, 126, 0.3);
    border-top-color: #c5a47e;
}

#city-loading,
#zip-loading {
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

#register-btn i {
    margin-right: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* ==========================================================================
   SINGLE PROPERTY PAGE - REGISTRATION FORM STYLES
   Prefijo: spr- (Single Property Registration)
   ========================================================================== */


/* Input con Icono */

.spr-input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.spr-input-with-icon i.fa-envelope,
.spr-input-with-icon i.fa-lock,
.spr-input-with-icon i.fa-user,
.spr-input-with-icon i.fa-map-marker,
.spr-input-with-icon i.fa-map,
.spr-input-with-icon i.fa-building,
.spr-input-with-icon i.fa-hashtag,
.spr-input-with-icon i.fa-check-circle,
.spr-input-with-icon i.fa-globe {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 13px;
    z-index: 10;
    pointer-events: none;
}

.spr-input-with-icon .spr-form-control {
    width: 100%;
    padding: 8px 12px 8px 38px !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    transition: all 0.3s;
    height: 38px;
    box-sizing: border-box;
}

.spr-input-with-icon .spr-form-control:focus {
    border-color: #c5a47e;
    outline: none;
    box-shadow: 0 0 5px rgba(197, 164, 126, 0.3);
}

.spr-input-with-icon .spr-form-control:focus+i,
.spr-input-with-icon:focus-within i {
    color: #c5a47e;
}


/* Estados de Validación */

.spr-input-with-icon .spr-form-control.spr-input-error {
    border-color: #d9534f !important;
    box-shadow: 0 0 5px rgba(217, 83, 79, 0.3) !important;
}

.spr-input-with-icon .spr-form-control.spr-input-success {
    border-color: #5cb85c !important;
    box-shadow: 0 0 5px rgba(92, 184, 92, 0.3) !important;
}


/* Botón Deshabilitado */

#spr-property-register-btn:disabled {
    background: #ccc !important;
    cursor: not-allowed;
    opacity: 0.6;
}


/* Toggle Password */

.spr-toggle-password {
    position: absolute !important;
    right: 10px !important;
    left: auto !important;
    z-index: 11;
}


/* Toggle Switch para Términos */

.spr-terms-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.spr-terms-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.spr-terms-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.spr-terms-switch .slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.spr-terms-switch input:checked+.slider {
    background-color: #c5a47e;
}

.spr-terms-switch input:checked+.slider:before {
    transform: translateX(24px);
}

.spr-terms-switch input:focus+.slider {
    box-shadow: 0 0 3px rgba(197, 164, 126, 0.5);
}


/* Loading Spinner */

.spr-loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(197, 164, 126, 0.3);
    border-radius: 50%;
    border-top-color: #c5a47e;
    animation: spr-spin 1s ease-in-out infinite;
}

@keyframes spr-spin {
    to {
        transform: rotate(360deg);
    }
}


/* Select2 Customization para Property Page */

.select2-container .spr-searchable-select+.select2 {
    width: 100% !important;
}

.select2-container .spr-searchable-select+.select2 .select2-selection--single {
    height: 38px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding-left: 38px !important;
    font-size: 12px !important;
}

.select2-container--default .spr-searchable-select+.select2 .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
    color: #555 !important;
    padding-left: 0 !important;
}

.select2-container--default .spr-searchable-select+.select2 .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}

.select2-dropdown {
    border: 1px solid #c5a47e !important;
    border-radius: 4px !important;
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    padding: 8px !important;
}

.select2-container--open .select2-dropdown {
    z-index: 9999 !important;
}

.select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #c5a47e !important;
    color: #fff !important;
}


/* ==========================================================================
   SELECT2 - CORRECCIÓN DE ANCHO Y FUENTE PARA SINGLE PROPERTY
   ========================================================================== */


/* Forzar que el contenedor Select2 ocupe 100% del ancho del padre */

.spr-input-with-icon .select2-container,
.spr-input-with-icon .select2-container--default {
    width: 100% !important;
    display: block !important;
}


/* El select original también debe ser 100% */

.spr-input-with-icon select.spr-searchable-select {
    width: 100% !important;
    display: block !important;
}


/* Asegurar que la selección de Select2 tenga el mismo font-size */

.select2-container .spr-searchable-select+.select2 .select2-selection--single {
    height: 38px !important;
    font-size: 12px !important;
    line-height: 36px !important;
    padding-left: 38px !important;
}


/* El texto renderizado dentro de Select2 */

.select2-container--default .spr-searchable-select+.select2 .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
    font-size: 12px !important;
    color: #555 !important;
    padding-left: 0 !important;
}


/* La flecha del dropdown */

.select2-container--default .spr-searchable-select+.select2 .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
    right: 10px !important;
}


/* Dropdown de resultados */

.select2-container--default .spr-searchable-select+.select2 .select2-results__option {
    font-size: 12px !important;
    padding: 6px 10px !important;
}


/* Campo de búsqueda dentro del dropdown */

.select2-container--default .spr-searchable-select+.select2 .select2-search--dropdown .select2-search__field {
    font-size: 12px !important;
    padding: 8px !important;
    height: 34px !important;
}


/* Opción seleccionada/highlighted */

.select2-container--default .spr-searchable-select+.select2 .select2-results__option--highlighted[aria-selected] {
    background-color: #c5a47e !important;
    color: #fff !important;
    font-size: 12px !important;
}


/* Asegurar que el input manual también tenga el mismo tamaño */

.spr-input-with-icon input.spr-form-control#spr-city-manual,
.spr-input-with-icon input.spr-form-control#spr-zip-manual {
    width: 100% !important;
    font-size: 12px !important;
    height: 38px !important;
    padding-left: 38px !important;
    box-sizing: border-box !important;
}

.navigation-left .explore-menu {
    position: relative;
}


/* ==========================================
✅ EXPLORE MEGA MENU - CLICK + HOVER TOGGLE
========================================== */


/* Contenedor principal */

.explore-menu {
    position: relative;
}


/* Mega menú - oculto por defecto */

.mega-menu-explore {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    width: max-content;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    display: none;
    /* Oculto por defecto */
    z-index: 1000;
}


/* MOSTRAR mega menú con .active O .hovered */

.explore-menu.active>.mega-menu-explore,
.explore-menu.hovered>.mega-menu-explore,
.explore-menu.hovered.active>.mega-menu-explore {
    display: block;
}


/* Items de Estado */

.state-item {
    position: relative;
    list-style: none;
}

.state-item>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.state-item>a:hover {
    background: #f8f9fa;
    color: #c5a47e;
}


/* Submenú de Ciudades - oculto por defecto */

.cities-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background: #ffffff;
    min-width: 200px;
    width: max-content;
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0 8px 8px 0;
    padding: 10px 0;
    display: none;
    z-index: 1001;
    border-left: 1px solid #eee;
}


/* MOSTRAR ciudades con .active O .hovered en state-item */

.state-item.active>.cities-submenu,
.state-item.hovered>.cities-submenu,
.state-item.hovered.active>.cities-submenu {
    display: block;
}


/* Flecha de estado */

.state-item .fa-chevron-right {
    font-size: 10px;
    color: #999;
    transition: transform 0.3s ease;
}


/* Flecha rotada cuando está activo O hovered */

.explore-menu.active .fa-chevron-down,
.explore-menu.hovered .fa-chevron-down,
.explore-menu.hovered.active .fa-chevron-down {
    transform: rotate(180deg);
}

.state-item.active .fa-chevron-right,
.state-item.hovered .fa-chevron-right,
.state-item.hovered.active .fa-chevron-right {
    transform: translateX(5px);
    color: #c5a47e;
}


/* ==========================================
✅ MOBILE RESPONSIVE (Max 992px)
========================================== */

@media (max-width: 992px) {
    .mega-menu-explore {
        position: absolute;
        width: 100% !important;
        box-shadow: none;
        border: none;
        display: none;
        padding-left: 15px;
    }
    /* Mostrar con .active O .hovered en mobile */
    .explore-menu.active>.mega-menu-explore,
    .explore-menu.hovered>.mega-menu-explore,
    .explore-menu.hovered.active>.mega-menu-explore {
        display: block;
    }
    .explore-menu.active .fa-chevron-down,
    .explore-menu.hovered .fa-chevron-down,
    .explore-menu.hovered.active .fa-chevron-down {
        transform: rotate(180deg);
    }
    .state-item.active .fa-chevron-right,
    .state-item.hovered .fa-chevron-right,
    .state-item.hovered.active .fa-chevron-right {
        transform: rotate(90deg);
    }
}


/* ==========================================
PRIMER NIVEL: MEGA MENÚ DE ESTADOS
========================================== */


/* Oculto por defecto */

.navigation-left .explore-menu>.mega-menu-explore {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    z-index: 1000;
    /* OCULTO POR DEFECTO */
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}


/* MOSTRAR al hacer hover en el padre */

.navigation-left .explore-menu:hover>.mega-menu-explore {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Items de Estado */

.navigation-left .mega-menu-explore>.state-item {
    position: relative;
    list-style: none;
}

.navigation-left .state-item>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.navigation-left .state-item>a:hover {
    background: #f8f9fa;
    color: #c5a47e;
}


/* ==========================================
✅ EXPLORE MEGA MENU - ESTADOS DIRECTOS
========================================== */


/* Contenedor principal */

.explore-menu {
    position: relative;
}


/* Mega menú - oculto por defecto */

.mega-menu-explore {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    width: max-content;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    display: none;
    z-index: 1000;
}


/* MOSTRAR mega menú al hacer hover en Explore */

.explore-menu:hover>.mega-menu-explore {
    display: block;
}


/* Items de Estado */

.state-item {
    list-style: none;
}

.state-item>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.state-item:hover>a {
    background: #f8f9fa;
    color: #c5a47e;
}


/* Contador de propiedades */

.property-count {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    margin-left: 8px;
}


/* ==========================================
✅ MOBILE RESPONSIVE (Max 992px)
========================================== */

@media (max-width: 992px) {
    .mega-menu-explore {
        position: static;
        width: 100% !important;
        box-shadow: none;
        display: none;
        padding-left: 15px;
    }
}