@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --re-gold: #c5a880;
    --re-gold-light: #e8d5b7;
    --re-gold-dark: #a8905f;
    --re-dark: #1a1a2e;
    --re-dark-soft: #2c2c3a;
    --re-bg: #f8f7f4;
    --re-card-bg: #ffffff;
    --re-text: #2c2c2c;
    --re-text-muted: #777;
    --re-border: #e8e5df;
    --re-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --re-shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --re-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --re-shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
    --re-radius: 12px;
    --re-radius-lg: 16px;
    --re-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Body Class Prefix */
body.re-homepage {
    background-color: var(--re-bg) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    color: var(--re-text);
    overflow-x: hidden; /* Prevents overflow from full-width elements */
}

/* Hide original header elements/titles from Elementor if necessary */
body.re-homepage h1.elementor-heading-title,
body.re-homepage .elementor-element-c68e146,
body.re-homepage .re-mobile-search-trigger,
body.re-homepage .re-bottom-nav,
body.re-homepage #filtro-toggle {
    display: none !important;
}

/* --- WIDESCREEN HEADER & SPACING OVERRIDES --- */
@media only screen and (min-width: 48em) {
    /* Make the white header widescreen (100% width) and compress vertical spaces */
    body.re-homepage .header-navbar,
    body.re-homepage .header-navbar:last-child {
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        padding-left: 5% !important;
        padding-right: 5% !important;
        box-sizing: border-box !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    /* Remove gaps between menu/header and Hero banner */
    body.re-homepage .site-header,
    body.re-homepage header.site-header {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    body.re-homepage .content-area,
    body.re-homepage .site-content {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    body.re-homepage #re-hero-section {
        margin-top: 0 !important;
        top: 0 !important;
    }
}

/* Perfect alignment and centering for the user avatar silhouette in "Mi Cuenta" */
body.re-homepage .hp-menu__item--user-account i.hp-icon,
body.re-homepage .hp-menu__item--user-account .fa-user {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 1 !important;
    text-align: center !important;
    border-radius: 50% !important;
    background-color: #9b9b9b !important;
    color: #ffffff !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
    position: relative !important;
}

body.re-homepage .hp-menu__item--user-account i.hp-icon::before,
body.re-homepage .hp-menu__item--user-account .fa-user::before {
    display: block !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* --- HERO SECTION (FULL WIDTH) --- */
#re-hero-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    margin-top: 0;
    margin-bottom: -50px; /* Pull the filter bar up */
    z-index: 1;
}

.re-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(26,26,46,0.7) 0%, rgba(26,26,46,0.85) 100%);
    z-index: 2;
}

.re-hero-content {
    position: relative;
    max-width: 850px;
    z-index: 3;
    color: #ffffff;
    padding: 0 20px;
}

.re-hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.re-hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #eae9e5;
}

/* Dynamic Hero CTA Button */
.re-hero-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--re-gold) 0%, var(--re-gold-dark) 100%);
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 36px;
    border-radius: 30px;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(197, 168, 128, 0.4);
    transition: var(--re-transition);
}

.re-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.5);
    background: linear-gradient(135deg, var(--re-gold-light) 0%, var(--re-gold) 100%);
}

@media (max-width: 767px) {
    #re-hero-section {
        min-height: 340px;
        padding: 60px 15px;
        margin-bottom: -30px;
    }
    .re-hero-title {
        font-size: 2rem;
    }
    .re-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .re-hero-cta {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

/* --- CONTAINER & LAYOUT --- */
body.re-homepage .cotizador-eventos-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
    position: relative;
    z-index: 4;
}

body.re-homepage .re-content-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    align-items: flex-start;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

/* Kill original float structure and align correctly */
body.re-homepage .filtros-laterales,
body.re-homepage .filtro-eventos-y-resultados {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.re-homepage .filtros-laterales {
    width: 280px !important;
    flex: 0 0 280px;
    box-sizing: border-box;
}

body.re-homepage .filtro-eventos-y-resultados {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    body.re-homepage .re-content-layout {
        gap: 20px;
    }
    body.re-homepage .filtros-laterales {
        width: 250px !important;
        flex: 0 0 250px;
    }
}

/* --- FILTER BAR (MAIN FILTER - DESKTOP GLASSMORPHISM) --- */
body.re-homepage .filtro-principal {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 24px 30px !important;
    border-radius: var(--re-radius-lg) !important;
    box-shadow: var(--re-shadow-lg) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    margin-bottom: 0 !important;
    transition: var(--re-transition);
}

body.re-homepage .filtro-principal.is-sticky {
    position: sticky;
    top: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--re-shadow-lg) !important;
}

