/* ============================================================
   ESTILOS GENERALES Y ESCRITORIO (REFINADO)
   ============================================================ */
.seccion-habitaciones-premium {
    background-color: #052316; /* Verde Institucional */
    padding: 40px 0;
    min-height: 100vh;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.container-rooms-layout {
    display: grid;
    grid-template-columns: 240px 1fr; /* Sidebar más fino */
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    align-items: start;
}

/* SIDEBAR ESCRITORIO */
.sidebar-rooms {
    position: sticky;
    top: 120px;
    z-index: 10;
}

.sidebar-title {
    color: #c5a059;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.linea-sidebar {
    width: 40px;
    height: 2px;
    background: #c5a059;
    margin-bottom: 20px;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-btn {
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 8px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    color: #c5a059;
    padding-left: 8px;
}

/* TARJETAS (ROOM ROW) */
.room-row-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 35px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.room-header-title {
    padding: 20px 30px;
    border-bottom: 1px solid #f2f2f2;
}

.room-header-title h2 {
    font-size: 1.3rem; /* Tamaño elegante, no gigante */
    color: #052316;
    margin: 0;
    font-weight: 700;
}

.linea-decorativa {
    width: 45px;
    height: 3px;
    background: #c5a059;
    margin-top: 6px;
}

.room-row-content {
    display: flex;
    min-height: 300px;
}

.room-row-image {
    flex: 0 0 42%;
}

.room-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-row-details {
    flex: 1;
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
}

.room-desc {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
}

.room-amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.room-amenities ul {
    list-style: none;
    padding: 0;
}

.room-amenities li {
    font-size: 0.8rem;
    color: #333;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.room-amenities i {
    color: #c5a059;
    margin-right: 8px;
    font-size: 0.9rem;
}

.btn-reserva-gold {
    background: #c5a059;
    color: #fff;
    border: none;
    padding: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-reserva-gold:hover {
    background: #052316;
}

.room-footer-tag {
    background: #f8f8f8;
    padding: 10px;
    text-align: center;
    font-size: 0.65rem;
    color: #999;
    font-weight: 600;
}

/* ============================================================
   DISEÑO MÓVIL (SÚPER COMPACTO Y SIN ENCIMADOS)
   ============================================================ */
@media (max-width: 768px) {
    .container-rooms-layout {
        grid-template-columns: 1fr;
        padding: 10px 10px 40px;
    }

    /* FILTROS STICKY MÓVIL */
    .sidebar-rooms {
        position: sticky;
        top: 60px; /* Debajo del Header */
        width: 100%;
        background: #052316;
        padding: 12px 0;
        z-index: 500; /* Menor que el menú principal */
        border-bottom: 2px solid #c5a059;
        margin-bottom: 20px;
    }

    .sidebar-title, .linea-sidebar, .item-todos {
        display: none !important;
    }

    .filter-list {
        display: flex;
        justify-content: space-around;
        padding: 0 5px;
    }

    .filter-btn {
        border: none;
        font-size: 11px; /* Para que "Matrimonial" quepa bien */
        padding: 6px 4px;
        text-transform: uppercase;
    }

    .filter-btn.active {
        color: #c5a059;
        border-bottom: 2px solid #c5a059;
        padding-left: 0;
    }

    /* TARJETA VERTICAL MÓVIL */
    .room-row-content {
        flex-direction: column;
    }

    .room-row-image {
        height: 200px; /* Altura controlada */
    }

    .room-header-title {
        padding: 15px;
        text-align: center;
    }

    .room-header-title h2 {
        font-size: 1.1rem;
    }

    .linea-decorativa {
        margin: 6px auto;
    }

    .room-row-details {
        padding: 20px 15px;
    }

    .room-amenities {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================================
   Z-INDEX FIX (GUARDIÁN DEL MENÚ PRINCIPAL)
   ============================================================ */
/* Forzar que el menú de tu hotel siempre gane a los filtros */
header, .navbar, .nav-menu {
    z-index: 99999 !important;
}