body.re-homepage .filtro-principal h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px !important;
    color: var(--re-dark) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.re-homepage .filtro-principal h3::before {
    content: '🔍';
    font-size: 1.2rem;
}

body.re-homepage #filtro-eventos-form {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) auto !important;
    gap: 20px !important;
    align-items: end !important;
}

body.re-homepage .filtro-item {
    margin: 0 !important;
}

body.re-homepage .filtro-item label {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: var(--re-dark-soft) !important;
    text-transform: uppercase;
    margin-bottom: 8px !important;
    letter-spacing: 0.5px;
}

body.re-homepage .filtro-item select,
body.re-homepage .filtro-item input[type="date"],
body.re-homepage .filtro-item input[type="text"] {
    height: 48px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    border: 1px solid var(--re-border) !important;
    background-color: #fcfcfb !important;
    font-size: 0.9rem !important;
    color: var(--re-dark) !important;
    font-weight: 500 !important;
    transition: var(--re-transition) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

body.re-homepage .filtro-item select:focus,
body.re-homepage .filtro-item input[type="date"]:focus,
body.re-homepage .filtro-item input[type="text"]:focus {
    border-color: var(--re-gold) !important;
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2) !important;
    background-color: #ffffff !important;
    outline: none !important;
}

/* Buttons in Main Filter */
body.re-homepage .filtro-buttons {
    display: flex !important;
    gap: 12px !important;
    margin: 0 !important;
}

body.re-homepage .filtro-buttons button {
    height: 48px !important;
    padding: 0 24px !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: var(--re-transition) !important;
}

body.re-homepage .filtro-buttons button[type="submit"] {
    background: linear-gradient(135deg, var(--re-gold) 0%, var(--re-gold-dark) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(197, 168, 128, 0.3) !important;
}

body.re-homepage .filtro-buttons button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(197, 168, 128, 0.4) !important;
}

body.re-homepage #limpiar-filtros {
    background: transparent !important;
    color: var(--re-text-muted) !important;
    border: 1px solid var(--re-border) !important;
}

body.re-homepage #limpiar-filtros:hover {
    background: #eae9e5 !important;
    color: var(--re-dark) !important;
}

/* Responsive Main Filter Form (Desktop sizes) */
@media (max-width: 991px) {
    body.re-homepage #filtro-eventos-form {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    body.re-homepage .filtro-buttons {
        grid-column: span 2 !important;
        justify-content: flex-end !important;
    }
}

/* Hide native toggle on desktop */
#filtro-toggle {
    display: none;
}

/* --- SIDEBAR FILTERS (DESKTOP) --- */
body.re-homepage .re-sidebar-filters {
    background: var(--re-card-bg) !important;
    border-radius: var(--re-radius) !important;
    box-shadow: var(--re-shadow-sm) !important;
    border: 1px solid var(--re-border) !important;
    padding: 20px !important;
}

body.re-homepage .filtro-nombre,
body.re-homepage .filtros-adicionales {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 25px !important;
}

body.re-homepage .re-sidebar-filters h3,
body.re-homepage .re-sidebar-filters h4 {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: var(--re-dark) !important;
    margin-bottom: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.re-homepage .re-close-sidebar,
body.re-homepage .re-close-filter-modal {
    display: none;
}

/* --- LISTINGS ITEMS (CARDS - DESKTOP LAYOUT WIDTH FIX) --- */
body.re-homepage #resultados-eventos {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 25px !important;
    width: 100% !important;
}

body.re-homepage .evento-item {
    display: flex !important;
    flex-direction: column !important;
    background-color: var(--re-card-bg) !important;
    border-radius: var(--re-radius) !important;
    box-shadow: var(--re-shadow-sm) !important;
    border: 1px solid var(--re-border) !important;
    width: 100% !important; /* Force card to match filter width */
    height: auto !important;
    min-height: 420px !important;
    overflow: hidden !important;
    transition: var(--re-transition) !important;
    position: relative;
    box-sizing: border-box !important;
}

body.re-homepage .evento-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--re-shadow-hover) !important;
    border-color: rgba(197, 168, 128, 0.4) !important;
}

/* Thumbnail Section */
body.re-homepage .evento-thumbnail {
    flex: 0 0 200px !important;
    width: 100% !important;
    height: 200px !important;
    position: relative;
    border-radius: 0 !important;
}

body.re-homepage .galeria-slider {
    width: 100%;
    height: 100% !important;
}

body.re-homepage .evento-thumbnail img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
}

/* Info Section */
body.re-homepage .evento-info {
    flex: 1 !important;
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

body.re-homepage .evento-info h2 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--re-dark) !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
    padding-right: 0 !important;
}

body.re-homepage .cotizador-eventos-container .evento-descripcion,
body.re-homepage .cotizador-eventos-container .evento-descripcion p {
    font-size: 0.85rem !important;
    color: var(--re-text-muted) !important;
    line-height: 1.5 !important;
    margin-bottom: 16px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    height: auto !important;
}

body.re-homepage .evento-detalles {
    display: flex !important;
    gap: 15px !important;
    margin-bottom: 12px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: var(--re-dark-soft) !important;
}

body.re-homepage .evento-detalles .grid-item {
    padding: 0 !important;
    border: none !important;
    text-align: left !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

body.re-homepage .listing-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    border-top: 1px solid var(--re-border) !important;
    padding-top: 12px !important;
    margin-top: auto !important;
    align-items: center !important;
}

body.re-homepage .listing-grid .grid-item {
    border: none !important;
    padding: 0 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: var(--re-text-muted) !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
}

body.re-homepage .listing-grid .grid-item:nth-child(1) {
    justify-content: flex-start !important;
    text-align: left !important;
}

body.re-homepage .listing-grid .grid-item:nth-child(2) {
    justify-content: center !important;
    text-align: center !important;
}

body.re-homepage .listing-grid .grid-item:nth-child(3) {
    justify-content: flex-end !important;
    text-align: right !important;
}

body.re-homepage .rating {
    color: #ffb100 !important;
    font-size: 0.9rem !important;
}

/* Badge for RE */
body.re-homepage .re-icon {
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    background: var(--re-dark) !important;
    color: #ffffff !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    position: static !important;
    margin-left: 8px;
    vertical-align: middle;
}

/* Actions Section */
body.re-homepage .evento-acciones {
    flex: none !important;
    width: 100% !important;
    padding: 20px !important;
    border-left: none !important;
    border-top: 1px solid var(--re-border) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
    background-color: #fafafa !important;
}

body.re-homepage .evento-precio {
    text-align: left !important;
    margin-bottom: 12px !important;
}

body.re-homepage .evento-precio::before {
    content: 'desde';
    display: block;
    font-size: 0.75rem;
    color: var(--re-text-muted);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 2px;
}

body.re-homepage .precio-principal {
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    color: var(--re-gold-dark) !important;
}

body.re-homepage .evento-botones {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
}

body.re-homepage .evento-botones button,
body.re-homepage .evento-botones a {
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: var(--re-transition) !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
}

body.re-homepage .boton-reservar {
    background: linear-gradient(135deg, var(--re-gold) 0%, var(--re-gold-dark) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(197, 168, 128, 0.3) !important;
}

body.re-homepage .boton-reservar:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197, 168, 128, 0.4) !important;
}

body.re-homepage .boton-bloquear,
body.re-homepage .boton-visita {
    background: transparent !important;
    color: var(--re-gold-dark) !important;
    border: 1px solid var(--re-gold) !important;
}

body.re-homepage .boton-bloquear:hover,
body.re-homepage .boton-visita:hover {
    background: rgba(197, 168, 128, 0.08) !important;
}

body.re-homepage .boton-contactar {
    background: #eae9e5 !important;
    color: var(--re-dark) !important;
    border: none !important;
}

body.re-homepage .boton-contactar:hover {
    background: #dddbd5 !important;
}

/* Quote button integration */
body.re-homepage .eq-cart-add-button,
body.re-homepage .evento-botones .eq-cart-add-button {
    background: var(--re-dark) !important;
    color: #ffffff !important;
    border: none !important;
}

body.re-homepage .eq-cart-add-button:hover {
    background: var(--re-dark-soft) !important;
}

/* --- PAGINATION --- */
body.re-homepage .pagination {
    margin-top: 40px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
}

body.re-homepage .pagination a,
body.re-homepage .pagination .page-number {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 1px solid var(--re-border) !important;
    color: var(--re-dark) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    background: var(--re-card-bg) !important;
    transition: var(--re-transition) !important;
    text-decoration: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.re-homepage .pagination a.current,
body.re-homepage .pagination .page-number.current {
    background: linear-gradient(135deg, var(--re-gold) 0%, var(--re-gold-dark) 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

body.re-homepage .pagination a:hover:not(.current) {
    background: #eae9e5 !important;
    border-color: var(--re-gold) !important;
    color: var(--re-gold-dark) !important;
}

/* --- FAVORITE HEART BUTTON --- */
body.re-homepage .hp-link {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--re-transition) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body.re-homepage .hp-link:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    transform: scale(1.1);
}

body.re-homepage .hp-link .hp-icon {
    font-size: 16px !important;
    color: #ffffff !important;
}

body.re-homepage .hp-link.hp-state-active .hp-icon {
    color: #ff385c !important;
}

/* Gallery Slider Navigation Arrows */
body.re-homepage .prev-slide,
body.re-homepage .next-slide {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.7) !important;
    color: var(--re-dark) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    font-size: 12px !important;
    box-shadow: var(--re-shadow-sm) !important;
    transition: var(--re-transition) !important;
    backdrop-filter: blur(4px);
    border: 1px solid var(--re-border) !important;
}

body.re-homepage .prev-slide:hover,
body.re-homepage .next-slide:hover {
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: var(--re-dark) !important;
    transform: translateY(-50%) scale(1.05);
}

/* --- SKELETON LOADER ANIMATION --- */
.re-skeleton-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
}

.re-skeleton-card {
    background: #ffffff;
    border-radius: var(--re-radius);
    padding: 24px;
    display: flex;
    gap: 24px;
    border: 1px solid var(--re-border);
    min-height: 240px;
    box-sizing: border-box;
}

.re-skeleton-thumb {
    width: 280px;
    height: 180px;
    background: #eae9e5;
    border-radius: 8px;
    flex-shrink: 0;
}

.re-skeleton-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.re-skeleton-line {
    height: 16px;
    background: #eae9e5;
    border-radius: 4px;
}

.re-skeleton-line.title { width: 50%; height: 24px; }
.re-skeleton-line.desc { width: 85%; height: 14px; }
.re-skeleton-line.desc-short { width: 60%; height: 14px; }
.re-skeleton-line.meta { width: 40%; }

.re-shimmer {
    background: linear-gradient(90deg, #eae9e5 25%, #f2f1ed 50%, #eae9e5 75%);
    background-size: 200% 100%;
    animation: shimmer-anim 1.5s infinite;
}

@keyframes shimmer-anim {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* --- MOBILE LAYOUT & RESPONSIVENESS (AIRBNB STYLE REDESIGN) --- */
@media (max-width: 767px) {
    /* Prevent behind bottom-nav items scroll block */
    body.re-homepage {
        padding-bottom: 90px !important;
    }

    body.re-homepage.re-modal-active {
        overflow: hidden !important; /* Lock body scroll when modal or drawer is active */
    }

    body.re-homepage .cotizador-eventos-container {
        padding: 0 15px 40px !important;
    }

    /* Layout general on mobile */
    body.re-homepage .re-content-layout {
        flex-direction: column !important;
        gap: 20px;
        margin-top: 20px;
    }

    body.re-homepage .re-mobile-search-trigger {
        display: flex !important;
        align-items: center;
        background: #ffffff;
        border: 1px solid var(--re-border);
        box-shadow: var(--re-shadow-md);
        border-radius: 30px;
        padding: 10px 18px;
        margin: 15px auto 10px auto;
        width: 100%;
        max-width: 500px;
        box-sizing: border-box;
        cursor: pointer;
        position: sticky;
        top: 10px;
        z-index: 99;
        transition: var(--re-transition);
    }

    .re-mobile-search-trigger:hover {
        box-shadow: var(--re-shadow-lg);
        border-color: var(--re-gold-light);
    }

    .re-mobile-search-trigger .search-icon {
        font-size: 16px;
        margin-right: 12px;
        color: var(--re-gold-dark);
    }

    .re-mobile-search-trigger .search-text {
        flex: 1;
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    .re-mobile-search-trigger .main-text {
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--re-dark);
    }

    .re-mobile-search-trigger .sub-text {
        font-size: 0.7rem;
        color: var(--re-text-muted);
        font-weight: 500;
        margin-top: 1px;
    }

    .re-mobile-search-trigger .filter-icon-badge {
        background: rgba(197, 168, 128, 0.15);
        color: var(--re-gold-dark);
        font-size: 14px;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
        transition: var(--re-transition);
    }

    .re-mobile-search-trigger .filter-icon-badge:hover {
        background: var(--re-gold-dark);
        color: #ffffff;
    }

    /* Main Filter Panel (.filtro-principal) -> FULLSCREEN POPUP MODAL ON MOBILE */
    body.re-homepage .filtro-principal {
        display: none !important; /* Hidden by default */
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1005 !important;
        background: #ffffff !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        padding: 60px 24px 90px 24px !important;
        box-sizing: border-box !important;
        flex-direction: column !important;
        overflow-y: auto !important;
    }

    body.re-homepage .filtro-principal.re-filter-modal-open {
        display: flex !important; /* Show as flex on trigger */
        animation: modalSlideUp 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    @keyframes modalSlideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    /* Modal Close Button */
    body.re-homepage .re-close-filter-modal {
        display: flex !important;
        position: absolute !important;
        top: 20px !important;
        left: 20px !important;
        background: #eae9e5 !important;
        border: none !important;
        font-size: 24px !important;
        color: var(--re-dark) !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        z-index: 10;
    }

    body.re-homepage .re-close-filter-modal:hover {
        background: #dddbd5 !important;
    }

    /* Modifying filter form layouts inside modal */
    body.re-homepage #filtro-eventos-form {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
        height: auto !important;
    }

    body.re-homepage .filtro-principal h3 {
        text-align: center !important;
        justify-content: center !important;
        font-size: 1.15rem !important;
        margin-bottom: 15px !important;
    }

    body.re-homepage .filtro-principal h3::before {
        display: none !important;
    }

    body.re-homepage .filtro-principal .filtro-item {
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        flex: 0 0 auto !important;
        height: auto !important;
        display: block !important;
    }

    body.re-homepage .filtro-principal .filtro-item label {
        margin-bottom: 4px !important;
    }

    body.re-homepage .filtro-principal .filtro-item select,
    body.re-homepage .filtro-principal .filtro-item input {
        height: 42px !important;
    }

    body.re-homepage .filtro-principal .filtro-buttons {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 80px !important;
        background: #ffffff !important;
        padding: 18px 24px !important;
        border-top: 1px solid var(--re-border) !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        z-index: 10006 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    body.re-homepage .filtro-principal .filtro-buttons button {
        height: 44px !important;
        width: 100% !important;
        font-size: 0.9rem !important;
    }

    body.re-homepage .re-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 70px !important;
        background: #ffffff !important;
        border-top: 1px solid var(--re-border) !important;
        box-shadow: 0 -4px 16px rgba(0,0,0,0.06) !important;
        z-index: 1000 !important;
        justify-content: space-around !important;
        align-items: center !important;
        box-sizing: border-box !important;
        padding: 0 10px !important;
    }

    .re-nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--re-text-muted) !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        font-size: 0.7rem !important;
        transition: var(--re-transition) !important;
        flex: 1 !important;
        height: 100% !important;
        gap: 4px !important;
    }

    .re-nav-item .nav-icon {
        font-size: 20px !important;
        line-height: 1 !important;
        color: var(--re-text-muted) !important;
        transition: var(--re-transition) !important;
    }

    .re-nav-item.active {
        color: var(--re-gold-dark) !important;
    }

    .re-nav-item.active .nav-icon {
        color: var(--re-gold) !important;
    }

    /* Float FAB toggle button (Bottom-right) */
    body.re-homepage #filtro-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: fixed !important;
        bottom: 85px !important; /* Stays above the bottom navigation bar */
        right: 20px !important;
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, var(--re-gold) 0%, var(--re-gold-dark) 100%) !important;
        color: #ffffff !important;
        font-size: 20px !important;
        box-shadow: 0 4px 16px rgba(197, 168, 128, 0.4) !important;
        border: none !important;
        z-index: 999 !important;
        cursor: pointer !important;
    }

    /* Hide overlays when search modal is open */
    body.re-homepage.re-modal-active .re-bottom-nav,
    body.re-homepage.re-modal-active #filtro-toggle {
        display: none !important;
    }

    /* Collapsible Sidebar (Drawer on Mobile) */
    body.re-homepage .re-sidebar-filters {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 85% !important;
        max-width: 320px !important;
        height: 100% !important;
        z-index: 1006 !important;
        background: #ffffff !important;
        box-shadow: 0 0 30px rgba(0,0,0,0.2) !important;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        overflow-y: auto !important;
        border-radius: 0 !important;
        border: none !important;
        padding: 60px 20px 20px 20px !important;
    }

    body.re-homepage .re-sidebar-filters.re-filters-open {
        left: 0 !important;
    }

    /* Mobile Sidebar Close Button */
    body.re-homepage .re-close-sidebar {
        display: flex !important;
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        background: #eae9e5 !important;
        border: none !important;
        font-size: 24px !important;
        color: var(--re-dark) !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 50% !important;
        cursor: pointer !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    /* Backdrop overlays */
    .re-modal-backdrop, .re-sidebar-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(26,26,46,0.6) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: var(--re-transition) !important;
    }

    .re-modal-backdrop { z-index: 1004 !important; }
    .re-sidebar-backdrop { z-index: 1005 !important; }

    .re-modal-backdrop.active, .re-sidebar-backdrop.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Cards adaptations for mobile stack */
    body.re-homepage #resultados-eventos {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    body.re-homepage .evento-item {
        flex-direction: column !important;
        min-height: auto !important;
        width: 100% !important;
    }

    body.re-homepage .evento-thumbnail {
        width: 100% !important;
        height: 200px !important;
        flex: none !important;
    }

    body.re-homepage .evento-info {
        padding: 16px !important;
        width: 100% !important;
    }

    body.re-homepage .evento-info h2 {
        font-size: 1.15rem !important;
    }

    body.re-homepage .cotizador-eventos-container .evento-descripcion,
    body.re-homepage .cotizador-eventos-container .evento-descripcion p {
        margin-bottom: 8px !important;
        -webkit-line-clamp: 2 !important;
    }

    body.re-homepage .listing-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    body.re-homepage .evento-acciones {
        width: 100% !important;
        flex: none !important;
        border-left: none !important;
        border-top: 1px solid var(--re-border) !important;
        padding: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
    }

    body.re-homepage .evento-precio {
        text-align: left !important;
        margin-bottom: 12px !important;
        width: 100% !important;
    }

    body.re-homepage .evento-botones {
        width: 100% !important;
        flex: none !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        margin-left: 0 !important;
    }

    body.re-homepage .evento-botones button,
    body.re-homepage .evento-botones a {
        height: 40px !important;
        padding: 0 4px !important;
        font-size: 0.72rem !important;
        white-space: nowrap !important;
        text-overflow: ellipsis;
        overflow: hidden;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    /* Skeleton card adjustments for mobile */
    .re-skeleton-card {
        flex-direction: column !important;
        min-height: auto;
    }
    .re-skeleton-thumb {
        width: 100% !important;
        height: 160px !important;
    }
}

/* Animations */
.re-animate-in {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================================
   SELECT2 PREMIUM OVERRIDES & REDESIGN
   ========================================================================= */
body.re-homepage .select2.select2-container {
    width: 100% !important;
}

body.re-homepage .select2-container--default .select2-selection--single {
    height: 48px !important;
    background-color: #fbfbf9 !important;
    border: 1px solid var(--re-border) !important;
    border-radius: var(--re-radius) !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    transition: var(--re-transition) !important;
    box-sizing: border-box !important;
    outline: none !important;
}

body.re-homepage .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--re-dark) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    padding-left: 0 !important;
    padding-right: 20px !important;
    text-align: left !important;
    width: 100% !important;
}

body.re-homepage .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--re-text-muted) !important;
}

body.re-homepage .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.re-homepage .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--re-text-muted) transparent transparent transparent !important;
    border-width: 6px 5px 0 5px !important;
    margin-left: 0 !important;
}

body.re-homepage .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent var(--re-text-muted) transparent !important;
    border-width: 0 5px 6px 5px !important;
}

body.re-homepage .select2-container--default.select2-container--focus .select2-selection--single,
body.re-homepage .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--re-gold) !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15) !important;
}

/* Dropdown Container */
body.re-homepage .select2-dropdown {
    border: 1px solid var(--re-border) !important;
    border-radius: var(--re-radius) !important;
    box-shadow: var(--re-shadow-md) !important;
    z-index: 10008 !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
}

body.re-homepage .select2-container--open .select2-dropdown--below {
    border-top: 1px solid var(--re-border) !important;
    margin-top: 4px !important;
}

body.re-homepage .select2-container--open .select2-dropdown--above {
    border-bottom: 1px solid var(--re-border) !important;
    margin-bottom: 4px !important;
}

/* Search input in dropdown */
body.re-homepage .select2-search--dropdown {
    padding: 8px 12px !important;
    background: #fbfbf9 !important;
}

body.re-homepage .select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--re-border) !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-size: 0.9rem !important;
    outline: none !important;
    background-color: #ffffff !important;
}

body.re-homepage .select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--re-gold) !important;
    box-shadow: 0 0 0 2px rgba(197, 168, 128, 0.1) !important;
}

/* Results options list */
body.re-homepage .select2-results__options {
    max-height: 200px !important;
}

body.re-homepage .select2-container--default .select2-results__option {
    padding: 10px 16px !important;
    font-size: 0.88rem !important;
    text-align: left !important;
    color: var(--re-dark) !important;
    transition: background-color 0.15s ease !important;
}

body.re-homepage .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--re-gold) !important;
    color: #ffffff !important;
}

body.re-homepage .select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: var(--re-gold-light) !important;
    color: var(--re-dark) !important;
}

/* Hide clear button spacing */
body.re-homepage .select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: 15px !important;
    font-size: 1.1rem !important;
    color: var(--re-text-muted) !important;
}

/* Mobile Select2 overrides */
@media (max-width: 767px) {
    body.re-homepage .select2-container--default .select2-selection--single {
        height: 42px !important;
        border-radius: 8px !important;
    }
    body.re-homepage .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 40px !important;
    }
}

/* =========================================================================
   VIEW SWITCHER SEGMENTED CONTROL
   ========================================================================= */
.re-view-switcher {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--re-border);
    padding: 4px;
    border-radius: 30px;
    margin-bottom: 20px;
    width: fit-content;
    box-shadow: var(--re-shadow-sm);
}

.re-switch-btn {
    border: none !important;
    background: transparent !important;
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--re-text-muted) !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: var(--re-transition) !important;
    height: auto !important;
    line-height: 1 !important;
}

.re-switch-btn:hover {
    color: var(--re-dark) !important;
}

.re-switch-btn.active {
    background: var(--re-dark) !important;
    color: #ffffff !important;
    box-shadow: var(--re-shadow-sm);
}

.switch-icon {
    font-size: 1rem;
}

@media (max-width: 767px) {
    .re-view-switcher {
        width: 100%;
        justify-content: space-around;
        border-radius: 12px;
        box-sizing: border-box;
    }
    
    .re-switch-btn {
        flex: 1;
        justify-content: center;
        padding: 10px 8px !important;
        font-size: 0.8rem !important;
        border-radius: 8px !important;
    }
}

/* =========================================================================
   LIST VIEW OVERRIDES
   ========================================================================= */
body.re-homepage #resultados-eventos.re-view-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

/* Row items */
body.re-homepage .re-view-list .evento-item {
    flex-direction: row !important;
    min-height: auto !important;
    height: 210px !important;
    padding: 0 !important;
    align-items: stretch !important;
    overflow: hidden !important;
}

body.re-homepage .re-view-list .evento-thumbnail {
    width: 220px !important;
    height: 100% !important;
    flex: 0 0 220px !important;
    border-radius: var(--re-radius) 0 0 var(--re-radius) !important;
}

body.re-homepage .re-view-list .evento-info {
    padding: 16px 20px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

body.re-homepage .re-view-list .evento-acciones {
    width: 280px !important;
    flex: 0 0 280px !important;
    border-left: 1px solid var(--re-border) !important;
    border-top: none !important;
    padding: 16px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

/* Adjust buttons for desktop List View to fit 5 buttons cleanly */
body.re-homepage .re-view-list .evento-botones {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
    width: 100% !important;
}

body.re-homepage .re-view-list .evento-botones button,
body.re-homepage .re-view-list .evento-botones a {
    height: 34px !important;
    font-size: 11px !important;
    padding: 0 4px !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Make odd 5th button span full width for balanced visual layout */
body.re-homepage .re-view-list .evento-botones > *:last-child:nth-child(odd) {
    grid-column: span 2 !important;
}

/* Mobile specific list view row style */
@media (max-width: 767px) {
    body.re-homepage .re-view-list .evento-item {
        height: 130px !important;
        flex-direction: row !important;
        border-radius: var(--re-radius) !important;
    }

    body.re-homepage .re-view-list .evento-thumbnail {
        width: 110px !important;
        flex: 0 0 110px !important;
    }

    body.re-homepage .re-view-list .evento-info {
        padding: 10px 12px !important;
        flex: 1 !important;
        justify-content: space-between !important;
    }

    body.re-homepage .re-view-list .evento-info h2 {
        font-size: 0.95rem !important;
        margin-bottom: 4px !important;
    }

    body.re-homepage .re-view-list .evento-descripcion {
        display: none !important;
    }

    body.re-homepage .re-view-list .listing-grid {
        border: none !important;
        padding-top: 0 !important;
        margin-top: 0 !important;
        gap: 6px !important;
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    body.re-homepage .re-view-list .listing-grid .grid-item {
        font-size: 0.72rem !important;
    }

    body.re-homepage .re-view-list .evento-acciones {
        width: 100px !important;
        flex: 0 0 100px !important;
        padding: 8px !important;
        border-left: 1px solid var(--re-border) !important;
        border-top: none !important;
        background: #fafafa;
    }

    body.re-homepage .re-view-list .evento-precio {
        margin-bottom: 6px !important;
    }

    body.re-homepage .re-view-list .precio-principal {
        font-size: 0.95rem !important;
    }

    body.re-homepage .re-view-list .evento-botones {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
    }

    body.re-homepage .re-view-list .evento-botones button,
    body.re-homepage .re-view-list .evento-botones a {
        height: 28px !important;
        font-size: 0.65rem !important;
        padding: 0 2px !important;
    }
}

/* =========================================================================
   MAP VIEW FULL WIDTH LAYOUT
   ========================================================================= */
/* Map Container base */
.re-map-container {
    width: 100% !important;
    height: 600px !important;
    background-color: #e5e3df;
    border-radius: var(--re-radius-lg) !important;
    border: 1px solid var(--re-border) !important;
    box-shadow: var(--re-shadow-md) !important;
    overflow: hidden !important;
    display: none;
}

@media (max-width: 767px) {
    .re-map-container {
        height: 450px !important;
        border-radius: var(--re-radius) !important;
    }
}

/* Custom Marker Pins */
.re-map-pin {
    background: none !important;
    border: none !important;
}

.re-map-pin .pin-inner {
    background: var(--re-dark) !important;
    border: 2px solid var(--re-gold) !important;
    border-radius: 20px !important;
    padding: 4px 8px !important;
    box-shadow: var(--re-shadow-md) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--re-transition) !important;
    cursor: pointer !important;
}

.re-map-pin .pin-inner:hover {
    transform: scale(1.1) !important;
    background: var(--re-gold-dark) !important;
    border-color: #ffffff !important;
}

.re-map-pin .pin-price {
    color: #ffffff !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    font-family: 'Inter', sans-serif !important;
}

/* Leaflet Popup overrides */
.leaflet-popup-content-wrapper {
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: var(--re-radius) !important;
    border: 1px solid var(--re-border) !important;
    box-shadow: var(--re-shadow-lg) !important;
    font-family: 'Inter', sans-serif !important;
}

.leaflet-popup-content {
    margin: 0 !important;
    width: 240px !important;
}

.re-map-popup-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    cursor: pointer;
    background: #ffffff;
}

.re-map-popup-card .popup-thumb {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
}

.re-map-popup-card .popup-info {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.re-map-popup-card .popup-category {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--re-gold-dark);
}

.re-map-popup-card .popup-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--re-dark);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.re-map-popup-card .popup-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.re-map-popup-card .popup-price {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--re-gold-dark);
}

.re-map-popup-card .popup-rating {
    font-size: 0.78rem;
    color: #ffb100;
}

.leaflet-popup-tip {
    background: #ffffff !important;
    box-shadow: 0 3px 14px rgba(0,0,0,0.2) !important;
}

/* =========================================================================
   MAP MODAL SYSTEM (AirBnb Style Fullscreen)
   ========================================================================= */
.re-map-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    background: #ffffff !important;
    display: none;
    flex-direction: column !important;
    font-family: 'Inter', sans-serif !important;
}

.re-map-modal.active {
    display: flex !important;
}

.re-map-modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 24px !important;
    background: #ffffff !important;
    border-bottom: 1px solid var(--re-border) !important;
    box-shadow: var(--re-shadow-sm) !important;
    z-index: 10 !important;
}

.re-map-modal-header h3 {
    margin: 0 !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--re-dark) !important;
}

.re-map-modal-close {
    background: var(--re-dark) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 24px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--re-shadow-sm) !important;
}

.re-map-modal-close:hover {
    background: var(--re-gold-dark) !important;
    transform: translateY(-1px) !important;
    box-shadow: var(--re-shadow-md) !important;
}

body.re-map-modal-active {
    overflow: hidden !important;
    height: 100vh !important;
}

